/* v1 — PRESS START. Extends /shared/base.css. Only brand reds, pinks and white. */
:root {
  --hud-h: 38px;
  --dock-h: 74px;
  --gutter: 16px;
  --shadow: 6px 6px 0 var(--red);
  --shadow-deep: 6px 6px 0 var(--red-deep);
  --step: steps(4, end);
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hud-h) + 12px); background: var(--white); }
html.is-booting { overflow: hidden; }
body {
  background: transparent; overflow-x: hidden; min-height: 100vh;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
@supports (overflow: clip) { body { overflow-x: clip; } }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.1em; fill: currentColor; color: inherit; }
.blink { animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }

/* ---------------- checker background ---------------- */
#checker {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -1;
  image-rendering: pixelated; background: var(--checker); background-attachment: fixed;
}

/* ---------------- BOOT ---------------- */
.boot { display: none; }
html.is-booting .boot, .boot.leaving {
  display: grid; position: fixed; inset: 0; z-index: 200; place-items: center;
  background: var(--red); color: var(--white); padding: 24px var(--gutter);
}
.boot::after { /* CRT scanlines */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(180, 13, 16, .55) 3px 4px);
}
.boot.leaving { animation: bootOut .55s steps(7, end) forwards; }
@keyframes bootOut { to { transform: translateY(-101%); } }
.boot-inner { width: min(560px, 100%); display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.boot-label { align-self: flex-start; margin: 0 0 10px; font-size: clamp(18px, 5vw, 28px); font-family: var(--mono); letter-spacing: .08em; }
.boot-dots { animation: blink 1s steps(1, end) infinite; }
.boot.done .boot-dots { display: none; }
.boot-logo { position: relative; width: 100%; aspect-ratio: 673 / 292; }
.boot-logo img { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(0) invert(1); }
.boot-logo .ghost { opacity: .18; }
.boot-logo .fill { clip-path: inset(0 calc(100% - var(--p, 0) * 1%) 0 0); }
.boot-pct { margin: 14px 0 10px; font-size: clamp(30px, 9vw, 44px); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.boot-bar { width: 100%; height: 24px; border: 3px solid var(--white); padding: 2px; }
.boot-bar i { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(calc(var(--p, 0) / 100)); }
.boot-start {
  margin-top: 34px; background: none; border: 0; color: var(--white); font-size: clamp(22px, 7vw, 34px);
  padding: 10px 16px; opacity: 0; pointer-events: none; letter-spacing: .06em;
}
.boot.done .boot-start { opacity: 1; pointer-events: auto; animation: blink 1s steps(1, end) infinite; }
.boot-start:focus-visible { outline: 3px dashed var(--white); }
.boot-hint { margin: 6px 0 0; font-size: 12px; opacity: 0; }
.boot.done .boot-hint { opacity: .8; }
.boot-skip {
  position: absolute; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 2;
  background: none; border: 2px solid var(--white); color: var(--white); font-size: 12px; padding: 8px 10px;
}
.boot.done .boot-skip { display: none; }

/* ---------------- TOP HUD ---------------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hud-h);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  background: var(--white); border-bottom: 3px solid var(--red); font-size: 22px;
  transform: translateY(-110%); transition: transform .35s var(--ease);
}
html.is-started .hud { transform: none; }
.hud a { text-decoration: none; }
.hud-1up { display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.hud-1up .px { font-size: 13px; animation: blink 1.2s steps(1, end) infinite; }
.hud-1up.bump [data-hud-score] { animation: bump .3s steps(3, end); display: inline-block; }
@keyframes bump { 50% { transform: scale(1.25); } }
.hud-title { display: none; font-size: 13px; }
.hud-date { font-size: 12px; }
@media (min-width: 760px) { .hud-title { display: block; } .hud-date { font-size: 13px; } }

/* ---------------- shared section bits ---------------- */
main > section, .end { position: relative; padding: 72px var(--gutter); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.sec-head h2 {
  margin: 0; font-size: clamp(24px, 7.4vw, 46px); line-height: 1.05;
  text-shadow: 3px 3px 0 var(--white), -2px -2px 0 var(--white), 2px -2px 0 var(--white), -2px 2px 0 var(--white);
}
.sec-head h2.big { font-size: clamp(30px, 10vw, 64px); }
.sec-sub { margin: 6px 0 0; font-size: clamp(14px, 4vw, 20px); font-weight: 700; text-shadow: 2px 2px 0 var(--white); }
.sec-copy { margin: 12px auto 0; font-size: 24px; background: var(--white); display: inline-block; padding: 2px 10px; border: 3px solid var(--red); }
.btn-px { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; min-height: 48px; }

/* ---------------- 1. TITLE CARD ---------------- */
.title { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding-top: calc(var(--hud-h) + 24px); padding-bottom: 40px; }
.title-inner { width: min(720px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.t-left, .t-right { width: 100%; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 960px) {
  .title-inner { width: min(1240px, 100%); display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 48px; align-items: center; }
  .t-right { padding-top: 24px; }
  .t-cta, .t-next { grid-column: 1 / -1; justify-self: center; }
  .t-car { margin-left: 0; }
  .t-host { font-size: clamp(22px, 2.6vw, 40px); }
  .t-presents { font-size: clamp(17px, 1.7vw, 26px); }
  .t-day span { font-size: clamp(90px, 10vw, 150px); }
  .t-month { font-size: clamp(16px, 1.7vw, 26px); }
  .t-addr { font-size: clamp(18px, 1.8vw, 28px); }
  .t-time { font-size: clamp(32px, 3.6vw, 54px); }
  .demo-stick { padding-bottom: calc(var(--dock-h) + 34px); }
  .end { padding-bottom: 130px; }
}
.t-host { margin: 0; font-size: clamp(20px, 6.4vw, 40px); font-weight: 700; line-height: 1; }
.t-plus { margin: 4px 0; font-size: clamp(18px, 5vw, 28px); font-weight: 700; }
.t-presents { margin: 0 0 10px; font-size: clamp(17px, 4.6vw, 26px); text-transform: uppercase; letter-spacing: .02em; }
.t-presents b { font-size: .82em; font-weight: 700; }
.t-logo { margin: 0; width: 100%; }
.t-logo img { width: 100%; height: auto; }
.t-row { display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; width: 100%; margin-top: 6px; }
.t-car { position: relative; margin-left: calc(var(--gutter) * -1 - 4%); }
.t-car .car { width: 100%; height: auto; position: relative; z-index: 1; clip-path: polygon(0 0, 78% 0, 78% 34%, 100% 34%, 100% 100%, 0 100%); animation: idle 1.4s steps(2, end) infinite; transform-origin: 60% 90%; }
@keyframes idle { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(2px, -2px) rotate(-.6deg); } }
.smoke { position: absolute; left: -4%; bottom: 0; width: 46%; height: 60%; z-index: 0; pointer-events: none; }
.puff { position: absolute; width: 58%; aspect-ratio: 22 / 15; left: 30%; bottom: 0; opacity: 0; animation: puff 2.4s linear infinite; }
.puff.p2 { animation-delay: .6s; width: 46%; }
.puff.p3 { animation-delay: 1.2s; width: 64%; }
.puff.p4 { animation-delay: 1.8s; width: 40%; }
@keyframes puff {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-90%, -38%) scale(1.25); }
}
.t-date { text-align: left; padding-left: 4px; }
.t-month { margin: 0; font-size: clamp(14px, 4.4vw, 26px); font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.t-month .ico { width: 1.25em; height: 1.25em; flex: none; }
.t-day { margin: -6px 0 0; display: flex; align-items: flex-start; font-weight: 700; line-height: .9; }
.t-day span { font-size: clamp(76px, 25vw, 150px); transform: skewX(-12deg); display: inline-block; text-shadow: 4px 4px 0 var(--red-deep); }
.t-day sup { font-size: clamp(18px, 6vw, 36px); margin-top: .5em; transform: skewX(-12deg); }
.t-addr { margin: 8px 0 0; font-size: clamp(17px, 4.5vw, 28px); text-transform: uppercase; }
.t-addr b { font-size: .8em; font-weight: 700; }
.t-time { margin: 4px 0 0; font-size: clamp(28px, 9vw, 54px); font-weight: 700; line-height: 1.05; }
.t-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.t-cta .btn-px { min-width: 140px; }
.t-next { margin-top: 26px; text-decoration: none; font-size: clamp(16px, 4.6vw, 24px); font-weight: 700; }

/* intro pop-in (staggered when the game starts) */
html.js-ready .pop { opacity: 0; transform: translateY(14px) scale(.98); }
html.is-started.intro .pop { animation: popIn .5s var(--ease) forwards; animation-delay: calc(var(--d) * 90ms); }
@keyframes popIn { 60% { opacity: 1; transform: translateY(-3px) scale(1.01); } 100% { opacity: 1; transform: none; } }

/* ---------------- 2. DEMO ---------------- */
.demo { height: 340vh; padding: 0 !important; }
.demo-stick {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: calc(var(--hud-h) + 10px) var(--gutter) calc(var(--dock-h) + 8px);
}
.demo-head { text-align: center; }
.demo-head h2 { margin: 0; font-size: clamp(22px, 6.6vw, 40px); text-shadow: 3px 3px 0 var(--white), -2px -2px 0 var(--white); }
.demo-sub { margin: 0; font-size: 20px; background: var(--white); padding: 0 8px; display: inline-block; }
.demo-stage { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 0; flex: 1 1 auto; width: 100%; }
.screen {
  position: relative; container-type: inline-size;
  height: 100%; max-height: 640px; aspect-ratio: 432 / 768; max-width: 100%;
  border: 4px solid var(--red); background: var(--white); box-shadow: 8px 8px 0 var(--red-deep);
  overflow: hidden;
}
.screen-vid { width: 100%; height: 100%; object-fit: cover; }
.score-box { /* sits exactly over the score box burned into the footage */
  position: absolute; left: 27.2%; top: 49.3%; width: 45.6%; height: 7.9%;
  background: var(--white); border: 2px solid var(--red); outline: 2px solid var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .95;
}
.sb-k { font-size: 4.4cqw; font-weight: 700; }
.sb-v { font-family: var(--px); font-weight: 700; font-size: 7.6cqw; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.score-box.hit { animation: hit .35s steps(3, end); }
@keyframes hit { 33% { transform: scale(1.12); } 66% { transform: scale(.96); } }
.popups { position: absolute; left: 0; right: 0; top: 14%; height: 30%; pointer-events: none; }
.popup {
  position: absolute; left: 50%; top: 10%; translate: -50% 0; white-space: nowrap; text-align: center;
  font-family: var(--px); font-weight: 700; color: var(--red); line-height: 1;
  animation: popup 1.5s var(--ease) forwards;
}
.popup b {
  display: block; font-size: 11cqw; letter-spacing: .02em;
  text-shadow: 3px 0 0 var(--white), -3px 0 0 var(--white), 0 3px 0 var(--white), 0 -3px 0 var(--white),
    3px 3px 0 var(--white), -3px -3px 0 var(--white), 3px -3px 0 var(--white), -3px 3px 0 var(--white), 6px 6px 0 var(--red-deep);
}
.popup small { display: inline-block; margin-top: 6px; font-size: 4.4cqw; background: var(--red); color: var(--white); padding: 4px 8px; }
@keyframes popup {
  0% { opacity: 0; transform: scale(.3) rotate(-8deg); }
  14% { opacity: 1; transform: scale(1.18) rotate(-3deg); }
  24% { transform: scale(1) rotate(-3deg); }
  80% { opacity: 1; transform: translateY(-8%) rotate(-3deg); }
  100% { opacity: 0; transform: translateY(-30%) rotate(-3deg); }
}
.scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(226, 18, 22, .06) 3px 4px); }
.demo-side { display: none; }
.demo-foot { display: flex; align-items: center; gap: 14px; width: min(100%, 520px); }
.lap { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; background: var(--white); border: 3px solid var(--red); padding: 4px 8px; }
.lap-bar { flex: 1; height: 12px; border: 2px solid var(--red); padding: 1px; }
.lap-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.demo-live { margin: 0; font-size: 12px; background: var(--red); color: var(--white); padding: 8px 10px; white-space: nowrap; }
@media (min-width: 900px) {
  .demo-side {
    display: flex; flex-direction: column; width: 190px; background: var(--white); border: 4px solid var(--red);
    box-shadow: var(--shadow-deep); padding: 16px;
  }
  .demo-side p { margin: 0; }
  .s-k { font-size: 12px; opacity: .7; }
  .s-v { font-size: 26px; font-weight: 700; margin-bottom: 14px !important; }
  .tricks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-family: var(--px); font-size: 14px; text-transform: uppercase; }
  .tricks li { border: 2px dashed var(--red); padding: 6px 8px; opacity: .35; transition: opacity .2s, background-color .2s; }
  .tricks li.got { opacity: 1; border-style: solid; background: var(--red); color: var(--white); }
}
html.reduce .demo { height: auto; padding: 72px var(--gutter) !important; }
html.reduce .demo-stick { position: static; height: auto; padding: 0; }
html.reduce .screen { height: auto; width: min(100%, 360px); }
html.reduce .score-box, html.reduce .demo-sub, html.reduce .lap { display: none; }

/* ---------------- 3. SELECT YOUR ARTIST ---------------- */
.select { max-width: 560px; margin: 0 auto; display: grid; gap: 22px; }
@media (min-width: 980px) { .select { max-width: 1060px; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } .roster { gap: 12px; } }
.preview { background: var(--white); border: 4px solid var(--red); box-shadow: var(--shadow-deep); padding: 16px 16px 18px; }
.pv-portrait { position: relative; width: 62%; margin: 0 auto; aspect-ratio: 1; border: 3px solid var(--red); background: var(--pink-2); overflow: hidden; }
.pv-portrait img { width: 100%; height: 100%; object-fit: cover; }
.pv-portrait.swap img { animation: swap .32s steps(4, end); }
@keyframes swap { 0% { opacity: 0; transform: translateX(-6%); } 50% { opacity: 1; transform: translateX(4%); } 100% { transform: none; } }
.pv-lock {
  position: absolute; inset: auto 0 0 0; display: none; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: var(--white); font-size: clamp(14px, 4vw, 20px); padding: 6px; font-weight: 700;
}
.pv-lock .ico { color: var(--white); }
.preview.locked .pv-lock { display: flex; }
.pv-name { margin: 12px 0 10px; text-align: center; font-size: clamp(22px, 7vw, 36px); font-weight: 700; line-height: 1; min-height: 1em; }
.stats { margin: 0; display: grid; gap: 8px; }
.stats > div { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 10px; }
.stats dt { font-size: 14px; font-weight: 700; }
.stats dd { margin: 0; }
.bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; border: 2px solid var(--red); padding: 2px; height: 20px; }
.bar i { position: relative; background: var(--pink-2); }
.bar i::after { content: ''; position: absolute; inset: 0; background: var(--red); opacity: 0; transition: opacity .06s linear; transition-delay: calc(var(--i) * 45ms + var(--row) * 90ms); }
.bar i.on::after { opacity: 1; }
.stats.reset .bar i::after { transition: none; }
.preview.locked .bar { opacity: .4; }

