/* rubyhoneybrook.com: a Match My Logic story. Mobile-first.
   Tokens follow the Match My Logic Daily design system (mml-daily-game/…/mml-design-system.md). */
:root {
  --table: #000;            /* page background: everything sits on the table */
  --paper: #fff;
  --ink: #111;
  --card-blue: #0049B7;     /* printed word-card face */
  --ring: #043E94;          /* word-card inner ring */
  --blue: #1A5FE0;          /* forward button on black */
  --green: #15803D;         /* matched fills only */
  --veto: #9F0000;          /* red means veto, nothing else */
  --tint: rgba(255,255,255,.14);
  --muted: #a9aeb8;
  --warm: #EBD9B4;          /* story accent, used sparingly */
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --top: 64px;
  --promo: 34px;
  --r: 12px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--table); color: #fff; font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--top) + env(safe-area-inset-top));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  background: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,0));
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__logo img { height: 24px; width: auto; display: block; }

/* ---------- Buttons (12px corners, one filled button per moment) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 24px; border-radius: var(--r); border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none; letter-spacing: -.005em;
  transition: background .2s var(--ease), opacity .2s, transform .12s;
}
.btn:active { transform: scale(.98); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #2a6bf0; }
.btn--blue:disabled { background: var(--tint); color: rgba(255,255,255,.5); cursor: default; transform: none; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--text { background: none; color: var(--muted); min-height: 44px; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.link { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.link:hover { border-color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Type (sentence case everywhere) ---------- */
.kicker { font: 500 14px/1.3 var(--sans); color: var(--warm); margin: 0 0 8px; }
.lede { font: 400 25px/1.25 var(--serif); margin: 0; letter-spacing: -.005em; }
.h2 { font: 500 clamp(36px, 9vw, 60px)/1.02 var(--serif); margin: 0 0 14px; letter-spacing: -.015em; }
.h3 { font: 500 30px/1.1 var(--serif); margin: 0 0 8px; }
.body { margin: 12px 0 0; color: #dfe2e8; }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.hint { font: 500 14px/1.3 var(--sans); color: var(--muted); margin: 12px 0 0; }

/* ---------- Fixed scene layers: they crossfade, the story scrolls over them ---------- */
.layer {
  position: fixed; inset: 0; z-index: 1; background: #000; overflow: hidden; display: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .6s var(--ease) .65s, visibility 0s linear 1.3s;
}
.layer.near, .layer.on { display: block; }
.layer.on { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .9s var(--ease); }
.layer::before { content: ""; display: none; position: absolute; inset: -80px; background: var(--bg) center / cover no-repeat; filter: blur(44px) brightness(.38) saturate(1.2); }
/* Portrait: the 9:16 art covers the screen (pure-CSS cover, so hotspots stay locked to the art). */
.stage {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(100vw, calc(100svh * 9 / 16)); height: max(100svh, calc(100vw * 16 / 9));
}
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.layer.on .media { animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 36%, rgba(0,0,0,0) 58%); }
.scrim--top { background: linear-gradient(to bottom, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 36%); }
.scrim--full { background: rgba(0,0,0,.5); }

.veil { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease);
  background: rgba(0,0,0,.66); -webkit-backdrop-filter: blur(20px) saturate(1.1); backdrop-filter: blur(20px) saturate(1.1); }
body.panel-on .veil { opacity: 1; }

main { position: relative; }
.scene { position: relative; pointer-events: none; }
.beats { position: relative; z-index: 4; pointer-events: none; }
.beat {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center;
  padding: calc(var(--top) + 20px) 16px calc(32px + env(safe-area-inset-bottom));
}
.beat--top { align-items: flex-start; }
.beat--center { align-items: center; }
.beat > * { pointer-events: auto; }
.scene[data-daily] .beat { padding-top: calc(var(--top) + 96px); }

