/* Hallmark stamp | shape: event utility, landing plus app | theme: custom "Santa's hat" | posture: Restrained (red action under 5%, paper as change of surface) | chrome: floating bar nav, one line footer | hero: left text, hat beside | signature: name slip pulled from the hat | sweep: 375, 768, 1280, 1440
   Elaya: Geist 400/700, Geist Mono for codes and money only, Tailwind type steps, 4 8 12 16 24 40 64 96 spacing, flat surfaces, base curve cubic-bezier(.22,1,.36,1).
   Waived on the record: drawn scene illustration (Hallmark 80) because the brief asks for Santa, lights and trees; user brief wins. */
:root {
  /* Colour. Dark background from the Elaya set; neutrals tinted warm; red is the one action colour. */
  --night: #131209; --surface: #1F1F1F; --well: #272727; --line: #3A372F; --line-2: #5A5648;
  --ink: #F7EEDF; --muted: #C2B8A6;
  --paper: #F4EADA; --paper-well: #E9DCC6; --paper-line: #D3C3A8; --paper-ink: #2A1D14; --paper-muted: #6B5A48;
  --red: #C42B36; --red-hover: #D2353F; --red-ink: #F7EEDF; --red-text: #B0242F; --red-deep: #8E1D27; --red-shade: #A3222D;
  --gold: #F5B83D; --pine: #2E7A4F; --frost: #DCEBF7; --ok: #9BE3B5; --bad: #FF9AA0;
  /* Type: one family, two weights. Tailwind steps only. */
  --font: Geist, "Segoe UI", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace;
  /* Spacing and radii. */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px; --s7: 64px; --s8: 96px;
  --r1: 4px; --r2: 8px; --r3: 12px; --r4: 16px; --r5: 24px; --full: 9999px;
  /* Motion. */
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-in: cubic-bezier(.55, 0, 1, .45); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --micro: 120ms; --short: 220ms; --long: 420ms; --exit: 280ms;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--night); color: var(--ink); font: 400 1rem/1.5 var(--font); font-synthesis: none; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--frost); outline-offset: 3px; }
.skip { position: fixed; left: var(--s4); top: var(--s4); z-index: 50; padding: var(--s3) var(--s4); background: var(--ink); color: var(--night); border-radius: var(--r2); transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* The night: lights, trees, snow, Santa. Decoration only. */
.night { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: clip; }
.lights { position: absolute; inset: 0 0 auto; width: 100%; height: 90px; }
.wire { fill: none; stroke: #4A4535; stroke-width: 2; vector-effect: non-scaling-stroke; }
.bulbs { position: absolute; inset: 0 0 auto; height: 90px; }
.bulb { position: absolute; width: 12px; height: 17px; margin: -2px 0 0 -6px; border-radius: 6px 6px 8px 8px; background: var(--c); transform: rotate(var(--t, 0deg)); transform-origin: 50% 0; animation: twinkle var(--d, 10s) var(--ease-io) var(--w, 0s) infinite; }
.bulb::before { content: ""; position: absolute; left: 2px; top: -5px; width: 8px; height: 6px; border-radius: 2px; background: #5B5545; }
.bulb::after { content: ""; position: absolute; left: 3px; top: 4px; width: 3px; height: 6px; border-radius: 2px; background: rgb(255 255 255 / .55); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.ground { position: relative; z-index: 1; height: min(34dvh, 260px); margin-top: var(--s7); pointer-events: none; overflow: clip; }
.trees { position: absolute; inset: 0; width: 100%; height: 100%; }
.trees .tree-light { animation: twinkle var(--d, 11s) var(--ease-io) var(--w, 0s) infinite; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; }
.burst { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
.santa { position: absolute; right: max(3vw, 8px); bottom: 0; width: clamp(96px, 11vw, 150px); transform: translateY(110%); }
.santa .drift { fill: #E6EEF5; }
body[data-view=home] .santa { animation: peek 1.1s var(--ease-out) .8s both; }
body[data-view=home] .santa .wave { animation: wave 1.6s var(--ease-io) 2s 2; transform-origin: 138px 156px; }
@keyframes peek { to { transform: none; } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } 75% { transform: rotate(10deg); } }
.santa .hat, .santa .sleeve { fill: var(--red); } .santa .trim, .santa .pom, .santa .beard { fill: #FBF7EE; } .santa .skin { fill: #F6C9A8; } .santa .cheek { fill: #EE9C93; } .santa .nose { fill: #E8877C; } .santa .eye { fill: none; stroke: #3B2418; stroke-width: 3; stroke-linecap: round; } .santa .mitten { fill: var(--pine); }
body.paused .night *, body.paused .ground *, body.paused .ornament { animation-play-state: paused !important; }

/* Floating bar */
.top { position: relative; z-index: 5; width: calc(100% - 2 * var(--s4)); max-width: 72rem; margin: var(--s7) auto 0; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s2) var(--s2) var(--s2) var(--s4); border-radius: var(--full); border: 1px solid var(--line); background: rgb(31 31 31 / .82); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; font-weight: 700; min-height: 44px; }
.top-end { display: flex; align-items: center; gap: var(--s2); }
.calm, .who { min-height: 40px; padding: var(--s2) var(--s4); border-radius: var(--full); border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .875rem; line-height: 1.25rem; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; transition: color 300ms var(--ease-out), border-color 300ms var(--ease-out); }
.calm:hover, .who:hover { color: var(--ink); border-color: var(--line-2); }
.calm:active, .who:active { transform: translateY(1px); }

/* Page column */
main { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 72rem; margin: 0 auto; padding: var(--s6) var(--s4) 0; outline: none; }
body:not([data-view=home]) #view { max-width: 40rem; margin: 0 auto; }
#view.out { opacity: 0; transform: translateY(-8px); transition: opacity var(--exit) var(--ease-in), transform var(--exit) var(--ease-in); }
#view.in { animation: enter var(--long) var(--ease-out); }
@keyframes enter { from { opacity: 0; transform: translateY(24px); } }
.foot { position: relative; z-index: 3; padding: var(--s2) var(--s4) var(--s5); text-align: center; font-size: .875rem; line-height: 1.25rem; background: #E6EEF5; color: #2B3A47; }
.foot a { color: #1B2833; }

/* Home: hero with the hat beside it */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s6); align-items: center; min-height: min(560px, calc(100dvh - 220px)); }
.hero-copy { max-width: 680px; animation: enter 600ms var(--ease-out) both; }
.hero h1 { font-size: 3.75rem; line-height: 1; letter-spacing: -.03em; }
.hero .sub { margin-top: var(--s5); font-size: 1.125rem; line-height: 1.75rem; color: var(--muted); max-width: 28rem; }
.hero .cta { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.hero-art { justify-self: center; width: min(100%, 360px); }
.joinbox { margin-top: var(--s6); max-width: 26rem; display: grid; gap: var(--s2); }
.joinbox label { font-weight: 700; }
.row { display: flex; gap: var(--s2); }
.row > input { flex: 1; min-width: 0; }
.code-in { font-family: var(--mono); letter-spacing: .12em; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.25rem !important; }

.sect { margin-top: var(--s8); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.sect > header h2 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -.02em; }
.sect > header p { margin-top: var(--s3); color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s4); align-items: start; padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps li::before { content: counter(s); font: 700 3rem/1 var(--mono); color: var(--gold); }
.steps b { display: block; font-size: 1.25rem; line-height: 1.75rem; } .steps span { display: block; margin-top: var(--s1); color: var(--muted); }

.tagline { margin-top: var(--s8); max-width: 56rem; font-size: 3rem; line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.tagline span { opacity: .3; transition: opacity 500ms var(--ease-out); }
.tagline span.lit { opacity: 1; }

.qs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.qs details { border-bottom: 1px solid var(--line); background: rgb(19 18 9 / .78); }
.qs summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) var(--s2); font-weight: 700; font-size: 1.125rem; line-height: 1.75rem; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform var(--short) var(--ease-out); }
.qs details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.qs details p { padding: 0 var(--s2) var(--s5); color: var(--muted); max-width: 40rem; }
.qs details[open] p { animation: enter var(--long) var(--ease-out); }

.end { margin-top: var(--s8); display: grid; justify-items: start; gap: var(--s5); padding: var(--s6); border-radius: var(--r5); background: var(--paper); color: var(--paper-ink); }
.end h2 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -.02em; max-width: 30rem; }
.end p { color: var(--paper-muted); }

.mine { margin-top: var(--s7); display: grid; gap: var(--s3); max-width: 40rem; }
.mine h2 { font-size: 1.5rem; line-height: 2rem; }
.mine a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s3); padding: var(--s4) var(--s5); border-radius: var(--r4); background: var(--surface); color: var(--ink); text-decoration: none; border: 1px solid var(--line); transition: border-color 300ms var(--ease-out); }
.mine a:hover { border-color: var(--line-2); }
.mine a b { font-weight: 700; } .mine a span { color: var(--muted); font-size: .875rem; } .mine a em { font-style: normal; font-size: .875rem; align-self: center; grid-row: span 2; color: var(--muted); }

/* Santa's hat with the name slips. Two layers so a slip can rise between them. */
.hat { position: relative; aspect-ratio: 240 / 230; width: 100%; }
.hat svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hat .opening { fill: #4A0F15; } .hat .slip-s { fill: var(--paper); } .hat .slip-l { fill: var(--paper-line); }
.hat .body, .hat .tip { fill: var(--red); } .hat .shade { fill: var(--red-shade); } .hat .trim, .hat .pom { fill: var(--paper); } .hat .fluff { fill: var(--paper-well); }
.hat .pulled { position: absolute; left: 41%; top: 6%; width: 20%; aspect-ratio: .62; border-radius: var(--r1); background: var(--paper); transform: translateY(45%) rotate(-3deg); }
.hat .pulled::before, .hat .pulled::after { content: ""; position: absolute; left: 16%; right: 16%; height: 3px; border-radius: 2px; background: var(--paper-line); }
.hat .pulled::before { top: 24%; } .hat .pulled::after { top: 36%; right: 34%; }
.hero-art .hat .slips { animation: shuffle 9s var(--ease-io) 1.4s infinite; transform-origin: 50% 60%; }
@keyframes shuffle { 0%, 86%, 100% { transform: none; } 90% { transform: translateY(-6px); } 94% { transform: translateY(2px); } }

/* Panels and forms */
.panel { background: rgb(31 31 31 / .94); border: 1px solid var(--line); border-radius: var(--r5); padding: var(--s6) var(--s5); backdrop-filter: blur(6px); }
.panel + .panel, .ticket + .panel { margin-top: var(--s4); }
.panel h1 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.02em; }
.panel h2 { font-size: 1.25rem; line-height: 1.75rem; }
.lede { color: var(--muted); margin-top: var(--s2); }
form { display: grid; gap: var(--s5); margin-top: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field > label, .field > legend { font-weight: 700; padding: 0; }
.field small { color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
input[type=text], input[type=email], input[type=number], input[type=date], textarea, select { width: 100%; min-height: 48px; padding: var(--s3) var(--s4); font-size: 1rem; border-radius: var(--r3); border: 2px solid var(--line); background: var(--night); color: var(--ink); transition: border-color 300ms var(--ease-out); }
input:hover, textarea:hover, select:hover { border-color: var(--line-2); }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--frost); outline-offset: 2px; border-color: var(--frost); transition: none; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--bad); }
.money { position: relative; } .money span { position: absolute; left: var(--s4); top: 50%; transform: translateY(-50%); color: var(--muted); font: 700 1rem var(--mono); } .money input { padding-left: 40px; font-family: var(--mono); }
.err { color: var(--bad); font-size: .875rem; line-height: 1.25rem; }
.err:empty { display: none; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { position: relative; display: grid; gap: var(--s1); height: 100%; padding: var(--s4) var(--s6) var(--s4) var(--s4); border-radius: var(--r3); border: 2px solid var(--line); background: var(--night); transition: border-color 300ms var(--ease-out); }
.choice span::after { content: ""; position: absolute; right: var(--s4); top: var(--s4); width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--night); transition: border-width var(--short) var(--ease-out); }
.choice span b { font-weight: 700; } .choice span i { font-style: normal; color: var(--muted); font-size: .875rem; line-height: 1.25rem; }
.choice input:checked + span { border-color: var(--ink); }
.choice input:checked + span::after { border: 6px solid var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--frost); outline-offset: 3px; }
.choice:active span { transform: scale(.98); }