.roster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-top: 16px; }
.tile {
  all: unset; box-sizing: border-box; position: relative; cursor: pointer; aspect-ratio: 1;
  border: 3px solid var(--red); background: var(--white);
  transition: transform .12s var(--ease);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover { transform: translateY(-2px); }
.tile .lock { position: absolute; inset: 0; display: grid; place-items: center; background: var(--white); }
.tile .lock svg { width: 46%; height: 52%; color: var(--red); }
.tile[aria-checked="true"] { outline: 3px solid var(--red); outline-offset: 2px; z-index: 1; }
.tile[aria-checked="true"]::before {
  content: 'P1'; position: absolute; left: -5px; top: -24px; font-family: var(--px); font-weight: 700; font-size: 13px;
  background: var(--red); color: var(--white); padding: 2px 5px 1px; line-height: 1.2; animation: blink .8s steps(1, end) infinite;
}
.tile:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }
.roster-hint { text-align: center; font-size: 11px; margin: 18px 0 0; text-shadow: 1px 1px 0 var(--white); }

/* ---------------- 4. ROUTE ---------------- */
.route-grid { max-width: 980px; margin: 0 auto; display: grid; gap: 24px; justify-items: center; }
@media (min-width: 860px) { .route-grid { grid-template-columns: 380px minmax(0, 520px); justify-content: center; align-items: center; gap: 48px; } }
.map-frame { margin: 0; position: relative; width: min(100%, 380px); aspect-ratio: 360 / 440; border: 4px solid var(--red); box-shadow: 8px 8px 0 var(--red-deep); background: var(--pink); overflow: hidden; }
.map-frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.map-frame figcaption { position: absolute; left: 8px; top: 8px; background: var(--white); border: 2px solid var(--red); font-size: 11px; padding: 4px 6px; display: flex; gap: 5px; align-items: center; }
.addr-card { width: 100%; max-width: 520px; background: var(--white); border: 4px solid var(--red); box-shadow: var(--shadow-deep); padding: 20px; text-align: center; }
.a-k { margin: 0 0 10px; font-size: 12px; opacity: .75; }
.a-when { margin: 0; font-size: clamp(18px, 5.4vw, 28px); font-weight: 700; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; }
.a-where { margin: 8px 0 18px; font-style: normal; font-size: clamp(20px, 5.6vw, 28px); text-transform: uppercase; }
.a-where b { font-size: .78em; font-weight: 700; }
.a-btns { display: grid; gap: 12px; }
.a-when { flex-direction: column; } .a-when .sep { display: none; }
@media (min-width: 480px) { .a-btns { grid-template-columns: 1fr 1fr; } }

