/* v4 — SELECT YOUR ARTIST. Extends /shared/base.css. Only the brand reds, pink and white. */

:root {
  /* One design unit. The hero is drawn on a 375-wide grid (like the teaser) and scales to fit
     the phone's width AND height so the whole select screen sits in the first viewport. */
  --dock-h: 72px;
  --u: min(calc(100vw / 375), calc((100vh - var(--dock-h)) / 690), 1.2px);
  --u: min(calc(100vw / 375), calc((100svh - var(--dock-h)) / 690), 1.2px);
  --line: 3px;
}

html { background: var(--checker); scroll-behavior: smooth; scroll-padding-top: 12px; }
body { background: transparent; overflow-x: hidden; min-height: 100vh; }
::selection { background: var(--red); color: var(--white); }

/* ---------- waving checker flag (canvas) ---------- */
#flag { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -1; image-rendering: pixelated; pointer-events: none; display: block; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--red); color: var(--white); font-family: var(--px); font-size: 14px; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }

/* ---------- BOOT / LOADING ---------- */
#boot { display: none; }
html.boot #boot {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--red); color: var(--white); cursor: pointer;
}
#boot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(180, 13, 16, .45) 3px 4px);
}
#boot.out { animation: boot-out .32s steps(8) forwards; }
@keyframes boot-out { to { clip-path: inset(0 0 100% 0); } }
.boot-in { width: min(84vw, 520px); display: grid; gap: 14px; }
.boot-label { margin: 0; font-size: clamp(18px, 5vw, 26px); }
.boot-label::after { content: '…'; animation: blink 0.6s steps(2) infinite; }
.boot-logo { position: relative; aspect-ratio: 673 / 292; }
.boot-logo img { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(0) invert(1); image-rendering: auto; }
.boot-logo .ghost { opacity: .28; }
.boot-logo .fill { clip-path: inset(0 calc((100 - var(--p)) * 1%) 0 0); }
.boot-pct { margin: 0; text-align: center; font-size: clamp(22px, 7vw, 34px); }
.boot-skip {
  position: absolute; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 2;
  background: transparent; color: var(--white); border: 2px solid var(--white); padding: 8px 12px; font-size: 13px;
}
.boot-skip:focus-visible { outline-color: var(--white); }

/* ---------- HERO: SELECT YOUR ARTIST ---------- */
.select {
  min-height: calc(100vh - var(--dock-h));
  min-height: calc(100svh - var(--dock-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(6 * var(--u)) 0 calc(10 * var(--u));
}
.hud {
  width: calc(343 * var(--u)); display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: calc(9 * var(--u)); min-height: calc(26 * var(--u));
}
.snd {
  display: inline-flex; align-items: center; gap: calc(5 * var(--u)); flex: none;
  background: var(--white); color: var(--red); border: 2px solid var(--red); padding: calc(3 * var(--u)) calc(7 * var(--u));
  font-family: var(--px); font-size: calc(9 * var(--u)); text-transform: uppercase; box-shadow: 2px 2px 0 var(--red);
  min-height: 28px;
}
.snd svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); fill: currentColor; }
.snd .w { opacity: .25; }
.snd[aria-pressed="true"] { background: var(--red); color: var(--white); }
.snd[aria-pressed="true"] .w { opacity: 1; }

.sel-grid { width: calc(343 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); }

.strip { display: flex; align-items: center; justify-content: space-between; gap: calc(10 * var(--u)); }
.strip-logo { width: calc(150 * var(--u)); height: auto; image-rendering: auto; }
.strip-t { text-align: right; }
.strip-t h1 { margin: 0; font-size: calc(20 * var(--u)); line-height: 1; font-weight: 700; letter-spacing: .01em; }
.strip-t p { margin: calc(5 * var(--u)) 0 0; font-size: calc(10.5 * var(--u)); font-weight: 700; }