/* Buttons: one filled red button per screen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: var(--s3) var(--s5); border-radius: var(--r3); border: 0; font-weight: 700; line-height: 1.5rem; text-decoration: none; cursor: pointer; background: var(--well); color: var(--ink); transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); touch-action: manipulation; }
.btn:hover { background: #34312A; } .btn:active { transform: scale(.98); }
.btn.main { background: var(--red); color: var(--red-ink); } .btn.main:hover { background: var(--red-hover); }
.btn.big { min-height: 52px; padding: var(--s3) var(--s5); font-size: 1.125rem; }
.btn.line { background: transparent; box-shadow: inset 0 0 0 2px var(--line); } .btn.line:hover { box-shadow: inset 0 0 0 2px var(--line-2); }
.btn.small { min-height: 40px; padding: var(--s2) var(--s4); font-size: .875rem; line-height: 1.25rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.busy { pointer-events: none; }
.btn.busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; padding: var(--s2) 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.foot-act { margin-top: var(--s4); text-align: center; }
.foot-act .link { background: rgb(19 18 9 / .8); padding: var(--s2) var(--s3); border-radius: var(--r2); }

/* The join code on a paper gift tag */
.ticket { position: relative; display: grid; gap: var(--s3); padding: var(--s6) var(--s6) var(--s6) var(--s7); border-radius: var(--r4); background: var(--paper); color: var(--paper-ink); clip-path: polygon(40px 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px), 0 40px); }
.ticket::before { content: ""; position: absolute; left: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px var(--paper-line); }
.ticket > p { color: var(--paper-muted); font-weight: 700; }
.ticket .code { font: 700 3rem/1 var(--mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--paper-ink); }
.ticket .code span { display: inline-block; }
.ticket.new .code span { animation: drop .5s var(--ease-out) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-16px); } }
.ticket .meta { justify-content: start; }
.ticket .meta span { background: var(--paper-well); color: var(--paper-ink); }
.ticket .btn.line { color: var(--paper-ink); box-shadow: inset 0 0 0 2px var(--paper-line); }
.ticket .btn.line:hover { background: var(--paper-well); }
.ticket :focus-visible { outline-color: var(--paper-ink); }
.meta { display: flex; flex-wrap: wrap; gap: var(--s2); }
.meta span { padding: var(--s1) var(--s3); border-radius: var(--full); background: var(--well); font-size: .875rem; line-height: 1.25rem; color: var(--ink); }