/* ---------------- 5. RSVP / HIGH SCORE ---------------- */
.rsvp-grid { max-width: 1000px; margin: 0 auto; display: grid; gap: 26px; justify-items: center; }
@media (min-width: 900px) { .rsvp-grid { grid-template-columns: 1fr 1fr; align-items: center; } .store-frame { aspect-ratio: 432 / 470; } }
.store-frame { margin: 0; width: min(100%, 460px); aspect-ratio: 432 / 350; border: 4px solid var(--red); box-shadow: 8px 8px 0 var(--red-deep); overflow: hidden; background: var(--white); }
.store-frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hiscore {
  width: min(100%, 460px); background: var(--red); color: var(--white); padding: 20px 18px 18px; position: relative;
  box-shadow: 8px 8px 0 var(--red-deep); border: 4px solid var(--red-deep);
}
.hiscore::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(180, 13, 16, .4) 3px 4px); }
.hs-banner { margin: 0 0 12px; text-align: center; font-size: clamp(18px, 5.6vw, 26px); font-weight: 700; }
.hs-table { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; border-top: 2px dashed var(--white); border-bottom: 2px dashed var(--white); padding: 10px 2px; }
.hs-table > span:nth-child(-n+3) { font-size: 11px; opacity: .75; }
.hs-rank { font-size: 20px; font-weight: 700; }
.hs-score { font-size: 34px; font-variant-numeric: tabular-nums; }
.hs-initials { display: flex; gap: 6px; }
.hs-initials i { font-style: normal; font-family: var(--px); font-weight: 700; font-size: 26px; width: 30px; text-align: center; border-bottom: 3px solid var(--white); line-height: 1.1; }
.hs-initials i.cur { animation: blink .7s steps(1, end) infinite; }
.hs-enter { margin: 14px 0 8px; text-align: center; font-size: 15px; font-weight: 700; }
.hs-meta { margin: 12px 0 0; text-align: center; font-size: 20px; opacity: .9; }
.hiscore .store-form { gap: 12px; position: relative; z-index: 1; }
.hiscore .store-form input {
  background: var(--white); color: var(--red); border: 3px solid var(--white); font-size: 24px; padding: 10px 12px; min-height: 50px;
  box-shadow: inset 3px 3px 0 var(--pink);
}
.hiscore .store-form input[name="name"] { text-transform: uppercase; }
.hiscore .store-form input::placeholder { color: rgba(226, 18, 22, .55); }
.hiscore .store-form input:focus-visible { outline: 3px dashed var(--white); outline-offset: 3px; }
.hiscore .store-form .btn-px { background: var(--white); color: var(--red); box-shadow: 4px 4px 0 var(--red-deep); font-size: 18px; min-height: 52px; }
.hiscore .store-form .btn-px:focus-visible { outline-color: var(--white); }
.hiscore .store-err { color: var(--white); min-height: 1.2em; font-size: 20px; }
.hiscore .store-ok { background: var(--white); color: var(--red); font-size: 15px; padding: 14px; text-align: center; position: relative; z-index: 1; }
.hiscore.won .hs-banner span { animation: none; }
.hiscore.won .hs-initials i { animation: blink .4s steps(1, end) 6; }
.hiscore .hs-banner, .hiscore .hs-table, .hiscore .hs-enter, .hiscore .hs-meta { position: relative; z-index: 1; }
.confetti { position: absolute; width: 40px; aspect-ratio: 22 / 15; pointer-events: none; z-index: 3; animation: burst .9s var(--ease) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(.3); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.1); } }

