:root {
  --night: #0b1a3a;
  --night-2: #13295c;
  --red: #c8102e;
  --red-dark: #8f0b20;
  --green: #0f6b3a;
  --gold: #f2c14e;
  --paper: #fff8ea;
  --ink: #3a2a1a;
  --snow: #ffffff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--snow);
  background: var(--night);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
/* Fixed night sky. A fixed layer instead of background-attachment: fixed, which iPhone and iPad ignore. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 70% 0%, #2a4a8f 0%, var(--night-2) 35%, var(--night) 75%);
}
button { touch-action: manipulation; }

#snow { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.moon {
  position: absolute; top: 60px; right: 8vw; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffbe6, #f5e7b5 60%, #e8d48f);
  box-shadow: 0 0 60px 20px rgba(255, 244, 200, .35);
}
.sleigh {
  position: absolute; top: 110px; left: -260px; font-size: 34px; white-space: nowrap;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.6));
  animation: fly 26s linear infinite; animation-delay: 3s;
}
@keyframes fly {
  0% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(60vw, -40px) rotate(-6deg); }
  100% { transform: translate(calc(100vw + 300px), 10px) rotate(-3deg); }
}
.aurora {
  position: absolute; top: 0; left: 0; right: 0; height: 280px; opacity: .35;
  background: linear-gradient(100deg, transparent 10%, #3ee6a0 30%, transparent 45%, #6fb7ff 60%, transparent 80%);
  filter: blur(40px); animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora { from { transform: translateX(-8%) skewY(-3deg); } to { transform: translateX(8%) skewY(3deg); } }

header.top, main, footer { position: relative; z-index: 2; }

header.top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(200,16,46,.95), rgba(143,11,32,.95));
  border-bottom: 6px solid var(--snow);
  box-shadow: 0 6px 0 rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.35);
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand-icon { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.brand-title { font-family: 'Mountains of Christmas', cursive; font-weight: 700; font-size: 30px; line-height: 1; }
.brand-sub { font-size: 13px; opacity: .9; }
.ghost-btn {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); border-radius: 999px;
  padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; flex: none;
}
.ghost-btn:hover { background: rgba(255,255,255,.15); }

main { max-width: 1080px; margin: 0 auto; padding: 24px max(18px, env(safe-area-inset-right)) 180px max(18px, env(safe-area-inset-left)); }

.hero { text-align: center; margin: 24px 0 28px; }
.hero h1 {
  font-family: 'Mountains of Christmas', cursive; font-size: clamp(40px, 7vw, 72px); margin: 0;
  text-shadow: 0 0 18px rgba(255,255,255,.5), 0 4px 0 var(--red-dark);
}
.lead { font-size: 20px; max-width: 620px; margin: 10px auto 18px; opacity: .95; }

.countdown { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.countdown .unit {
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
  padding: 8px 14px; min-width: 84px; backdrop-filter: blur(4px);
}
.countdown .num { font-size: 32px; font-weight: 900; color: var(--gold); display: block; line-height: 1.1; }
.countdown .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.countdown .xmas { font-size: 28px; font-weight: 900; color: var(--gold); }

.card {
  background: var(--paper); color: var(--ink); border-radius: 20px; padding: 26px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

/* Elf pass */
.pass { max-width: 460px; margin: 0 auto; position: relative; border: 6px dashed var(--green); text-align: center; }
.pass-ribbon {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-weight: 900; letter-spacing: 3px; padding: 6px 20px; border-radius: 8px;
  box-shadow: 0 4px 0 var(--red-dark);
}
.pass h2 { font-family: 'Mountains of Christmas', cursive; font-size: 30px; margin: 12px 0 4px; color: var(--red-dark); }
.hint { margin: 0 0 18px; }
form label { display: block; text-align: left; font-weight: 700; margin: 12px 0; }
input, textarea {
  width: 100%; font: inherit; font-size: 20px; padding: 12px 14px; border-radius: 12px;
  border: 3px solid #e3d3b5; background: #fff; color: var(--ink); margin-top: 6px;
}
input:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(15,107,58,.2); }