/* preview box */
.preview {
  position: relative; background: var(--white); border: calc(3 * var(--u)) solid var(--red);
  padding: calc(12 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  display: grid; justify-items: center; gap: calc(8 * var(--u));
  box-shadow: calc(5 * var(--u)) calc(5 * var(--u)) 0 var(--red);
}
.pv-no, .pv-mode { position: absolute; top: calc(8 * var(--u)); font-size: calc(10 * var(--u)); }
.pv-no { left: calc(10 * var(--u)); }
.pv-mode { right: calc(10 * var(--u)); background: var(--red); color: var(--white); padding: 1px calc(5 * var(--u)); }
.preview.demo .pv-mode { animation: blink 1s steps(2) infinite; }
.pv-frame { position: relative; width: calc(132 * var(--u)); aspect-ratio: 1; border: calc(3 * var(--u)) solid var(--red); background: var(--red); }
.pv-frame canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.pv-lock {
  position: absolute; left: -18%; right: -18%; top: 50%; translate: 0 -50%; rotate: -5deg;
  display: none; flex-direction: column; align-items: center; gap: 2px;
  background: var(--white); border: calc(3 * var(--u)) solid var(--red); box-shadow: calc(4 * var(--u)) calc(4 * var(--u)) 0 var(--red);
  padding: calc(6 * var(--u)) 0; text-align: center;
}
.pv-lock span { font-size: calc(10 * var(--u)); }
.pv-lock b { font-size: calc(14 * var(--u)); white-space: nowrap; }
.preview.locked .pv-lock { display: flex; animation: stamp .28s steps(4); }
@keyframes stamp { from { scale: 1.6; opacity: 0; } to { scale: 1; opacity: 1; } }

.pv-name {
  margin: 0; font-size: calc(26 * var(--u)); line-height: 1; font-weight: 700; min-height: calc(28 * var(--u));
  white-space: nowrap; display: flex; align-items: center; gap: 2px;
}
.pv-name.long { font-size: calc(19 * var(--u)); }
.caret { display: inline-block; width: .42em; height: .8em; background: var(--red); animation: blink .7s steps(2) infinite; }
.pv-name.done .caret { visibility: hidden; animation: none; }

.stats { margin: 0; width: 100%; display: grid; gap: calc(5 * var(--u)); }
.stat { display: grid; grid-template-columns: calc(66 * var(--u)) 1fr; align-items: center; }
.stat dt { font-size: calc(13 * var(--u)); font-weight: 700; }
.stat dd { margin: 0; }
.bar {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: calc(2 * var(--u));
  height: calc(18 * var(--u)); border: calc(2 * var(--u)) solid var(--red); padding: calc(2 * var(--u)); background: var(--white);
}
.bar i { background: var(--pink); box-shadow: inset 0 0 0 1px var(--pink-2); }
.bar i.on { background: var(--red); box-shadow: none; }
.preview.locked .bar i { background: var(--pink-2); }

.confirm { width: 100%; font-size: calc(14 * var(--u)); padding: calc(11 * var(--u)) 10px; margin-top: calc(2 * var(--u)); display: flex; justify-content: center; gap: .5em; }
.confirm:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 4px 4px 0 var(--red-deep); }

/* roster */
.roster-wrap { display: grid; gap: calc(4 * var(--u)); }
.roster {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center;
  gap: calc(9 * var(--u)) calc(8 * var(--u)); padding-top: calc(15 * var(--u));
}
.tile {
  all: unset; box-sizing: border-box; position: relative; cursor: pointer;
  width: calc(58 * var(--u)); aspect-ratio: 1; background: var(--white);
  border: calc(2 * var(--u)) solid var(--red); padding: calc(2 * var(--u));
  transition: transform .1s steps(2);
}
.tile img, .tile svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.tile:hover { transform: translate(-1px, -1px); }
.tile[aria-checked="true"] {
  border-width: calc(3 * var(--u)); padding: calc(1 * var(--u));
  box-shadow: 0 0 0 calc(2 * var(--u)) var(--white), 0 0 0 calc(4 * var(--u)) var(--red), calc(5 * var(--u)) calc(5 * var(--u)) 0 calc(4 * var(--u)) var(--red-deep);
  z-index: 1;
}
.tile:focus-visible { outline: 3px dashed var(--red); outline-offset: calc(7 * var(--u)); }
.tile.lock { background: var(--white); }
.tile.lock svg { fill: var(--red); }
.tile.shake { animation: shake .42s steps(1); }
@keyframes shake {
  0% { translate: 0; } 12% { translate: -4px 0; } 25% { translate: 4px 0; } 37% { translate: -3px 0; }
  50% { translate: 3px 0; } 62% { translate: -2px 0; } 75% { translate: 2px 0; } 100% { translate: 0; }
}
.p1 {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  font-family: var(--px); font-weight: 700; font-size: calc(11 * var(--u)); line-height: 1;
  background: var(--red); color: var(--white); padding: calc(3 * var(--u)) calc(4 * var(--u)) calc(2 * var(--u));
  transition: transform .14s steps(3);
  will-change: transform;
}
.p1::after {
  content: ''; position: absolute; left: calc(4 * var(--u)); top: 100%;
  border: calc(4 * var(--u)) solid transparent; border-top-color: var(--red); border-left-color: var(--red);
}
.roster-hint { margin: 0; text-align: center; font-size: calc(14 * var(--u)); opacity: .9; }
.roster-hint .k { font-family: var(--px); font-size: .7em; border: 1px solid var(--red); padding: 0 4px; }
@media (hover: none) { .roster-hint { display: none; } }