/* People */
.people { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.people li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s3); border-radius: var(--r3); background: var(--night); animation: enter var(--long) var(--ease-out) both; }
.people li:nth-child(2) { animation-delay: 40ms; } .people li:nth-child(3) { animation-delay: 80ms; } .people li:nth-child(4) { animation-delay: 120ms; } .people li:nth-child(5) { animation-delay: 160ms; } .people li:nth-child(n+6) { animation-delay: 200ms; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--night); background: var(--c, var(--gold)); }
.people b { display: block; font-weight: 700; overflow-wrap: anywhere; } .people small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.25rem; overflow-wrap: anywhere; }
.people .tag { font-size: .75rem; line-height: 1rem; padding: var(--s1) var(--s2); border-radius: var(--full); background: var(--well); color: var(--muted); }
.people .tag.ok { color: var(--ok); } .people .tag.wait { color: var(--gold); }
.people .acts { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: end; }
.people details { grid-column: 2 / -1; color: var(--muted); font-size: .875rem; } .people summary { cursor: pointer; color: var(--ink); min-height: 32px; }
.pairs { display: grid; gap: var(--s3); margin-top: var(--s4); }
.pairs label { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); gap: var(--s2); align-items: center; }
.pairs label span { font-weight: 700; overflow-wrap: anywhere; } .pairs label i { font-style: normal; color: var(--muted); font-size: .875rem; }