.big-btn {
  display: inline-block; width: 100%; margin-top: 14px; border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 22px; font-weight: 900; color: #fff; padding: 14px 18px;
  background: linear-gradient(180deg, #e2203f, var(--red)); box-shadow: 0 6px 0 var(--red-dark);
  transition: transform .08s, box-shadow .08s;
}
.big-btn:hover { filter: brightness(1.06); }
.big-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--red-dark); }
.big-btn:disabled { opacity: .6; cursor: wait; }
.error { color: var(--red); font-weight: 700; min-height: 1.2em; margin: 10px 0 0; }

/* Letter */
.letter-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 22px; align-items: start; }
.letter {
  position: relative; font-family: 'Patrick Hand', cursive; font-size: 22px;
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, #e9d9bd 39px 40px),
    var(--paper);
  border-left: 10px solid var(--red);
}
.stamp {
  position: absolute; top: 18px; right: 18px; width: 82px; height: 96px; transform: rotate(6deg);
  background: #fff; border: 3px dotted var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 34px; font-family: 'Nunito', sans-serif;
}
.stamp span { font-size: 11px; font-weight: 900; color: var(--red); text-align: center; line-height: 1.1; }
.dear { font-size: 34px; margin: 0 0 6px; color: var(--red-dark); }
.handwrite { margin: 0 100px 10px 0; }
.line-input {
  font-family: 'Patrick Hand', cursive; font-size: 26px; border: 0; border-bottom: 3px dashed #c9b28a;
  border-radius: 0; background: transparent; padding: 6px 4px; resize: vertical;
}
.line-input:focus { box-shadow: none; border-bottom-color: var(--green); background: rgba(255,255,255,.6); }
.because { font-weight: 400; margin-top: 18px; }
.because span { font-size: 16px; opacity: .7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.list-title { font-family: 'Mountains of Christmas', cursive; font-size: 30px; color: var(--green); margin: 28px 0 6px; }
.wish-list { margin: 0; padding-left: 34px; }
.wish-list li { padding: 6px 0; position: relative; }
.wish-list .gift { font-size: 26px; }
.wish-list .note { display: block; font-size: 18px; opacity: .75; }
.wish-list .seal {
  display: inline-block; margin-left: 8px; font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 900;
  color: #fff; background: var(--green); border-radius: 999px; padding: 2px 8px; vertical-align: middle;
}
.wish-list .remove {
  border: 0; background: transparent; cursor: pointer; font-size: 18px; margin-left: 2px; opacity: .45; vertical-align: middle;
  min-width: 40px; min-height: 40px; border-radius: 50%; color: var(--ink);
}
.wish-list .remove:hover { opacity: 1; }
.wish-list li.new { animation: pop .6s ease; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }
.empty { opacity: .7; margin: 0; }
.signoff { margin: 26px 0 0; font-size: 26px; text-align: right; }

.side { display: grid; gap: 18px; }
.santa-says { display: flex; gap: 12px; align-items: flex-start; }
.santa-photo {
  width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--red); box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(0,0,0,.25);
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-5px) rotate(-3deg); } }
.bubble {
  position: relative; margin: 6px 0 0; background: #fff; border: 3px solid #e3d3b5; border-radius: 16px; padding: 10px 14px;
  font-weight: 700;
}
.side h3 { margin: 0 0 10px; color: var(--red-dark); }
.meter { height: 22px; background: #eadcc3; border-radius: 999px; overflow: hidden; border: 2px solid #d8c4a0; }
.meter-fill {
  height: 100%; width: 0; border-radius: 999px; transition: width 2.2s cubic-bezier(.2,.8,.2,1);
  background: repeating-linear-gradient(45deg, var(--red) 0 12px, #fff 12px 24px);
}


.loading { text-align: center; padding: 40px; font-size: 20px; }
.spinner { font-size: 48px; animation: spin 2s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.envelope-fly {
  position: fixed; z-index: 10; font-size: 64px; left: 50%; top: 60%; opacity: 0; pointer-events: none;
}
.envelope-fly.go { animation: send 1.6s ease-in forwards; }
@keyframes send {
  0% { opacity: 1; transform: translate(-50%, 0) scale(1) rotate(0); }
  40% { opacity: 1; transform: translate(-30%, -30vh) scale(.8) rotate(-15deg); }
  100% { opacity: 0; transform: translate(40vw, -80vh) scale(.2) rotate(-40deg); }
}

footer.hills {
  position: relative; margin-top: -140px; height: 180px; display: flex; align-items: flex-end; justify-content: center;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom)); color: #3d5778; font-size: 14px; text-align: center;
  background:
    radial-gradient(ellipse 60% 100px at 20% 100%, #fff 98%, transparent 100%),
    radial-gradient(ellipse 70% 120px at 80% 100%, #f1f6ff 98%, transparent 100%),
    radial-gradient(ellipse 90% 80px at 50% 100%, #e8f0ff 98%, transparent 100%);
}
footer a { color: #2a4a8f; }
dialog { border: 0; border-radius: 18px; max-width: 420px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(0,0,0,.5); }

@media (max-width: 820px) {
  .letter-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand-title { font-size: 22px; }
  .handwrite { margin-right: 70px; }
  .stamp { width: 60px; height: 72px; font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .sleigh, .aurora, .santa-photo, .spinner, .belt-gift, .cam-elves span, .cam-tools span, .sparkles i, .cam-rec .dot { animation: none !important; }
}

/* Music button */
.music-btn {
  position: fixed; left: calc(16px + env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; gap: 8px;
  border: 3px solid #fff; border-radius: 999px; padding: 8px 16px 8px 10px; cursor: pointer;
  font: inherit; font-weight: 900; font-size: 15px; color: #fff;
  background: linear-gradient(180deg, #17894b, var(--green)); box-shadow: 0 6px 18px rgba(0,0,0,.35);
  max-width: calc(100vw - 32px);
}
.music-btn:hover { filter: brightness(1.08); }
.music-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.music-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; font-size: 18px;
}
.music-btn.on { background: linear-gradient(180deg, #e2203f, var(--red)); }
.music-btn.on .music-icon { animation: wiggle 0.9s ease-in-out infinite; }
#music-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes wiggle { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(12deg) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .music-btn.on .music-icon { animation: none; } }

/* Login with Santa's window */
.login-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 28px; align-items: center; max-width: 980px; margin: 0 auto; }
.login-wrap .pass { margin: 0; }
.santa-window { margin: 0; position: relative; border-radius: 24px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 0 0 6px var(--red), 0 18px 40px rgba(0,0,0,.45); transform: rotate(-1.5deg); }
.santa-window img { display: block; width: 100%; height: auto; }
.santa-window figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,248,234,.95); color: var(--ink);
  border-radius: 14px; padding: 10px 14px; font-family: 'Patrick Hand', cursive; font-size: 22px; text-align: center;
}

/* Nice list */
.nice-status { font-weight: 900; color: var(--green); margin: 0 0 8px; }
.nice-ask { margin: 12px 0 8px; font-weight: 700; }
.deeds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.deed {
  position: relative; display: flex; align-items: center; gap: 6px; text-align: left; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff;
  border: 2px solid #e3d3b5; border-radius: 12px; padding: 8px; transition: transform .1s;
}
.deed span { font-size: 20px; }
@media (hover: hover) { .deed:hover { transform: translateY(-2px); border-color: var(--green); } }
.deed.done { background: #e4f4ea; border-color: var(--green); }
.deed.done::after { content: '✓'; position: absolute; top: 4px; right: 8px; color: var(--green); font-weight: 900; }
.nice-stamp { position: absolute; right: 10px; top: -6px; font-weight: 900; color: var(--red); animation: floatup 1.1s ease-out forwards; pointer-events: none; }
@keyframes floatup { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-34px) scale(1.4); } }
.nice-total { margin: 10px 0 0; font-size: 14px; }

/* Sleigh */
.sleigh-headline { font-weight: 900; color: var(--red-dark); margin: 0 0 10px; }
.sleigh-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #e3d3b5; font-size: 14px; }
.sleigh-row:last-child { border-bottom: 0; }
.sleigh-row b { color: var(--green); text-align: right; }
.meter.small { height: 12px; margin: 2px 0 6px; }
.meter-fill.green { background: repeating-linear-gradient(45deg, var(--green) 0 10px, #2fa565 10px 20px); }

/* Live gift tracker */
.tracker { margin-top: 22px; }
.tracker-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.tracker-head h2 { font-family: 'Mountains of Christmas', cursive; font-size: 34px; color: var(--red-dark); margin: 0; }
.tracker-head p { margin: 0; font-weight: 700; color: var(--green); }
.tracker-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.cam-scene {
  position: relative; height: 230px; border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(180deg, transparent 62%, #6b4226 62%, #5a361f 100%),
    repeating-linear-gradient(90deg, #8a5a3b 0 60px, #7d5034 60px 120px);
  border: 6px solid #3a2a1a; box-shadow: inset 0 0 40px rgba(0,0,0,.45);
}
.cam-scene::before { /* warm lamp glow */
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,214,120,.45), transparent 60%);
}
.cam-rec { position: absolute; top: 10px; left: 12px; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: 1px; background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 6px; }
.cam-rec .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cam-tools { position: absolute; top: 36px; right: 18px; display: flex; gap: 10px; font-size: 34px; }
.cam-tools span { animation: tool 0.7s ease-in-out infinite alternate; }
.cam-tools span:nth-child(2) { animation-delay: .35s; }
@keyframes tool { from { transform: rotate(-18deg); } to { transform: rotate(18deg) translateY(-4px); } }
.cam-elves { position: absolute; left: 0; right: 0; bottom: 70px; display: flex; justify-content: space-around; font-size: 46px; }
.cam-elves span { animation: hop 0.9s ease-in-out infinite; display: inline-block; }
.cam-elves span:nth-child(2) { animation-delay: .3s; }
.cam-elves span:nth-child(3) { animation-delay: .6s; }
@keyframes hop { 50% { transform: translateY(-12px); } }
.belt { position: absolute; left: 0; right: 0; bottom: 26px; height: 24px; background: repeating-linear-gradient(90deg, #333 0 18px, #555 18px 36px); animation: belt 1s linear infinite; }
@keyframes belt { to { background-position: 36px 0; } }
.belt-gift { position: absolute; bottom: 14px; left: -60px; font-size: 44px; animation: ride 7s linear infinite; }
@keyframes ride { to { left: calc(100% + 20px); } }
.sparkles i { position: absolute; font-style: normal; font-size: 18px; animation: twinkle 1.6s ease-in-out infinite; }
.sparkles i:nth-child(1) { top: 40px; left: 30%; }
.sparkles i:nth-child(2) { top: 70px; left: 60%; animation-delay: .5s; }
.sparkles i:nth-child(3) { top: 30px; left: 80%; animation-delay: 1s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.5); } 50% { opacity: 1; transform: scale(1.2); } }
.cam-scene.stage-7, .cam-scene.stage-8 { background: linear-gradient(180deg, #0b1a3a, #24407a); }
.cam-scene.stage-7 .belt, .cam-scene.stage-8 .belt { display: none; }
.cam-scene.stage-8 .cam-elves { animation: flyacross 6s linear infinite; }
@keyframes flyacross { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.cam-scene.stage-9 { background: radial-gradient(circle at 50% 80%, #ffe9a8, #b5651d 70%); }
.cam-scene.idle .cam-elves { bottom: 80px; }
.cam-caption { font-family: 'Patrick Hand', cursive; font-size: 24px; margin: 12px 0 6px; }
.cam-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: #6b5640; }
.cam-meta b { color: var(--ink); }

.timeline { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; font-weight: 700; }
.timeline .tl-icon { font-size: 20px; text-align: center; }
.timeline .when { font-size: 13px; font-weight: 400; color: #8a7560; }
.timeline li.done { opacity: .7; }
.timeline li.done .tl-label { text-decoration: line-through; text-decoration-color: rgba(15,107,58,.5); }
.timeline li.now { background: #fff3c4; box-shadow: inset 0 0 0 2px var(--gold); }
.timeline li.now .when { color: var(--red); font-weight: 900; }
.timeline li.next { opacity: .55; }

.tracker-list { display: grid; gap: 10px; }
.tracker-empty { margin: 0; font-size: 18px; }
.track-row {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; width: 100%; text-align: left;
  font: inherit; color: var(--ink); background: #fff; border: 3px solid #e3d3b5; border-radius: 14px; padding: 10px 12px; cursor: pointer;
}
@media (hover: hover) { .track-row:hover { border-color: var(--green); } }
.track-row.selected { border-color: var(--red); box-shadow: 0 4px 0 var(--red-dark); }
.track-icon { font-size: 30px; text-align: center; }
.track-main { display: grid; gap: 3px; min-width: 0; }
.track-gift { font-weight: 900; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-stage { font-size: 13px; color: var(--green); font-weight: 700; }
.track-bar { height: 10px; background: #eadcc3; border-radius: 999px; overflow: hidden; }
.track-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green), #2fa565); }
.track-no { font-size: 11px; font-weight: 900; color: #8a7560; letter-spacing: .5px; }

.credit { font-size: 13px; color: #6b5640; }

@media (max-width: 820px) {
  .login-wrap, .tracker-grid { grid-template-columns: 1fr; }
  .santa-window { max-width: 460px; margin: 0 auto; }
  .santa-window figcaption { font-size: 18px; }
  .track-no { display: none; }
  .track-row { grid-template-columns: 40px 1fr; }
}

/* ---------- phones and tablets ---------- */
@media (max-width: 820px) {
  .tracker-list { order: -1; }               /* pick a gift first, then watch it */
  .tracker-head h2 { font-size: 28px; }
  .cam-scene { height: 200px; }
  .cam-elves { font-size: 40px; }
}
@media (max-width: 600px) {
  main { padding-top: 12px; padding-bottom: 150px; }
  .hero { margin: 12px 0 18px; }
  .lead { font-size: 17px; }
  .ghost-btn { padding: 6px 12px; font-size: 14px; }
  .countdown { display: flex; flex-wrap: nowrap; gap: 6px; width: 100%; }
  .countdown .unit { flex: 1 1 0; min-width: 0; padding: 6px 2px; border-radius: 12px; }
  .countdown .num { font-size: 22px; }
  .countdown .lbl { font-size: 10px; letter-spacing: 0; }
  .countdown .unit:last-child .lbl { font-size: 9px; }
  .santa-window { transform: none; border-width: 5px; }
  .santa-window img { height: 210px; object-fit: cover; object-position: 55% 25%; }
  .santa-window figcaption { font-size: 16px; padding: 6px 10px; left: 8px; right: 8px; bottom: 8px; }
  .card { padding: 20px 16px; border-radius: 18px; }
  .letter { font-size: 20px; }
  .dear { font-size: 30px; }
  .handwrite { margin-right: 64px; }
  .stamp { width: 54px; height: 64px; font-size: 22px; top: 12px; right: 12px; }
  .wish-list { padding-left: 26px; }
  .wish-list .gift { font-size: 22px; }
  .big-btn { font-size: 20px; }
  /* Round icon-only music button so it never covers the page. */
  .music-btn { padding: 6px; border-width: 3px; }
  .music-btn #music-label { display: none; }
  .music-icon { width: 44px; height: 44px; font-size: 22px; }
  footer.hills { padding-left: 84px; padding-right: 16px; }
}
@media (max-width: 360px) {
  .deeds { grid-template-columns: 1fr; }
  .brand-title { font-size: 19px; }
}
/* Phones turned sideways: short screens. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero h1 { font-size: 40px; }
  .moon { width: 70px; height: 70px; top: 40px; }
  .login-wrap { grid-template-columns: 1fr 1fr; }
  .santa-window img { height: auto; }
  .music-btn { padding: 6px; }
  .music-btn #music-label { display: none; }
  footer.hills { padding-left: 84px; }
}