.date-line { text-align: center; }
.date-line p { margin: 0; }
.d1 { font-size: calc(15.5 * var(--u)); font-weight: 700; }
.bar-sep { padding: 0 .25em; font-weight: 400; }
.d2 { text-transform: uppercase; font-size: calc(18 * var(--u)); margin-top: calc(3 * var(--u)) !important; }
.d2 .px { font-size: calc(12.5 * var(--u)); font-weight: 700; }

/* Desktop / wide: the select screen opens out into two columns, like a cabinet in landscape. */
@media (min-width: 900px) and (min-height: 560px) {
  :root {
    --dock-h: 0px;
    --u: min(calc(100vw / 800), calc((100vh - 70px) / 470), 1.55px);
    --u: min(calc(100vw / 800), calc((100svh - 70px) / 470), 1.55px);
  }
  .hud { width: calc(726 * var(--u)); }
  .sel-grid {
    width: calc(726 * var(--u)); display: grid; column-gap: calc(40 * var(--u)); row-gap: calc(12 * var(--u));
    grid-template-columns: 1fr 1fr; grid-template-areas: "strip strip" "preview roster" "preview date";
    grid-template-rows: auto auto 1fr;
  }
  .strip { grid-area: strip; }
  .strip-logo { width: calc(190 * var(--u)); }
  .strip-t h1 { font-size: calc(28 * var(--u)); }
  .strip-t h1 br { display: none; }
  .strip-t p { font-size: calc(13 * var(--u)); }
  .preview { grid-area: preview; }
  .roster-wrap { grid-area: roster; align-self: start; }
  .date-line { grid-area: date; align-self: end; text-align: left; border-top: calc(3 * var(--u)) solid var(--red); padding-top: calc(10 * var(--u)); }
  .d1 { font-size: calc(16 * var(--u)); white-space: nowrap; }
  .d2 { font-size: calc(20 * var(--u)); }
  .d2 .px { font-size: calc(14 * var(--u)); }
}

/* ---------- PANELS ---------- */
.panel {
  width: min(calc(100% - 32px), 1080px); margin: 34px auto 0; background: var(--white);
  border: 4px solid var(--red); box-shadow: 8px 8px 0 var(--red); scroll-margin-top: 12px;
}
.bar-h {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--red); color: var(--white); padding: 8px 12px; font-size: 13px; font-weight: 700;
}
.bar-h span:first-child::before { content: '▸ '; }