/* ---------------- 6. PIT SHOP ---------------- */
.shop-grid { max-width: 1100px; margin: 0 auto; }
.shop .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .shop .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.shop .store-card { box-shadow: 5px 5px 0 var(--red-deep); min-width: 0; }
.shop .store-card:hover { box-shadow: 7px 7px 0 var(--red-deep); }
.shop .store-card .m { background: var(--white); }
.shop .store-card .t { font-size: 11px; line-height: 1.3; padding: 10px 10px 2px; overflow-wrap: anywhere; }
.shop .store-card .r { padding: 4px 10px 10px; font-size: 22px; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; }
@media (min-width: 900px) { .shop .store-card .t { font-size: 13px; padding: 12px 14px 4px; } .shop .store-card .r { padding: 4px 14px 14px; } }
.shop .store-card::after {
  content: 'SELECT ▶'; font-family: var(--px); font-size: 11px; background: var(--red); color: var(--white); padding: 6px 10px; text-align: center;
}

/* ---------------- 7. SIGN-OFF ---------------- */
.end { padding-bottom: 40px; }
.end-inner { width: min(720px, 100%); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border: 4px solid var(--red); box-shadow: 10px 10px 0 var(--red-deep); padding: 26px 18px 22px; overflow: hidden; }
.end h2 { margin: 0 0 8px; font-size: clamp(28px, 9vw, 56px); line-height: 1.02; }
.end-logo { width: 100%; height: auto; }
.end .t-car { margin-left: -22px; }
.continue { margin-top: 18px; border-top: 3px dashed var(--red); padding-top: 14px; width: 100%; }
.continue > p { margin: 0; font-size: clamp(20px, 6vw, 30px); font-weight: 700; }
.cnt { display: inline-block; min-width: 1.2em; }
.cnt.tick { animation: hit .3s steps(3, end); }
.to-top { display: inline-block; margin-top: 18px; font-size: 13px; text-decoration: none; }

