/* Never pan sideways on phones */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* Our 2026, Unwrapped — contribute flow. Same family as the December posters:
   ink / cream / red / gold, Bricolage Grotesque + Instrument Serif + DM Mono. */
:root {
  --ink: #0b0d12;
  --ink-2: #1a1c22;
  --cream: #f3ede4;
  --paper: #fffaf4;
  --red: #c1121c;
  --red-bright: #e0323a;
  --gold: #c9a84c;
  --muted: #6b6560;
  --line: #d9d0c4;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }

.mono { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.red { color: var(--red-bright); }
.accent-gold { color: var(--gold); }

/* ── Buttons: solid, unmistakable ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px;
  border: 0; border-radius: 14px;
  background: var(--red); color: #fff7f2;
  font-weight: 800; font-size: 18px; text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s;
}
.btn:hover { background: #a80f18; }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .linkbtn:focus-visible, .iconbtn:focus-visible, .chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn--light { background: var(--cream); color: var(--ink); min-height: 46px; padding: 0 18px; font-size: 16px; }
.btn--light:hover { background: #fff; }
.linkbtn { min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }

/* ── Status screens ── */
.screen { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; }
.screen--dark { background: var(--ink); color: var(--cream); }
.screen--red { background: var(--red); color: #fff7f2; }
.screen--red .mono, .screen--dark .mono { color: inherit; opacity: .75; }
.status { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.status__title { margin: 0; font-weight: 800; font-size: clamp(44px, 13vw, 64px); line-height: .95; letter-spacing: -.03em; }
.status__sub { margin: 0; font-size: 18px; opacity: .85; }

/* ── Flow ── */
.flow { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.flow__bar {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  background: inherit;
}
.flow[data-dark] .flow__bar { background: var(--ink); color: var(--cream); }
.flow:not([data-dark]) .flow__bar { background: var(--cream); }
.progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(127,127,127,.25); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--red-bright); transition: width .4s var(--ease); }
.flow__count { min-width: 44px; text-align: right; }
.flow[data-dark] .flow__count { color: var(--cream); opacity: .7; }

form { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 560px; margin: 0 auto; }
.step { display: none; flex: 1; flex-direction: column; gap: 18px; padding: 18px 20px 24px; }
.step.is-on { display: flex; animation: rise .45s var(--ease) both; }
.flow[data-dark] { background: var(--ink); color: var(--cream); }
.step--dark .mono { color: var(--gold); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.display { margin: 8px 0 0; font-weight: 800; font-size: clamp(42px, 13.2vw, 84px); line-height: .86; letter-spacing: -.04em; text-transform: uppercase; }
.display .serif { text-transform: none; font-size: .8em; }
.display .red { font-size: 1.25em; }
.lead { margin: 4px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.q { margin: 0; font-weight: 800; font-size: clamp(34px, 10vw, 46px); line-height: 1; letter-spacing: -.03em; }
.q .serif { font-size: 1.08em; }
.hint { margin: 0; color: var(--muted); font-size: 15px; }
.hint--light { color: inherit; opacity: .8; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--red-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ── Fields ── */
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field > span { font-weight: 700; font-size: 15px; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 2px solid var(--ink); border-radius: 14px;
  background: var(--paper);
  font-size: 18px;
  outline: none;
  transition: box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.4; }
.field input:focus, .field textarea:focus { box-shadow: 4px 4px 0 var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.count { align-self: flex-end; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.statrow { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.err { min-height: 1.4em; margin: 0; color: var(--red); font-weight: 700; }

/* ── Chips (month, award picks) ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: transparent; font-weight: 700; cursor: pointer;
}
.chip[aria-checked="true"] { background: var(--ink); color: var(--cream); }
.chips--static span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(240,236,230,.12); font-weight: 500; font-size: 15px; }
.award { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 2px solid var(--ink); }
.award__q { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.award .other { max-width: 220px; padding: 10px 14px; border: 2px dashed var(--ink); border-radius: 999px; background: transparent; font-weight: 700; font-size: 16px; outline: none; }
.award .other:focus { border-style: solid; }

/* ── Photos ── */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.5); overflow: hidden; }
.ph .bar i { display: block; height: 100%; width: 0; background: var(--red-bright); transition: width .2s; }
.ph.is-error { outline: 3px solid var(--red); }
.ph .x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(11,13,18,.75); color: #fff; display: grid; place-items: center; cursor: pointer; }
.addph {
  aspect-ratio: 1; border: 2px dashed var(--ink); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-weight: 700; font-size: 14px; cursor: pointer; background: transparent;
}
.addph:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.addph input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ── Review ── */
.review { margin: 0; display: grid; gap: 0; }
.review div { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-top: 2px solid var(--ink); }
.review dt { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.review dd { margin: 0; grid-column: 1; font-weight: 500; overflow-wrap: anywhere; }
.review .linkbtn { grid-row: 1 / span 2; grid-column: 2; align-self: center; }

/* ── Footer ── */
.flow__foot {
  position: sticky; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 20px max(16px, env(safe-area-inset-bottom));
  background: inherit;
}
.flow[data-dark] .flow__foot { background: var(--ink); }
.flow:not([data-dark]) .flow__foot { background: var(--cream); }
.flow__foot .btn { flex: 1; max-width: 340px; margin-left: auto; }

/* ── Done ── */
.linkbox { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: rgba(0,0,0,.18); }
.linkbox__row { display: flex; gap: 8px; min-width: 0; }
.linkbox__row .btn { flex: none; padding: 0 16px; }
.linkbox input { flex: 1; min-width: 0; padding: 0 12px; min-height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.14); color: inherit; font-family: var(--mono); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .step.is-on { animation: none; }
  .progress i, .btn { transition: none; }
}

/* ═════════ Owner page ═════════ */
.owner { min-height: 100vh; min-height: 100dvh; background: var(--cream); padding-bottom: 120px; }
.owner__wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }
.owner__head { background: var(--ink); color: var(--cream); padding: max(28px, env(safe-area-inset-top)) 0 30px; }
.owner__title { margin: 10px 0 12px; font-weight: 800; font-size: clamp(38px, 11vw, 64px); line-height: .95; letter-spacing: -.03em; overflow-wrap: anywhere; }
.owner__status { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; opacity: .9; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.pill--done { background: var(--red-bright); color: #fff7f2; }
.owner__body { display: grid; gap: 18px; padding-top: 22px; }
.card { min-width: 0; max-width: 100%; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.card--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card--ink .mono { color: var(--gold); }
.card__title { margin: 0; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row .btn { flex: 1 1 160px; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #262a33; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: rgba(11,13,18,.06); }
.card .linkbox__row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-family: var(--mono); font-size: 13px; }
.card--ink .linkbox__row input { background: rgba(255,255,255,.1); border-color: transparent; color: inherit; }
.empty { margin: 0; padding: 18px; border: 2px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }

.people { display: grid; gap: 12px; }
.person { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 10px; }
.person.is-hidden > :not(.person__top) { opacity: .4; }
.person__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.person__name { margin: 0; font-weight: 800; font-size: 22px; }
.person__when { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.person__mem { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.person__note { margin: 0; color: #3b3632; white-space: pre-line; }
.person__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.person__meta span { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(11,13,18,.07); }
.thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; background: var(--line); }
.toggles { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle { min-height: 40px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.toggle[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.toggle--star[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.settings { display: grid; gap: 16px; }
.settings .field input { font-size: 17px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.music { display: flex; flex-direction: column; gap: 10px; }
.music audio { width: 100%; }
.music__pick { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 2px dashed var(--ink); border-radius: 14px; font-weight: 700; cursor: pointer; }
.music__pick:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.music__pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.owner__foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; background: rgba(243,237,228,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 2px solid var(--ink); padding: 12px 0 max(14px, env(safe-area-inset-bottom)); }
.owner__footrow { display: flex; align-items: center; gap: 14px; }
.owner__footrow .hint { flex: 1; margin: 0; }
.owner__footrow .btn { flex: 0 0 auto; min-width: 170px; }
.btn--confirm { background: var(--ink); }
@media (max-width: 420px) { .owner__footrow .hint { font-size: 13px; } .owner__footrow .btn { min-width: 150px; } }

/* ═════════ Story player ═════════ */
.player { position: fixed; inset: 0; overflow: hidden; background: var(--ink); color: var(--cream); transition: background .5s, color .5s; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.player__segs { position: absolute; z-index: 6; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; gap: 4px; }
.player__segs span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.player[data-light] .player__segs span { background: rgba(11,13,18,.18); }
.player__segs i { display: block; height: 100%; width: 0; background: currentColor; }
.player__top { position: absolute; z-index: 7; top: calc(max(12px, env(safe-area-inset-top)) + 14px); left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }
.player__brand { color: inherit; opacity: .75; font-size: 11px; }
.player__music { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(0,0,0,.32); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; cursor: pointer; }
.player__pills { display: inline-flex; gap: 8px; }
.player__music:disabled { opacity: .6; cursor: progress; }
/* Off-screen 9:16 copy of a slide for "Save": every animation jumps to its last frame */
.shot { position: fixed; left: -10000px; top: 0; width: 450px; height: 800px; overflow: hidden; }
.shot .slide { padding: 52px 24px 64px !important; }
.shot .vinyl { background: radial-gradient(circle, #0b0d12 0 38%, #191c23 38% 40%, #0b0d12 40% 50%, #191c23 50% 52%, #0b0d12 52% 62%, #191c23 62% 64%, #0b0d12 64% 76%, #191c23 76% 78%, #0b0d12 78% 90%, #191c23 90% 92%, #0b0d12 92%); }
.shot .slide__actions, .shot .s-cue { display: none !important; }
.shot, .shot * { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
.shot__brand { position: absolute; left: 24px; right: 24px; bottom: 26px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.player__music:focus-visible, .player__tap:focus-visible { outline: 3px solid var(--gold); outline-offset: -4px; }
.player__music[aria-pressed="false"] .eq i { animation: none; height: 30%; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { display: block; width: 3px; height: 30%; border-radius: 2px; background: currentColor; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.player__tap { position: absolute; z-index: 5; top: 80px; bottom: 0; border: 0; padding: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.player__tap--prev { left: 0; width: 32%; }
.player__tap--next { right: 0; width: 68%; }
.player__stage { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(max(12px, env(safe-area-inset-top)) + 86px) 24px max(30px, env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; }
.slide--center { align-items: center; text-align: center; justify-content: center; }
.slide .mono { color: inherit; opacity: .75; }
.s-big { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .84; }
.s-title { margin: 0; font-weight: 800; font-size: clamp(44px, 14vw, 64px); line-height: .92; letter-spacing: -.035em; }
.s-serif { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 1.05; }
.s-cue { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-align: right; animation: pulse 1.6s ease-in-out infinite; }
.s-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(240,236,230,.25); }
.s-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(240,236,230,.25); font-weight: 500; font-size: 19px; }
.s-list li span:last-child { font-family: var(--mono); font-size: 12px; opacity: .6; }
.s-ghost { font-weight: 800; font-size: 210px; line-height: .8; letter-spacing: -.06em; color: rgba(255,247,242,.16); margin: 14px 0 -64px; }
.s-rule { width: 80px; height: 3px; background: currentColor; margin: 24px 0; transform-origin: left; animation: grow 1s var(--ease) .45s both; }

.polaroids { position: relative; flex: 1; min-height: 360px; }
.polaroid { position: absolute; width: 58%; background: #fff; padding: 9px 9px 30px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.45); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--line); }
.polaroid:nth-child(1) { left: 0; top: 6%; --r: -7deg; animation: flyL .9s var(--ease) both; }
.polaroid:nth-child(2) { right: 0; top: 0; --r: 6deg; animation: flyR .9s var(--ease) .25s both; }
.polaroid:nth-child(3) { left: 18%; top: 40%; --r: 2deg; animation: flyL .9s var(--ease) .5s both; }
.polaroid:nth-child(4) { right: 4%; top: 46%; --r: -4deg; animation: flyR .9s var(--ease) .75s both; }
.polaroid--solo { position: relative; width: 82%; margin: 10px auto 0; --r: -2deg; animation: pop .8s var(--ease) both; }

.frame { position: relative; flex: 1; min-height: 300px; margin: 22px -4px 0; border-radius: 22px; overflow: hidden; background: var(--ink-2); animation: pop .8s var(--ease) .2s both; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s; }
.frame img.on { opacity: 1; animation: kb 7s ease-out both; }
.frame__tag { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(11,13,18,.72); color: var(--cream); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.marquee { margin: 18px -24px 0; height: 58px; background: var(--red-bright); color: #fff7f2; overflow: hidden; display: flex; align-items: center; }
.marquee div { display: flex; gap: 26px; padding-left: 20px; white-space: nowrap; font-weight: 800; font-size: 24px; animation: marquee 16s linear infinite; }
.marquee span { opacity: .45; } .marquee span.on { opacity: 1; }

.vinyl { width: min(270px, 68vw); aspect-ratio: 1; border-radius: 50%; margin: 30px auto 0; display: grid; place-items: center; background: repeating-radial-gradient(circle, #0b0d12 0 3px, #191c23 3px 5px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); animation: pop .8s var(--ease) .1s both; }
.vinyl > div { width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--red-bright); display: grid; place-items: center; animation: spin 6s linear infinite; }
.vinyl > div::after { content: ""; width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 12px rgba(255,255,255,.12); }

.stat { border-top: 2px solid currentColor; padding-top: 12px; margin-top: 16px; }
.stat b { display: block; font-weight: 800; font-size: clamp(64px, 22vw, 96px); line-height: .85; letter-spacing: -.05em; }
.stat span { display: block; font-family: var(--serif); font-style: italic; font-size: 24px; margin-top: 6px; }
.award-card { background: #fff7f2; color: var(--ink); border-radius: 18px; padding: 16px 18px; margin-top: 12px; display: grid; gap: 4px; transform: rotate(var(--r, 0deg)); }
.award-card p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.05; }
.award-card div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.award-card b { font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.award-card small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.note-card { position: relative; margin-top: 34px; background: #fff4ea; color: #2a1416; border-radius: 8px; padding: 40px 26px 26px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); --r: -2deg; animation: pop .8s var(--ease) .1s both; }
.note-card::before { content: ""; position: absolute; top: -12px; left: 50%; width: 100px; height: 26px; margin-left: -50px; background: rgba(201,168,76,.8); transform: rotate(-3deg); }
.note-card p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 7vw, 30px); line-height: 1.2; white-space: pre-line; overflow-wrap: anywhere; }
.note-card small { display: block; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #8a6a66; }
.wish { padding: 14px 0; border-top: 1px solid rgba(11,13,18,.2); }
.wish p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.wish small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; opacity: .7; }

.share { width: min(280px, 72vw); margin: 20px auto 0; background: var(--ink); color: var(--cream); border-radius: 20px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); --r: -3deg; animation: pop .8s var(--ease) .1s both; }
.share__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.share__year { font-weight: 800; font-size: 64px; line-height: .8; letter-spacing: -.05em; color: var(--red-bright); }
.share__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share__grid div { border-radius: 10px; padding: 10px; min-height: 64px; }
.share__grid small { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; }
.share__grid b { font-weight: 800; font-size: 14px; line-height: 1.05; overflow-wrap: anywhere; }
.slide__actions { position: relative; z-index: 8; margin-top: auto; display: grid; gap: 10px; padding-top: 18px; }

.gate { position: fixed; inset: 0; z-index: 9; display: grid; place-items: center; padding: 24px 20px; background: var(--ink); color: var(--cream); }
.gate__box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.gate__box .field input { background: rgba(255,255,255,.08); color: var(--cream); border-color: var(--cream); text-align: center; }
.gate__box .field input:focus { box-shadow: 4px 4px 0 var(--red-bright); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.countdown div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 14px 6px; text-align: center; }
.countdown b { display: block; font-weight: 800; font-size: 34px; line-height: 1; }
.countdown small { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

.rise { animation: rise .8s var(--ease) both; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; } .d4 { animation-delay: .6s; } .d5 { animation-delay: .75s; } .d6 { animation-delay: .9s; } .d7 { animation-delay: 1.05s; }
@keyframes pop { 0% { opacity: 0; transform: scale(.6) rotate(var(--r, 0deg)); } 70% { opacity: 1; transform: scale(1.03) rotate(var(--r, 0deg)); } 100% { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); } }
@keyframes flyL { from { opacity: 0; transform: translate(-140px, 60px) rotate(-30deg); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@keyframes flyR { from { opacity: 0; transform: translate(140px, 80px) rotate(30deg); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .rise, .polaroid, .frame, .frame img.on, .vinyl, .vinyl > div, .note-card, .share, .marquee div, .s-cue, .s-rule, .eq i { animation: none !important; }
}