/* ---------- VS ---------- */
.vs-title { margin: 18px 12px 14px; text-align: center; font-size: clamp(26px, 8vw, 44px); line-height: 1; font-weight: 700; }
.vs-title span { display: inline-block; animation: blink 1.1s steps(2) infinite; }
.vs.ready .vs-title span { animation: none; }
.vs-stage {
  position: relative; aspect-ratio: 1 / .86; overflow: hidden;
  border-top: 4px solid var(--red); border-bottom: 4px solid var(--red); background: var(--white);
}
.vs-side { position: absolute; inset: 0; }
.vs-a { background: var(--red); clip-path: polygon(0 0, 61% 0, 37% 100%, 0 100%); color: var(--white); }
.vs-b { background: var(--checker); background-size: 48px 48px; clip-path: polygon(65% 0, 100% 0, 100% 100%, 41% 100%); }
.vs-pic { position: absolute; width: 38%; aspect-ratio: 1; background: var(--white); border: 4px solid var(--white); }
.vs-a .vs-pic { left: 5%; top: 6%; box-shadow: 6px 6px 0 var(--red-deep); }
.vs-b .vs-pic { right: 5%; bottom: 6%; border-color: var(--red); box-shadow: -6px 6px 0 var(--red); }
.vs-b .vs-pic img { transform: scaleX(-1); }
.vs-pic img { width: 100%; height: 100%; }
.vs-label { position: absolute; z-index: 1; margin: 0; display: grid; gap: 3px; font-size: 10px; padding: 5px 8px 6px; }
.vs-label b { font-size: clamp(14px, 4.4vw, 24px); line-height: 1; }
.vs-la { left: 5%; top: calc(6% + 38% / .86 + 14px); background: var(--red); color: var(--white); box-shadow: 4px 4px 0 var(--red-deep); }
.vs-lb { right: 5%; top: 6%; text-align: right; background: var(--white); border: 3px solid var(--red); box-shadow: -4px 4px 0 var(--red); }
.vs .vs-la, .vs .vs-lb { transition: transform .45s steps(6); }
html.js .vs:not(.in) .vs-la { transform: translateX(-140%); }
html.js .vs:not(.in) .vs-lb { transform: translateX(140%); }
.vs-mark {
  position: absolute; left: 51%; top: 50%; translate: -50% -50%; font-size: clamp(56px, 19vw, 120px); font-weight: 700; line-height: 1;
  color: var(--white);
  text-shadow: -4px 0 var(--red), 4px 0 var(--red), 0 -4px var(--red), 0 4px var(--red), -4px -4px var(--red), 4px 4px var(--red), -4px 4px var(--red), 4px -4px var(--red), 9px 9px 0 var(--red-deep);
}
.vs .vs-a, .vs .vs-b, .vs .vs-mark { transition: transform .45s steps(6), opacity .2s steps(2); }
html.js .vs:not(.in) .vs-a { transform: translateX(-60%); }
html.js .vs:not(.in) .vs-b { transform: translateX(60%); }
html.js .vs:not(.in) .vs-mark { opacity: 0; transform: scale(2.2); }
.vs.in .vs-mark { transition-delay: .35s; }
.vs.flash .vs-stage::after { content: ''; position: absolute; inset: 0; background: var(--white); animation: flash .5s steps(2) 2 forwards; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }

.vs-stageline { margin: 0; padding: 12px; text-align: center; font-size: 12px; line-height: 1.6; font-weight: 700; border-bottom: 4px solid var(--red); }
.vs-stageline span { background: var(--red); color: var(--white); padding: 2px 6px; margin-right: 6px; }
.vs-form { padding: 16px; display: grid; gap: 12px; max-width: 560px; margin: 0 auto; }
.vs-copy { margin: 0; font-size: 21px; }
#rsvp .store-form input { font-size: 22px; padding: 12px; min-height: 50px; }
#rsvp .store-form input:focus-visible { outline: 3px dashed var(--red); outline-offset: 2px; background: var(--pink-2); }
#rsvp .btn-px { font-size: 16px; padding: 16px; }
.vs-done { margin: 0; text-align: center; font-size: 20px; font-weight: 700; animation: blink .5s steps(2) 6; }
.store-ok { font-size: 15px !important; padding: 14px !important; }

@media (min-width: 900px) {
  .vs { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-areas: "bar bar" "title title" "stage form" "line form"; }
  .vs > .bar-h { grid-area: bar; }
  .vs-title { grid-area: title; }
  .vs-stage { grid-area: stage; border-right: 4px solid var(--red); }
  .vs-stageline { grid-area: line; border-right: 4px solid var(--red); border-bottom: 0; }
  .vs-form { grid-area: form; align-content: center; padding: 28px; }
  .vs-la { top: calc(6% + 38% / .86 + 20px); }
}

/* ---------- STAGE SELECT ---------- */
.stage-card { display: grid; }
.stage-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pink); border-bottom: 4px solid var(--red); }
.stage-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.stage-pin {
  position: absolute; left: 12px; top: 12px; background: var(--red); color: var(--white); font-size: 11px; padding: 5px 8px;
  box-shadow: 3px 3px 0 var(--red-deep);
}
.stage-info { padding: 18px 16px 20px; display: grid; gap: 10px; align-content: start; }
.stage-no { margin: 0; font-size: 12px; }
.stage-info h3 { margin: 0; font-size: clamp(22px, 6.6vw, 34px); line-height: 1.05; font-weight: 700; }
.stage-addr { margin: 0; font-size: 24px; }
.stage-meta { list-style: none; margin: 4px 0; padding: 0; display: grid; }
.stage-meta li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 2px dashed var(--pink); font-size: 12px; }
.stage-meta b { font-size: 13px; text-align: right; }
.stage-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.stage-ctas .btn-px { flex: 1 1 100%; text-align: center; text-decoration: none; white-space: nowrap; }
@media (min-width: 420px) { .stage-ctas .btn-px { flex-basis: 150px; } }
@media (min-width: 760px) {
  .stage-card { grid-template-columns: minmax(280px, 42%) 1fr; }
  .stage-media { aspect-ratio: 4 / 5; align-self: start; border-bottom: 0; border-right: 4px solid var(--red); }
  .stage-info { padding: 32px; align-content: center; }
}

