/* ==========================================================================
   The WCM Kitchen — site styles
   Palette is lifted from the kitchen itself: walnut cabinets, the Wife's
   curlers and dress, register brass, chalkboard slate, apron cream.
   ========================================================================== */
@font-face { font-family: "Shrikhand"; src: url(/fonts/shrikhand.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gochi Hand"; src: url(/fonts/gochi-hand.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/courier-prime-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/courier-prime-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage.woff2) format("woff2-variations"), url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #21160f;
  --ink-2: #4a3a2e;
  --paper: #fff6e6;
  --paper-2: #f5e8cf;
  --thermal: #fbf8f1;
  --walnut: #2a170c;
  --walnut-2: #3b2213;
  --walnut-3: #5a3520;
  --wall: #e7bf84;
  --chalk: #22392b;
  --chalk-ink: #f1efe4;
  --curler: #ee5f98;
  --curler-2: #c93d78;
  --violet: #6b4bc0;
  --violet-2: #4f3496;
  --brass: #d2a24c;
  --brass-2: #a87a2a;
  --up: #3fbf7f;
  --down: #e5533d;
  --led: #8cff9e;

  --f-sign: "Shrikhand", "Bricolage Grotesque", system-ui, serif;
  --f-ui: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-chalk: "Gochi Hand", "Bricolage Grotesque", cursive;
  --f-receipt: "Courier Prime", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --bar: 60px;
  --r-s: 8px;
  --r-m: 14px;
  --shadow-ink: 4px 5px 0 var(--ink);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--walnut);
  color: var(--paper);
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--curler); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: .55em 1.15em; font-weight: 800; font-size: .95rem; letter-spacing: .01em;
  background: var(--paper); color: var(--ink); text-decoration: none;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-buy, .btn-hot { background: var(--curler); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.btn-buy:hover, .btn-hot:hover { background: #f474a7; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-brass { background: var(--brass); }
.btn-ghost { background: transparent; color: var(--paper); border-color: currentColor; box-shadow: none; }
.btn-ghost:hover { box-shadow: none; background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-sm { font-size: .82rem; padding: .4em .85em; box-shadow: 2px 3px 0 var(--ink); }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; border: 2px solid rgba(255,246,230,.18); background: rgba(255,246,230,.06);
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255,246,230,.14); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg path:first-child { fill: var(--paper); stroke: none; }
#btn-lights svg path:first-child { fill: none; stroke: var(--paper); }
#btn-lights[aria-pressed="true"] svg path:last-child { fill: var(--brass); stroke: var(--brass); }
#btn-sound[aria-pressed="false"] .on { display: none; }
#btn-sound[aria-pressed="true"] .off { display: none; }
#btn-sound[aria-pressed="true"] { border-color: var(--curler); }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 40; height: var(--bar);
  display: flex; align-items: center; gap: 14px; padding: 0 clamp(12px, 2.5vw, 28px);
  background: linear-gradient(#2f1a0e, #241309);
  border-bottom: 3px solid #120a05;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--curler); }
.brand-name { font-family: var(--f-sign); font-size: 1.25rem; line-height: 1; color: var(--paper); white-space: nowrap; text-shadow: 2px 2px 0 #000; }
.ticker {
  margin-left: auto; display: flex; white-space: nowrap; align-items: baseline; gap: 10px;
  background: #0f1a12; border: 2px solid #050a06; border-radius: 10px; padding: 6px 12px;
  font-family: var(--f-receipt); color: var(--led); box-shadow: inset 0 0 12px rgba(140,255,158,.12);
  text-shadow: 0 0 6px rgba(140,255,158,.55);
}
.ticker-sym { color: #d3ffd9; font-weight: 700; font-size: .85rem; }
.ticker-px { font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker-chg { font-size: .85rem; font-weight: 700; }
.ticker-chg.is-down { color: #ff8a73; text-shadow: 0 0 6px rgba(255,120,100,.5); }
.bar-actions { display: flex; align-items: center; gap: 8px; }

/* ==========================================================================
   The stage: the kitchen illustration and everything mounted on it
   ========================================================================== */
.stage-wrap { position: relative; overflow: hidden; background: #1c0f07; isolation: isolate; }
.stage-bg {
  position: absolute; inset: -60px; z-index: -1;
  background: url(/img/scene/plate-blur.webp) center / cover no-repeat;
  filter: brightness(.55) saturate(1.1);
}
.stage-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.stage-scroll::-webkit-scrollbar { display: none; }
.stage {
  --h: min(calc(100svh - var(--bar)), 56.25vw);
  position: relative; height: var(--h); width: calc(var(--h) * 16 / 9);
  margin: 0 auto; container-type: inline-size; user-select: none; -webkit-user-select: none;
  box-shadow: 0 0 80px rgba(0,0,0,.5);
}
.stage .plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* every mounted thing uses plate coordinates (1792 × 1008) */
.at {
  position: absolute;
  left: calc(var(--x) * 100% / 1792); top: calc(var(--y) * 100% / 1008);
  width: calc(var(--w) * 100% / 1792); height: calc(var(--h) * 100% / 1008);
}
.layer-objects, .layer-chars, .layer-ui { position: absolute; inset: 0; }
.layer-ui { pointer-events: none; z-index: 6; }
.layer-ui > * { pointer-events: auto; }
.layer-chars { z-index: 4; pointer-events: none; }
.layer-objects { z-index: 2; }
.stage { --u: calc(100cqw / 1792); }

/* objects */
.obj {
  position: absolute; padding: 0; margin: 0; border: 0; background: none;
  left: calc(var(--x) * 100% / 1792); top: calc(var(--y) * 100% / 1008);
  width: calc(var(--w) * 100% / 1792); height: calc(var(--h) * 100% / 1008);
  transform-origin: 50% 100%;
  transition: transform .35s var(--ease-spring), filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.obj img { width: 100%; height: 100%; pointer-events: none; }
.obj.is-static { cursor: default; }
.obj:not(.is-static):hover, .obj:not(.is-static):focus-visible {
  transform: scale(1.035);
  filter: drop-shadow(0 0 calc(var(--u) * 2) #fff7d1) drop-shadow(0 0 calc(var(--u) * 9) rgba(255, 214, 120, .85));
  z-index: 3;
}
.obj:focus-visible { outline: none; }
.obj:active { transform: scale(.985); transition-duration: .08s; }
.obj.hang { transform-origin: 50% 0; }
.obj.hang:hover { transform: rotate(3deg); }
.obj.lamp { transform-origin: 50% 0; }
.obj.lamp:hover { animation: swing 1.6s ease-in-out; transform: none; }
@keyframes swing { 0% { transform: rotate(0); } 20% { transform: rotate(5deg); } 45% { transform: rotate(-3.5deg); } 70% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
.obj.ringing { animation: ring .12s linear infinite; transform-origin: 50% 20%; }
@keyframes ring { 0% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } 100% { transform: rotate(-5deg); } }
.obj.bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.08, .92); } 60% { transform: scale(.96, 1.05); } 100% { transform: scale(1); } }

/* tags that name each object */
.tag {
  position: absolute; z-index: 7; pointer-events: none;
  left: calc(var(--tx) * 100% / 1792); top: calc(var(--ty) * 100% / 1008);
  transform: translate(-50%, -100%) rotate(var(--rot, -3deg)) scale(.9); opacity: 0;
  transition: opacity .2s, transform .3s var(--ease-spring);
  font: 700 max(11px, calc(var(--u) * 15)) / 1 var(--f-ui);
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  padding: calc(var(--u) * 6) calc(var(--u) * 10); border-radius: 6px; white-space: nowrap;
  box-shadow: 2px 3px 0 var(--ink);
}
.tag::before { content: ""; position: absolute; left: -7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ink); }
.tag.show, .stage.tags-on .tag { opacity: 1; transform: translate(-50%, -100%) rotate(var(--rot, -3deg)) scale(1); }
.tag em { font-style: normal; color: var(--curler-2); }

/* pulse dots for touch screens */
.dot {
  position: absolute; z-index: 7; width: max(14px, calc(var(--u) * 16)); aspect-ratio: 1; border-radius: 50%;
  left: calc(var(--tx) * 100% / 1792); top: calc(var(--ty) * 100% / 1008); transform: translate(-50%, -50%);
  background: var(--curler); border: 2px solid #fff; pointer-events: none; display: none;
  box-shadow: 0 0 0 0 rgba(238,95,152,.6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(238,95,152,0); } 100% { box-shadow: 0 0 0 0 rgba(238,95,152,0); } }
@media (hover: none) { .dot { display: block; } .stage.explored .dot { display: none; } }

/* lamp light */
.lamp-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light; transition: opacity .6s; }
.lamp-glow i {
  position: absolute; top: calc(140 * 100% / 1008); width: calc(420 * 100% / 1792); height: calc(520 * 100% / 1008);
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 236, 170, .95), rgba(255, 200, 110, .35) 45%, transparent 75%);
  transform: translateX(-50%);
}
.lamp-glow i:nth-child(1) { left: calc(414 * 100% / 1792); }
.lamp-glow i:nth-child(2) { left: calc(892 * 100% / 1792); }
.lamp-glow i:nth-child(3) { left: calc(1372 * 100% / 1792); }

/* night */
.night {
  position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 18% 20% at 68% 34%, rgba(90,160,255,.0), rgba(8,12,34,.0) 60%), rgba(9, 12, 36, .68);
  mix-blend-mode: multiply; transition: opacity 1.2s ease;
}
.tv-light {
  position: absolute; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 1.2s;
  left: calc(1000 * 100% / 1792); top: calc(150 * 100% / 1008); width: calc(470 * 100% / 1792); height: calc(620 * 100% / 1008);
  background: radial-gradient(ellipse 50% 45% at 50% 35%, rgba(140, 190, 255, .55), rgba(140, 190, 255, .12) 50%, transparent 72%);
  mix-blend-mode: screen; animation: tvflicker 4s infinite;
}
@keyframes tvflicker { 0%, 100% { filter: brightness(1); } 47% { filter: brightness(.82); } 50% { filter: brightness(1.12); } 53% { filter: brightness(.9); } }
.stage.is-night .night { opacity: 1; }
.stage.is-night .tv-light { opacity: 1; }
.stage.is-night .lamp-glow { opacity: 0; }
.stage.is-night .tv-screen, .stage.is-night .reg-led, .stage.is-night .chalk { z-index: 6; }
.stage.is-night .tv-screen { box-shadow: 0 0 calc(var(--u) * 40) rgba(140,190,255,.55); }

/* intro: lights come on one by one */
body.is-loading .stage .lamp-glow { opacity: 0; }
body.is-loading .stage .night { opacity: .85; transition: none; }
.stage.intro .lamp-glow i { animation: lampOn .9s steps(1) both; }
.stage.intro .lamp-glow i:nth-child(2) { animation-delay: .25s; }
.stage.intro .lamp-glow i:nth-child(3) { animation-delay: .5s; }
@keyframes lampOn { 0% { opacity: 0; } 20% { opacity: 1; } 30% { opacity: .2; } 45% { opacity: 1; } 100% { opacity: 1; } }

/* ---------- chalkboard ---------- */
.chalk {
  --x: 369; --y: 276; --w: 174; --h: 291;
  position: absolute; z-index: 3; pointer-events: none; color: var(--chalk-ink);
  font-family: var(--f-chalk); line-height: 1.05; text-align: center;
  padding: calc(var(--u) * 12) calc(var(--u) * 10);
  text-shadow: 0 0 calc(var(--u) * 1.5) rgba(255,255,255,.45);
  filter: url(#chalky);
}
.chalk-h { font-size: calc(var(--u) * 19); opacity: .85; }
.chalk-px { font-size: calc(var(--u) * 27); margin-top: calc(var(--u) * 6); letter-spacing: -.01em; }
.chalk-chg { font-size: calc(var(--u) * 21); margin-top: calc(var(--u) * 4); }
.chalk-chg.up { color: #b9f3c6; }
.chalk-chg.down { color: #ffc0b0; }
.chalk svg { width: 100%; height: calc(var(--u) * 70); margin-top: calc(var(--u) * 6); overflow: visible; }
.chalk svg path { fill: none; stroke: var(--chalk-ink); stroke-width: calc(var(--u) * 2.4); stroke-linecap: round; stroke-linejoin: round; }
.chalk svg path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: chalkDraw 1.8s .4s var(--ease-out) forwards; }
@keyframes chalkDraw { to { stroke-dashoffset: 0; } }
.chalk-meta { font-size: calc(var(--u) * 15); margin-top: calc(var(--u) * 6); opacity: .8; }
.chalk-cta { font-size: calc(var(--u) * 13); margin-top: calc(var(--u) * 8); opacity: .65; }

/* ---------- frames (NFT art) ---------- */
.frame-art { position: absolute; z-index: 3; pointer-events: none; display: grid; place-items: center; background: #f6e7cf; overflow: hidden; }
.frame-art img { position: absolute; width: 86%; aspect-ratio: 1; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), 0 1px 0 rgba(0,0,0,.25); transition: opacity 1.2s ease; border: 1px solid rgba(70,40,20,.35); }
.frame-art img.out { opacity: 0; }
.frame-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 calc(var(--u) * 3) calc(var(--u) * 6) rgba(0,0,0,.25); background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 40%); }

/* ---------- TV ---------- */
.tv-screen {
  --x: 1131; --y: 276; --w: 182; --h: 140;
  position: absolute; z-index: 3; overflow: hidden; border-radius: 16% / 20%; background: #0b0f0c; pointer-events: none;
}
.tv-screen video, .tv-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-screen video { filter: saturate(1.15) contrast(1.05); }
.tv-screen canvas { opacity: 0; transition: opacity .1s; }
.tv-screen.static canvas { opacity: 1; }
.tv-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 22% at 22% 18%, rgba(255,255,255,.28), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55));
}
.tv-osd { position: absolute; z-index: 2; top: 8%; right: 9%; font: 700 calc(var(--u) * 15) var(--f-receipt); color: #7dff94; text-shadow: 0 0 4px #33ff66; opacity: 0; transition: opacity .2s; }
.tv-screen.osd .tv-osd { opacity: 1; }
.tv-knob { position: absolute; z-index: 4; border-radius: 50%; border: 0; background: transparent; padding: 0; }
.tv-knob:hover { box-shadow: 0 0 0 calc(var(--u) * 3) rgba(255, 230, 160, .9); }

/* ---------- calendar ---------- */
.cal {
  --x: 1428; --y: 279; --w: 224; --h: 222;
  position: absolute; z-index: 3; pointer-events: none; color: var(--ink); text-align: center;
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
}
.cal-month { background: #d8443a; color: #fff; font: 800 calc(var(--u) * 17) / 1 var(--f-ui); padding: calc(var(--u) * 8) 0; letter-spacing: .02em; }
.cal-day { font: calc(var(--u) * 88) / 1 var(--f-sign); color: var(--ink); display: grid; place-items: center; padding-top: calc(var(--u) * 6); }
.cal-what { font: 700 calc(var(--u) * 13.5) / 1.15 var(--f-ui); padding: 0 calc(var(--u) * 10); }
.cal-left { font: 700 calc(var(--u) * 15) / 1 var(--f-receipt); color: #b8322b; padding: calc(var(--u) * 6) 0 calc(var(--u) * 10); }
.cal-ring { position: absolute; left: 50%; top: calc(var(--u) * 2); width: calc(var(--u) * 12); height: calc(var(--u) * 12); border-radius: 50%; background: #2d1a10; transform: translateX(-50%); }

/* ---------- register LED + receipts ---------- */
.reg-led {
  --x: 830; --y: 517; --w: 95; --h: 20;
  position: absolute; z-index: 3; pointer-events: none; display: flex; align-items: center; justify-content: flex-end;
  padding-right: calc(var(--u) * 5); background: #0b140d; border-radius: calc(var(--u) * 2);
  font: 700 calc(var(--u) * 13) / 1 var(--f-receipt); color: var(--led); text-shadow: 0 0 calc(var(--u) * 4) rgba(140,255,158,.8);
  overflow: hidden; white-space: nowrap;
}
.reg-paper {
  --x: 905; --y: 380; --w: 64; --h: 128;
  position: absolute; z-index: 1; pointer-events: none; overflow: hidden;
}
.reg-paper > div {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: var(--thermal); color: #3d3a35; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 2px 2px 6px rgba(0,0,0,.25);
  font: 700 calc(var(--u) * 7.5) / 1.15 var(--f-receipt); padding: calc(var(--u) * 6) calc(var(--u) * 3); text-align: center;
  transform: translateY(100%); transition: transform 1.4s var(--ease-out);
  clip-path: polygon(0 4%, 8% 0, 16% 4%, 24% 0, 32% 4%, 40% 0, 48% 4%, 56% 0, 64% 4%, 72% 0, 80% 4%, 88% 0, 96% 4%, 100% 0, 100% 100%, 0 100%);
}
.reg-paper > div.printed { transform: translateY(30%); }
.reg-paper b { display: block; font-size: calc(var(--u) * 10); color: #111; }

/* ---------- jar coins ---------- */
.jar-coins { --x: 633; --y: 548; --w: 92; --h: 121; position: absolute; z-index: 3; pointer-events: none; overflow: hidden; border-radius: 0 0 calc(var(--u) * 14) calc(var(--u) * 14); }
.jar-coins i {
  position: absolute; width: calc(var(--u) * 22); height: calc(var(--u) * 9); border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, #fff2b0, #f2c84b 45%, #b88516 100%);
  box-shadow: 0 calc(var(--u) * 1.5) 0 #8a5f0a, inset 0 0 0 calc(var(--u) * .8) rgba(90, 55, 0, .6);
  opacity: .93;
}
.jar-coins i.drop { animation: coinDrop .9s cubic-bezier(.5, 0, .75, 0) both, coinSettle .25s .9s ease-out; }
@keyframes coinDrop { from { transform: translateY(calc(var(--u) * -170)) rotateX(60deg); } to { transform: translateY(0) rotateX(0); } }
@keyframes coinSettle { 50% { transform: translateY(calc(var(--u) * -6)); } }
.jar-glass { --x: 626; --y: 535; --w: 104; --h: 136; position: absolute; z-index: 3; pointer-events: none; border-radius: calc(var(--u) * 16);
  background: linear-gradient(100deg, transparent 8%, rgba(255,255,255,.35) 12%, transparent 20%, transparent 74%, rgba(255,255,255,.22) 80%, transparent 86%); }
.jar-count { position: absolute; z-index: 4; pointer-events: none; transform: translate(-50%, 0); font: 700 max(10px, calc(var(--u) * 12)) / 1 var(--f-ui); background: var(--ink); color: var(--paper); padding: calc(var(--u) * 4) calc(var(--u) * 7); border-radius: 99px; white-space: nowrap; }
.coin-fly { position: absolute; z-index: 8; width: calc(var(--u) * 26); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #fff4b8, #f2c84b 45%, #b88516); border: calc(var(--u) * 2) solid #7a5208; }

/* ---------- characters ---------- */
.char { position: absolute; z-index: 4; pointer-events: auto; cursor: pointer; transform-origin: 50% 100%; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.char img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: opacity .25s; }
.char img.alt { opacity: 0; }
.char.alt img.main { opacity: 0; }
.char.alt img.alt { opacity: 1; }
.char .breathe { position: absolute; inset: 0; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; }
.char.husband .breathe { animation-duration: 2.6s; animation-delay: -.8s; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.006, 1.014); } }
.char::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1.2%; height: 4%; border-radius: 50%; background: radial-gradient(ellipse, rgba(20,8,0,.55), transparent 70%); z-index: -1; }
.char:hover .breathe { animation-duration: 1.4s; }
.char.hop .breathe { animation: hop .5s var(--ease-spring); }
@keyframes hop { 30% { transform: translateY(-3%) scale(.98, 1.03); } 60% { transform: translateY(0) scale(1.03, .97); } }
.sweat { position: absolute; width: 3%; aspect-ratio: .7; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(#e9f8ff, #8fd3ff); border: 1px solid #3f88b5; opacity: 0; }
.char.sweating .sweat { animation: sweat 2.2s infinite; }
.char.sweating .sweat:nth-of-type(2) { animation-delay: 1.1s; }
@keyframes sweat { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 80% { opacity: .9; transform: translateY(260%); } 100% { opacity: 0; transform: translateY(320%); } }

/* speech bubbles */
.bubble {
  position: absolute; z-index: 8; pointer-events: none; max-width: calc(var(--u) * 300); min-width: calc(var(--u) * 150);
  left: calc(var(--bx) * 100% / 1792); top: calc(var(--by) * 100% / 1008);
  transform: translate(-50%, -100%) scale(.6); opacity: 0; transform-origin: 50% 100%;
  transition: opacity .2s, transform .35s var(--ease-spring);
  background: #fff; color: var(--ink); border: max(2px, calc(var(--u) * 3)) solid var(--ink); border-radius: calc(var(--u) * 26);
  padding: calc(var(--u) * 12) calc(var(--u) * 18); font: 700 max(12px, calc(var(--u) * 19)) / 1.2 var(--f-ui);
  box-shadow: calc(var(--u) * 5) calc(var(--u) * 6) 0 rgba(0,0,0,.35); text-align: center;
}
.bubble::after { content: ""; position: absolute; left: var(--tail, 50%); bottom: calc(var(--u) * -20); width: calc(var(--u) * 26); height: calc(var(--u) * 22); background: #fff; border-right: max(2px, calc(var(--u) * 3)) solid var(--ink); border-bottom: max(2px, calc(var(--u) * 3)) solid var(--ink); transform: skewX(var(--skew, 25deg)) rotate(45deg); transform-origin: 0 0; }
.bubble.show { opacity: 1; transform: translate(-50%, -100%) scale(1); }

/* whale */
.whale { position: absolute; z-index: 3; width: calc(var(--u) * 34); padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; animation: peek 7s ease-in-out infinite; }
.whale img { width: 100%; }
@keyframes peek { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 76% { transform: translateY(-18%) rotate(-8deg); } 84% { transform: translateY(-18%) rotate(6deg); } 90% { transform: translateY(0); } }
.whale.found { animation: none; filter: drop-shadow(0 0 6px gold); }

/* magnets */
.magnet { position: absolute; z-index: 3; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; transition: transform .2s var(--ease-spring), filter .2s; filter: drop-shadow(0 calc(var(--u) * 1.5) calc(var(--u) * 1) rgba(0,0,0,.35)); }
.magnet img { width: 100%; height: 100%; pointer-events: none; }
.magnet:hover { transform: rotate(-8deg) scale(1.08); }
.magnet.drag { cursor: grabbing; transform: scale(1.18); filter: drop-shadow(0 calc(var(--u) * 6) calc(var(--u) * 5) rgba(0,0,0,.35)); z-index: 9; transition: none; }
.letter-mag { font: calc(var(--u) * 36) / 1 var(--f-sign); color: var(--c); text-shadow: 0 calc(var(--u) * 2) 0 rgba(0,0,0,.35); -webkit-text-stroke: calc(var(--u) * 1.6) var(--ink); width: auto !important; height: auto !important; }

/* steam */
.steam { position: absolute; z-index: 3; pointer-events: none; width: calc(var(--u) * 40); height: calc(var(--u) * 80); }
.steam i { position: absolute; bottom: 0; left: 40%; width: calc(var(--u) * 14); height: calc(var(--u) * 14); border-radius: 50%; background: rgba(255,255,255,.55); filter: blur(calc(var(--u) * 3)); animation: steam 3.2s ease-out infinite; opacity: 0; }
.steam i:nth-child(2) { animation-delay: 1.1s; left: 20%; }
.steam i:nth-child(3) { animation-delay: 2.1s; left: 55%; }
@keyframes steam { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .8; } 100% { transform: translate(calc(var(--u) * 10), calc(var(--u) * -70)) scale(2.2); opacity: 0; } }

/* heat shimmer on the hot seat */
.heat { position: absolute; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s; }
.heat i { position: absolute; bottom: 0; width: calc(var(--u) * 26); height: calc(var(--u) * 44); border-radius: 50% 50% 35% 35%; background: radial-gradient(ellipse at 50% 80%, #fff3a0, #ff9a1f 45%, #e8401c 75%, transparent 80%); animation: flame .5s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.heat i:nth-child(1) { left: 10%; } .heat i:nth-child(2) { left: 38%; animation-delay: .15s; height: calc(var(--u) * 58); } .heat i:nth-child(3) { left: 66%; animation-delay: .3s; }
@keyframes flame { from { transform: scale(1, 1) skewX(-4deg); } to { transform: scale(.85, 1.15) skewX(5deg); } }
.heat.on { opacity: 1; }

/* hint + live strip */
.stage-hint { display: none; }
@media (max-width: 900px) and (orientation: portrait) {
  .stage { --h: min(66svh, 640px); }
  .stage-hint { display: flex; position: absolute; z-index: 9; left: 50%; bottom: 74px; transform: translateX(-50%); pointer-events: none; }
  .stage-hint span { background: rgba(33,22,15,.82); color: var(--paper); border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: .9rem; display: flex; gap: 8px; align-items: center; animation: nudge 1.6s ease-in-out infinite; }
  .stage-hint span::after { content: "→"; }
  .stage-hint.gone { opacity: 0; transition: opacity .4s; }
  @keyframes nudge { 50% { transform: translateX(10px); } }
}
.live-strip { position: absolute; z-index: 9; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; max-width: min(420px, calc(100% - 24px)); }
.live-pill {
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 12px;
  background: rgba(251, 248, 241, .96); color: #2b2620; border: 2px solid var(--ink); box-shadow: 3px 4px 0 rgba(0,0,0,.45);
  font: 700 .85rem/1.2 var(--f-receipt); animation: pillIn .5s var(--ease-spring) both;
}
.live-pill.out { animation: pillOut .4s ease-in both; }
.live-pill .ico { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--brass); font-size: 1rem; }
.live-pill small { display: block; font-weight: 400; color: #6a6258; }
@keyframes pillIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes pillOut { to { opacity: 0; transform: translateX(-20px); } }

/* ==========================================================================
   The counter: everything under the kitchen
   ========================================================================== */
.counter {
  position: relative; padding: clamp(28px, 5vw, 64px) clamp(14px, 4vw, 48px) 40px;
  display: grid; gap: clamp(22px, 3vw, 40px); grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start;
  max-width: 1360px; margin: 0 auto;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    repeating-linear-gradient(92deg, rgba(255,255,255,.018) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(88deg, rgba(0,0,0,.08) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #3a2114, #2a170c 60%, #22130a);
}

.menu-board {
  position: relative; background: var(--chalk); color: var(--chalk-ink);
  border: 16px solid transparent; border-radius: 10px;
  border-image: linear-gradient(135deg, #8a5a32, #5d3a1f 40%, #7a4d2a 60%, #4a2c16) 1;
  box-shadow: 0 0 0 3px var(--ink), 10px 14px 0 rgba(0,0,0,.35);
  padding: clamp(18px, 3vw, 34px);
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.04), transparent 50%);
}
.menu-title { margin: 0; font: clamp(2rem, 4.4vw, 3.4rem) / 1 var(--f-chalk); font-weight: 400; text-shadow: 0 0 2px rgba(255,255,255,.4); }
.menu-sub { margin: .4em 0 1.2em; font-family: var(--f-chalk); font-size: 1.25rem; opacity: .75; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-list button {
  width: 100%; display: flex; align-items: baseline; gap: 10px; padding: 9px 6px; border: 0; background: none; text-align: left;
  font-family: var(--f-chalk); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--chalk-ink); border-radius: 8px;
  transition: background .2s, transform .2s;
}
.menu-list button:hover, .menu-list button:focus-visible { background: rgba(255,255,255,.07); transform: translateX(4px); }
.menu-list .lead { flex: 1; border-bottom: 3px dotted rgba(241,239,228,.4); transform: translateY(-.3em); min-width: 20px; }
.menu-list .val { color: #f7d98a; white-space: nowrap; font-size: .9em; }
.menu-list .val.up { color: #b9f3c6; } .menu-list .val.down { color: #ffc0b0; }

.receipts-roll { position: relative; }
.roll-title { margin: 0; font: clamp(1.6rem, 3vw, 2.3rem) / 1 var(--f-sign); color: var(--paper); text-shadow: 3px 3px 0 #000; }
.roll-sub { margin: .5em 0 1em; color: rgba(255,246,230,.75); }
.roll { display: grid; gap: 14px; }
.roll-empty { color: rgba(255,246,230,.6); font-family: var(--f-receipt); }
.rcpt {
  position: relative; background: var(--thermal); color: #2f2b26; font-family: var(--f-receipt); font-size: .9rem; line-height: 1.35;
  padding: 16px 18px 18px; box-shadow: 6px 8px 0 rgba(0,0,0,.3);
  --zz: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0);
  -webkit-mask: linear-gradient(#000, #000) 0 5px / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) 0 0 / 10px 5px repeat-x, var(--zz) 0 100% / 10px 5px repeat-x;
  mask: linear-gradient(#000, #000) 0 5px / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) 0 0 / 10px 5px repeat-x, var(--zz) 0 100% / 10px 5px repeat-x;
  animation: rcptIn .6s var(--ease-out) both;
  transform: rotate(var(--tilt, 0deg));
}
@keyframes rcptIn { from { opacity: 0; transform: translateY(-16px) rotate(var(--tilt, 0deg)); } }
.rcpt-row { display: flex; justify-content: space-between; gap: 12px; }
.rcpt-big { font-size: 1.15rem; font-weight: 700; color: #111; }
.rcpt hr { border: 0; border-top: 2px dashed #b9b2a6; margin: 8px 0; }
.rcpt a { color: #5a4ec0; }
.rcpt .whale-tag { background: #111; color: var(--thermal); padding: 0 6px; }

.ca-strip { max-width: 1360px; margin: 0 auto 40px; padding: 0 clamp(14px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ca-label { font-family: var(--f-chalk); font-size: 1.3rem; color: rgba(255,246,230,.8); }
.ca-code { font-family: var(--f-receipt); font-size: clamp(.78rem, 1.6vw, 1rem); background: rgba(0,0,0,.35); padding: 8px 12px; border-radius: 8px; word-break: break-all; border: 1px dashed rgba(255,246,230,.25); }

.foot { border-top: 3px solid #120a05; background: #1b0e06; padding: 40px clamp(14px, 4vw, 48px) 110px; }
.foot-inner { max-width: 1360px; margin: 0 auto; display: grid; gap: 22px; grid-template-columns: 1fr 1.6fr; }
.foot-name { margin: 0; font: 1.8rem/1 var(--f-sign); color: var(--curler); text-shadow: 2px 2px 0 #000; }
.foot-tag { margin: .4em 0 0; color: rgba(255,246,230,.7); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; align-content: start; }
.foot-links a { text-decoration: none; font-weight: 700; border-bottom: 2px solid rgba(238,95,152,.5); }
.foot-links a:hover { border-color: var(--curler); }
.foot-legal { grid-column: 1 / -1; margin: 0; max-width: 72ch; color: rgba(255,246,230,.55); font-size: .9rem; }

/* ==========================================================================
   Drawer: each panel is printed on the object it came from
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(12, 6, 2, .55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-card {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(600px, calc(100vw - 24px));
  display: flex; flex-direction: column; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 10px 12px 0 rgba(0,0,0,.45); transform: translateX(110%) rotate(2deg); transition: transform .5s var(--ease-out);
  background: var(--paper); color: var(--ink);
}
.drawer.open .drawer-card { transform: none; }
.drawer-grip { display: none; }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 10px 22px; }
.drawer-title { margin: 0; flex: 1; font: clamp(1.6rem, 3vw, 2.2rem) / 1.05 var(--f-sign); }
.drawer-x { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid currentColor; background: transparent; }
.drawer-x svg { width: 20px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 28px; -webkit-overflow-scrolling: touch; }
.drawer-body > * + * { margin-top: 18px; }
.drawer-body p { margin: 0; }
.drawer-body h3 { margin: 0; font: 800 1.15rem/1.2 var(--f-ui); }
.muted { opacity: .7; }
.small { font-size: .85rem; }

/* skins */
.skin-chalk { background: var(--chalk); color: var(--chalk-ink); background-image: radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.07), transparent 55%); }
.skin-chalk .drawer-title { font-family: var(--f-chalk); font-weight: 400; font-size: clamp(2rem, 4vw, 2.7rem); }
.skin-receipt { background: var(--thermal); color: #26221d; }
.skin-receipt .drawer-title { font-family: var(--f-receipt); font-weight: 700; letter-spacing: -.02em; }
.skin-fridge { background: #f3e3c4; background-image: linear-gradient(90deg, rgba(255,255,255,.4), transparent 25%, transparent 80%, rgba(0,0,0,.05)); }
.skin-crt { background: #1d1612; color: #f4ece0; background-image: linear-gradient(#2a201a, #15100c); }
.skin-wall { background: var(--wall); background-image: radial-gradient(ellipse at 50% 0, rgba(255,240,200,.6), transparent 60%); }
.skin-calendar { background: #fffdf8; }
.skin-calendar .drawer-head { background: #d8443a; color: #fff; }
.skin-notepad { background: #fffbe3; background-image: repeating-linear-gradient(transparent 0 31px, rgba(80, 120, 200, .25) 31px 32px); }
.skin-notepad .drawer-title { font-family: var(--f-chalk); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); }
.skin-recipe { background: #fffaf0; background-image: linear-gradient(transparent 70px, rgba(220, 70, 70, .5) 70px 72px, transparent 72px), repeating-linear-gradient(transparent 0 29px, rgba(80, 120, 200, .2) 29px 30px); }
.skin-ticket { background: #ff8a2a; background-image: radial-gradient(circle at 0 50%, transparent 0, transparent 0); color: var(--ink); }
.skin-note { background: #fff1a8; }
.skin-arcade { background: #1a1036; color: #fff; background-image: radial-gradient(ellipse at 50% 0, rgba(238,95,152,.35), transparent 60%); }

/* panel components */
.statgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { border: 2px solid currentColor; border-radius: 12px; padding: 10px 12px; }
.skin-chalk .stat { border-color: rgba(241,239,228,.35); border-style: dashed; }
.stat .k { font-size: .82rem; opacity: .75; }
.stat .v { font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.skin-chalk .stat .v { font-family: var(--f-chalk); font-weight: 400; font-size: 1.6rem; }
.bigprice { font: 400 clamp(2.8rem, 8vw, 4.2rem) / 1 var(--f-chalk); }
.bigchg { font: 400 1.7rem/1 var(--f-chalk); }
.up { color: var(--up); } .down { color: var(--down); }
.skin-chalk .up { color: #b9f3c6; } .skin-chalk .down { color: #ffc0b0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { border: 2px solid currentColor; background: transparent; border-radius: 99px; padding: 4px 12px; font-weight: 700; font-size: .9rem; opacity: .7; }
.tabs button[aria-pressed="true"] { opacity: 1; background: currentColor; }
.tabs button[aria-pressed="true"] span { color: var(--tab-on, var(--paper)); }
.skin-chalk { --tab-on: var(--chalk); }
.skin-crt { --tab-on: #1d1612; }
.skin-notepad { --tab-on: #fffbe3; }
.chart { position: relative; width: 100%; height: 220px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .cline { fill: none; stroke: var(--chalk-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: url(#chalky); }
.chart .carea { fill: rgba(241,239,228,.08); }
.chart .cgrid { stroke: rgba(241,239,228,.14); stroke-dasharray: 3 6; }
.chart .clabel { fill: rgba(241,239,228,.7); font: 14px var(--f-chalk); }
.chart .cdot { fill: var(--chalk-ink); }
.chart-tip { position: absolute; pointer-events: none; transform: translate(-50%, -120%); background: var(--chalk-ink); color: var(--chalk); font: 700 .8rem/1.2 var(--f-receipt); padding: 5px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; }
.chart:hover .chart-tip { opacity: 1; }
.versus { display: grid; grid-template-columns: auto 1fr 1fr; gap: 6px 14px; font-variant-numeric: tabular-nums; align-items: baseline; }
.versus .h { font-family: var(--f-chalk); font-size: 1.3rem; }
.versus .k { opacity: .7; font-size: .9rem; }

.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: .9rem; }
.input {
  width: 100%; font: 600 1rem var(--f-receipt); padding: 12px 14px; border-radius: 12px; border: 2.5px solid var(--ink);
  background: #fff; color: var(--ink); box-shadow: inset 2px 2px 0 rgba(0,0,0,.08);
}
.input:focus { outline: none; box-shadow: 0 0 0 3px var(--curler); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; min-width: 180px; }
.err { color: #b3261e; font-weight: 700; }

.rankcard { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 16px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: var(--shadow-ink); }
.rankcard img { width: 110px; height: 120px; object-fit: contain; }
.rankcard .rname { font: 1.8rem/1 var(--f-sign); }
.rankcard .rmotto { opacity: .75; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; font-size: .78rem; font-weight: 700; }
.ladder div { padding: 8px 2px; border-radius: 10px; border: 2px solid rgba(33,22,15,.25); }
.ladder img { height: 44px; width: auto; margin: 0 auto 4px; object-fit: contain; }
.ladder .me { border-color: var(--curler); background: rgba(238,95,152,.12); }
.meter { height: 12px; border-radius: 99px; background: rgba(33,22,15,.12); overflow: hidden; border: 2px solid var(--ink); }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--curler), var(--violet)); width: var(--p, 0%); transition: width 1s var(--ease-out); }
.holdings { display: grid; gap: 6px; }
.holding { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.55); border: 1.5px solid rgba(33,22,15,.15); font-variant-numeric: tabular-nums; }
.holding .sym { font-weight: 800; }
.holding .amt { opacity: .7; font-family: var(--f-receipt); font-size: .85rem; }
.holding .usd { font-weight: 800; font-family: var(--f-receipt); }
.verdict { font: 400 1.45rem/1.25 var(--f-chalk); padding: 14px 16px; border-radius: 14px; background: var(--chalk); color: var(--chalk-ink); box-shadow: var(--shadow-ink); }
.cardprev { border-radius: 14px; border: 3px solid var(--ink); box-shadow: var(--shadow-ink); width: 100%; height: auto; background: #333; }

.counters { display: grid; gap: 10px; }
.counter-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 2.5px solid var(--ink); text-decoration: none; background: #fff; box-shadow: 3px 4px 0 var(--ink); transition: transform .15s; }
.counter-link:hover { transform: translate(-1px, -2px); }
.counter-link b { font-size: 1.1rem; }
.counter-link span { display: block; opacity: .7; font-size: .88rem; }
.counter-link .go { font: 1.4rem/1 var(--f-sign); color: var(--curler-2); }
.calc { display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 2px solid var(--ink); background: #fff; border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: .88rem; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--thermal); }
.rcpt-panel { font-family: var(--f-receipt); background: #fff; padding: 16px; border: 2px dashed #b9b2a6; }

.tv-player { position: relative; border-radius: 22px; padding: 16px; background: linear-gradient(#5a3a22, #3d2716); border: 3px solid #120a05; box-shadow: inset 0 2px 0 rgba(255,255,255,.15), 6px 8px 0 rgba(0,0,0,.5); }
.tv-glass { position: relative; aspect-ratio: 9 / 16; max-height: 62svh; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #000; box-shadow: inset 0 0 30px rgba(0,0,0,.9); }
.tv-glass iframe, .tv-glass canvas { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-glass canvas { pointer-events: none; opacity: 0; transition: opacity .12s; }
.tv-glass.static canvas { opacity: 1; }
.tv-glass .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-glass .playbtn { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 50%, rgba(0,0,0,.6)); border: 0; color: #fff; }
.tv-glass .playbtn span { width: 76px; height: 76px; border-radius: 50%; background: var(--curler); border: 3px solid #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.tv-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #f4ece0; }
.tv-controls .ch { font: 700 1rem var(--f-receipt); color: #7dff94; text-shadow: 0 0 6px #33ff66; flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.knob { font-size: 1.7rem; line-height: 1; width: 50px; height: 50px; border-radius: 50%; border: 3px solid #120a05; background: radial-gradient(circle at 40% 35%, #d8d2c6, #8f877a 60%, #5f584e); box-shadow: 0 3px 0 #120a05; display: grid; place-items: center; font-weight: 800; color: #1d1612; transition: transform .25s var(--ease-spring); }
.knob:active { transform: rotate(35deg); }
.eplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.ep { border: 0; padding: 0; background: none; text-align: left; color: inherit; }
.ep img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 2px solid #000; }
.ep span { display: block; font-size: .8rem; line-height: 1.25; margin-top: 4px; opacity: .85; }
.ep[aria-current="true"] img { outline: 3px solid var(--curler); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.gframe { position: relative; border: 0; padding: 7px; background: linear-gradient(135deg, #8a5a32, #5d3a1f); border-radius: 4px; box-shadow: 0 0 0 2px var(--ink), 4px 6px 0 rgba(0,0,0,.35); transition: transform .25s var(--ease-spring); }
.gframe:hover { transform: rotate(-2deg) scale(1.04); }
.gframe img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 5px solid #f6e7cf; }
.gframe .tier { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font: 800 .68rem/1 var(--f-ui); padding: 4px 8px; border-radius: 99px; border: 2px solid var(--ink); background: #fff; white-space: nowrap; }
.tier-Legendary { background: #ffd34d !important; } .tier-Mythic { background: #e7c6ff !important; } .tier-Epic { background: #ffc4dc !important; } .tier-Rare { background: #d7f0ff !important; }
.gframe .talk { position: absolute; right: 2px; top: 2px; background: var(--curler); color: #fff; border: 2px solid var(--ink); border-radius: 99px; font-size: .7rem; font-weight: 800; padding: 2px 7px; }
.lightbox { display: grid; gap: 12px; }
.lightbox video, .lightbox img { width: 100%; border-radius: 12px; border: 3px solid var(--ink); background: #000; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.countdown div { border: 2.5px solid var(--ink); border-radius: 12px; padding: 10px 4px; background: #fff; }
.countdown b { display: block; font: 2rem/1 var(--f-sign); }
.countdown span { font-size: .78rem; font-weight: 700; opacity: .7; }
.diary { display: grid; gap: 0; }
.diary article { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 12px 0; border-bottom: 2px dashed rgba(33,22,15,.18); }
.diary .date { text-align: center; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; align-self: start; background: #fff; }
.diary .date b { display: block; background: #d8443a; color: #fff; font-size: .72rem; padding: 2px 0; }
.diary .date span { display: block; font: 1.6rem/1.2 var(--f-sign); }
.diary .txt { font-family: var(--f-chalk); font-size: 1.25rem; line-height: 1.3; }
.diary .nums { font: .78rem/1.3 var(--f-receipt); opacity: .7; margin-top: 4px; }

.gossip { display: grid; gap: 4px; }
.gossip article { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: baseline; padding: 6px 0; }
.gossip .n { font: 1.4rem/1 var(--f-chalk); color: #c64a3d; }
.gossip .who { font-weight: 800; }
.gossip .say { font-family: var(--f-chalk); font-size: 1.15rem; line-height: 1.25; display: block; color: #2c4a8a; }
.gossip .chg { font: 700 .95rem var(--f-receipt); }
.gossip a { text-decoration: none; }
.gossip .us { background: rgba(238,95,152,.15); border-radius: 10px; padding: 6px 8px; }
.speed { display: grid; grid-template-columns: repeat(3, minmax(0, 112px)); gap: 14px; }
.speed a { display: grid; place-items: center; gap: 4px; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); background: #fff; text-decoration: none; font-weight: 800; box-shadow: 3px 4px 0 var(--ink); text-align: center; font-size: .9rem; transition: transform .2s var(--ease-spring); }
.speed a:hover { transform: rotate(-6deg) scale(1.04); }
.speed a i { font-style: normal; font: 1.6rem/1 var(--f-sign); color: var(--curler-2); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font: 1.4rem/1 var(--f-sign); background: var(--brass); }
.steps b { display: block; font-size: 1.05rem; }

.friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.friend { display: block; padding: 12px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff7ee; text-decoration: none; box-shadow: 3px 4px 0 var(--ink); }
.friend b { display: block; }
.friend span { font-size: .82rem; opacity: .75; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-family: var(--f-chalk); font-size: 1.45rem; line-height: 1.25; }
.rules li::before { content: "✓ "; color: var(--curler-2); }
.reviews { display: grid; gap: 12px; }
.review { display: grid; grid-template-columns: 54px 1fr; gap: 12px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px; }
.review img { width: 54px; height: 54px; object-fit: contain; }
.review .stars { color: #e6a400; letter-spacing: 2px; }
.review .owner { margin-top: 6px; padding-left: 10px; border-left: 3px solid var(--curler); font-size: .9rem; }

.arcade-hero { display: grid; gap: 14px; text-align: center; }
.arcade-hero img { width: 60%; margin: 0 auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.arcade-hero .best { font: 700 1rem var(--f-receipt); color: #ffd34d; }

/* toasts */
.toasts { position: fixed; z-index: 80; left: 50%; bottom: 90px; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: var(--paper); border: 2px solid var(--paper); border-radius: 99px; padding: 10px 18px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.4); animation: pillIn .4s var(--ease-spring) both; }

/* dock (phones) */
.dock { display: none; }
@media (max-width: 760px) {
  :root { --bar: 54px; }
  body { font-size: 16px; }
  .brand-name { display: none; }
  .ticker { margin-left: 0; flex: 1; justify-content: center; }
  .bar-actions .btn-buy { display: none; }
  .bar { gap: 8px; }
  .counter { grid-template-columns: minmax(0, 1fr); padding-left: 12px; padding-right: 12px; }
  .menu-board { border-width: 10px; padding: 16px 14px; }
  .menu-list button { font-size: 1.12rem; padding: 8px 2px; gap: 6px; }
  .menu-list .val { font-size: .82em; white-space: normal; text-align: right; max-width: 48%; }
  .ticker-sym { display: none; }
  .ticker { padding: 6px 10px; gap: 8px; }
  .live-strip { top: 10px; bottom: auto; left: 10px; }
  .live-pill { font-size: .74rem; padding: 5px 10px 5px 6px; }
  .live-pill .ico { width: 24px; height: 24px; }
  .foot-inner { grid-template-columns: 1fr; }
  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 50; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
    background: rgba(33, 22, 15, .94); border: 2px solid #000; border-radius: 20px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(8px);
  }
  .dock button { border: 0; background: none; color: var(--paper); font-size: .72rem; font-weight: 700; display: grid; justify-items: center; gap: 2px; padding: 4px 0; border-radius: 14px; }
  .dock img { height: 30px; width: 34px; object-fit: contain; }
  .dock .dock-play { background: var(--curler); color: #fff; }
  .drawer-card { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 90svh; height: 90svh; border-radius: 22px 22px 0 0; transform: translateY(105%); border-bottom: 0; }
  .drawer.open .drawer-card { transform: translateY(var(--drag, 0)); }
  .drawer-grip { display: block; width: 46px; height: 5px; border-radius: 99px; background: currentColor; opacity: .3; margin: 10px auto 0; }
  .drawer-head { padding-top: 8px; }
  .toasts { bottom: 96px; }
  .ladder { grid-template-columns: repeat(5, 1fr); font-size: .66rem; }
  .ladder img { height: 34px; }
}

.game-root { position: fixed; inset: 0; z-index: 90; background: #120a05; }
.game-root[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* spacing inside panel results */
#club-out > * + *, #audit-out > * + *, .lightbox > * + *, .drawer-body section > * + * { margin-top: 12px; }
.rcpt.compact { font-size: .85rem; padding: 14px 16px; }

/* ==========================================================================
   Premium layer: doorway, light, object reactions, talking characters
   ========================================================================== */
:root { --gold: linear-gradient(100deg, #9c6b1e 0%, #e9c46a 18%, #fff2c2 32%, #d9a441 48%, #8f5f16 64%, #f3d27a 82%, #b07d27 100%); }

/* the doorway */
body.at-door { overflow: hidden; }
.doorway {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(80, 44, 20, .55), rgba(10, 5, 2, .96) 70%), #0b0603;
  transition: opacity .9s ease, visibility .9s;
}
.doorway::before { content: ""; position: absolute; inset: -40px; background: url(/img/scene/plate-blur.webp) center / cover; filter: brightness(.22) saturate(1.2) blur(4px); z-index: -1; }
.doorway.gone { opacity: 0; visibility: hidden; }
.intro-glow { position: absolute; left: 50%; top: 0; width: min(900px, 120vw); height: 70vh; transform: translateX(-50%); background: radial-gradient(ellipse 40% 60% at 50% 0, rgba(255, 214, 140, .28), transparent 70%); animation: introBreathe 5s ease-in-out infinite; pointer-events: none; }
@keyframes introBreathe { 50% { opacity: .65; } }
.intro-card { position: relative; width: min(680px, 100%); text-align: center; display: grid; justify-items: center; gap: 14px; animation: introIn 1.2s var(--ease-out) both; }
@keyframes introIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.intro-sign {
  position: relative; width: 150px; height: 54px; perspective: 600px; margin-bottom: 6px;
}
.intro-sign::before { content: ""; position: absolute; left: 50%; top: -34px; width: 70px; height: 34px; transform: translateX(-50%); border: 2px solid rgba(255,240,210,.5); border-bottom: 0; border-radius: 40px 40px 0 0; }
.intro-sign span {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; border: 3px solid #120a05;
  font: 1.6rem/1 var(--f-sign); backface-visibility: hidden; transition: transform .9s cubic-bezier(.5, 1.6, .4, 1); box-shadow: 0 8px 24px rgba(0,0,0,.6);
}
.intro-sign .s-closed { background: #3b2213; color: #c9a07a; }
.intro-sign .s-open { background: var(--curler); color: #fff; transform: rotateY(180deg); text-shadow: 0 0 12px rgba(255,255,255,.8); }
.doorway.opening .s-closed { transform: rotateY(-180deg); }
.doorway.opening .s-open { transform: rotateY(0); }
.intro-logo { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 3px #120a05, 0 0 0 6px rgba(233,196,106,.7), 0 14px 40px rgba(0,0,0,.6); }
.intro-title { margin: 6px 0 0; font: clamp(3rem, 10vw, 6.4rem) / .9 var(--f-sign); letter-spacing: -.01em; }
.intro-title span { display: block; background: var(--gold); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s ease-in-out infinite; filter: drop-shadow(0 4px 0 #120a05); }
.intro-title em { display: block; font-style: normal; color: var(--curler); text-shadow: 0 5px 0 #120a05, 0 0 40px rgba(238,95,152,.35); transform: rotate(-3deg); }
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.intro-sub { margin: 0; max-width: 46ch; color: rgba(255,246,230,.82); font-size: 1.08rem; }
.intro-live { margin: 0; font: 700 .95rem var(--f-receipt); color: var(--led); text-shadow: 0 0 8px rgba(140,255,158,.5); }
.intro-live small { color: rgba(255,246,230,.55); font-weight: 400; margin-left: 6px; }
.intro-live .is-down { color: #ff8a73; }
.intro-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn-xl { font-size: 1.15rem; padding: .8em 1.6em; box-shadow: 4px 5px 0 #000; position: relative; overflow: hidden; }
.btn-xl small { font-weight: 600; opacity: .85; font-size: .78em; }
.btn-xl::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite 1s; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.doorway .btn-ghost { color: rgba(255,246,230,.85); }
.intro-fine { margin: 0; font-size: .85rem; color: rgba(255,246,230,.5); }

/* camera dolly when the lights come on */
.stage.dolly { animation: dolly 2.6s cubic-bezier(.2, .7, .1, 1) both; transform-origin: 46% 62%; }
@keyframes dolly { from { transform: scale(1.16); filter: brightness(.55); } 40% { filter: brightness(1); } to { transform: scale(1); } }

/* light beams + dust */
.fx { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.beam {
  position: absolute; top: calc(150 * 100% / 1008); height: calc(700 * 100% / 1008); width: calc(560 * 100% / 1792);
  left: calc((var(--bx) - 280) * 100% / 1792);
  background: linear-gradient(180deg, rgba(255, 228, 160, .30), rgba(255, 220, 150, .10) 45%, rgba(255, 220, 150, 0) 92%);
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen; filter: blur(calc(var(--u) * 6)); opacity: .75; animation: beam 7s ease-in-out infinite;
  transition: opacity 1s;
}
.beam:nth-child(2) { animation-delay: -2s; } .beam:nth-child(3) { animation-delay: -4.5s; }
@keyframes beam { 50% { opacity: .5; } }
.stage.is-night .beam, body.is-loading .beam { opacity: 0; animation: none; }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.fridge-glow { position: absolute; left: calc(250 * 100% / 1792); top: calc(300 * 100% / 1008); width: calc(260 * 100% / 1792); height: calc(560 * 100% / 1008); background: radial-gradient(ellipse at 20% 50%, rgba(200, 235, 255, .9), rgba(170, 220, 255, .25) 45%, transparent 70%); mix-blend-mode: screen; opacity: 0; }
.fridge-glow.on { animation: coldflash .9s ease-out; }
@keyframes coldflash { 20% { opacity: 1; } 100% { opacity: 0; } }

/* object reactions */
.obj.opening { animation: doorSwing .9s cubic-bezier(.3, 1.4, .5, 1); transform-origin: 6% 50%; }
@keyframes doorSwing { 0% { transform: perspective(900px) rotateY(0); } 35% { transform: perspective(900px) rotateY(-24deg); } 100% { transform: perspective(900px) rotateY(0); } }
.obj-cabinet.opening { transform-origin: 50% 0; animation: cabRattle .5s ease; }
@keyframes cabRattle { 25% { transform: rotate(-1.2deg); } 50% { transform: rotate(1deg); } 75% { transform: rotate(-.6deg); } }
.obj.lift { animation: lift .8s cubic-bezier(.3, 1.5, .5, 1); transform-origin: 20% 30%; }
@keyframes lift { 30% { transform: translateY(-6%) rotate(-10deg); } 100% { transform: none; } }
.tv-screen.poweron { animation: crt .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes crt { 0% { transform: scale(1, .02); filter: brightness(4); } 40% { transform: scale(1, 1.04); filter: brightness(1.8); } 100% { transform: scale(1, 1); filter: none; } }
.cal.torn { z-index: 4; background: #fffdf8; box-shadow: 0 10px 20px rgba(0,0,0,.25); pointer-events: none; }
.jar-coins.jiggle i { animation: jig .45s ease 2; }
@keyframes jig { 50% { transform: translateY(calc(var(--u) * -6)) rotate(8deg); } }
.steam.burst i { animation-duration: 1.1s; opacity: 1; }
.heat.burst { opacity: 1; animation: heatburst 1s ease-out; }
@keyframes heatburst { 0% { transform: scale(.4); } 30% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 0; } }

/* characters talking */
.char.talking .breathe { animation: talk .22s ease-in-out infinite alternate; }
@keyframes talk { from { transform: scale(1, 1) translateY(0); } to { transform: scale(1.008, 1.018) translateY(-.4%); } }
.bubble { font-family: var(--f-ui); letter-spacing: -.005em; }
.bubble-w { border-color: #6b2d4a; }
.bubble-h { border-color: #2e3a6b; }

/* gold foil finish on panels and the menu */
.drawer-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--gold); background-size: 200% 100%; animation: foil 8s ease-in-out infinite; z-index: 2; }
.drawer-card { transition: transform .62s cubic-bezier(.22, 1.25, .36, 1); }
.menu-board::after { content: ""; position: absolute; inset: -16px; border-radius: 10px; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(233, 196, 106, .55); }
.brand-name { background: linear-gradient(180deg, #fff6e6, #f3dcb0); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(2px 2px 0 #000); }

/* ---------- trading contests (calendar drawer) ---------- */
.contests { display: grid; gap: 14px; }
.contest { border: 2.5px solid var(--ink); border-radius: 16px; background: #fff; padding: 14px 16px 16px; display: grid; gap: 10px; box-shadow: 3px 4px 0 var(--ink); }
.contest header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.contest .venue { font: 800 .82rem/1 var(--f-ui); background: var(--ink); color: #fff6e6; border-radius: 99px; padding: 5px 10px; }
.contest .state { font: 700 .82rem/1 var(--f-receipt); color: #b8322b; }
.contest.live .state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fae5f; margin-right: 6px; box-shadow: 0 0 0 0 rgba(47,174,95,.6); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(47,174,95,0); } 100% { box-shadow: 0 0 0 0 rgba(47,174,95,0); } }
.contest.done { box-shadow: none; opacity: .85; }
.contest h4 { margin: 0; font: 400 1.3rem/1.1 var(--f-sign); }
.contest .pool { margin: 0; font-size: 1.05rem; }
.contest .pool b { font: 400 1.6rem/1 var(--f-sign); color: #b8862b; }
.contest p.small { margin: 0; }
.contest .note { background: #fff4d6; border-radius: 10px; padding: 8px 10px; font-weight: 700; }
.contest .prizes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.contest .prizes li { border: 2px dashed rgba(33,22,15,.3); border-radius: 10px; padding: 6px 4px; text-align: center; font: 700 .86rem/1.25 var(--f-receipt); }
.contest .prizes b { display: block; font: 400 1.05rem/1.1 var(--f-sign); }
.contest .countdown b { font-size: 1.6rem; }
.contest .board summary, .past > summary { cursor: pointer; font-weight: 800; padding: 4px 0; }
.contest .board ol { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-family: var(--f-receipt); font-size: .92rem; }
.contest .board li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 8px; }
.contest .board li:nth-child(-n+3) { background: #fff4d6; font-weight: 700; }
.contest .board li.muted { display: block; background: none; font-weight: 400; }
.contest .board .rk { font: 400 1rem/1 var(--f-sign); text-align: center; }
.contest .board a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.contest .board .pts { opacity: .75; }
.past { margin-top: 4px; }
.past .contests { margin-top: 10px; }

/* ---------- WCM Kitchen News: newsroom section, team badges, ticker ---------- */
:root { --news-navy: #16213d; --news-deep: #0d1527; --news-red: #e3343c; --news-yellow: #ffd23f; }
.tv-bug { position: absolute; z-index: 2; left: 6%; bottom: 7%; display: flex; align-items: center; gap: calc(var(--u) * 3); font: 800 calc(var(--u) * 8.5) / 1 var(--f-ui); color: #fff; background: rgba(13,21,39,.85); padding: calc(var(--u) * 2.5) calc(var(--u) * 4) calc(var(--u) * 2.5) calc(var(--u) * 2.5); border-radius: calc(var(--u) * 3); letter-spacing: .02em; pointer-events: none; }
.tv-bug i { font-style: normal; background: var(--news-red); border-radius: calc(var(--u) * 2); padding: calc(var(--u) * 1.5) calc(var(--u) * 3); }
.stage.is-night .tv-bug { opacity: .9; }

.news { position: relative; background: radial-gradient(ellipse 70% 90% at 15% 0%, #23345e 0%, var(--news-navy) 45%, var(--news-deep) 100%); color: #fff6e6; overflow: hidden; }
.news::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px); pointer-events: none; }
.ticker { position: relative; z-index: 2; display: flex; align-items: stretch; height: 44px; background: #0a1020; border-bottom: 3px solid var(--news-yellow); cursor: pointer; }
.ticker-tag { flex: none; display: grid; place-items: center; padding: 0 16px 0 18px; background: var(--news-yellow); color: var(--news-deep); font: 400 1.15rem/1 var(--f-sign); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 26px; }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent); }
.ticker-move { display: flex; width: max-content; animation: tickerRun var(--dur, 60s) linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-run { display: flex; align-items: center; white-space: nowrap; font: 700 .95rem/1 var(--f-ui); }
.tick { padding: 0 18px; }
.tick-dot { color: var(--news-red); font-size: .7rem; }
@keyframes tickerRun { to { transform: translateX(-50%); } }

.news-inner { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: 56px 40px 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; }
.news-head { align-self: start; display: grid; gap: 16px; justify-items: start; }
.news-bug { margin: 0; display: inline-flex; align-items: stretch; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.35); font: 800 .95rem/1 var(--f-ui); }
.news-bug .live { background: var(--news-red); color: #fff; padding: 8px 12px; display: flex; align-items: center; gap: 7px; }
.news-bug .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: liveBlink 1.4s ease-in-out infinite; }
.news-bug .name { background: #fff6e6; color: var(--news-deep); padding: 8px 12px; font: 400 1.05rem/1 var(--f-sign); }
@keyframes liveBlink { 50% { opacity: .25; } }
.news-title { margin: 6px 0 0; font: 400 clamp(2.2rem, 4.4vw, 3.6rem) / 1 var(--f-sign); color: #fff6e6; text-shadow: 0 4px 0 rgba(0,0,0,.35); max-width: 14ch; }
.news-sub { margin: 0; max-width: 46ch; font-size: 1.08rem; line-height: 1.5; color: rgba(255,246,230,.82); }
.news-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.news .btn-ghost { color: #fff6e6; border-color: rgba(255,246,230,.5); }
.news-fine { margin: 0; font-size: .9rem; color: rgba(255,246,230,.6); max-width: 46ch; }
.news-h3 { margin: 0 0 14px; font: 400 1.5rem/1 var(--f-sign); color: var(--news-yellow); }
.news-team { grid-column: 1 / -1; }

.editions { list-style: none; margin: 0; padding: 4px 4px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.editions li { scroll-snap-align: start; }
.edition { width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; display: grid; gap: 6px; }
.edition-art { position: relative; display: block; aspect-ratio: 9 / 14; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,246,230,.18); box-shadow: 0 10px 26px rgba(0,0,0,.4); transition: transform .25s var(--ease-out, ease), border-color .25s; }
.edition-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.32); }
.edition:hover .edition-art, .edition:focus-visible .edition-art { transform: translateY(-4px); border-color: var(--news-yellow); }
.edition-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(227,52,60,.92); display: grid; place-items: center; font-size: 1rem; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.edition-new { position: absolute; left: 8px; top: 8px; background: var(--news-yellow); color: var(--news-deep); font: 800 .75rem/1 var(--f-ui); padding: 5px 8px; border-radius: 6px; }
.edition-title { font: 400 1.02rem/1.15 var(--f-sign); }
.edition-sub { font-size: .84rem; color: rgba(255,246,230,.65); line-height: 1.3; }

.team { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.badge { position: relative; background: #fff6e6; color: var(--ink); border-radius: 16px; padding: 10px 10px 14px; box-shadow: 0 14px 30px rgba(0,0,0,.35); display: grid; gap: 10px; align-content: start; transform: rotate(var(--tilt, 0deg)); transition: transform .3s var(--ease-out, ease); }
.badge:nth-child(odd) { --tilt: -1.2deg; } .badge:nth-child(even) { --tilt: 1deg; }
.badge:hover { transform: rotate(0) translateY(-6px); }
.badge-clip { position: absolute; left: 50%; top: -14px; width: 44px; height: 22px; transform: translateX(-50%); border-radius: 6px 6px 3px 3px; background: linear-gradient(#e9eef5, #9aa4b2); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.badge-clip::after { content: ""; position: absolute; left: 50%; top: 7px; width: 22px; height: 6px; margin-left: -11px; border-radius: 4px; background: #4b5563; }
.badge-photo { position: relative; aspect-ratio: 480 / 560; border-radius: 10px; overflow: hidden; background: var(--news-navy); }
.badge-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-press { position: absolute; left: 8px; bottom: 8px; background: var(--news-red); color: #fff; font: 800 .7rem/1 var(--f-ui); padding: 4px 7px; border-radius: 5px; letter-spacing: .04em; }
.badge-voice { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #3b4a72 0%, var(--news-navy) 55%, var(--news-deep) 100%); }
.badge-voice svg { width: 56%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.badge-voice .on-air { position: absolute; top: 10px; right: 10px; background: #3a0d10; color: #ff6b6b; border: 2px solid #ff6b6b; border-radius: 6px; font: 800 .72rem/1 var(--f-ui); padding: 4px 7px; box-shadow: 0 0 12px rgba(255,80,80,.6); animation: liveBlink 2.4s ease-in-out infinite; }
.badge-text { display: grid; gap: 3px; padding: 0 4px; }
.badge-text b { font: 400 1.15rem/1.1 var(--f-sign); }
.badge-role { font: 700 .8rem/1.25 var(--f-receipt); color: #b8322b; }
.badge-text p { margin: 4px 0 0; font-size: .86rem; line-height: 1.38; color: var(--ink-2); }
.badge-text a { font-weight: 800; font-size: .85rem; color: var(--ink); }

/* compact team inside the TV drawer */
.team-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 16px; }
.team-compact .badge { box-shadow: 0 6px 14px rgba(0,0,0,.25); padding: 8px 8px 10px; }
.team-compact .badge-text b { font-size: 1rem; }
.team-compact .badge-role { font-size: .72rem; }

@media (max-width: 1100px) {
  .news-inner { grid-template-columns: minmax(0, 1fr); padding: 44px 24px 56px; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ticker { height: 38px; }
  .ticker-tag { font-size: .95rem; padding: 0 20px 0 12px; }
  .ticker-run { font-size: .85rem; }
  .news-inner { padding: 34px 16px 48px; gap: 30px; }
  .editions { grid-auto-columns: 42%; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .badge-text p { font-size: .8rem; }
  .team-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-move { animation: none; }
  .ticker-track { overflow-x: auto; }
  .ticker-move > .ticker-run + .ticker-run { display: none; }
  .badge, .badge:hover { transform: none; }
}

/* ---------- Hot Seat booking ---------- */
.hs-intro { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.hs-chair { width: 84px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.hs-lead { margin: 0 0 4px; font: 400 1.5rem/1.1 var(--f-sign); }
.hs-intro p { margin: 0; }
.hs-prev { background: rgba(255,255,255,.6); border: 2px dashed var(--ink); border-radius: 12px; padding: 10px 12px; margin: 0; }
.hs-form { gap: 14px; }
.hs-seg { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.hs-seg legend { font-weight: 800; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 10px 12px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.seg:hover { transform: translateY(-1px); }
.seg input { margin-top: 3px; accent-color: var(--curler); width: 18px; height: 18px; }
.seg b { display: block; font: 400 1.08rem/1.1 var(--f-sign); }
.seg small { display: block; font-size: .85rem; line-height: 1.3; opacity: .8; margin-top: 2px; }
.seg:has(input:checked) { box-shadow: 3px 4px 0 var(--ink); background: #fff4d6; }
.seg:has(input:focus-visible) { outline: 3px solid var(--curler); outline-offset: 2px; }
.hs-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hs-err { margin: 0; background: #fff0ee; border: 2px solid #b8322b; color: #8a1f17; border-radius: 10px; padding: 8px 12px; font-weight: 700; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.hs-form .btn-xl { justify-self: start; }
.hs-ticket { position: relative; background: #fffdf6; border: 2.5px solid var(--ink); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 4px 5px 0 var(--ink); animation: ticketIn .6s cubic-bezier(.3,1.5,.5,1) both; }
.hs-ticket::before, .hs-ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #ff8a2a; border: 2.5px solid var(--ink); }
.hs-ticket::before { left: -13px; clip-path: inset(0 0 0 50%); } .hs-ticket::after { right: -13px; clip-path: inset(0 50% 0 0); }
.hs-ticket-no { display: inline-block; font: 700 .85rem/1 var(--f-receipt); background: var(--ink); color: #fff6e6; padding: 6px 9px; border-radius: 6px; }
.hs-ticket-big { margin: 10px 0 6px; font: 400 1.6rem/1.1 var(--f-sign); }
.hs-ticket p { margin: 0; }
@keyframes ticketIn { from { transform: translateY(20px) rotate(-3deg) scale(.9); opacity: 0; } }

/* ---------- gold button, featured wall, badge ---------- */
.btn-gold { background: linear-gradient(100deg, #b8862b, #f3d27a 35%, #fff2c2 50%, #e9b949 70%, #b8862b); background-size: 200% 100%; color: var(--ink); border-color: var(--ink); }
.btn-gold:hover { background-position: 100% 0; }
.news-featured { grid-column: 1 / -1; }
.news-featured-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.news-featured-head .news-h3 { margin: 0; }
.badge-cta { display: flex; align-items: center; gap: 12px; background: rgba(255,246,230,.07); border: 2px solid rgba(255,210,63,.45); border-radius: 16px; padding: 8px 16px 8px 8px; color: #fff6e6; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s; }
.badge-cta:hover { border-color: var(--news-yellow); transform: translateY(-2px); }
.badge-cta img { width: 64px; height: 64px; }
.badge-cta b { display: block; font: 400 1.05rem/1.1 var(--f-sign); color: var(--news-yellow); }
.badge-cta span { font-size: .9rem; font-weight: 700; }
.featured { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feat { position: relative; background: rgba(255,246,230,.06); border: 2px solid rgba(255,246,230,.16); border-radius: 16px; padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.feat b { font: 400 1.3rem/1.1 var(--f-sign); color: #fff6e6; }
.feat p { margin: 0; font-size: .92rem; line-height: 1.4; color: rgba(255,246,230,.75); }
.feat-tag { justify-self: start; font: 800 .74rem/1 var(--f-ui); color: var(--news-deep); background: rgba(255,246,230,.85); padding: 5px 8px; border-radius: 6px; }
.feat-hot { border-color: #ff8a2a; background: linear-gradient(160deg, rgba(255,138,42,.22), rgba(255,246,230,.04)); }
.feat-hot .feat-tag { background: #ff8a2a; color: var(--ink); }
.feat-you { border-style: dashed; border-color: rgba(255,210,63,.6); }
.feat-you .feat-tag { background: var(--news-yellow); }
.feat-links { display: flex; gap: 14px; align-items: center; margin-top: 4px; font-weight: 800; font-size: .9rem; }
.feat-links a, .feat-links .linkish { color: var(--news-yellow); }
.feat-links .btn { font-size: .92rem; padding: .55em 1em; }
@media (max-width: 1100px) { .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .featured { grid-template-columns: minmax(0, 1fr); } }
.bdg { display: grid; gap: 8px; border-top: 2px dashed rgba(33,22,15,.2); padding-top: 14px; }
.bdg-show { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); }
.bdg-show span { display: grid; place-items: center; padding: 18px 10px; min-height: 120px; }
.bdg-show img { max-width: 100%; height: auto; }
.bdg-show .on-light { background: #fff; }
.bdg-show .on-dark { background: var(--news-deep); }
.bdg-code { font: .78rem/1.4 var(--f-receipt); resize: none; }
.flabel { font-weight: 800; font-size: .9rem; }

/* ---------- Meme Studio ---------- */
.studio-lead { margin-top: 0; }
.studio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.studio-preview { background: #0a1020; border-radius: 14px; padding: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.studio-preview canvas { width: 100%; height: auto; max-height: 56vh; object-fit: contain; border-radius: 6px; display: block; }
.studio-form { display: grid; gap: 12px; }
.studio-tpl { gap: 8px; }
.chip-lg { border: 2.5px solid var(--ink); background: #fff6e6; color: var(--ink); border-radius: 99px; padding: 8px 14px; font: 800 .92rem var(--f-ui); cursor: pointer; }
.chip-lg[aria-pressed="true"] { background: var(--news-yellow); box-shadow: 2px 3px 0 var(--ink); }
.cast-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cast { display: grid; gap: 4px; justify-items: center; background: rgba(255,246,230,.08); border: 2px solid transparent; border-radius: 12px; padding: 6px 4px; color: inherit; cursor: pointer; font: 700 .72rem/1.15 var(--f-ui); text-align: center; }
.cast img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; border-radius: 9px; }
.cast[aria-pressed="true"] { border-color: var(--news-yellow); background: rgba(255,210,63,.15); }
.studio-form select.input { appearance: auto; }
.studio-form input[type=range] { width: 100%; accent-color: var(--curler); }
.studio-size { align-items: center; gap: 12px; }
.studio-size .chips button { color: var(--ink); }
.studio-size .chips button[aria-pressed="true"] { background: var(--news-yellow); color: var(--ink); }
@media (min-width: 900px) {
  .drawer-card.wide-panel { width: min(1100px, 96vw); }
  .wide-panel .studio { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
  .wide-panel .studio-preview { position: sticky; top: 0; }
  .wide-panel .studio-preview canvas { max-height: 72vh; }
}

/* ---------------- trust chips: graduated + whitelisted ---------------- */
.trust { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.trust-chip { font: 800 .85rem/1 var(--f-ui); padding: 8px 12px; border-radius: 99px; border: 1.5px solid rgba(140,255,158,.45); background: rgba(63,191,127,.14); color: #c9ffd6; }
.trust-light .trust-chip { border: 2px solid var(--ink); background: #e6f7ec; color: #17562f; box-shadow: 2px 2px 0 var(--ink); }
.counter-link .ctag { display: inline-block; vertical-align: 2px; margin-left: 6px; font: 800 .7rem/1 var(--f-ui); font-style: normal; padding: 4px 7px; border-radius: 6px; background: #e6f7ec; color: #17562f; border: 1.5px solid #17562f; }

/* ---------------- the Hot Seat board ---------------- */
.news-board, .news-court { min-width: 0; }
.hsboard { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hsb { position: relative; display: grid; gap: 4px; padding: 14px 16px 14px; border-radius: 14px; background: rgba(255,246,230,.06); border: 2px solid rgba(255,246,230,.16); }
.hsb b { font: 400 1.25rem/1.1 var(--f-sign); color: #fff6e6; }
.hsb-who { font-weight: 800; font-size: .88rem; color: rgba(255,246,230,.8); }
.hsb p { margin: 2px 0 0; font-size: .92rem; line-height: 1.4; color: rgba(255,246,230,.75); }
.hsb-tag { justify-self: start; font: 800 .72rem/1 var(--f-ui); padding: 5px 8px; border-radius: 6px; letter-spacing: .02em; }
.hsb-aired .hsb-tag { background: var(--up); color: var(--ink); }
.hsb-invited { border-color: #ff8a2a; background: linear-gradient(160deg, rgba(255,138,42,.2), rgba(255,246,230,.04)); }
.hsb-invited .hsb-tag { background: #ff8a2a; color: var(--ink); }
.hsb-invited .hsb-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: 1px; animation: blink 1.2s steps(2) infinite; }
.hsb-open { border-style: dashed; border-color: rgba(255,210,63,.6); }
.hsb-open .hsb-tag { background: var(--news-yellow); color: var(--news-deep); }
.hsb-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; font-weight: 800; font-size: .9rem; }
.hsb-links a, .hsb-links .linkish { color: var(--news-yellow); }
.hsb-links .btn { font-size: .92rem; padding: .55em 1em; }
.hsb-light { background: #fffdf6; border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.hsb-light b { color: var(--ink); }
.hsb-light .hsb-who { color: var(--ink-2); }
.hsb-light p { color: #4a3a2e; }
.hsb-light .hsb-links a, .hsb-light .hsb-links .linkish { color: var(--curler-2); }
.hsb-light.hsb-invited { background: #fff1e2; }
.hsboard-wrap { margin-bottom: 6px; }
.hsboard-wrap .hsboard { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 10px; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------------- newsroom: court + verdict buttons ---------------- */
.news-court { display: grid; gap: 12px; align-content: start; }
.news-court .news-h3 { margin-bottom: 2px; }
.court-cta { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; text-align: left; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,246,230,.06); border: 2px solid rgba(255,246,230,.16); color: #fff6e6; transition: transform .15s, border-color .15s; }
.court-cta:hover, .court-cta:focus-visible { transform: translateY(-2px); border-color: var(--news-yellow); }
.court-cta img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: #2b3a63; border: 2px solid rgba(255,246,230,.4); }
.court-cta b { display: block; font: 400 1.15rem/1.15 var(--f-sign); color: var(--news-yellow); margin-bottom: 4px; }
.court-cta small { display: block; font-size: .9rem; line-height: 1.4; color: rgba(255,246,230,.78); }

/* ---------------- Supreme Court drawer ---------------- */
.skin-court { background: #f3e7cc; background-image: radial-gradient(ellipse at 50% 0, rgba(255,255,255,.6), transparent 60%), repeating-linear-gradient(90deg, rgba(120,80,30,.04) 0 2px, transparent 2px 9px); color: var(--ink); }
.skin-court .drawer-title { font-family: var(--f-sign); font-weight: 400; color: #7a1f1f; }
.court-lead { font-family: var(--f-chalk); font-size: 1.35rem; line-height: 1.35; margin: 4px 0 0; }
.cases { display: grid; gap: 14px; margin-top: 10px; }
.case { background: #fffaf0; border: 2.5px solid #5a3a1e; border-radius: 16px; padding: 14px 16px 16px; box-shadow: 4px 5px 0 #5a3a1e; display: grid; gap: 12px; }
.case header { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.case-no { font: 700 .95rem/1 var(--f-receipt); letter-spacing: .04em; text-transform: uppercase; color: #7a1f1f; }
.case-state { font: 800 .78rem/1 var(--f-ui); padding: 6px 9px; border-radius: 7px; background: #e9dcc0; }
.case-open .case-state { background: #e3343c; color: #fff; }
.case-closed .case-state { background: #2f9e5b; color: #fff; }
.case-body { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.case-img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3px solid #5a3a1e; }
.case-thumb { position: relative; width: 120px; aspect-ratio: 9 / 13; border-radius: 10px; overflow: hidden; border: 2.5px solid #5a3a1e; padding: 0; background: #2b1a10; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.case h4 { margin: 0; font: 400 1.35rem/1.1 var(--f-sign); }
.case-parties { margin: 4px 0 8px; font-weight: 800; }
.case-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .95rem; }
.case-facts dt { font-weight: 800; color: #7a5a3a; }
.case-facts dd { margin: 0; }
.case-jury { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 10px; border-top: 1.5px dashed rgba(90,58,30,.35); }
.case-jury > span:first-child { font: 700 .85rem/1 var(--f-receipt); text-transform: uppercase; color: #7a5a3a; margin-right: 4px; }
.juror { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 99px; background: #fff; border: 1.5px solid #5a3a1e; font-weight: 700; font-size: .88rem; }
.juror a { color: var(--ink); text-decoration: none; }
.juror small { font: 800 .68rem/1 var(--f-ui); text-transform: uppercase; color: #7a1f1f; }
.juror-lead { background: #ffe9a8; }
.court-form-wrap .field { display: grid; gap: 6px; margin-bottom: 10px; }
.court-form-wrap label { font-weight: 800; }
@media (max-width: 520px) { .case-body { grid-template-columns: 1fr; } .case-thumb { width: 100%; aspect-ratio: 16 / 9; } }

/* ---------------- the Wife's daily verdict ---------------- */
.verdict-big { display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; border: 2.5px solid var(--ink); background: #fffdf6; box-shadow: 4px 5px 0 var(--ink); margin: 6px 0 14px; }
.verdict-big b { font: 400 clamp(1.5rem, 4vw, 2.1rem)/1.1 var(--f-sign); }
.verdict-big span:last-child { font-family: var(--f-chalk); font-size: 1.3rem; }
.vb-label { justify-self: start; font: 800 .8rem/1 var(--f-ui); padding: 6px 9px; border-radius: 7px; color: #fff; }
.verdict-big.up .vb-label { background: #2f9e5b; }
.verdict-big.down .vb-label { background: #d4582c; }