/* ---------------- STICKY DOCK ---------------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 10px; align-items: stretch;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 3px solid var(--red);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
html.is-started .dock { transform: none; }
.dock .btn-px { min-height: 50px; padding: 0 14px; }
.dock-rsvp { flex: 1; font-size: 18px; }
.dock-sub { font-family: var(--mono); font-size: 20px; text-transform: none; opacity: .9; }
.dock-tv { width: 52px; padding: 0 !important; font-size: 16px; }
.dock #store-cart-btn { position: static; right: auto; bottom: auto; font-size: 15px; padding: 0 14px; }
.dock #store-cart-btn .n { font-family: var(--px); }
.dock #store-cart-btn.bump { animation: hit .35s steps(3, end); }
@media (min-width: 760px) {
  .dock { left: 50%; right: auto; width: 520px; bottom: 16px; transform: translate(-50%, 140%); border: 3px solid var(--red); box-shadow: 6px 6px 0 var(--red-deep); padding: 10px; }
  html.is-started .dock { transform: translate(-50%, 0); }
}

/* ---------------- TEASER TV ---------------- */
.tv {
  padding: 0; border: 4px solid var(--red); background: var(--white); color: var(--red); box-shadow: 10px 10px 0 var(--red-deep);
  width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
}
.tv::backdrop { background: rgba(226, 18, 22, .35); backdrop-filter: blur(3px); }
.tv-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 3px solid var(--red); }
.tv-head h2 { margin: 0; font-size: 18px; }
.tv-x { all: unset; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border: 3px solid var(--red); font-size: 20px; }
.tv-x:focus-visible { outline: 3px dashed var(--red); outline-offset: 2px; }
.tv-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 3px solid var(--red); }
.tv-tabs button { background: var(--white); color: var(--red); border: 0; border-right: 3px solid var(--red); padding: 10px 4px; font-size: 13px; }
.tv-tabs button:last-child { border-right: 0; }
.tv-tabs button[aria-selected="true"] { background: var(--red); color: var(--white); }
.tv-screen { aspect-ratio: 9 / 16; max-height: calc(100dvh - 220px); margin: 0 auto; background: var(--pink); }
.tv-screen video { width: 100%; height: 100%; object-fit: contain; }
.tv-sound { display: flex; gap: 10px; align-items: center; justify-content: center; width: 100%; padding: 12px; border: 0; border-top: 3px solid var(--red); background: var(--white); color: var(--red); font-size: 15px; }
.tv-sound .ico { width: 1.4em; height: 1.2em; }
.tv-sound[aria-pressed="false"] .waves, .tv-sound[aria-pressed="true"] .mute { display: none; }
.tv-sound[aria-pressed="true"] { background: var(--red); color: var(--white); }

/* ---------------- reduced motion: static but complete ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blink, .hud-1up .px, .tile[aria-checked="true"]::before, .hs-initials i.cur { animation: none !important; }
  .puff { display: none; }
  html.js-ready .pop { opacity: 1; transform: none; }
}