/* ---------- TRY IT LIVE: arcade cabinet ---------- */
.live { padding-bottom: 20px; }
.cab { width: min(calc(100% - 32px), 340px); margin: 22px auto 0; filter: drop-shadow(8px 8px 0 var(--red-deep)); }
.cab-marquee {
  background: var(--red); padding: 12px; text-align: center; position: relative;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}
.cab-marquee::before, .cab-marquee::after {
  content: ''; position: absolute; left: 8%; right: 8%; height: 4px;
  background: repeating-linear-gradient(90deg, var(--white) 0 6px, transparent 6px 14px);
  animation: chase .5s steps(2) infinite;
}
.cab-marquee::before { top: 5px; }
.cab-marquee::after { bottom: 5px; animation-direction: reverse; }
@keyframes chase { to { background-position: 14px 0; } }
.cab-marquee h2 { margin: 0; color: var(--white); font-size: clamp(24px, 8vw, 32px); font-weight: 700; line-height: 1.1; padding: 6px 0; }
.cab-bezel { background: var(--red-deep); padding: 14px 18px; margin: 0 4%; }
.cab-screen { position: relative; aspect-ratio: 9 / 16; max-height: 68vh; margin: 0 auto; overflow: hidden; background: var(--red); border: 4px solid var(--white); }
.cab-screen video { width: 100%; height: 100%; object-fit: cover; }
.cab-screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(180, 13, 16, .18) 2px 3px);
}
.cab-ins {
  position: absolute; left: 50%; bottom: 12%; translate: -50% 0; z-index: 1;
  background: var(--white); color: var(--red); border: 3px solid var(--red); padding: 6px 10px; font-size: 13px; white-space: nowrap;
  animation: blink .9s steps(2) infinite;
}
.cab.playing .cab-ins { display: none; }
.cab-panel {
  background: var(--red); display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px 18px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-top: 6px solid var(--red-deep);
}
.stick { position: relative; width: 44px; height: 54px; flex: none; }
.stick::before { content: ''; position: absolute; left: 19px; bottom: 6px; width: 6px; height: 30px; background: var(--white); }
.stick::after { content: ''; position: absolute; left: 6px; bottom: 0; width: 32px; height: 10px; background: var(--red-deep); }
.stick i { position: absolute; left: 10px; top: 0; width: 24px; height: 24px; background: var(--white); box-shadow: inset -5px -5px 0 var(--pink); clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%); }
.cab-btns { display: flex; gap: 10px; }
.cab-b { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 5px; color: var(--white); min-width: 44px; }
.cab-b i {
  width: 34px; height: 34px; background: var(--white); box-shadow: inset -5px -5px 0 var(--pink), 0 5px 0 var(--red-deep);
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
  transition: transform .08s steps(2);
}
.cab-b span { font-size: 9px; white-space: nowrap; }
.cab-b[aria-pressed="true"] i { background: var(--pink); box-shadow: inset 5px 5px 0 var(--white); transform: translateY(3px); }
.cab-b:focus-visible { outline: 3px dashed var(--white); outline-offset: 4px; }
.live-copy { margin: 22px 16px 0; text-align: center; font-size: 22px; }
@media (min-width: 900px) {
  .live { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "bar bar" "cab copy"; align-items: center; }
  .live > .bar-h { grid-area: bar; }
  .cab { grid-area: cab; margin: 30px auto 10px; }
  .live-copy { grid-area: copy; text-align: left; font-size: 30px; margin: 0 40px 0 0; }
}