.card {
  width: 100%; max-width: 30rem; padding: 22px; border-radius: 16px;
  background: rgba(14,14,18,.6); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.07);
  opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.card.in { opacity: 1; transform: none; }

/* Hero */
.beat--hero { align-items: flex-end; padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
.hero { width: 100%; max-width: 36rem; text-align: center; }
.hero__eyebrow { font: 500 14px/1 var(--sans); color: rgba(255,255,255,.8); margin: 0 0 14px; }
.hero__title { font: 500 clamp(60px, 18vw, 124px)/.88 var(--serif); margin: 0 0 14px; letter-spacing: -.025em; text-shadow: 0 6px 50px rgba(0,0,0,.55); }
.hero__sub { font: italic 400 28px/1.1 var(--serif); color: var(--warm); margin: 0 0 18px; }
.hero__line { font: 400 18px/1.45 var(--sans); color: rgba(255,255,255,.9); margin: 0 auto 26px; max-width: 22em; }
.scrollcue { display: block; width: 1px; height: 44px; margin: 0 auto; background: linear-gradient(#fff, rgba(255,255,255,0)); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Daily #10 pinned card */
.hud {
  position: fixed; z-index: 45; top: calc(var(--top) + env(safe-area-inset-top) + 2px); left: 50%;
  display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; width: min(calc(100vw - 32px), 400px);
  background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0; transform: translate(-50%, -8px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none;
}
body.daily-on .hud { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hud__card { flex: none; width: 92px; aspect-ratio: 88 / 63; display: grid; grid-template-rows: 1fr auto; background: #000; border: 3px solid #fff; border-radius: 7px; box-shadow: inset 0 0 0 2px #000, inset 0 0 0 3px #fff; text-align: center; font-family: var(--serif); }
.hud__word { display: grid; place-items: center; font-size: 17px; line-height: 1; padding-top: 4px; }
.hud__rule { border-top: 1px solid #fff; margin: 0 3px; font-size: 10px; font-weight: 600; padding: 3px 0 4px; }
.hud__rule i { font-weight: 500; }
.hud__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hud__no { font: 600 12px/1.2 var(--sans); color: var(--muted); }
.hud__words { font: 400 clamp(14px, 4vw, 17px)/1.3 var(--serif); }
.hud__play { align-self: flex-start; margin-top: 4px; padding: 4px 0; border: 0; background: none; cursor: pointer; font: 600 13px/1.2 var(--sans); color: #8FB4FF; text-align: left; }
.hud__play::after { content: " ›"; }

/* Group text */
.card--thread { padding: 18px 16px; }
.thread__head { font: 600 13px/1 var(--sans); color: var(--muted); text-align: center; margin: 0 0 14px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 10px; }
.msg--me { align-items: flex-end; }
.msg__name { font: 500 12px/1 var(--sans); color: var(--muted); margin: 0 12px 5px; }
.msg__bubble { background: #2a2b30; padding: 10px 14px; border-radius: 18px; font-size: 16px; line-height: 1.32; max-width: 84%; }
.msg--me .msg__bubble { background: var(--blue); }
.msg__bubble--result { font-size: 15px; }
.linkcard { display: block; margin-top: 4px; width: 84%; max-width: 290px; border-radius: 18px; overflow: hidden; background: #2a2b30; text-decoration: none; }
.linkcard img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.linkcard__meta { display: flex; flex-direction: column; padding: 9px 14px 11px; }
.linkcard__title { font: 600 14px/1.25 var(--sans); }
.linkcard__url { font: 400 13px/1.25 var(--sans); color: var(--muted); }
.pips { display: inline-flex; gap: 4px; margin-top: 6px; vertical-align: middle; }
.pips i { width: 13px; height: 13px; border-radius: 2px; background: rgba(255,255,255,.28); }
.pips i.m { background: #22C55E; }

/* Player cards (the white dry-erase card) */
.who { margin: 0 0 14px; display: flex; flex-direction: column; gap: 4px; }
.who__name { font: 500 32px/1 var(--serif); }
.who__role { font: 500 13px/1.3 var(--sans); color: var(--muted); }
.pcard {
  container-type: inline-size; width: min(56%, 210px); aspect-ratio: 748 / 1047; margin: 0 auto;
  background: url(assets/cards/player-front.svg) center / 100% 100% no-repeat; color: var(--ink);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
}
.pcard ol { list-style: none; counter-reset: r; margin: 0; padding: 19cqw 15cqw 0; }
.pcard li { counter-increment: r; display: flex; align-items: baseline; gap: 4.5cqw; font: 500 12.5cqw/1.62 var(--serif); }
.pcard li::before { content: counter(r) "."; font: italic 600 10cqw/1 var(--serif); color: #1c2a6b; width: 7cqw; }
.quote { font: italic 400 20px/1.3 var(--serif); margin: 14px 0 0; color: #eef0f4; }

.card--say { text-align: center; }
.say { font: italic 500 36px/1.12 var(--serif); margin: 0; }
.say + .body { margin-top: 8px; }
.pl { font: italic 500 50px/1 var(--serif); margin: 0 0 10px; }
.pl::before { content: ""; display: block; width: 89px; height: 13px; margin: 0 0 16px; background: repeating-linear-gradient(90deg, #22C55E 0 13px, transparent 13px 19px); }

/* ---------- Hotspot pins ---------- */
.pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid #fff; background: rgba(0,73,183,.55); box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.pin::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; }
.pin::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #fff; animation: ring 2.4s var(--ease) infinite; }
.pin--red { background: rgba(159,0,0,.7); }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.pin__label {
  position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--paper); color: var(--ink); font: 600 12px/1 var(--sans); padding: 7px 10px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.35);
}

/* ---------- Panels: sit on the blurred story, never a hard cut ---------- */
.panel { position: relative; z-index: 4; padding: calc(var(--top) + 64px) 20px 96px; }
.panel__inner { max-width: 34rem; margin: 0 auto; }
.panel__inner--wide { max-width: 62rem; }

/* Cast */
.lineup { margin: 28px 0 0; border-radius: 16px; overflow: hidden; }
.lineup img { display: block; width: 100%; height: auto; }
.cast { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 16px -20px 0; padding: 0 20px 6px; scrollbar-width: none; }
.cast::-webkit-scrollbar { display: none; }
.cast__item { scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.cast__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.cast__body { padding: 14px 16px 18px; }
.cast__name { font: 500 24px/1.1 var(--serif); margin: 0; }
.cast__role { font: 500 13px/1.3 var(--sans); color: var(--muted); margin: 4px 0 8px; }
.cast__logic { font: 400 17px/1.35 var(--serif); margin: 0; color: #eef0f4; }

/* ---------- Veto: throw it down ---------- */
.card--veto { text-align: center; }
.vetoplay { display: flex; flex-direction: column; align-items: center; }
.vetoplay__card { width: min(48vw, 190px); aspect-ratio: 63 / 88; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1100px; }
.vetoplay__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .75s var(--ease); }
.vetoplay__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; filter: drop-shadow(0 14px 24px rgba(0,0,0,.45)); }
.vetoplay__face img { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.vetoplay__front { transform: rotateY(180deg); }
.vetoplay.thrown .vetoplay__inner { transform: rotateY(180deg); animation: slam .55s var(--ease) .55s both; }
@keyframes slam { 0% { transform: rotateY(180deg) translateY(-6px) scale(1.12); } 70% { transform: rotateY(180deg) translateY(0) scale(.99); } 100% { transform: rotateY(180deg) scale(1); } }
.vetoplay.thrown { animation: thud .35s linear 1s both; }
@keyframes thud { 0%,100% { transform: none; } 25% { transform: translate(-3px, 1px); } 50% { transform: translate(3px, -1px); } 75% { transform: translate(-1px, 1px); } }
.vetoplay__hint { font: 500 14px/1.3 var(--sans); color: var(--muted); margin: 14px 0 0; transition: opacity .3s; }
.vetoplay.thrown .vetoplay__hint { opacity: 0; }
.vetoplay__copy { opacity: .5; transition: opacity .6s var(--ease) 1.1s; }
.vetoplay.thrown + .vetoplay__copy { opacity: 1; color: #fff; }

/* ---------- Sample (daily-style cards drawn in code) ---------- */
.sample { margin: 28px 0 22px; }
.dcard {
  --c: var(--card-blue);
  position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 88 / 63; padding: 0;
  background: var(--c); color: #fff; border: 0; border-radius: 9%/12.5%; font-family: var(--serif); text-align: center;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7.5px var(--ring), 0 6px 18px rgba(0,0,0,.3);
  container-type: inline-size;
}
.dcard--word { cursor: pointer; font: 500 clamp(19px, 5.6vw, 26px)/1 var(--serif); transition: opacity .25s, transform .2s var(--ease); }
.dcard--word:hover { transform: translateY(-2px); }
.dcard--word.used { opacity: .18; pointer-events: none; transform: scale(.96); }
.dcard--logic { --c: #000; width: min(76%, 300px); margin: 0 auto 18px; display: grid; grid-template-rows: 1fr auto; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7.5px #000, inset 0 0 0 8.5px #fff, 0 6px 18px rgba(0,0,0,.3); }
.dcard__word { display: grid; place-items: center; font-size: 17cqw; padding-top: 4cqw; }
.dcard__rule { margin: 0 8.5px 8.5px; border-top: 1px solid #fff; padding: 4cqw 0 4.5cqw; font: 600 8.4cqw/1 var(--serif); }
.dcard__rule i { font-weight: 500; }
.sample__words { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 18px; }
.sample__words .dcard { width: calc((100% - 20px) / 3); }
.ranklist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.ranklist li { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; border-radius: var(--r); background: rgba(255,255,255,.07); transition: background .25s, color .25s; }
.ranklist li.filled { background: var(--paper); color: var(--ink); cursor: pointer; }
.ranklist li.hit { background: var(--green); color: #fff; }
.ranklist .n { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); font: 600 13px/1 var(--sans); }
.ranklist li.filled .n { background: var(--ink); color: #fff; }
.ranklist li.hit .n { background: rgba(0,0,0,.25); }
.ranklist .w { font: 500 23px/1 var(--serif); }
.results { margin-top: 22px; }
.results__score { font: italic 500 40px/1.05 var(--serif); margin: 0 0 6px; text-align: center; }
.results__line { text-align: center; color: var(--muted); margin: 0 0 18px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: rgba(255,255,255,.07); }
.person__av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--card-blue); font: 600 15px/1 var(--sans); }
.person__txt { flex: 1; min-width: 0; }
.person__name { font: 500 20px/1.1 var(--serif); }
.person__line { font: 400 13px/1.3 var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person__score { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 600 13px/1 var(--sans); }
.person__score .pips { margin: 0; gap: 3px; }
.person__score .pips i { width: 11px; height: 11px; }

/* ---------- Shop ---------- */
.hero-product { display: grid; gap: 22px; margin: 30px 0 0; }
.hero-product__img { display: block; border-radius: 18px; overflow: hidden; background: #fff; }
.hero-product__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.hero-product__img:hover img { transform: scale(1.02); }
.hero-product__body .body { margin-bottom: 14px; }
.facts { font: 500 15px/1.4 var(--sans); color: var(--muted); margin: 0 0 20px; }
.inbox__title { margin-top: 64px; }
.inbox { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inbox li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 12px 22px; border-radius: 16px; background: var(--paper); color: var(--ink); }
.inbox__card { display: block; height: 96px; width: auto; max-width: 100%; margin: 0 0 20px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.18)); }
.inbox__icon { height: 96px; width: 96px; display: grid; place-items: center; margin: 0 0 20px; }
.inbox__icon svg { width: 96px; height: 96px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.16)); }
.inbox__n { font: 500 36px/1 var(--serif); }
.inbox__l { font: 500 14px/1.3 var(--sans); color: #5b606a; margin-top: 6px; }
.addon { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; margin: 64px 0 0; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); }
.addon__img { display: block; border-radius: 10px; overflow: hidden; background: #e9e9e9; }
.addon__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.addon .h3 { font-size: 24px; margin: 0; }
.addon .body { font-size: 15px; margin: 6px 0 10px; }
.panel--shop .center { margin-top: 30px; }

/* ---------- Finale ---------- */
.finale { text-align: center; width: 100%; max-width: 24rem; }
.finale__logo { width: min(74vw, 320px); height: auto; }
.finale__tag { font: italic 400 30px/1.2 var(--serif); margin: 16px 0 28px; }
.finale__ctas { display: grid; gap: 10px; }
.footer { position: relative; z-index: 4; padding: 36px 20px calc(44px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 14px; background: #000; }
.footer p { margin: 0 0 8px; }

/* ---------- Bottom sheet (paper) ---------- */
.sheet {
  width: 100%; max-width: 30rem; margin: auto auto 0; padding: 26px 22px calc(24px + env(safe-area-inset-bottom));
  border: 0; border-radius: 28px 28px 0 0; background: var(--paper); color: var(--ink);
}
.sheet[open] { animation: up .35s var(--ease); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet::backdrop { background: rgba(0,0,0,.72); }
.sheet__x { position: absolute; top: 12px; right: 12px; margin: 0; }
.sheet__x button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f0f1f4; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.sheet__art { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 6px 0 20px; min-height: 120px; }
.sheet__art > img { width: 46%; height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.sheet__art .tall { filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.sheet__art .tall { width: 30%; aspect-ratio: 63 / 88; }
.sheet__art .tall img { width: 100%; height: 100%; display: block; }
.sheet__art .pcard { width: 30%; margin: 0; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.sheet .h3 { color: var(--ink); }
.sheet .body { color: #3a3d44; margin: 6px 0 0; }
.sheet__ctas { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- Landscape / desktop: framed art left, story right ---------- */
@media (min-aspect-ratio: 4/5) {
  .layer::before { display: block; }
  .stage { width: calc(100svh * 9 / 16); height: 100svh; left: auto; right: 50%; transform: translateY(-50%); margin-right: 28px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
  .scrim, .scrim--top { display: none; }
  .scene--finale .stage { right: auto; left: 50%; transform: translate(-50%, -50%); margin: 0; }
  .scene--finale .scrim--full { display: block; }
  .beats { margin-left: 50%; padding-left: 28px; }
  .beat, .beat--top { align-items: center; justify-content: flex-start; padding-right: 40px; }
  .scene[data-daily] .beat { padding-top: calc(var(--top) + 20px); }
  .scene--finale .beats { margin-left: 0; padding-left: 0; }
  .scene--finale .beat { justify-content: center; }
  .card { max-width: 29rem; }
  .lede { font-size: 29px; }
  .hero { text-align: left; }
  .hero__line { margin-left: 0; }
  .scrollcue { margin: 0; }
  .hud { left: auto; right: 28px; transform: translate(0, -8px); }
  body.daily-on .hud { transform: none; }
  .sheet { margin: auto; border-radius: 28px; }
  .cast { grid-auto-columns: 260px; margin: 20px 0 0; padding: 0 0 8px; }
  .cast__logic { font-size: 15px; }
  .hero-product { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .inbox { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .inbox__card, .inbox__icon, .inbox__icon svg { height: 120px; }
  .inbox__icon, .inbox__icon svg { width: 120px; }
  .addon { max-width: 36rem; }
  .vetoplay__card { width: 180px; }
}
@media (min-width: 900px) { .topbar__logo img { height: 28px; } }

@media (prefers-reduced-motion: reduce) {
  .layer, .layer.on, .card, .veil, .hud { transition-duration: .01s; transition-delay: 0s; }
  .layer.on .media, .pin::after, .scrollcue, .vetoplay.thrown, .vetoplay.thrown .vetoplay__inner { animation: none; }
  .card { opacity: 1; transform: none; }
}

/* ---------- Play along (Daily #10) ---------- */
.play-cta { margin-top: 18px; }
.vs { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; font: 600 14px/1.2 var(--sans); }
.vs .pips { margin: 0; }
.pcard li.hit { color: var(--green); font-weight: 600; }
.pcard li.hit::before { color: var(--green); }
.howyoudid { margin: 18px 0 16px; }
.howyoudid__head { font: 500 14px/1.4 var(--sans); color: var(--muted); margin: 0 0 10px; }
.sheet--play .dcard--logic { width: min(62%, 240px); margin: 6px auto 18px; }
.sheet--play .h3 { text-align: center; }
.sheet--play > .body { text-align: center; margin-bottom: 18px; }
.play__words { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 18px; }
.play__words .dcard { width: calc((100% - 20px) / 3); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7.5px var(--ring), 0 0 0 1px #e3e6ec, 0 4px 10px rgba(0,0,0,.12); }
.badge { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; display: none; place-items: center; background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); box-shadow: 0 0 0 2px #fff; }
.dcard.ranked .badge { display: grid; }
.dcard.ranked { transform: translateY(-2px); }
.sheet--play .btn--text { color: #5b606a; }
.sheet--play .btn--blue:disabled { background: #e6e8ed; color: #8a8f99; }

/* Real card backs warped onto the table art */
.layer--hot.on .media { animation: none; }
.warps { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.warp { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; backface-visibility: hidden; filter: brightness(.86) sepia(.16) saturate(1.05) blur(.35px); opacity: .97; }

/* Music video */
.watch { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 10px 16px 10px 10px; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: 600 15px/1 var(--sans); }
.watch__icon { width: 28px; height: 28px; border-radius: 50%; background: #fff; position: relative; }
.watch__icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #000; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.player { width: min(92vw, 420px); padding: 0; border: 0; background: #000; border-radius: 18px; overflow: hidden; }
.player::backdrop { background: rgba(0,0,0,.85); }
.player .sheet__x { z-index: 2; }
.player__frame { aspect-ratio: 9 / 16; max-height: 86svh; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Black Friday banner ---------- */
.promo { position: fixed; top: 0; left: 0; right: 0; z-index: 51; display: flex; align-items: center; justify-content: center;
  height: calc(var(--promo) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; background: var(--warm); color: var(--ink);
  font: 600 13px/1 var(--sans); text-decoration: none; white-space: nowrap; overflow: hidden; }
.promo__long { display: none; }
body.promo-on .topbar { top: calc(var(--promo) + env(safe-area-inset-top)); padding-top: 0; height: var(--top); }
body.promo-on .hud { top: calc(var(--top) + var(--promo) + env(safe-area-inset-top) + 2px); }
body.promo-on .beat { padding-top: calc(var(--top) + var(--promo) + 20px); }
body.promo-on .scene[data-daily] .beat { padding-top: calc(var(--top) + var(--promo) + 96px); }
body.promo-on .panel { padding-top: calc(var(--top) + var(--promo) + 64px); }
.deal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font: 500 15px/1.4 var(--sans); color: #fff; }
.deal__tag { padding: 5px 9px; border-radius: 8px; background: var(--warm); color: var(--ink); font: 600 12px/1 var(--sans); }
@media (min-width: 600px) { .promo__long { display: inline; } .promo__short { display: none; } }
@media (min-aspect-ratio: 4/5) { body.promo-on .scene[data-daily] .beat { padding-top: calc(var(--top) + var(--promo) + 20px); } }