/* Waiting: one ornament, swinging slowly */
.wait { text-align: center; }
.ornament { width: 84px; margin: 0 auto var(--s4); transform-origin: 50% 0; animation: swing 8s var(--ease-io) infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* The draw: shake the hat, a slip rises, then it unfolds into the card. */
.gift { display: grid; justify-items: center; gap: var(--s5); margin-top: var(--s5); }
.box { width: min(260px, 64vw); margin-top: var(--s7); border: 0; background: none; padding: 0; cursor: pointer; border-radius: var(--r4); }
.box:focus-visible { outline-offset: 8px; }
.gift.idle .box .hat { animation: jiggle 9s var(--ease-io) 1.5s infinite; transform-origin: 50% 90%; }
@keyframes jiggle { 0%, 88%, 100% { transform: none; } 91% { transform: rotate(-3deg); } 94% { transform: rotate(3deg); } 97% { transform: rotate(-1deg); } }
.gift.open .box .hat { animation: shake .42s var(--ease-io) 1; transform-origin: 50% 90%; }
@keyframes shake { 25% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } 75% { transform: rotate(-2deg); } }
.gift.open .hat .pulled { animation: pull .7s var(--ease-out) .36s both; }
@keyframes pull { to { transform: translateY(-105%) rotate(4deg); } }
.card { width: 100%; display: grid; gap: var(--s3); justify-items: start; padding: var(--s6) var(--s5); border-radius: var(--r4); background: var(--paper); color: var(--paper-ink); box-shadow: 0 24px 48px rgb(0 0 0 / .35); }
.card:empty { display: none; }
.gift .card { opacity: 0; transform-origin: 50% 0; }
.gift.open .card { animation: unfold .6s var(--ease-out) 1.2s both; }
.gift.shown .card { animation: enter var(--long) var(--ease-out) both; }
@keyframes unfold { from { opacity: 0; transform: translateY(-48px) scaleY(.08); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
.card .for { color: var(--paper-muted); font-weight: 700; }
.card .name { font-size: 3.75rem; line-height: 1; letter-spacing: -.03em; color: var(--red-text); overflow-wrap: anywhere; outline-color: var(--paper-ink); }
.card .meta span { background: var(--paper-well); color: var(--paper-ink); }
.card .likes { width: 100%; padding: var(--s4); border-radius: var(--r2); background: var(--paper-well); white-space: pre-wrap; overflow-wrap: anywhere; }
.card .likes b { display: block; margin-bottom: var(--s1); }
.gift.shown .box { display: none; }

/* Toast: only for effects you cannot see on the page */
.toast { position: fixed; left: 50%; bottom: var(--s5); z-index: 45; transform: translate(-50%, 140%); padding: var(--s3) var(--s5); border-radius: var(--r3); background: var(--ink); color: var(--night); font-weight: 700; opacity: 0; transition: transform var(--long) var(--ease-out), opacity var(--short) var(--ease-out); max-width: calc(100% - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--s5); }
  .hero-art { order: -1; width: min(60vw, 240px); justify-self: start; }
  .sect { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .tagline { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (max-width: 560px) {
  .top { margin-top: var(--s7); }
  .calm { font-size: 0; width: 40px; padding: 0; justify-content: center; }
  .calm::before { content: ""; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
  .calm[aria-pressed=true]::before { width: 0; height: 0; border: 7px solid transparent; border-left: 12px solid currentColor; border-right: 0; margin-left: 4px; }
  main { padding-top: var(--s5); }
  .hero h1 { font-size: 2.25rem; line-height: 2.5rem; }
  .hero-art { width: 160px; }
  .sect > header h2, .end h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .tagline { font-size: 1.875rem; line-height: 2.25rem; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); } .steps li::before { font-size: 2.25rem; }
  .end { padding: var(--s5); }
  .panel { padding: var(--s5) var(--s4); border-radius: var(--r4); }
  .ticket { padding: var(--s5) var(--s5) var(--s5) var(--s7); }
  .ticket .code { font-size: 2.25rem; }
  .card .name { font-size: 3rem; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .people li { grid-template-columns: 40px minmax(0, 1fr); } .people .acts { grid-column: 2; justify-content: start; }
  .pairs label { grid-template-columns: minmax(0, 1fr); } .pairs label i { display: none; }
  .row { flex-wrap: wrap; } .row > .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 1ms !important; }
  .bulb, .trees .tree-light, .ornament, .gift.idle .box .hat, .hero-art .hat .slips { animation: none !important; }
  .santa { transform: none; }
  .tagline span { opacity: 1; }
}