/* ---------- UNLOCKABLES (restyled shared store) ---------- */
.unlock-copy { margin: 14px 16px 0; font-size: 21px; }
#store { padding: 22px 16px 22px; }
#store .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 900px) { #store .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; } #store { padding: 26px 24px 30px; } }
#store .store-card { position: relative; border-width: 3px; box-shadow: 5px 5px 0 var(--red); }
#store .store-card:hover, #store .store-card:focus-visible { box-shadow: 7px 7px 0 var(--red-deep); }
#store .store-card::before {
  content: 'P1'; position: absolute; left: -3px; top: -21px; z-index: 2; opacity: 0;
  font-family: var(--px); font-weight: 700; font-size: 11px; background: var(--red); color: var(--white); padding: 3px 5px 2px;
}
#store .store-card:hover::before, #store .store-card:focus-visible::before { opacity: 1; }
#store .store-card .m { position: relative; background-size: 48px 48px; }
#store .store-card .t { font-size: 11px; padding: 10px 10px 2px; line-height: 1.25; min-height: 3.6em; }
#store .store-card .r { font-size: 20px; padding: 2px 10px 10px; align-items: center; gap: 6px; }
#store .store-tag { font-size: 9px; white-space: nowrap; }
.u-sample { position: absolute; right: 6px; top: 6px; z-index: 1; font-family: var(--px); font-size: 8px; padding: 3px 4px; background: var(--white); color: var(--red); border: 1px dashed var(--red); }
.u-badge { position: absolute; left: 6px; top: 6px; z-index: 1; font-family: var(--px); font-size: 9px; padding: 3px 5px; background: var(--white); color: var(--red); border: 2px solid var(--red); }
.u-badge.on { background: var(--red); color: var(--white); }
.u-lock {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(226, 18, 22, .35) 1px, transparent 1.5px) 0 0 / 6px 6px, rgba(255, 253, 253, .35);
}
.u-lock svg { width: 34%; height: auto; fill: var(--red); background: var(--white); border: 3px solid var(--red); padding: 8%; box-shadow: 4px 4px 0 var(--red); }

/* Product sheet + cart drawer: same pixel language */
.store-sheet { box-shadow: 10px 10px 0 var(--red-deep) !important; }
.store-info h3 { font-weight: 700; }
.store-x:hover { background: var(--red) !important; color: var(--white); }

/* ---------- FOOTER ---------- */
.end { text-align: center; padding: 56px 16px calc(var(--dock-h) + 48px); display: grid; justify-items: center; gap: 12px; }
.end p { margin: 0; }
.end-a { font-size: clamp(17px, 5.4vw, 40px); white-space: nowrap; font-weight: 700; background: var(--white); padding: 4px 10px; }
.end-b { font-size: clamp(30px, 10vw, 64px); font-weight: 700; color: var(--white); background: var(--red); padding: 6px 14px; box-shadow: 6px 6px 0 var(--red-deep); animation: blink 1.2s steps(2) infinite; }
.end-car { width: min(78vw, 360px); height: auto; margin: 8px 0; }
.end .btn-px { text-decoration: none; }
.end-small { font-size: 17px; max-width: 520px; background: var(--white); padding: 4px 8px; }

/* ---------- DOCK (persistent CTA) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; gap: 10px; align-items: stretch;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 4px solid var(--red);
  transition: transform .25s steps(4);
}
html.boot .dock { transform: translateY(110%); }
.dock-rsvp { flex: 1; text-align: center; text-decoration: none; display: grid; place-items: center; font-size: 15px; }
.dock-rsvp.done { background: var(--white); color: var(--red); border: 3px solid var(--red); box-shadow: 4px 4px 0 var(--red); }
.dock-cart { display: flex; }
.dock #store-cart-btn {
  position: static; background: var(--white); color: var(--red); border: 3px solid var(--red); box-shadow: 4px 4px 0 var(--red);
  font-size: 15px; padding: 10px 14px; display: flex; align-items: center; gap: 8px;
}
.dock #store-cart-btn .n { background: var(--red); color: var(--white); padding: 1px 6px; font-size: 12px; }
@media (min-width: 900px) {
  .dock { left: auto; right: 22px; bottom: 22px; padding: 0; background: transparent; border: 0; }
  .dock-rsvp { padding: 14px 26px; }
}

/* ---------- shared bits ---------- */
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p1, .tile { transition: none !important; }
  .vs-title span, .end-b, .caret, .cab-ins, .preview.demo .pv-mode, .boot-label::after { animation: none !important; }
  html.js .vs:not(.in) .vs-a, html.js .vs:not(.in) .vs-b, html.js .vs:not(.in) .vs-mark,
  html.js .vs:not(.in) .vs-la, html.js .vs:not(.in) .vs-lb { transform: none; opacity: 1; }
}
