/* =========================================================================
   PARTY ANIMALS — 7 GAMES: ANIMATED LOGOS, HUB CARDS, TV STAGES & MOBILE
   ========================================================================= */

/* ---- SHARED ANIMATED LOGO SIZING ---- */
.pg-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}
.pg-logo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.pg-logo.card { width: 98%; max-width: 100%; }
.pg-logo.card svg { max-height: 92px; width: 100%; }
.pg-logo.join { width: min(260px, 76vw); }
.pg-logo.join svg { max-height: 82px; width: 100%; }
.pg-logo.hero { width: clamp(300px, 30vw, 430px); }
.pg-logo.sm   { width: clamp(148px, 13.5vw, 204px); }

/* 1. UNFILTERED LOGO ANIMATION (Scratchy Speech Bubble + Live Censor Swaps) */
.pg-logo-unfiltered .unf-bubble {
  transform-box: fill-box;
  transform-origin: center;
  animation: unfBubbleJitter 3.4s ease-in-out infinite;
}
.pg-logo-unfiltered .unf-ch-orig {
  animation: unfGlyphShow var(--ud, 3s) steps(1, end) var(--udel, 0s) infinite;
}
.pg-logo-unfiltered .unf-ch-sym {
  opacity: 0;
  animation: unfSymSwap var(--ud, 3s) steps(1, end) var(--udel, 0s) infinite;
}
@keyframes unfBubbleJitter {
  0%, 100% { transform: rotate(-0.8deg) scale(1); }
  50%      { transform: rotate(0.9deg) scale(1.015); }
}
@keyframes unfGlyphShow {
  0%, 75%  { opacity: 1; }
  76%, 98% { opacity: 0; }
  99%, 100% { opacity: 1; }
}
@keyframes unfSymSwap {
  0%, 75%  { opacity: 0; }
  76%, 98% { opacity: 1; }
  99%, 100% { opacity: 0; }
}

/* 2. FREQUENCY LOGO ANIMATION (Large Clean Game-Show Dial + Crisp Wordmark) */
.pg-logo-frequency.card svg {
  max-height: 112px;
  width: 100%;
}
.game-card.frequency-card .game-card-art {
  gap: 3px;
  padding: 0;
}
.pg-logo-frequency .fq-logo-needle {
  transform-origin: 190px 80px;
  animation: fqNeedleSweep 3.4s ease-in-out infinite;
}
@keyframes fqNeedleSweep {
  0%, 100% { transform: rotate(-46deg); }
  50% { transform: rotate(46deg); }
}

/* 3. BUMFUZZLE LOGO ANIMATION (Sunday Newspaper Crossword Tiles) */
.pg-logo-bluffalo .bfz-tile {
  transform-box: fill-box;
  transform-origin: center;
  animation: bfzTilePop 3.2s ease-in-out var(--bd, 0s) infinite;
}
@keyframes bfzTilePop {
  0%, 72%, 100% { transform: translateY(0) scale(1); }
  84%           { transform: translateY(-2.5px) scale(1.04); }
}

/* 4. SKETCHY LOGO ANIMATION (Charcoal Skateboarder Duck Scribble Style) */
.pg-logo-sketchy .sk-doodle {
  transform-box: fill-box;
  transform-origin: 50% 82%;
  animation: skDuckCruise 2.8s ease-in-out infinite;
}
.pg-logo-sketchy .sk-stroke-ch {
  transform-box: fill-box;
  transform-origin: center;
  animation: skSketchJitter 2.8s ease-in-out var(--skd, 0s) infinite;
}
.pg-logo-sketchy .sk-scribble {
  stroke-dasharray: 290;
  animation: skDrawLine 3.6s ease-in-out infinite;
}
@keyframes skDuckCruise {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  50%      { transform: translate(3px, -3px) rotate(2.5deg); }
}
@keyframes skSketchJitter {
  0%, 100% { transform: translateY(0) rotate(-0.8deg); }
  50%      { transform: translateY(-2.2px) rotate(1.1deg); }
}
@keyframes skDrawLine {
  0%        { stroke-dashoffset: 290; }
  42%, 86%  { stroke-dashoffset: 0; }
  100%      { stroke-dashoffset: -290; }
}

/* 5. NPC PIXEL LOGO ANIMATION */
.pg-logo-npc .npc-quest {
  animation: npcQuestBob 1.7s steps(4, end) infinite;
}
.pg-logo-npc .npc-cursor {
  animation: npcCursorBlink 1.1s steps(2, end) infinite;
}
@keyframes npcQuestBob {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-6px); }
}
@keyframes npcCursorBlink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}

/* 6. SPY (HAND-DRAWN FEDORA + MAGNIFYING GLASS + ANIMATED ALERT SPARKS) */
.pg-logo-spy.card,
.pg-logo-spy.hero,
.pg-logo-spy.join,
.pg-logo-spy.sm {
  width: auto;
}
.pg-logo-spy .spy-art-wrap {
  position: relative;
  display: inline-block;
  aspect-ratio: 1189 / 1102;
  height: clamp(108px, 14.2vh, 134px);
  animation: spyNoirTilt 3.6s ease-in-out infinite;
}
.pg-logo-spy.card .spy-art-wrap {
  margin: -2px 0 -2px;
}
.game-card.shady-card .game-card-art {
  gap: 3px;
  padding: 0;
}
.pg-logo-spy.join .spy-art-wrap {
  height: clamp(94px, 14vh, 118px);
}
.pg-logo-spy.hero .spy-art-wrap {
  height: clamp(134px, 18.5vh, 172px);
}
.pg-logo-spy.sm .spy-art-wrap {
  height: clamp(46px, 6.2vh, 62px);
}
.pg-logo-spy .spy-art-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}
.pg-logo-spy .spy-art-sparks {
  transform-origin: 79% 30%;
  animation: spyAlertBurst 1.8s cubic-bezier(0.22, 1.35, 0.36, 1) infinite;
}
@keyframes spyNoirTilt {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50%      { transform: translateY(-2.5px) rotate(1.4deg); }
}
@keyframes spyAlertBurst {
  0%, 100% { transform: scale(0.84) translate(-2%, 2%); opacity: 0.45; }
  22%      { transform: scale(1.16) translate(3%, -3%); opacity: 1; }
  38%      { transform: scale(0.95) translate(0%, 0%); opacity: 0.85; }
  54%      { transform: scale(1.12) translate(2.5%, -2.5%); opacity: 1; }
  76%      { transform: scale(0.88) translate(-1.5%, 1.5%); opacity: 0.55; }
}

/* 7. COLORBLIND (CRAYON CELEBRATION + ANIMATED RAINBOW DRAW & CELEBRATION SPARKS) */
.pg-logo-colorblind.card,
.pg-logo-colorblind.hero,
.pg-logo-colorblind.join,
.pg-logo-colorblind.sm {
  width: auto;
}
.pg-logo-colorblind .cb-art-wrap {
  position: relative;
  display: inline-block;
  aspect-ratio: 1538 / 1050;
  height: clamp(108px, 14.2vh, 134px);
}
.pg-logo-colorblind.card .cb-art-wrap {
  margin: -2px 0 -2px;
}
.game-card.oneclue-card .game-card-art {
  gap: 3px;
  padding: 0;
}
.pg-logo-colorblind.join .cb-art-wrap {
  height: clamp(98px, 14.5vh, 124px);
}
.pg-logo-colorblind.hero .cb-art-wrap {
  height: clamp(138px, 19.5vh, 182px);
}
.pg-logo-colorblind.sm .cb-art-wrap {
  height: clamp(46px, 6.2vh, 62px);
}
.pg-logo-colorblind .cb-art-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}
.pg-logo-colorblind .cb-art-rainbow {
  transform-origin: 48% 36%;
  animation: cbRainbowDraw 4.2s ease-in-out infinite;
}
.pg-logo-colorblind .cb-art-sparks {
  transform-origin: 42% 24%;
  animation: cbSparksPop 1.9s cubic-bezier(0.22, 1.35, 0.36, 1) infinite;
}
@keyframes cbRainbowDraw {
  0%        { clip-path: inset(0 60% 0 0); transform: scale(0.97); opacity: 0.7; }
  28%, 82%  { clip-path: inset(0 0% 0 0); transform: scale(1); opacity: 1; }
  92%       { clip-path: inset(0 0% 0 0); transform: scale(1.02); opacity: 1; }
  100%      { clip-path: inset(0 60% 0 0); transform: scale(0.97); opacity: 0.7; }
}
@keyframes cbSparksPop {
  0%, 100% { transform: scale(0.86); opacity: 0.45; }
  28%      { transform: scale(1.1); opacity: 1; }
  55%      { transform: scale(0.96); opacity: 0.85; }
  75%      { transform: scale(1.08); opacity: 1; }
}

/* ---- DISTINCT PHYSICAL 3D STACKED + HERO BOXES FOR ALL 8 GAMES ---- */
.disorder-card {
  --box-border: #5b21b6;
  --box-top-bg: linear-gradient(180deg, #c4b5fd 0%, #8b5cf6 100%);
  --box-cover-bg: linear-gradient(160deg, #ffffff 0%, #ede9fe 100%);
  --box-spine-bg: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 65%, #5b21b6 100%);
  --box-spine-side-bg: linear-gradient(180deg, #5b21b6 0%, #3b0764 100%);
  --box-spine-fg: #ffffff;
  --box-lid-ink: #4c1d95;
  --card-hover-accent: #8b2cf5;
  --card-hover-ink: #140b29;
}
.disorder-card .jb-hero-front {
  background: linear-gradient(165deg, #ffffff 0%, #f7f2ff 100%);
}

.unfiltered-card {
  --box-border: #111115;
  --box-top-bg: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  --box-cover-bg: #ffffff;
  --box-spine-bg: linear-gradient(180deg, #ef4444 0%, #dc2626 62%, #b91c1c 100%);
  --box-spine-side-bg: linear-gradient(180deg, #991b1b 0%, #691010 100%);
  --box-spine-fg: #ffffff;
  --box-lid-ink: #111115;
  --box-font: 'Comic Relief', 'Patrick Hand', var(--font-display);
  --card-hover-accent: #dc2626;
  --card-hover-ink: #111115;
}
.unfiltered-card .jb-hero-front,
.unfiltered-card .jb-face-top {
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(17, 17, 21, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 21, 0.055) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' fill='none'%3E%3Cg stroke='%23111115' stroke-width='2' stroke-linecap='round' opacity='0.09'%3E%3Cpath d='M18 28 L34 20 M20 34 L36 26 M24 40 L34 34'/%3E%3Cpath d='M178 36 L194 26 M184 22 L188 40 M176 28 L196 34'/%3E%3Cpath d='M22 182 L30 166 L36 184 L44 168'/%3E%3Cpath d='M170 176 L194 172 M176 184 L190 181 M180 165 L186 190'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 36px 36px, 36px 36px, 220px 220px;
  color: #111115;
}
.unfiltered-card .game-slot-pill {
  background: #111115;
  color: #ffffff;
  border-radius: 4px 8px 5px 6px;
  font-family: 'Comic Relief', 'Patrick Hand', var(--font-display);
}
.unfiltered-card .game-meta-pill {
  background: #ffffff;
  color: #111115;
  border: 2px solid #111115;
  border-radius: 5px 8px 6px 4px;
  font-family: 'Comic Relief', 'Patrick Hand', var(--font-display);
}
.unfiltered-card .game-card-tagline {
  display: none;
}
.unfiltered-card .unfiltered-cta {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.28);
}

.frequency-card {
  --box-border: #0e7490;
  --box-top-bg: linear-gradient(180deg, #67e8f9 0%, #06b6d4 100%);
  --box-cover-bg: linear-gradient(155deg, #ecfeff 0%, #ffffff 55%, #fff1f5 100%);
  --box-spine-bg: linear-gradient(180deg, #06b6d4 0%, #0e7490 65%, #164e63 100%);
  --box-spine-side-bg: linear-gradient(180deg, #0f172a 0%, #082f49 100%);
  --box-spine-fg: #ecfeff;
  --box-lid-ink: #0f172a;
  --card-hover-accent: #06b6d4;
  --card-hover-ink: #0f172a;
}
.frequency-card .jb-hero-front {
  background: linear-gradient(155deg, #f0fdff 0%, #ffffff 55%, #fff1f5 100%);
}
.frequency-card .game-slot-pill { background: #0f172a; color: #22d3ee; }
.frequency-card .frequency-cta { background: linear-gradient(90deg, #06b6d4, #8b5cf6); color: #ffffff; box-shadow: 0 8px 18px rgba(6, 182, 212, 0.28); }

.bluffalo-card {
  --box-border: #111111;
  --box-top-bg: linear-gradient(180deg, #52525b 0%, #27272a 100%);
  --box-cover-bg: #ffffff;
  --box-spine-bg: linear-gradient(180deg, #27272a 0%, #18181b 65%, #09090b 100%);
  --box-spine-side-bg: linear-gradient(180deg, #111111 0%, #000000 100%);
  --box-spine-fg: #fafafa;
  --box-lid-ink: #111111;
  --box-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --card-hover-accent: #d4d4d8;
  --card-hover-ink: #111111;
}
.bluffalo-card .jb-hero-front,
.bluffalo-card .jb-face-top {
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.065) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bluffalo-card .jb-spine-title { font-size: clamp(14px, 1.36vw, 18px); letter-spacing: 0.02em; }
.bluffalo-card .game-slot-pill { background: #111111; color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.bluffalo-card .game-meta-pill { background: #f4f4f5; color: #111111; border: 1.5px solid #111111; }
.bluffalo-card .game-card-tagline { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 600; color: #27272a; }
.bluffalo-card .bluffalo-cta { background: #111111; color: #ffffff; box-shadow: 0 8px 18px rgba(17, 17, 17, 0.24); }

.sketchy-card {
  --box-border: #1c1917;
  --box-top-bg: linear-gradient(180deg, #fef08a 0%, #facc15 100%);
  --box-cover-bg: #faf5eb;
  --box-spine-bg: linear-gradient(180deg, #fde047 0%, #eab308 65%, #ca8a04 100%);
  --box-spine-side-bg: linear-gradient(180deg, #ca8a04 0%, #854d0e 100%);
  --box-spine-fg: #1c1917;
  --box-lid-ink: #1c1917;
  --box-font: 'Patrick Hand', 'Fredoka', var(--font-display);
  --card-hover-accent: #facc15;
  --card-hover-ink: #1c1917;
}
.sketchy-card .jb-hero-front,
.sketchy-card .jb-face-top {
  background-color: #faf5eb;
  background-image: radial-gradient(rgba(28, 25, 23, 0.12) 1.1px, transparent 1.1px);
  background-size: 14px 14px;
}
.sketchy-card .jb-spine-vol,
.sketchy-card .jb-spine-meta { background: rgba(28, 25, 23, 0.14); }
.sketchy-card .game-slot-pill { background: #fde047; color: #1c1917; }
.sketchy-card .sketchy-cta { background: #1c1917; color: #fffdf5; box-shadow: 0 8px 18px rgba(28, 25, 23, 0.24); }

.mooove-card {
  --box-border: #4ade80;
  --box-top-bg: linear-gradient(180deg, #86efac 0%, #22c55e 100%);
  --box-cover-bg: #090d1a;
  --box-spine-bg: linear-gradient(180deg, #16a34a 0%, #15803d 65%, #052e16 100%);
  --box-spine-side-bg: linear-gradient(180deg, #052e16 0%, #02140a 100%);
  --box-spine-fg: #dcfce7;
  --box-lid-ink: #4ade80;
  --box-font: 'Oswald', var(--font-display);
  --card-hover-accent: #4ade80;
  --card-hover-ink: #020617;
  --card-hover-border: #4ade80;
}
.mooove-card .jb-hero-front,
.mooove-card .jb-face-top {
  background-color: #090d1a;
  background-image:
    repeating-linear-gradient(0deg, rgba(74, 222, 128, 0.05) 0px, rgba(74, 222, 128, 0.05) 2px, transparent 2px, transparent 6px),
    radial-gradient(rgba(74, 222, 128, 0.16) 1.5px, transparent 1.5px);
  background-size: 100% 6px, 22px 22px;
  color: #ecfdf5;
}
.mooove-card .game-slot-pill { background: #facc15; color: #020617; border-radius: 3px; font-family: 'Oswald', sans-serif; font-weight: 700; }
.mooove-card .game-meta-pill { background: rgba(74, 222, 128, 0.16); color: #4ade80; border-radius: 3px; font-family: 'Oswald', sans-serif; font-weight: 600; }
.mooove-card .game-card-tagline { font-family: 'Oswald', sans-serif; font-size: clamp(13px, 1.15vw, 16px); color: #cbd5e1; }
.mooove-card .mooove-cta { background: #4ade80; color: #020617; box-shadow: 0 8px 18px rgba(74, 222, 128, 0.28); }

.shady-card {
  --box-border: #111111;
  --box-top-bg: linear-gradient(180deg, #f97316 0%, #dc2626 100%);
  --box-cover-bg: #efede8;
  --box-spine-bg: linear-gradient(90deg, #dc2626 0%, #dc2626 16%, #1c1917 16%, #0c0a09 100%);
  --box-spine-side-bg: linear-gradient(180deg, #991b1b 0%, #450a0a 100%);
  --box-spine-fg: #f5f5f4;
  --box-lid-ink: #111111;
  --card-hover-accent: #e64928;
  --card-hover-ink: #111111;
}
.shady-card .jb-hero-front,
.shady-card .jb-face-top {
  background-color: #efede8;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.95) 0%, rgba(242, 240, 234, 0.85) 44%, rgba(214, 210, 200, 0.95) 100%),
    repeating-radial-gradient(circle at 50% 45%, transparent 0 22px, rgba(17, 17, 17, 0.055) 22px 23px);
  color: #111111;
}
.shady-card .game-slot-pill { background: #111111; color: #ffffff; }
.shady-card .game-meta-pill { background: #ffffff; color: #111111; border: 2px solid #111111; }
.shady-card .game-card-tagline { color: #111111; font-weight: 800; }
.shady-card .shady-cta { background: #111111; color: #ffffff; box-shadow: 0 8px 18px rgba(17, 17, 17, 0.24); }

.oneclue-card {
  --box-border: #0d1117;
  --box-top-bg: linear-gradient(90deg, #ef4444 0%, #f59e0b 25%, #22c55e 50%, #3b82f6 75%, #a855f7 100%);
  --box-cover-bg: #ffffff;
  --box-spine-bg: linear-gradient(180deg, #2563eb 0%, #1d4ed8 65%, #1e3a8a 100%);
  --box-spine-side-bg: linear-gradient(90deg, #ef4444 0%, #f59e0b 25%, #22c55e 50%, #3b82f6 75%, #a855f7 100%);
  --box-spine-fg: #ffffff;
  --box-lid-ink: #0d1117;
  --card-hover-accent: #2563eb;
  --card-hover-ink: #0d1117;
}
.oneclue-card .jb-hero-front {
  background: #ffffff;
}
.oneclue-card .jb-face-front::before {
  height: 4px;
  bottom: 0;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 25%, #22c55e 50%, #3b82f6 75%, #a855f7 100%);
}
.oneclue-card .game-slot-pill { background: #0d1117; color: #ffffff; box-shadow: -2px 0 0 #ff1e42, 2px 0 0 #00b8ff; }
.oneclue-card .game-meta-pill { background: #ffffff; color: #0d1117; border: 1.5px solid #0d1117; }
.oneclue-card .oneclue-cta { background: #0d1117; color: #ffffff; box-shadow: 0 8px 18px rgba(13, 17, 23, 0.24); }

.phony-card {
  --box-border: #141210;
  --box-top-bg: linear-gradient(90deg, #D42A2A 0%, #D42A2A 25%, #F7C625 25%, #F7C625 50%, #00A7C4 50%, #00A7C4 75%, #E63E8C 75%, #E63E8C 100%);
  --box-cover-bg: #F6EFE0;
  --box-spine-bg: linear-gradient(180deg, #D42A2A 0%, #A91E1E 62%, #141210 100%);
  --box-spine-side-bg: linear-gradient(180deg, #F7C625 0%, #E63E8C 100%);
  --box-spine-fg: #FFFDF6;
  --box-lid-ink: #141210;
  --card-hover-accent: #D42A2A;
  --card-hover-ink: #141210;
}
.phony-card .jb-hero-front,
.phony-card .jb-face-top {
  background-color: #F6EFE0;
  background-image: radial-gradient(rgba(20, 18, 16, 0.09) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  color: #141210;
}
.phony-card .game-slot-pill {
  background: #D42A2A;
  color: #FFFDF6;
  border: 2px solid #141210;
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
}
.phony-card .game-meta-pill {
  background: #F7C625;
  color: #141210;
  border: 2px solid #141210;
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
}
.phony-card .game-card-tagline {
  color: #141210;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
}
.phony-card .phony-cta {
  background: #D42A2A;
  color: #FFFDF6;
  border: 3px solid #141210;
  border-radius: 6px;
  box-shadow: 4px 4px 0 #141210;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.05em;
}

/* ---- PER-GAME TV BODY ACCENT BACKGROUNDS ---- */
body[data-game="unfiltered"] { background-image: linear-gradient(165deg, #f8f7f5 0%, #f1efe9 100%); }
body[data-game="frequency"]  { background-image: linear-gradient(165deg, #f3fcff 0%, #f7f4ff 55%, #fff5f8 100%); }
body[data-game="bluffalo"] {
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
}
body[data-game="sketchy"]    {
  background-color: #fffdf5;
  background-image: radial-gradient(rgba(28, 25, 23, 0.12) 1.3px, transparent 1.3px);
  background-size: 20px 20px;
}
body[data-game="mooove"] {
  --font-display: 'Oswald', 'Outfit', sans-serif;
  --font-body: 'Oswald', 'Plus Jakarta Sans', sans-serif;
  background-color: #090d1a;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0px, rgba(255, 255, 255, 0.028) 2px, transparent 2px, transparent 6px),
    radial-gradient(rgba(74, 222, 128, 0.16) 1.5px, transparent 1.5px);
  background-size: 100% 6px, 36px 36px;
  color: #f8fafc;
  font-family: 'Oswald', 'Outfit', sans-serif;
}
body[data-game="shady"] {
  background-color: #f2f0eb;
  background-image:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96) 0%, rgba(244, 242, 237, 0.88) 48%, rgba(220, 217, 209, 0.94) 100%),
    repeating-radial-gradient(circle at 50% 34%, transparent 0 48px, rgba(17, 17, 17, 0.038) 48px 49px);
  color: #111111;
}
body[data-game="oneclue"] {
  background-color: #fffdf7;
  background-image:
    radial-gradient(rgba(17, 17, 21, 0.055) 1.2px, transparent 1.2px),
    radial-gradient(circle at 14% 12%, rgba(254, 240, 138, 0.24) 0%, transparent 42%),
    radial-gradient(circle at 86% 88%, rgba(191, 219, 254, 0.24) 0%, transparent 44%);
  background-size: 26px 26px, 100% 100%, 100% 100%;
  color: #111115;
}
body[data-game="oneclue"] .lobby-footer {
  margin-bottom: 34px;
}
body[data-game="oneclue"] .round-pill {
  background: #111115;
  color: #fef08a;
  border: 2.5px solid #111115;
  box-shadow: 0 4px 0 #ff5a79;
}
body[data-game="oneclue"] .purple-bar {
  background: linear-gradient(90deg, #ff5a79, #facc15, #22c55e, #38bdf8);
}
body[data-game="oneclue"] .standing-row.leader .standing-rank,
body[data-game="oneclue"] .stage-cta .btn-purple {
  background: #111115;
  color: #ffffff;
  border: 2.5px solid #111115;
  box-shadow: 0 5px 0 #ff5a79;
}
body[data-game="oneclue"] .standing-row.leader .standing-leader-tag {
  background: #fef08a;
  color: #111115;
  border: 1.5px solid #111115;
}
body[data-game="oneclue"] .standing-row.leader .standing-pts {
  color: #111115;
}

/* ---- LOBBY PREVIEW WIDGETS FOR ALL 7 PARTY GAMES (BIG TV SCALE) ---- */
.pg-lobby-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.unf-mini-black {
  background: #111115;
  color: #ffffff;
  border-radius: 18px;
  padding: 18px 18px;
  width: clamp(176px, 14.5vw, 222px);
  aspect-ratio: 5 / 7;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.24;
  box-shadow: 0 14px 28px rgba(17, 17, 21, 0.22);
}
.unf-blank { color: #ef4444; text-decoration: underline; }
.unf-mini-fan { display: flex; gap: 16px; align-items: stretch; }
.unf-mini-white {
  background: #ffffff;
  border: 2.5px solid #111115;
  border-radius: 18px;
  padding: 18px 18px;
  width: clamp(176px, 14.5vw, 222px);
  aspect-ratio: 5 / 7;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.24;
  color: #111115;
  box-shadow: 0 10px 20px rgba(17, 17, 21, 0.1);
}
.unf-mini-white.f1 { transform: rotate(-3deg); }
.unf-mini-white.f2 { transform: translateY(-8px); border-color: #dc2626; box-shadow: 0 12px 24px rgba(220, 38, 38, 0.22); }
.unf-mini-white.f3 { transform: rotate(3deg); }

.fq-preview {
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.2vh, 14px);
  width: 100%;
}
.fq-preview-clue {
  background: #0f172a;
  color: #06b6d4;
  padding: 7px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}
.fq-preview-dial-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(6px, 1vw, 14px);
  width: min(820px, 94%);
}
.fq-preview-side {
  flex-shrink: 0;
  margin-bottom: clamp(22px, 3vh, 34px);
  font-size: clamp(14px, 1.3vw, 18px);
  padding: 8px 18px;
}
.fq-preview .fq-dial-svg.compact {
  width: min(510px, 48vw);
  max-height: 39vh;
}
.fq-pin-donut {
  filter: drop-shadow(0 5px 8px rgba(15, 23, 42, 0.25));
}

/* Frequency lobby join buttons: static slot, single black orbiting line with localized sound-wave ripple bursts */
.fq-wave-empty,
.fq-wave-empty .fq-wave-btn {
  animation: none !important;
  transform: none;
}
.fq-wave-empty .fq-wave-btn {
  color: #111111;
}
.fq-wave-empty .fq-wave-line {
  transform-origin: 50px 50px;
  animation: fqRippleOrbit 5.6s linear var(--fq-orbit-delay, 0s) infinite;
}
.fq-wave-empty .fq-wave-plus {
  color: rgba(17, 17, 17, 0.56);
  font-weight: 800;
}
.fq-wave-empty .fq-wave-join {
  color: rgba(17, 17, 17, 0.58);
}
.fq-wave-empty:hover .fq-wave-btn:not(:disabled) .fq-wave-ring-svg {
  transform: scale(1.07);
}
.fq-wave-empty:hover .fq-wave-plus,
.fq-wave-empty:hover .fq-wave-join {
  color: #111111;
}
@keyframes fqRippleOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.blf-word-card {
  background: #ffffff;
  color: #111111;
  border: 3.5px solid #111111;
  border-radius: 10px;
  padding: 20px 38px 22px;
  text-align: center;
  box-shadow: 8px 8px 0 #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.blf-news-mast {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid #111111;
  padding-bottom: 6px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #111111;
  text-transform: uppercase;
}
.blf-xw-row {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  border: 3px solid #111111;
  background: #111111;
  gap: 3px;
  box-shadow: 5px 5px 0 #111111;
}
.blf-xw-cell {
  position: relative;
  width: clamp(50px, 5.2vw, 68px);
  height: clamp(50px, 5.2vw, 68px);
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}
.blf-xw-cell.is-black { background: #111111; width: 22px; }
.blf-xw-cell.is-blank { background: #ffffff; }
.blf-xw-cell.is-hint-revealed {
  background: #111111;
  color: #ffffff;
  animation: blfTileRevealPop 360ms cubic-bezier(0.22, 1.35, 0.36, 1) both;
}
.blf-xw-cell.is-hint-revealed .blf-xw-num { color: rgba(255, 255, 255, 0.78); }
@keyframes blfTileRevealPop {
  0% { transform: scale(0.76); opacity: 0.4; }
  65% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.blf-xw-num {
  position: absolute;
  top: 3px;
  left: 5px;
  font-style: normal;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  color: #111111;
}
.blf-xw-row.preview .blf-xw-cell { width: 54px; height: 54px; font-size: 30px; }
.blf-xw-row.hero-blanks .blf-xw-cell,
.blf-xw-row.guess-blanks .blf-xw-cell,
.blf-xw-row.reveal-word .blf-xw-cell {
  width: clamp(68px, 6.8vw, 94px);
  height: clamp(68px, 6.8vw, 94px);
  font-size: clamp(38px, 4vw, 56px);
}
.blf-xw-row.guess-blanks .blf-xw-num,
.blf-xw-row.hero-blanks .blf-xw-num,
.blf-xw-row.reveal-word .blf-xw-num {
  font-size: 13px;
  top: 5px;
  left: 7px;
}
.blf-xw-row.reveal-word .blf-xw-cell {
  animation: blfTileRevealPop 320ms cubic-bezier(0.22, 1.25, 0.36, 1) var(--xd, 0ms) both;
}
.blf-preview-clue {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(19px, 1.7vw, 24px);
  color: #111111;
  letter-spacing: -0.01em;
}
.blf-xw-row.compact .blf-xw-cell { width: clamp(38px, 3.8vw, 52px); height: clamp(38px, 3.8vw, 52px); font-size: clamp(22px, 2.2vw, 32px); }
.blf-xw-row.sm .blf-xw-cell { width: 34px; height: 34px; font-size: 20px; }
.blf-xw-row.sm .blf-xw-num { font-size: 9px; top: 2px; left: 3px; }
.blf-xw-row.tiny { border-width: 2px; gap: 2px; box-shadow: 3px 3px 0 #111111; }
.blf-xw-row.tiny .blf-xw-cell { width: 22px; height: 22px; font-size: 13px; }
.blf-xw-row.tiny .blf-xw-num { font-size: 7px; top: 1px; left: 2px; }
.blf-sub { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(15px, 1.3vw, 18px); color: #3f3f46; font-weight: 600; }

.sk-preview { gap: 18px; }
.sk-preview-step {
  background: #ffffff;
  border: 3.5px solid #18102b;
  border-radius: 22px;
  padding: 18px 24px;
  text-align: center;
  min-width: 245px;
  box-shadow: 6px 6px 0 #18102b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.sk-preview-step span { font-size: 14px; font-weight: 900; letter-spacing: 0.12em; color: #007aff; }
.sk-preview-step strong { font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 26px); color: #1c1917; line-height: 1.18; }
.sk-preview-sub { font-style: normal; font-size: 14px; font-weight: 800; color: #64748b; }
.sk-mini-svg { width: 210px; height: 144px; border-radius: 14px; border: 2px solid #cbd5e1; margin: 0 auto; }
.sk-preview-arrow { font-family: var(--font-display); font-weight: 900; font-size: 38px; color: #007aff; }

.npc-chatter-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
}
.npc-chatter-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(860px, 84vw);
  min-height: 118px;
  padding: 20px 38px 22px;
  background: rgba(9, 13, 26, 0.92);
  border: 3px solid rgba(74, 222, 128, 0.72);
  border-radius: 0;
  box-shadow: 6px 6px 0 #020617, inset 0 0 0 2px rgba(74, 222, 128, 0.14);
  cursor: pointer;
  text-align: center;
  transition: border-color 140ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.npc-chatter-box:hover {
  border-color: #facc15;
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 #020617, inset 0 0 0 2px rgba(250, 204, 21, 0.18);
}
.npc-chatter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #facc15;
  text-shadow: 2px 2px 0 #020617;
}
.npc-chatter-ex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #facc15;
  color: #020617;
  font-style: normal;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  box-shadow: 2px 2px 0 #020617;
}
.npc-chatter-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
}
.npc-chatter-caret {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  color: #4ade80;
  flex-shrink: 0;
  animation: npcCursorBlink 1.1s ease-in-out infinite;
}
.npc-chatter-quote {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.24;
  color: #f8fafc;
  text-shadow: 3px 3px 0 #020617;
  text-wrap: balance;
}
.npc-chatter-quote.is-swap {
  animation: npcQuoteSwap 240ms ease-out both;
}
@keyframes npcQuoteSwap {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
.npc-chatter-next {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  color: #4ade80;
  opacity: 0.85;
  animation: npcQuestBob 1.3s ease-in-out infinite;
}

/* ---- SHARED TV STAGE HELPERS ---- */
.stage-hint-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(17, 17, 21, 0.06);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.4vw, 20px);
}

/* ---- 1. UNFILTERED TV STAGE ---- */
.unf-pill { background: #111115 !important; color: #ffffff !important; }
.unf-pill-double { background: #dc2626 !important; color: #ffffff !important; box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3); }
.unf-pill-triple { background: linear-gradient(90deg, #dc2626, #991b1b) !important; color: #ffffff !important; box-shadow: 0 8px 22px rgba(220, 38, 38, 0.38); }
.unf-btn  { background: #111115 !important; color: #ffffff !important; }
.unf-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.unf-mult-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 3px solid #111115;
  border-radius: 999px;
  padding: 9px 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 1.75vw, 24px);
  color: #111115;
  box-shadow: 4px 4px 0 #111115;
}
.unf-mult-chip.is-double {
  background: #dc2626;
  border-color: #111115;
  color: #ffffff;
}
.unf-finale-callout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #dc2626;
  color: #ffffff;
  border: 3px solid #111115;
  border-radius: 999px;
  padding: 10px 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.85vw, 26px);
  letter-spacing: 0.04em;
  box-shadow: 5px 5px 0 #111115;
}
.unf-black-card {
  background: #111115;
  color: #ffffff;
  border-radius: 22px;
  padding: clamp(24px, 2.8vh, 34px);
  width: clamp(275px, 23vw, 355px);
  aspect-ratio: 5 / 7;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
  box-shadow: 0 24px 50px rgba(17, 17, 21, 0.25);
}
.unf-black-card.is-finale {
  border: 4px solid #dc2626;
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.24), 0 24px 52px rgba(17, 17, 21, 0.34);
}
.unf-black-text { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.26; }
.unf-blank-slot { color: #ef4444; }
.unf-prompt-banner {
  background: #111115;
  color: #ffffff;
  border-radius: 20px;
  padding: 14px 30px;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.5vw, 35px);
  line-height: 1.22;
}
.unf-prompt-banner.is-filled {
  border: 3px solid #dc2626;
  box-shadow: 0 10px 24px rgba(17, 17, 21, 0.2);
}
.unf-prompt-banner.is-finale-vote {
  background: linear-gradient(90deg, #111115 0%, #450a0a 50%, #111115 100%);
  border: 3px solid #dc2626;
  color: #ffffff;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: 0.04em;
  padding: 12px 30px;
}
.unf-filled-win {
  color: #ef4444;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.unf-answer-card.is-sentence {
  padding: 18px 22px;
  justify-content: flex-start;
}
.unf-answer-sentence {
  margin: auto 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 2.15vw, 31px);
  line-height: 1.24;
  color: #111115;
}
.unf-ballot-grid.dense .unf-answer-sentence {
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.22;
}
.unf-card-fill {
  display: inline;
  background: #fee2e2;
  color: #111115;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 7px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.unf-spot-sentence {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.22;
  color: #111115;
  max-width: 920px;
}
.unf-spot-fill {
  display: inline;
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  padding: 2px 12px;
  border-radius: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.unf-ballot-grid {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: stretch;
  gap: clamp(14px, 1.5vw, 22px);
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
.unf-ballot-grid.dense {
  max-width: 1080px;
  gap: 12px;
}
.unf-answer-card {
  background: #ffffff;
  border: 3px solid #111115;
  border-radius: 18px;
  padding: 16px 18px;
  width: clamp(188px, 15.2vw, 228px);
  aspect-ratio: 5 / 7;
  min-height: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  box-shadow: 0 12px 22px rgba(17, 17, 21, 0.09);
}
.unf-ballot-grid.dense .unf-answer-card {
  width: clamp(148px, 12vw, 184px);
  aspect-ratio: 5 / 6.7;
  min-height: 0;
  padding: 12px 14px;
  gap: 8px;
}
.unf-card-num { font-family: var(--font-display); font-weight: 900; font-size: 16px; background: #dc2626; color: #ffffff; padding: 3px 12px; border-radius: 999px; }
.unf-answer-text { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.24; color: #111115; }
.unf-combo-stack {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.unf-combo-part {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2.5px solid #111115;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 1.75vw, 25px);
  color: #111115;
  text-align: left;
  line-height: 1.16;
}
.unf-combo-part span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* Fibbage-Style Centerpiece Reveal Spotlight */
.unf-spotlight-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.6vh, 42px);
  width: 100%;
  padding: 6px 0;
}
.unf-reveal-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 4.2vw, 64px);
  width: min(94%, 1120px);
  animation: unfSpotPop 300ms cubic-bezier(0.22, 1.25, 0.36, 1) both;
}
.unf-reveal-card {
  flex-shrink: 0;
  width: clamp(275px, 23vw, 355px);
  aspect-ratio: 5 / 7;
}
.unf-reveal-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(16px, 2.2vh, 24px);
  min-width: 280px;
  max-width: 520px;
}
.unf-reveal-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.unf-reveal-author .animal-head {
  width: clamp(76px, 7.2vw, 102px);
  height: clamp(76px, 7.2vw, 102px);
  flex-shrink: 0;
}
.unf-reveal-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.unf-reveal-by {
  font-family: var(--unf-marker, var(--font-display));
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(17, 17, 21, 0.58);
}
.unf-reveal-author strong {
  font-family: var(--unf-marker, var(--font-display));
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.05;
  color: var(--unf-ink, #111115);
}
.unf-reveal-score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.unf-reveal-voters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 8px;
  border-top: 2px solid rgba(17, 17, 21, 0.12);
  width: 100%;
}
.unf-reveal-voters-lbl {
  font-family: var(--unf-marker, var(--font-display));
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(17, 17, 21, 0.56);
}
.unf-reveal-voters .unf-voters-row {
  justify-content: flex-start;
  gap: 8px;
}
.unf-voter-chip.is-sm {
  padding: 4px 12px 4px 6px;
  gap: 7px;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  box-shadow: 2px 2px 0 var(--unf-ink, #111115) !important;
}
.unf-voter-chip.is-sm .animal-head {
  width: 30px;
  height: 30px;
}
.unf-spotlight-card {
  width: min(94%, 1020px);
  background: #ffffff;
  border: 4px solid #111115;
  border-radius: 28px;
  padding: 20px 32px 16px;
  box-shadow: 0 18px 42px rgba(17, 17, 21, 0.16), 8px 8px 0 #111115;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: unfSpotPop 340ms cubic-bezier(0.22, 1.25, 0.36, 1) both;
}
.unf-spotlight-card.is-majority {
  border-color: #dc2626;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2), 0 20px 44px rgba(220, 38, 38, 0.18);
}
.unf-spotlight-card.is-unanimous {
  border-color: #dc2626;
  background: #fff5f5;
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.36), 0 22px 48px rgba(220, 38, 38, 0.24);
}
@keyframes unfSpotPop {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.unf-spot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.unf-spot-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.unf-spot-author .animal-head { width: 64px; height: 64px; }
.unf-spot-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #52525b;
}
.unf-spot-author strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 2.5vw, 34px);
  color: #111115;
}
.unf-spot-score-burst {
  background: #dc2626;
  color: #ffffff;
  border-radius: 18px;
  padding: 9px 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  box-shadow: 4px 4px 0 rgba(17, 17, 21, 0.18);
}
.unf-spot-score-burst span { font-size: 0.52em; letter-spacing: 0.08em; }
.unf-spot-score-burst.is-majority { background: #dc2626; color: #ffffff; }
.unf-spot-score-burst.is-unanimous { background: #111115; color: #ffffff; }
.unf-spot-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 4px 0;
}
.unf-spot-answer {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.1vw, 54px);
  line-height: 1.12;
  color: #111115;
}
.unf-spot-combo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.unf-spot-combo-chip {
  background: #111115;
  color: #ffffff;
  border-radius: 18px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.unf-spot-combo-chip b { color: #ef4444; font-size: 0.78em; }
.unf-spot-plus { font-family: var(--font-display); font-weight: 900; font-size: 36px; color: #dc2626; }
.unf-bonus-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 1.75vw, 24px);
  letter-spacing: 0.05em;
  border: 2.5px solid #111115;
}
.unf-bonus-banner.majority { background: #dc2626; color: #ffffff; }
.unf-bonus-banner.unanimous { background: #111115; color: #ffffff; }
.unf-spot-voters {
  border-top: 2px dashed rgba(17, 17, 21, 0.2);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.unf-voters-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: #3f3f46;
}
.unf-voters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.unf-voter-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2.5px solid #111115;
  border-radius: 999px;
  padding: 6px 20px 6px 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.85vw, 25px);
  color: #111115;
  box-shadow: 0 4px 10px rgba(17, 17, 21, 0.08);
}
.unf-voter-chip .animal-head { width: 50px; height: 50px; }
.unf-voters-row.dense .unf-voter-chip { padding: 4px 14px 4px 6px; font-size: 18px; }
.unf-voters-row.dense .unf-voter-chip .animal-head { width: 40px; height: 40px; }
.unf-spot-math {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.05em;
  color: #3f3f46;
}
.unf-zero-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1060px;
  background: #ffffff;
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 17px;
  font-weight: 800;
  color: #3f3f46;
}
.unf-zero-label { font-family: var(--font-display); font-weight: 900; color: #111115; letter-spacing: 0.06em; }
.unf-zero-chip { display: inline-flex; align-items: center; gap: 6px; }
.unf-zero-chip .animal-head { width: 26px; height: 26px; }

/* ---- 2. FREQUENCY TV STAGE ---- */
.stage-screen.pg-stage-frequency {
  padding: clamp(12px, 1.8vh, 22px) clamp(14px, 1.8vw, 28px) clamp(62px, 7.2vh, 72px);
  gap: clamp(4px, 0.7vh, 8px);
}
.fq-pill { background: #0f172a !important; color: #06b6d4 !important; }
.fq-pill-double { background: linear-gradient(90deg, #f59e0b, #fb7185) !important; color: #ffffff !important; box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35); }
.fq-btn  { background: linear-gradient(90deg, #06b6d4, #8b5cf6) !important; }
.check-badge.gold { background: #f59e0b !important; color: #ffffff !important; box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.45); }
.fq-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vh, 10px);
}
.fq-arena {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  display: grid;
  grid-template-columns: clamp(144px, 14vw, 196px) minmax(0, 1fr) clamp(144px, 14vw, 196px);
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 18px);
}
.fq-center-col {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vh, 12px);
}
.fq-side-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vh, 26px);
  min-height: 0;
  padding: 4px 0;
}
.fq-side-rail.dense {
  gap: clamp(8px, 1.2vh, 14px);
}
.fq-rail-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.fq-rail-player .strip-visual {
  width: clamp(98px, 9.6vw, 144px);
  height: clamp(98px, 9.6vw, 144px);
}
.fq-side-rail.dense .fq-rail-player .strip-visual {
  width: clamp(78px, 7.6vw, 112px);
  height: clamp(78px, 7.6vw, 112px);
}
.fq-rail-player .strip-name {
  font-size: clamp(14px, 1.3vw, 19px);
  max-width: clamp(134px, 13.2vw, 188px);
  text-align: center;
}
.fq-rail-player.is-launching {
  animation: fqRailLaunch 280ms ease-out var(--launch-delay, 220ms) forwards;
}
@keyframes fqRailLaunch {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0.14; transform: scale(0.82); }
}
.fq-dial-wrap {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fq-psychic-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  border-radius: 18px;
  padding: clamp(8px, 1.1vh, 12px) clamp(18px, 2.2vw, 28px);
  flex-shrink: 0;
}
.fq-psychic-banner .animal-head { width: 56px; height: 56px; }
.fq-psychic-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(20px, 2.1vw, 30px); color: #0f172a; line-height: 1.1; }
.fq-psychic-sub { font-size: clamp(13px, 1.2vw, 16px); font-weight: 700; color: #475569; }
.fq-clue-write-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
  color: #0f172a;
  flex-shrink: 0;
}
.fq-clue-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  flex-shrink: 0;
}
.fq-clue-kicker { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: 0.14em; color: #0891b2; }
.fq-clue-word { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3.6vw, 50px); color: #0f172a; line-height: 1.04; }
.fq-dial-svg { width: min(740px, 70vw); max-height: 51vh; height: auto; overflow: visible; }
.fq-dial-svg.compact { width: min(580px, 58vw); max-height: 38vh; }
.fq-dial-wrap .fq-dial-svg.fq-dial-giant {
  position: absolute;
  inset: clamp(4px, 0.8vh, 10px) 0;
  width: 100%;
  height: calc(100% - clamp(8px, 1.6vh, 20px));
  max-width: none;
  max-height: none;
  display: block;
  overflow: visible;
}
.fq-sweep-arm {
  animation: fqRadarArmSweep 5.4s ease-in-out infinite;
}
@keyframes fqRadarArmSweep {
  0%, 100% { transform: rotate(-72deg); }
  50%      { transform: rotate(72deg); }
}

/* Dramatic 3-Beat Frequency Reveal: 1) Avatars fly into place -> 2) Arm + Range reveal -> 3) Points pop! */
.fq-dial-svg .fq-pin.is-dramatic {
  animation: none;
}
.fq-pin-flight {
  animation: fqAvatarFlyIn 620ms cubic-bezier(0.22, 1, 0.36, 1) var(--fdelay, 220ms) both;
}
@keyframes fqAvatarFlyIn {
  0%   { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, 0px)); }
  12%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0px, 0px); }
}
.fq-pin-ray.is-dramatic {
  animation: fqRayFadeIn 260ms ease-out var(--rdelay, 640ms) both;
}
@keyframes fqRayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fq-target-needle.is-dramatic {
  animation: fqArmReveal 920ms cubic-bezier(0.22, 1.12, 0.36, 1) var(--arm-delay, 1600ms) both;
}
@keyframes fqArmReveal {
  0%   { opacity: 0; transform: rotate(-90deg); }
  10%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(var(--target-deg, 0deg)); }
}
.fq-wedges-reveal {
  animation: fqWedgesBloom 520ms ease-out var(--wedge-delay, 2000ms) both;
}
@keyframes fqWedgesBloom {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fq-pin-score {
  animation: fqScorePop 420ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--sdelay, 2600ms) both;
}
@keyframes fqScorePop {
  0%   { opacity: 0; transform: scale(0.22); }
  75%  { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}
.fq-psychic-score-badge {
  animation: fqPsychicScoreIn 420ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--ps-delay, 3000ms) both;
}
@keyframes fqPsychicScoreIn {
  0%   { opacity: 0; transform: scale(0.75); }
  100% { opacity: 1; transform: scale(1); }
}
.fq-foot-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 1240px);
  height: clamp(54px, 6.6vh, 66px);
  gap: clamp(12px, 1.6vw, 24px);
  flex-shrink: 0;
}
.fq-foot-bar .fq-end.left { justify-self: start; }
.fq-foot-bar .fq-end.right { justify-self: end; }
.fq-foot-bar .fq-reveal-next { justify-self: center; }
.fq-dial-svg .fq-pin:not(.is-dramatic),
.fq-dial-svg .fq-pin-ray:not(.is-dramatic) {
  animation: fqPinPop 320ms cubic-bezier(0.22, 1, 0.36, 1) var(--pdelay, 0ms) both;
}
@media (prefers-reduced-motion: reduce) {
  .fq-pin-flight,
  .fq-pin-ray.is-dramatic,
  .fq-target-needle.is-dramatic,
  .fq-wedges-reveal,
  .fq-pin-score,
  .fq-psychic-score-badge,
  .fq-rail-player.is-launching {
    animation: none !important;
  }
  .fq-target-needle.is-dramatic {
    transform: rotate(var(--target-deg, 0deg));
  }
}
.fq-dial-svg .fq-pin.fq-lobby-blip {
  animation: none;
}
.fq-dial-svg .fq-pin.fq-lobby-blip-new {
  transform-box: fill-box;
  transform-origin: center;
  animation: fqLobbyBlip 460ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes fqLobbyBlip {
  0%   { opacity: 0; transform: scale(0.35); }
  65%  { opacity: 1; transform: scale(1.16); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fqPinPop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fq-spectrum-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(92vw, calc(50vh * 1.863));
  gap: 16px;
  flex-shrink: 0;
}
.fq-end {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 1.55vw, 24px);
  padding: clamp(7px, 1vh, 11px) clamp(16px, 1.8vw, 24px);
  border-radius: 14px;
  background: #ffffff;
  border: 3.5px solid #0f172a;
  box-shadow: 0 4px 0 #0f172a;
  color: #ffffff;
}
.fq-end.left  { background: #06b6d4; border-color: #0f172a; color: #ffffff; }
.fq-end.right { background: #fb7185; border-color: #0f172a; color: #ffffff; }
.fq-score-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.fq-score-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 8px; border-radius: 999px; background: #ffffff; border: 2.5px solid #cbd5e1; font-weight: 900; font-size: 17px; }
.fq-score-chip .animal-head { width: 40px; height: 40px; }
.fq-score-chip.bullseye     { border-color: #06b6d4; background: #ecfeff; }
.fq-score-chip.close        { border-color: #8b5cf6; background: #f5f3ff; }
.fq-score-chip.edge         { border-color: #fb7185; background: #fff1f2; }
.fq-score-chip.perfect_hit  { border-color: #f59e0b; background: #fef9c3; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28); }
.fq-score-chip.perfect_bust { border-color: #e11d48; background: #ffe4e6; }
.fq-pf-tag { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 11px; padding: 2px 8px; border-radius: 999px; color: #ffffff; }
.fq-pf-tag.hit  { background: #f59e0b; }
.fq-pf-tag.bust { background: #e11d48; }

/* ---- 3. BUMFUZZLE TV STAGE (All Black & White Minimalist Crossword + Typewriter Reveal) ---- */
.blf-pill { background: #111111 !important; color: #ffffff !important; border: 2px solid #111111; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.blf-btn  { background: #111111 !important; color: #ffffff !important; border: 2.5px solid #111111 !important; box-shadow: 4px 4px 0 #111111 !important; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.blf-stage { flex: 1; display: flex; align-items: center; justify-content: center; }
.blf-hero-card {
  background: #ffffff;
  color: #111111;
  border: 3.5px solid #111111;
  border-radius: 10px;
  padding: clamp(24px, 3.5vh, 42px) clamp(28px, 4.5vw, 56px);
  text-align: center;
  max-width: 960px;
  box-shadow: 10px 10px 0 #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.blf-hero-title {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 2.5vw, 38px);
  letter-spacing: -0.02em;
  color: #111111;
  text-transform: uppercase;
}
.blf-hero-sub { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; color: #3f3f46; margin: 0; max-width: 660px; }

.blf-clue-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vh, 28px);
  text-align: center;
}
.blf-author-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.blf-author-bar .animal-head {
  width: clamp(58px, 5.4vw, 76px);
  height: clamp(58px, 5.4vw, 76px);
  flex-shrink: 0;
}
.blf-author-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}
.blf-author-kicker {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #52525b;
  text-transform: uppercase;
}
.blf-author-name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 2.1vw, 30px);
  color: #111111;
  line-height: 1;
  letter-spacing: -0.01em;
}
.blf-retry-badge {
  background: #111111;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.12em;
  padding: 7px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.25);
}
.blf-clue-quote {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.16;
  color: #111111;
  max-width: 980px;
  letter-spacing: -0.02em;
}
.blf-stakes-line {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3f3f46;
  border-top: 2px solid #111111;
  padding-top: 10px;
}
.blf-stakes-line.is-second {
  color: #111111;
}
.blf-misses-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #71717a;
}
.blf-misses-line span {
  padding: 2px 9px;
  border: 1.5px solid #a1a1aa;
  border-radius: 4px;
  color: #3f3f46;
  text-decoration: line-through;
  letter-spacing: 0.14em;
}
.blf-reveal-clue {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32px);
  color: #27272a;
  text-align: center;
  max-width: 920px;
  line-height: 1.24;
}
.blf-maker-role {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #52525b;
  text-transform: uppercase;
}
.blf-fooled-verb .blf-solver-pts-pill {
  background: #111111;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(14px, 1.2vw, 17px);
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.blf-stumped-author {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  color: #52525b;
  font-weight: 600;
}
.blf-wrong-lbl {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #71717a;
  margin-right: 4px;
}
.blf-vote-banner { display: flex; justify-content: center; margin: -2px auto 2px; }
.blf-options-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  align-content: center;
}
.blf-options-grid.dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.blf-opt-card {
  background: #ffffff;
  border: 3px solid #111111;
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  box-shadow: 5px 5px 0 #111111;
  animation: cardHitDrop 320ms cubic-bezier(0.22, 1, 0.36, 1) var(--bcard-delay, 0ms) both;
}
.blf-opt-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 30px;
  padding: 3px 10px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.blf-opt-text { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.32; color: #111111; }
.blf-options-grid.dense .blf-opt-text { font-size: clamp(14px, 1.2vw, 18px); }
.funny-avatar { filter: drop-shadow(0 4px 6px rgba(17, 17, 17, 0.14)); }

/* Typewriter letter-by-letter animation */
.tw-word { display: inline-block; white-space: nowrap; }
.tw-ch {
  display: inline-block;
  opacity: 0;
  animation: twCharIn 90ms ease-out var(--td, 0ms) forwards;
}
@keyframes twCharIn {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stark Open Black & White Bumfuzzle Reveal — Zero Boxes, Giant Who-Fooled-Who */
.blf-open-reveal {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vh, 30px);
}
.blf-open-kicker {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.blf-open-kicker.is-fake {
  color: #111111;
  border-bottom: 3px solid #111111;
  padding-bottom: 6px;
}
.blf-open-kicker.is-real {
  background: #111111;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 4px;
}
.blf-open-quote {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.16;
  color: #111111;
  text-align: center;
  max-width: 1040px;
  letter-spacing: -0.02em;
}
.blf-open-rule {
  width: 100%;
  max-width: 960px;
  height: 3px;
  background: #111111;
}
.blf-open-matchup {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: blfFadeSlide 320ms ease-out var(--rev-delay, 600ms) both;
}
.blf-fooled-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.4vw, 52px);
  flex-wrap: wrap;
}
.blf-maker {
  display: flex;
  align-items: center;
  gap: 16px;
}
.blf-maker .animal-head {
  width: clamp(78px, 7.5vw, 100px);
  height: clamp(78px, 7.5vw, 100px);
  flex-shrink: 0;
}
.blf-maker-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.blf-maker-name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
  color: #111111;
  letter-spacing: -0.02em;
}
.blf-maker-pts {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 1.5vw, 22px);
  padding: 3px 13px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.blf-fooled-verb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.blf-fooled-verb span {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(15px, 1.35vw, 20px);
  letter-spacing: 0.16em;
  color: #111111;
}
.blf-victims {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 2.4vw, 34px);
}
.blf-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: blfVoterPop 280ms cubic-bezier(0.22, 1, 0.36, 1) var(--vdelay, 0ms) both;
}
.blf-person .animal-head {
  width: clamp(68px, 6.4vw, 86px);
  height: clamp(68px, 6.4vw, 86px);
}
.blf-person-name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 1.85vw, 27px);
  color: #111111;
  line-height: 1.05;
}
.blf-nobody-big {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.3vw, 34px);
  letter-spacing: 0.06em;
  color: #71717a;
}
.blf-truth-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.blf-truth-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 1.4vw, 21px);
  letter-spacing: 0.12em;
  color: #111111;
}
.blf-truth-label span {
  background: #111111;
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.blf-open-scores {
  width: 100%;
  max-width: 960px;
  padding-top: 16px;
  border-top: 1.5px solid #e4e4e7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  color: #71717a;
  animation: blfFadeSlide 320ms ease-out var(--rev-delay, 850ms) both;
}
.blf-score-entry.scored {
  color: #111111;
}
.blf-score-entry b {
  font-weight: 900;
  margin-left: 4px;
}
.blf-score-dot {
  color: #d4d4d8;
}
@keyframes blfVoterPop {
  from { opacity: 0; transform: scale(0.84) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes blfFadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- 4. SKETCHY TV STAGE (Social Draw-Bluff-Vote + Live Reactions) ---- */
.sk-pill { background: #1c1917 !important; color: #fde047 !important; }
.sk-pill.sk-pill-double { background: linear-gradient(90deg, #ff3b30, #f59e0b) !important; color: #ffffff !important; }
.sk-btn  { background: linear-gradient(90deg, #1c1917, #007aff) !important; }
.sk-play-center { flex: 1; display: flex; align-items: center; justify-content: center; }
.sk-easel-card {
  background: #ffffff;
  border: 4px solid #1c1917;
  border-radius: 30px;
  padding: clamp(32px, 4.8vh, 56px) clamp(40px, 5.5vw, 76px);
  text-align: center;
  max-width: 920px;
  width: min(92%, 920px);
  box-shadow: 10px 10px 0 #fde047, 10px 10px 0 4px #1c1917;
}
.sk-mode-pill { display: inline-block; padding: 8px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 900; font-size: 16px; letter-spacing: 0.1em; color: #ffffff; margin-bottom: 12px; }
.sk-mode-pill.draw  { background: #007aff; }
.sk-mode-pill.guess { background: #ff3b30; }

.sk-spotlight-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 30px);
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  align-items: center;
}
.sk-spotlight-grid.vote-mode,
.sk-spotlight-grid.reveal-mode {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
}
.sk-canvas-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sk-artist-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  background: #ffffff;
  border: 3px solid #1c1917;
  border-radius: 999px;
  padding: 6px 18px 6px 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.45vw, 21px);
  color: #1c1917;
  box-shadow: 4px 4px 0 #fde047;
}
.sk-artist-banner .animal-head { width: 42px; height: 42px; }
.sk-artist-bonus { background: #dcfce7; color: #065f46; border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.sk-artist-fail  { background: #ffe4e6; color: #be123c; border-radius: 999px; padding: 4px 12px; font-size: 14px; }

.sk-canvas-frame {
  position: relative;
  width: 100%;
  background: #fffdf7;
  border: 4px solid #1c1917;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 8px 8px 0 #1c1917;
}
.sk-hero-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 44vh;
}
.sk-spotlight-grid.reveal-mode .sk-hero-svg {
  max-height: 41vh;
}
.sk-react-tray {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  pointer-events: none;
}
.sk-react-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 2.5px solid #1c1917;
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  box-shadow: 0 6px 14px rgba(28, 25, 23, 0.16);
  animation: skReactPop 320ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.sk-react-em { font-size: 22px; line-height: 1; }
.sk-react-chip .animal-head { width: 24px; height: 24px; }
.sk-react-who { font-family: var(--font-display); font-weight: 900; font-size: 13px; color: #1c1917; }
@keyframes skReactPop {
  from { opacity: 0; transform: translateY(14px) scale(0.72); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.sk-side-card {
  background: #ffffff;
  border: 4px solid #1c1917;
  border-radius: 28px;
  padding: clamp(24px, 3.6vh, 40px) clamp(26px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 8px 8px 0 #fde047, 8px 8px 0 4px #1c1917;
}
.sk-side-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.04;
  color: #1c1917;
}
.sk-side-sub {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 700;
  color: #475569;
  line-height: 1.3;
}
.sk-score-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.sk-leg-pill {
  background: #f1f5f9;
  border: 2px solid #1c1917;
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  color: #1c1917;
}
.sk-leg-pill.star { background: #fef08a; }
.sk-artist-tip {
  margin-top: 4px;
  background: #eff6ff;
  border: 2px solid #93c5fd;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 800;
  color: #1e3a8a;
  width: 100%;
}

.sk-vote-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.sk-vote-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #fef08a;
  border: 3px solid #1c1917;
  border-radius: 18px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(14px, 1.25vw, 18px);
  color: #1c1917;
}
.sk-vote-sep { opacity: 0.45; }
.sk-title-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.sk-title-card {
  background: #ffffff;
  border: 3.5px solid #1c1917;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 5px 5px 0 #1c1917;
  animation: cardHitDrop 340ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--od, 0ms) both;
}
.sk-title-letter {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #007aff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
}
.sk-title-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.85vw, 27px);
  color: #1c1917;
  line-height: 1.18;
}

.sk-reveal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  align-content: center;
}
.sk-rev-card {
  background: #ffffff;
  border: 3px solid #1c1917;
  border-radius: 18px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 5px 5px 0 #1c1917;
  animation: cardHitDrop 340ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--od, 0ms) both;
}
.sk-rev-card.is-real {
  grid-column: 1 / -1;
  background: #ecfdf5;
  border-color: #059669;
  padding: 13px 18px;
  box-shadow: 6px 6px 0 #059669;
}
.sk-rev-card.is-pick {
  border-color: #d97706;
  background: #fffbeb;
}
.sk-rev-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.sk-rev-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
}
.sk-rev-author .animal-head { width: 28px; height: 28px; }
.sk-rev-pts-wrap { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.sk-rev-badge {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}
.sk-rev-badge.real  { background: #059669; color: #ffffff; }
.sk-rev-badge.truth { background: #d1fae5; color: #065f46; }
.sk-rev-badge.fool  { background: #dbeafe; color: #1d4ed8; }
.sk-rev-badge.pick  { background: #fde047; color: #1c1917; border: 1.5px solid #1c1917; }
.sk-rev-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 1.65vw, 24px);
  color: #1c1917;
  line-height: 1.16;
}
.sk-rev-card.is-real .sk-rev-text {
  font-size: clamp(22px, 2vw, 29px);
}
.sk-rev-voters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 5px 10px;
}
.sk-rev-voters.is-real { background: #d1fae5; }
.sk-rev-vlabel {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #334155;
}
.sk-rev-voters.is-real .sk-rev-vlabel { color: #065f46; }
.sk-rev-vchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  padding: 2px 9px 2px 3px;
  font-weight: 900;
  font-size: 13px;
  color: #1c1917;
}
.sk-rev-vchip .animal-head { width: 28px; height: 28px; }
.sk-rev-nobody { font-size: 13px; font-weight: 800; color: #64748b; }

/* ---- 5. NPC TV STAGE (Retro Pixel Video Game — Simple Open Box-Free HUD) ---- */
.npc-avatar {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(3px 3px 0 #020617);
}
.npc-pill {
  background: transparent !important;
  color: #4ade80 !important;
  border: none !important;
  border-bottom: 3px solid #4ade80 !important;
  border-radius: 0 !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(18px, 1.5vw, 23px) !important;
  letter-spacing: 0.08em !important;
  padding: 6px 14px !important;
  box-shadow: none !important;
}
.npc-pill.npc-pill-double { color: #facc15 !important; border-bottom-color: #facc15 !important; }
.npc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: #4ade80 !important;
  color: #020617 !important;
  border: 3px solid #ecfdf5 !important;
  border-radius: 6px !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(20px, 1.7vw, 25px) !important;
  letter-spacing: 0.06em !important;
  line-height: 1 !important;
  box-shadow: 5px 5px 0 #020617 !important;
  padding: 14px 32px !important;
}
.npc-btn:hover { background: #facc15 !important; color: #020617 !important; }
.npc-btn-label {
  display: inline-block;
  line-height: 1;
  transform: translateY(1px);
}
.npc-px-arrow,
.npc-px-check {
  display: block;
  flex-shrink: 0;
  height: 0.96em;
  width: auto;
}
.npc-px-check {
  height: 1.08em;
}
body[data-game="mooove"] button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
  padding: 14px 20px;
}

/* Open box-free arcade stage */
.npc-open-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 0 24px;
}
.npc-quest-kicker {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 23px);
  color: #facc15;
  letter-spacing: 0.1em;
  text-shadow: 3px 3px 0 #020617;
  animation: npcCursorBlink 1.3s ease-in-out infinite;
}
.npc-prompt-headline {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 5vw, 68px);
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-shadow: 5px 5px 0 #020617, 0 0 24px rgba(74, 222, 128, 0.25);
  max-width: 1040px;
}
.npc-prompt-sub {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.03em;
  color: #94a3b8;
  margin: 0;
}

/* Open RPG dialogue menu for Vote (zero card boxes!) */
.npc-vote-stage { gap: 26px; }
.npc-vote-q {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 50px);
  color: #ffffff;
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 #020617;
  max-width: 1040px;
}
.npc-vote-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 42px;
  width: 100%;
  max-width: 1060px;
  text-align: left;
}
.npc-menu-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
  border-bottom: 2px dashed rgba(74, 222, 128, 0.28);
  animation: cardHitDrop 280ms ease-out var(--od, 0ms) both;
}
.npc-menu-cursor {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: #4ade80;
  flex-shrink: 0;
}
.npc-opt-letter {
  flex-shrink: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #facc15;
  text-shadow: 2px 2px 0 #020617;
}
.npc-opt-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.5vw, 38px);
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-shadow: 3px 3px 0 #020617;
}

/* Stepped Arcade Reveal + Round Scoreboard */
.npc-open-stage.npc-reveal-stage {
  max-width: 1440px;
  gap: clamp(14px, 2vh, 22px);
  justify-content: center;
  padding: 0 clamp(12px, 1.8vw, 28px);
}
.npc-reveal-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.npc-reveal-prompt {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.35vw, 21px);
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #020617;
}
.npc-reveal-headline {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  color: #4ade80;
  margin: 0;
  letter-spacing: 0.04em;
  text-shadow: 4px 4px 0 #020617;
  line-height: 1.12;
}
.npc-reveal-headline.is-tie { color: #facc15; }

.npc-rev-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--ncards, 3), minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  align-items: stretch;
  padding-top: 28px;
}
.npc-rev-cards.is-single {
  max-width: min(95%, 1040px);
}
.npc-rev-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #0f1933 0%, #090f22 100%);
  border: 3px solid #475569;
  border-radius: 12px;
  box-shadow: 6px 6px 0 #020617;
  padding: 36px 28px 26px;
  gap: 20px;
  text-align: center;
  animation: cardHitDrop 320ms cubic-bezier(0.22, 1.2, 0.36, 1) var(--od, 0ms) both;
}
.npc-rev-card.is-author-win {
  border-color: #facc15;
  background: linear-gradient(180deg, #1b1d33 0%, #090f22 100%);
  box-shadow: 7px 7px 0 #020617, 0 0 28px rgba(250, 204, 21, 0.22);
}
.npc-card-answer.is-top-answer {
  padding: 4px 8px 14px;
  flex: 0 0 auto;
  border-bottom: 2px dashed rgba(148, 163, 184, 0.28);
}
.npc-rev-card.is-winner .npc-card-answer.is-top-answer {
  border-bottom-color: rgba(74, 222, 128, 0.35);
}
.npc-big-scorers {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  width: 100%;
  padding: 6px 0;
}
.npc-big-scorer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: clamp(150px, 16vw, 210px);
  padding: 16px 20px;
  background: rgba(6, 11, 22, 0.84);
  border: 3px solid #4ade80;
  border-radius: 12px;
  box-shadow: 5px 5px 0 #020617;
}
.npc-big-scorer.is-gold {
  border-color: #facc15;
  background: linear-gradient(180deg, rgba(35, 32, 16, 0.9) 0%, rgba(6, 11, 22, 0.92) 100%);
}
.npc-big-scorer.is-hero {
  min-width: clamp(230px, 24vw, 320px);
  padding: 20px 30px;
}
.npc-big-av {
  width: clamp(92px, 11.5vh, 132px);
  height: clamp(92px, 11.5vh, 132px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.npc-big-scorers.is-crowd .npc-big-av {
  width: clamp(72px, 9vh, 98px);
  height: clamp(72px, 9vh, 98px);
}
.npc-big-scorer.is-hero .npc-big-av {
  width: clamp(114px, 14vh, 156px);
  height: clamp(114px, 14vh, 156px);
}
.npc-big-av .animal-head {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.npc-big-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 3px 3px 0 #020617;
  max-width: 12ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.npc-big-scorers.is-crowd .npc-big-name {
  font-size: clamp(22px, 2vw, 28px);
}
.npc-big-pts {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 4.8vw, 70px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 #020617;
}
.npc-big-scorers.is-crowd .npc-big-pts {
  font-size: clamp(34px, 3.4vw, 50px);
}
.npc-big-scorer.is-hero .npc-big-pts {
  font-size: clamp(56px, 6vw, 86px);
}
.npc-big-pts.is-win { color: #4ade80; }
.npc-big-pts.is-gold { color: #facc15; }
.npc-big-tag {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  text-transform: uppercase;
}
.npc-big-subnote {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}
.npc-rev-card.is-winner {
  border-color: #4ade80;
  background: linear-gradient(180deg, #102a29 0%, #091322 100%);
  box-shadow: 7px 7px 0 #020617, 0 0 28px rgba(74, 222, 128, 0.24);
}
.npc-rev-card.is-glitch {
  border-color: #fb7185;
  background: linear-gradient(180deg, #271226 0%, #0b0f20 100%);
}

.npc-card-ribbon {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 22px;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1;
  letter-spacing: 0.08em;
  border: 3px solid #020617;
  box-shadow: 4px 4px 0 #020617;
}
.npc-card-ribbon.is-win {
  background: #4ade80;
  color: #020617;
}
.npc-card-ribbon.is-author {
  background: #facc15;
  color: #020617;
}
.npc-card-ribbon.is-glitch {
  background: #fb7185;
  color: #020617;
}

.npc-card-sec-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Top of card: Single crisp horizontal row — Avatar + "Created by Name for +300" */
.npc-card-creators {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(148, 163, 184, 0.28);
}
.npc-rev-card.is-winner .npc-card-creators {
  border-bottom-color: rgba(74, 222, 128, 0.35);
}
.npc-creator-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  text-align: left;
}
.npc-creator-avs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.npc-creator-av {
  width: clamp(54px, 4.4vw, 66px);
  height: clamp(54px, 4.4vw, 66px);
  background: #060b16;
  border: 3px solid #facc15;
  border-radius: 6px;
  box-shadow: 4px 4px 0 #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
}
.npc-creator-avs.is-multi .npc-creator-av,
.npc-rev-cards.is-dense .npc-creator-av {
  width: clamp(44px, 3.6vw, 54px);
  height: clamp(44px, 3.6vw, 54px);
}
.npc-creator-av .animal-head {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.npc-creator-copy {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.25;
  color: #cbd5e1;
  text-shadow: 2px 2px 0 #020617;
  min-width: 0;
}
.npc-creator-names {
  font-weight: 700;
  color: #ffffff;
}
.npc-creator-pts {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1;
  vertical-align: baseline;
  white-space: nowrap;
}
.npc-creator-pts.is-gold {
  color: #facc15;
  text-shadow: 2px 2px 0 #020617;
}
.npc-creator-pts.is-zero {
  color: #64748b;
}

/* Middle of card: Answer option */
.npc-card-answer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 4px;
  flex: 1;
}
.npc-card-word {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 52px);
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-shadow: 3px 3px 0 #020617;
  word-break: break-word;
  text-wrap: balance;
}
.npc-rev-cards.is-dense .npc-card-word {
  font-size: clamp(20px, 1.9vw, 28px);
}
.npc-rev-card.is-winner .npc-card-word { color: #4ade80; }
.npc-rev-card.is-glitch .npc-card-word { color: #fb7185; }

/* Bottom of card: Voter avatars + BIG clear points scored */
.npc-card-voters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px dashed rgba(148, 163, 184, 0.25);
}
.npc-rev-card.is-winner .npc-card-voters {
  border-top-color: rgba(74, 222, 128, 0.35);
}
.npc-voter-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  width: 100%;
}
.npc-voter-person {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(6, 11, 22, 0.82);
  border: 2px solid rgba(148, 163, 184, 0.35);
  padding: 6px 11px 6px 7px;
  box-shadow: 3px 3px 0 #020617;
}
.npc-rev-card.is-winner .npc-voter-person {
  border-color: rgba(74, 222, 128, 0.6);
}
.npc-voter-av {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.npc-voter-list.is-crowd .npc-voter-av,
.npc-rev-cards.is-dense .npc-voter-av {
  width: 32px;
  height: 32px;
}
.npc-voter-av .animal-head {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.npc-voter-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  line-height: 1;
}
.npc-voter-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #cbd5e1;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.npc-voter-pts {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1;
}
.npc-rev-cards.is-dense .npc-voter-pts {
  font-size: clamp(15px, 1.3vw, 19px);
}
.npc-voter-pts.is-win {
  color: #4ade80;
  text-shadow: 2px 2px 0 #020617;
}
.npc-voter-pts.is-zero {
  color: #94a3b8;
}
.npc-sweep-note {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #facc15;
  line-height: 1.3;
}
.npc-no-votes-note {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #facc15;
  padding: 18px 0;
}

/* Round Player Scoreboard Summary (Final Step of NPC Reveal) */
.npc-summary-board {
  width: min(94%, 920px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.npc-summary-board.two-cols {
  width: min(96%, 1260px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}
.npc-score-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  background: linear-gradient(180deg, #0f1933 0%, #090f22 100%);
  border: 2.5px solid #334155;
  border-radius: 10px;
  box-shadow: 5px 5px 0 #020617;
  text-align: left;
  animation: cardHitDrop 280ms ease-out var(--od, 0ms) both;
}
.npc-score-row.has-pts {
  border-color: #4ade80;
  background: linear-gradient(180deg, #102a29 0%, #091322 100%);
}
.npc-score-av {
  width: clamp(66px, 7.6vh, 84px);
  height: clamp(66px, 7.6vh, 84px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.npc-score-av .animal-head {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.npc-score-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.npc-score-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.08;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.npc-score-detail {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #94a3b8;
  text-transform: uppercase;
}
.npc-score-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.npc-score-delta {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 0.96;
  color: #4ade80;
  text-shadow: 3px 3px 0 #020617;
}
.npc-score-delta.is-zero {
  color: #64748b;
  font-size: clamp(26px, 2.4vw, 34px);
}
.npc-score-total {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #facc15;
}

/* Mobile NPC Menu & Clean Open Layout */
.m-npc-menu { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.m-npc-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(15, 23, 42, 0.78);
  border: 2.5px solid #4ade80;
  border-radius: 6px;
  padding: 13px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  box-shadow: 4px 4px 0 #020617;
  cursor: pointer;
}
.m-npc-opt:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #020617; }
.m-npc-letter {
  flex-shrink: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #facc15;
}
.m-npc-earned {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #facc15;
  text-align: center;
  line-height: 1.4;
}
.m-npc-spot-card {
  width: 100%;
  background: linear-gradient(180deg, #102a29 0%, #091322 100%);
  border: 2.5px solid #4ade80;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 4px 4px 0 #020617;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.m-npc-spot-word {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #4ade80;
  line-height: 1.12;
}
.m-npc-spot-by {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #cbd5e1;
}
.m-npc-spot-by strong { color: #ffffff; font-weight: 700; }
.m-npc-spot-by b { color: #facc15; font-weight: 700; }
.m-npc-summary-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-npc-sum-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid #334155;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
}
.m-npc-sum-row.has-pts {
  border-color: #4ade80;
}
.m-npc-sum-av {
  width: 34px;
  height: 34px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex-shrink: 0;
}
.m-npc-sum-name {
  flex: 1;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  color: #f8fafc;
  text-transform: uppercase;
}
.m-npc-sum-pts {
  font-weight: 700;
  font-size: 19px;
  color: #4ade80;
}
.m-npc-sum-pts.is-zero { color: #64748b; }

/* ---- FULL DARK-ARCADE THEME OVERRIDES FOR NPC (LOBBY, HTP, STANDINGS, WINNER, MOBILE) ---- */
body[data-game="mooove"] .progress-badge {
  background: transparent;
  color: #facc15;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  box-shadow: none;
}
body[data-game="mooove"] .strip-player .strip-name,
body[data-game="mooove"] .lobby-slot-name,
body[data-game="mooove"] .brand-tagline,
body[data-game="mooove"] .join-url,
body[data-game="mooove"] .lobby-count,
body[data-game="mooove"] .stage-headline,
body[data-game="mooove"] .winner-name,
body[data-game="mooove"] .winner-score,
body[data-game="mooove"] .winner-title,
body[data-game="mooove"] .standing-name,
body[data-game="mooove"] .standing-pts {
  color: #f8fafc;
  font-family: 'Oswald', sans-serif;
}
body[data-game="mooove"] .strip-player .check-badge {
  background: #4ade80;
  color: #020617;
  border-radius: 4px;
}
body[data-game="mooove"] .lobby-code,
body[data-game="mooove"] .room-code-big {
  color: #4ade80;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-shadow: 4px 4px 0 #020617;
  letter-spacing: 0.1em;
}
body[data-game="mooove"] .corner-label {
  color: #facc15;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
}
body[data-game="mooove"] .corner-url {
  color: #cbd5e1;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 16px;
}
body[data-game="mooove"] .pg-logo-mooove.hero {
  width: clamp(250px, 23vw, 340px);
}
body[data-game="mooove"] .brand-tagline {
  color: #bbf7d0;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.35vw, 20px);
  letter-spacing: 0.05em;
  line-height: 1.25;
  max-width: min(420px, 32vw);
  margin-top: 2px;
  text-shadow: 2px 2px 0 #020617;
}
body[data-game="mooove"] .qr-frame {
  border: 3px solid #4ade80;
  border-radius: 6px;
  box-shadow: 4px 4px 0 #020617;
}
body[data-game="mooove"] .slot-name {
  color: #f8fafc;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.35vw, 20px);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 #020617;
}
body[data-game="mooove"] .slot-name.empty-join,
body[data-game="mooove"] .slot-name.disorder-hand-join {
  color: rgba(74, 222, 128, 0.78);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
}
body[data-game="mooove"] .disorder-hand-btn {
  color: rgba(74, 222, 128, 0.72);
  background: transparent !important;
  border: none !important;
}
body[data-game="mooove"] .disorder-hand-btn .hand-plus {
  color: rgba(74, 222, 128, 0.65);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
}
body[data-game="mooove"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled),
body[data-game="mooove"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled) .hand-plus,
body[data-game="mooove"] .disorder-hand-empty:hover .slot-name.disorder-hand-join {
  color: #facc15;
}
body[data-game="mooove"] .host-pill,
body[data-game="mooove"] .lobby-slot.filled .lobby-slot-badge,
body[data-game="mooove"] .lobby-slot-host {
  background: #facc15;
  color: #020617;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  box-shadow: 2px 2px 0 #020617;
}
body[data-game="mooove"] .lobby-footer {
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 36px;
}
body[data-game="mooove"] .lobby-status-line {
  color: #e2e8f0;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.06em;
}
body[data-game="mooove"] .lobby-status-line .status-dot {
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.75);
}
body[data-game="mooove"] .tv-audio-dock {
  background: rgba(9, 13, 26, 0.92);
  border: 2px solid #4ade80;
  border-radius: 6px;
  box-shadow: 4px 4px 0 #020617;
  color: #e2e8f0;
}
body[data-game="mooove"] .tv-audio-dock .audio-label,
body[data-game="mooove"] .tv-audio-dock span {
  color: #bbf7d0;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
}
body[data-game="mooove"] .mini-head-name {
  color: #f8fafc;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-shadow: 2px 2px 0 #020617;
}
body[data-game="mooove"] .mini-badge {
  background: #facc15;
  color: #020617;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 11px;
}
body[data-game="mooove"] .mini-head-visual img,
body[data-game="mooove"] .hero-avatar-btn img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
body[data-game="mooove"] .topbar {
  background: rgba(9, 13, 26, 0.92);
  border-bottom: 2px solid rgba(74, 222, 128, 0.4);
}
body[data-game="mooove"] .btn-start-lobby {
  background: #4ade80 !important;
  color: #020617 !important;
  border: 3px solid #ecfdf5 !important;
  border-radius: 6px !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  letter-spacing: 0.06em !important;
  padding: 11px 28px !important;
  box-shadow: 5px 5px 0 #020617 !important;
}
body[data-game="mooove"] .btn-add-bot,
body[data-game="mooove"] .tool-btn {
  color: #94a3b8;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  border-radius: 4px;
}
body[data-game="mooove"] .btn-add-bot:hover,
body[data-game="mooove"] .tool-btn:hover { color: #4ade80; }
body[data-game="mooove"] .tool-btn.timers-off {
  background: #090d1a;
  color: #facc15;
  border: 2px solid #facc15;
  border-radius: 4px;
  box-shadow: 2px 2px 0 #020617;
}
body[data-game="mooove"] .tool-btn.timers-off:hover {
  background: #facc15;
  color: #020617;
}
body[data-game="mooove"] .htp-open-row {
  border-bottom-color: rgba(74, 222, 128, 0.25);
}
body[data-game="mooove"] .htp-open-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 46px);
  color: #facc15;
  text-shadow: 3px 3px 0 #020617;
}
body[data-game="mooove"] .htp-open-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  color: #cbd5e1;
}
body[data-game="mooove"] .htp-open-text strong {
  font-family: 'Oswald', sans-serif;
  color: #4ade80;
}
body[data-game="mooove"] .standing-row {
  background: rgba(15, 23, 42, 0.8);
  border: 2.5px solid #334155;
  border-radius: 6px;
}
body[data-game="mooove"] .standing-row.leader { border-color: #4ade80; }

/* NPC Final Winner & Standings Theme */
body[data-game="mooove"] .winner-headline {
  color: #4ade80;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-shadow: 5px 5px 0 #020617, 0 0 26px rgba(74, 222, 128, 0.3);
  letter-spacing: 0.04em;
}
body[data-game="mooove"] .winner-crown {
  background: #facc15;
  color: #020617;
  border: 2px solid #020617;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  box-shadow: 3px 3px 0 #020617;
}
body[data-game="mooove"] .winner-halo {
  background: #060b16;
  border: 4px solid #4ade80;
  border-radius: 10px;
  box-shadow: 6px 6px 0 #020617, 0 0 28px rgba(74, 222, 128, 0.25);
}
body[data-game="mooove"] .winner-halo .animal-head {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
body[data-game="mooove"] .purple-bar {
  background: #4ade80;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.45);
}
body[data-game="mooove"] .winner-status-line {
  color: #e2e8f0;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-shadow: 2px 2px 0 #020617;
}
body[data-game="mooove"] .winner-status-line .pts-highlight {
  color: #facc15;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1em;
}
body[data-game="mooove"] .winner-status-line .status-dot {
  background: #4ade80;
  border-radius: 50%;
}
body[data-game="mooove"] .final-rank-tag {
  background: #090d1a;
  color: #facc15;
  border: 2px solid #334155;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13px;
}
body[data-game="mooove"] .strip-player.is-winner .final-rank-tag {
  background: #facc15;
  color: #020617;
  border-color: #020617;
}
body[data-game="mooove"] .strip-pts {
  color: #4ade80;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 #020617;
}
body[data-game="mooove"] .strip-pts.zero {
  color: #94a3b8;
}
body[data-game="mooove"] .stage-cta .btn-purple,
body[data-game="mooove"] #btn-again {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #4ade80;
  color: #020617;
  border: 3px solid #ecfdf5;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 25px);
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 15px 34px;
  box-shadow: 5px 5px 0 #020617;
}
body[data-game="mooove"] .stage-cta .btn-purple:hover,
body[data-game="mooove"] #btn-again:hover {
  background: #facc15;
  color: #020617;
}

/* Mobile Dark-Arcade Theme (Join, Lobby, Gameplay) */
body[data-game="mooove"] .panel,
body[data-game="mooove"] .join-panel,
body[data-game="mooove"] .pg-mob-card.moo-mob {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #f8fafc;
}
body[data-game="mooove"] .pg-mob-pill {
  align-self: center;
  text-align: center;
}
body[data-game="mooove"] .pg-mob-pill.moo {
  background: transparent;
  color: #facc15;
  border: none;
  border-bottom: 2px solid #facc15;
  border-radius: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}
body[data-game="mooove"] .m-moo-prompt,
body[data-game="mooove"] .wait-title,
body[data-game="mooove"] .m-htp-head {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 3px 3px 0 #020617;
}
body[data-game="mooove"] .muted,
body[data-game="mooove"] .wait-sub,
body[data-game="mooove"] label,
body[data-game="mooove"] .picker-label,
body[data-game="mooove"] .switcher-head,
body[data-game="mooove"] .tv-link {
  color: #cbd5e1;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
}
body[data-game="mooove"] .picker-selected-name {
  display: none !important;
}
body[data-game="mooove"] input {
  background: #020617;
  color: #4ade80;
  border: 3px solid #4ade80;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.03em;
  box-shadow: 4px 4px 0 #020617;
}
body[data-game="mooove"] input::placeholder { color: rgba(74, 222, 128, 0.45); }
body[data-game="mooove"] .av-tile .av-ring,
body[data-game="mooove"] .sw-tile {
  background: rgba(15, 23, 42, 0.85);
  border: 2.5px solid #334155;
  border-radius: 6px;
}
body[data-game="mooove"] .av-tile img,
body[data-game="mooove"] .sw-tile img,
body[data-game="mooove"] .hero-avatar-ring img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
body[data-game="mooove"] .av-tile.selected .av-ring,
body[data-game="mooove"] .sw-tile.selected {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.16);
  box-shadow: 4px 4px 0 #020617;
}
body[data-game="mooove"] .av-tile .av-check,
body[data-game="mooove"] .sw-tile .av-check { background: #4ade80; color: #020617; border-radius: 4px; }
body[data-game="mooove"] .av-tile .av-caption,
body[data-game="mooove"] .sw-tile .av-caption,
body[data-game="mooove"] .av-tile.selected .av-caption,
body[data-game="mooove"] .sw-tile.selected .av-caption { display: none !important; }
body[data-game="mooove"] .room-code-chip {
  background: #020617;
  color: #4ade80;
  border: 2px solid #4ade80;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
}
body[data-game="mooove"] button.primary {
  background: #4ade80;
  color: #020617;
  border: 3px solid #ecfdf5;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  box-shadow: 4px 4px 0 #020617;
}

/* ---- MOBILE CONTROLLERS FOR THE 5 NEW GAMES ---- */
.pg-mob-card { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-top: 20px; width: 100%; box-sizing: border-box; }
.pg-mob-card > button,
.pg-mob-card > input,
.pg-mob-card > textarea { width: 100%; box-sizing: border-box; margin-inline: auto; }
.pg-mob-card .muted { text-align: center; }
.pg-mob-card.htp-mob,
.pg-mob-card.fq-mob {
  align-items: center;
  text-align: center;
}
.pg-mob-card.fq-mob .m-fq-dial-stage,
.pg-mob-card.fq-mob .m-fq-ends,
.pg-mob-card.fq-mob input,
.pg-mob-card.fq-mob button.primary,
.pg-mob-card.fq-mob .m-fq-pf-btn,
.pg-mob-card.fq-mob .m-fq-pf-used,
.pg-mob-card.fq-mob .pg-unlock-btn {
  width: 100%;
}
.pg-mob-pill {
  align-self: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: #8b2cf5;
}
.pg-mob-pill.unf        { background: #111115; color: #facc15; }
.pg-mob-pill.unf-double { background: linear-gradient(90deg, #111115, #b45309); color: #fde047; }
.pg-mob-pill.unf-triple { background: linear-gradient(90deg, #f43f5e, #f59e0b); color: #ffffff; }
.pg-mob-pill.fq        { background: #0f172a; color: #06b6d4; }
.pg-mob-pill.fq-double { background: linear-gradient(90deg, #f59e0b, #fb7185); color: #ffffff; }
.pg-mob-pill.blf  { background: #111111; color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.pg-mob-pill.sk   { background: #ec4899; color: #ffffff; }
.pg-mob-pill.moo  { background: #16a34a; color: #ffffff; }
.pg-mob-pill.pink { background: #db2777; color: #ffffff; }
.pg-wait-note { text-align: center; font-weight: 700; margin: 4px 0 0; }
.pg-vip-btn { width: 100%; }

.m-unf-toprow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-unf-redraw-btn {
  background: #fef9c3;
  color: #111115;
  border: 2px solid #111115;
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
}
.m-unf-redraw-btn.is-active { background: #f43f5e; color: #ffffff; border-color: #111115; }
.m-unf-redraw-btn:active { transform: scale(0.96); }
.m-unf-swap-used {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: #52525b;
  background: #f4f4f5;
  padding: 4px 10px;
  border-radius: 999px;
}
.m-unf-prompt { background: #111115; color: #ffffff; border-radius: 16px; padding: 14px 16px; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.28; }
.m-unf-prompt.is-finale { border: 2.5px solid #dc2626; }
.m-unf-blank, .m-unf-filled { color: #ef4444; }
.m-unf-filled { text-decoration: underline solid #ef4444 2.5px; text-underline-offset: 4px; }
.m-unf-hand-meta { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; color: #3f3f46; text-align: center; }
.m-unf-swap-banner {
  background: #dc2626;
  border: 2px dashed #111115;
  color: #ffffff;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  text-align: center;
}
.m-unf-finale-hint {
  background: #fee2e2;
  border: 2px solid #dc2626;
  color: #111115;
  border-radius: 12px;
  padding: 7px 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  text-align: center;
}
.m-unf-hand {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.m-unf-card {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 2px solid #111115;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 19px;
  color: #111115;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.m-unf-card:active:not([disabled]) { background: #fee2e2; transform: scale(0.99); }
.m-unf-card.swap-target { border-style: dashed; border-color: #dc2626; background: #fff5f5; }
.m-unf-card.is-picked { border-color: #dc2626; background: #fee2e2; box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.28); }
.m-unf-card.is-mine { opacity: 0.52; background: #f4f4f5; border-style: dashed; cursor: not-allowed; }
.m-unf-pick-num {
  flex-shrink: 0;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  padding: 2px 9px;
  border-radius: 999px;
}
.m-unf-opt-letter {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.m-unf-mine-tag {
  margin-top: auto;
  margin-left: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  background: #cbd5e1;
  color: #334155;
  padding: 2px 8px;
  border-radius: 999px;
}
.m-unf-combo-label { line-height: 1.35; font-weight: 700; }
.m-unf-card-fill {
  background: #fef08a;
  color: #111115;
  font-weight: 900;
  padding: 0 5px;
  border-radius: 5px;
}
.m-unf-combo-btn { margin-top: 4px; }
.m-unf-win-box { background: #fef9c3; border: 2px solid #eab308; border-radius: 14px; padding: 12px 14px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.m-unf-bonus-tag { font-family: var(--font-display); font-weight: 900; font-size: 13px; color: #b45309; }

.m-fq-note { margin: 0; font-size: 14px; font-weight: 700; color: #475569; text-align: center; }
.m-fq-target-bar { position: relative; height: 42px; border-radius: 999px; background: #e2e8f0; overflow: hidden; border: 2px solid #0f172a; }
.m-fq-zone { position: absolute; top: 0; bottom: 0; }
.m-fq-zone.edge  { background: #fb7185; }
.m-fq-zone.close { background: #8b5cf6; }
.m-fq-zone.bull  { background: #06b6d4; }
.m-fq-pin { position: absolute; top: 0; bottom: 0; width: 4px; background: #0f172a; transform: translateX(-50%); }
.m-fq-dial-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0 6px;
}
.m-fq-dial-stage.is-locked-preview {
  opacity: 0.9;
  padding: 2px 0;
}
.m-fq-dial-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  overflow: visible;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}
.m-fq-dial-svg.is-interactive {
  touch-action: none;
  cursor: grab;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.m-fq-dial-svg.is-interactive:focus {
  outline: none;
}
.m-fq-dial-svg.is-interactive:focus-visible {
  outline: 3px solid #06b6d4;
  outline-offset: 4px;
  border-radius: 18px;
}
.m-fq-dial-svg.is-dragging {
  cursor: grabbing;
}
.m-fq-dial-svg.is-dragging .m-fq-handle-halo {
  opacity: 0.42;
}
.m-fq-dial-svg.is-dragging .m-fq-handle {
  filter: drop-shadow(0 4px 10px rgba(6, 182, 212, 0.45));
}
.m-fq-dial-svg.is-perfect.is-dragging .m-fq-handle {
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.55));
}
.m-fq-dial-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: -6px;
}
.m-fq-dial-hint {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.02em;
  transition: opacity 220ms ease;
}
.m-fq-dial-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.m-fq-ends {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: #0f172a;
}
.m-fq-end {
  padding: 7px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 2.8px solid #0f172a;
  box-shadow: 0 3px 0 #0f172a;
  line-height: 1.15;
  max-width: 48%;
  color: #ffffff;
}
.m-fq-end.left  { background: #06b6d4; border-color: #0f172a; color: #ffffff; text-align: left; }
.m-fq-end.right { background: #fb7185; border-color: #0f172a; color: #ffffff; text-align: right; }
.m-fq-clue { font-family: var(--font-display); font-weight: 900; font-size: 26px; text-align: center; color: #0f172a; }
.m-fq-slider-wrap { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.m-fq-range { width: 100%; accent-color: #06b6d4; height: 28px; }
.m-fq-readout { text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 18px; color: #0891b2; }
.m-fq-readout.is-perfect { color: #b45309; }
.m-fq-res { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-align: center; margin: 0; }
.m-fq-pf-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #fffbeb;
  border: 2.5px dashed #f59e0b;
  border-radius: 16px;
  padding: 12px 14px;
  color: #92400e;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
}
.m-fq-pf-btn strong { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: 0.04em; }
.m-fq-pf-btn span   { font-size: 12px; font-weight: 700; opacity: 0.9; }
.m-fq-pf-btn.armed {
  background: linear-gradient(90deg, #f59e0b, #facc15);
  border-style: solid;
  border-color: #b45309;
  color: #111115;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.38);
  transform: scale(1.015);
}
.m-fq-pf-used {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
}
.m-fq-reroll {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 2.5px solid #0f172a;
  box-shadow: 0 3px 0 #0f172a;
  color: #0f172a;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}
.m-fq-reroll:hover {
  background: #ecfeff;
}
.m-fq-reroll:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0f172a;
}
.m-fq-reroll em {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  background: #0f172a;
  color: #06b6d4;
}
.m-fq-reroll-used {
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
}

.m-blf-xw {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: 2px;
  background: #111111;
  border: 2px solid #111111;
  align-self: center;
  box-shadow: 4px 4px 0 #111111;
}
.m-blf-tile {
  position: relative;
  width: 36px;
  height: 38px;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 21px;
}
.m-blf-tile.is-revealed {
  background: #111111;
  color: #ffffff;
}
.m-blf-tile.is-revealed i { color: rgba(255, 255, 255, 0.78); }
.m-blf-tile i { position: absolute; top: 1px; left: 3px; font-style: normal; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 8px; font-weight: 700; }
.m-blf-err {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #111111;
  background: #f4f4f5;
  border: 2px solid #111111;
  border-radius: 6px;
  padding: 7px 10px;
  text-align: center;
}
.m-blf-xw-inputs {
  display: grid;
  grid-template-columns: repeat(var(--blf-cols, 4), minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: #111111;
  border: 2.5px solid #111111;
  box-shadow: 5px 5px 0 #111111;
  width: 100%;
  max-width: 336px;
  margin: 4px auto 6px;
}
.m-blf-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  aspect-ratio: 1 / 1;
  margin: 0;
}
.m-blf-box i {
  position: absolute;
  top: 2px;
  left: 4px;
  font-style: normal;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  color: #111111;
  pointer-events: none;
  z-index: 2;
}
.m-blf-box.is-revealed {
  background: #111111;
}
.m-blf-box.is-revealed i {
  color: rgba(255, 255, 255, 0.78);
}
.m-blf-cell-in {
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111111 !important;
  text-align: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 6.5vw, 30px);
  text-transform: uppercase;
  padding: 0 !important;
  margin: 0;
  caret-color: #111111;
}
.m-blf-cell-in:focus {
  outline: none;
  background: #f4f4f5 !important;
}
.m-blf-box.is-revealed .m-blf-cell-in {
  color: #ffffff !important;
  background: #111111 !important;
  cursor: default;
}
.blf-mob textarea { width: 100%; border-radius: 8px; border: 2.5px solid #111111; background: #ffffff; padding: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; color: #111111; resize: none; }
.blf-mob button.secondary { padding: 11px 16px; border-radius: 999px; font-weight: 800; }
.m-blf-actions { display: flex; flex-direction: column; gap: 8px; }
.m-blf-opts { display: flex; flex-direction: column; gap: 8px; }
.m-blf-opt {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: #ffffff;
  border: 2.5px solid #111111;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  cursor: pointer;
}
.m-blf-opt.mine { opacity: 0.55; border-style: dashed; }
.m-blf-letter { flex-shrink: 0; width: 24px; height: 24px; border-radius: 4px; background: #111111; color: #ffffff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 800; font-size: 12px; }
.m-blf-real { background: #ffffff; border: 2.5px solid #111111; border-radius: 8px; padding: 12px 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; color: #111111; box-shadow: 4px 4px 0 #111111; }

.m-sk-prompt-row { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.m-sk-prompt { font-family: var(--font-display); font-weight: 900; font-size: 22px; text-align: center; color: #1c1917; }
.m-sk-reroll { padding: 6px 14px !important; font-size: 13px !important; border-radius: 999px !important; }
.m-sk-canvas-wrap { width: 100%; border-radius: 16px; overflow: hidden; border: 2.5px solid #1c1917; background: #fffdf7; touch-action: none; }
.m-sk-canvas-wrap canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; touch-action: none; }
.m-sk-tools { display: flex; flex-direction: column; gap: 8px; }
.m-sk-colors { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.m-sk-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid #ffffff; box-shadow: 0 0 0 1.5px #cbd5e1; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.m-sk-swatch.active { box-shadow: 0 0 0 2.5px #1c1917; transform: scale(1.12); }
.m-sk-eraser { background: #fffdf7; color: #1c1917; font-size: 14px; font-weight: 900; }
.m-sk-sizes-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-sk-sizes { display: inline-flex; align-items: center; gap: 6px; }
.m-sk-size { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #cbd5e1; background: #ffffff; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.m-sk-size span { display: block; border-radius: 50%; background: #1c1917; }
.m-sk-size.active { border-color: #007aff; background: #eff6ff; }
.m-sk-btns { display: flex; gap: 6px; }
.m-sk-view-art { width: 100%; border-radius: 16px; overflow: hidden; border: 2.5px solid #1c1917; background: #fffdf7; }
.m-sk-svg { display: block; width: 100%; height: auto; }
.m-sk-earned { font-family: var(--font-display); font-weight: 900; font-size: 18px; text-align: center; color: #059669; }
.m-sk-react-box { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; }
.m-sk-react-label { font-family: var(--font-display); font-weight: 900; font-size: 11px; letter-spacing: 0.1em; color: #64748b; }
.m-sk-react-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.m-sk-react-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #1c1917; background: #fffdf5; font-size: 24px; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-shadow: 0 3px 0 #1c1917; transition: transform 120ms ease; }
.m-sk-react-btn:active, .m-sk-react-btn.pop { transform: scale(1.22); background: #fef08a; }

.m-moo-prompt { font-family: var(--font-display); font-weight: 900; font-size: 26px; margin: 0; color: #18102b; text-align: center; }

/* ---- 6. SPY (SPY VS. SPY STARK BLACK & WHITE) LOBBY, TV STAGE & MOBILE ---- */
.shd-preview { gap: 22px; align-items: stretch; }
.shd-preview-folder {
  background: #ffffff;
  border: 3.5px solid #111111;
  border-radius: 12px;
  padding: 16px 22px;
  width: 390px;
  box-shadow: 7px 7px 0 #111111;
  transform: rotate(-1deg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shd-folder-tab {
  align-self: flex-start;
  background: #111111;
  color: #ffffff;
  font-family: 'Anton', var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 4px;
}
.shd-mini-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.shd-mini-matrix span {
  background: #ffffff;
  border: 2px solid #111111;
  border-radius: 6px;
  padding: 7px 6px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: #111111;
}
.shd-mini-matrix span.is-key {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.shd-folder-foot { font-size: 14px; font-weight: 800; color: #3f3f46; text-align: center; }
.shd-vs-badge {
  align-self: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  border: 3.5px solid #111111;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
}
.shd-preview-imp {
  position: relative;
  background: #111111;
  color: #ffffff;
  border: 3.5px solid #111111;
  border-radius: 12px;
  padding: 18px 24px;
  width: 360px;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.28);
  transform: rotate(1deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 7px;
}
.shd-stamp-mini {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #ffffff;
  color: #111111;
  border: 2.5px solid #111111;
  font-family: 'Anton', var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 2px 12px;
  border-radius: 4px;
  transform: rotate(4deg);
}
.shd-imp-head { font-family: 'Anton', var(--font-display); font-size: 18px; letter-spacing: 0.12em; color: #e4e4e7; }
.shd-preview-imp strong { font-family: 'Anton', var(--font-display); font-size: clamp(26px, 2.4vw, 34px); letter-spacing: 0.04em; color: #ffffff; }
.shd-imp-foot { font-size: 14px; font-weight: 700; color: #d4d4d8; }

.shd-pill       { background: #111111 !important; color: #ffffff !important; border: 2px solid #111111; border-radius: 6px !important; }
.shd-pill-alert { background: #ffffff !important; color: #111111 !important; border: 3px solid #111111; border-radius: 6px !important; }
.shd-btn        { background: #111111 !important; color: #ffffff !important; border: 3px solid #111111 !important; border-radius: 8px !important; box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.28) !important; }
.shd-btn:hover  { background: #ffffff !important; color: #111111 !important; }
.shd-hint       { background: #111111 !important; color: #ffffff !important; border: 2.5px solid #111111 !important; border-radius: 8px !important; }

.shd-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; }
.shd-case-folder {
  position: relative;
  background: #ffffff;
  border: 4px solid #111111;
  border-radius: 14px;
  padding: 20px 28px 24px;
  width: min(94%, 1040px);
  box-shadow: 10px 10px 0 #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.shd-case-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shd-case-tab {
  background: #111111;
  color: #ffffff;
  font-family: 'Anton', var(--font-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  border-radius: 6px;
}
.shd-top-secret-stamp {
  border: 3px solid #111111;
  color: #111111;
  font-family: 'Anton', var(--font-display);
  font-size: 16px;
  letter-spacing: 0.16em;
  padding: 4px 14px;
  border-radius: 4px;
  transform: rotate(3deg);
  background: #ffffff;
}
.shd-case-brief {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 800;
  color: #27272a;
  text-align: center;
}
.shd-case-brief strong { color: #111111; text-decoration: underline; text-decoration-thickness: 3px; }

.shd-word-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 13px;
  width: 100%;
}
.shd-word-cell {
  position: relative;
  background: #111111;
  color: #ffffff;
  border: 3px solid #111111;
  border-radius: 10px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.25);
  opacity: 1;
}
.shd-coord {
  position: absolute;
  top: 7px;
  left: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #a1a1aa;
}
.shd-word-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  text-align: center;
}
.shd-word-cell.pickable { cursor: pointer; transition: transform 140ms ease, background 140ms ease, color 140ms ease; }
.shd-word-cell.pickable:hover { transform: translateY(-4px); background: #ffffff; color: #111111; }

/* GIANT SPY DISCUSSION VISUAL COUNTDOWN STAGE */
.spy-skip-btn {
  padding: 9px 20px !important;
  font-size: 15px !important;
  letter-spacing: 0.08em;
}
.spy-discuss-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.spy-discuss-timer {
  width: 100%;
  background: #111111;
  color: #ffffff;
  border: 4px solid #111111;
  border-radius: 18px;
  padding: 22px 34px;
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.22);
  transition: transform 200ms ease, background 200ms ease;
}
.spy-discuss-timer.is-urgent {
  background: #000000;
  box-shadow: 0 0 0 5px #111111, 10px 10px 0 rgba(17, 17, 17, 0.35);
}
.spy-disc-hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 3.6vw, 52px);
}
.spy-disc-dial {
  position: relative;
  width: clamp(220px, 24vw, 278px);
  height: clamp(220px, 24vw, 278px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spy-disc-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.spy-disc-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 16;
}
.spy-disc-ring-ticks {
  fill: none;
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 4;
}
.spy-disc-ring-prog {
  fill: none;
  stroke: #ffffff;
  stroke-width: 16;
  stroke-linecap: butt;
  transition: stroke-dashoffset 120ms linear;
}
.spy-discuss-timer.is-urgent .spy-disc-ring-prog {
  stroke: #ffffff;
  animation: spyUrgentBlink 520ms steps(2, end) infinite;
}
@keyframes spyUrgentBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.spy-disc-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.spy-disc-secs {
  font-family: 'Anton', var(--font-display);
  font-size: clamp(92px, 10vw, 134px);
  line-height: 0.92;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.spy-disc-unit {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #a1a1aa;
  margin-top: 4px;
}
.spy-disc-prompt-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spy-disc-kicker {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #d4d4d8;
}
.spy-disc-title {
  margin: 0;
  font-family: 'Anton', var(--font-display);
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 0.96;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.spy-disc-sub {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  color: #d4d4d8;
}
.spy-disc-bar-track {
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 2.5px solid #ffffff;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}
.spy-disc-bar-fill {
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #ffffff 0px,
    #ffffff 12px,
    #d4d4d8 12px,
    #d4d4d8 24px
  );
  transition: width 120ms linear;
}
.spy-disc-words {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.spy-disc-words span {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 4px;
}
.spy-disc-clues {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.spy-disc-clues.dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.spy-disc-clue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 3px solid #111111;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 5px 5px 0 #111111;
}
.spy-disc-clue-item .animal-head {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}
.spy-disc-clue-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spy-disc-clue-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52525b;
}
.spy-disc-clue-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.85vw, 26px);
  color: #111111;
  line-height: 1.1;
}

.shd-evidence-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 3px solid #111111;
  border-radius: 10px;
  padding: 8px 16px;
  max-width: 1260px;
  margin: 0 auto;
  box-shadow: 4px 4px 0 #111111;
}
.shd-ev-label { font-family: 'Anton', var(--font-display); font-size: 15px; letter-spacing: 0.1em; color: #111111; }
.shd-mini-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.shd-mini-chip { background: #111111; color: #ffffff; font-family: var(--font-display); font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 4px; }

.shd-lineup-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  align-content: center;
}
.shd-lineup-grid.dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.shd-suspect-card {
  background: #ffffff;
  border: 3.5px solid #111111;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 6px 6px 0 #111111;
  animation: cardHitDrop 340ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--od, 0ms) both;
}
.shd-suspect-card.is-impostor {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.35);
}
.shd-suspect-card.is-impostor .shd-sus-name { color: #ffffff; }
.shd-mug-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 14px;
  background: #111111;
  color: #ffffff;
  font-family: 'Anton', var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
}
.shd-mug-strip.imp-strip { background: #ffffff; color: #111111; border-bottom: 2.5px solid #111111; }
.shd-voted-stamp { background: #ffffff; color: #111111; padding: 2px 9px; border-radius: 4px; font-family: var(--font-display); font-weight: 900; font-size: 11px; }
.shd-pending-dot { opacity: 0.65; font-family: var(--font-display); font-size: 11px; }
.shd-pts-pill { background: #111111; color: #ffffff; border: 1.5px solid #ffffff; padding: 2px 10px; border-radius: 4px; font-family: var(--font-display); font-weight: 900; font-size: 12px; }
.shd-mug-strip.imp-strip .shd-pts-pill { background: #111111; color: #ffffff; border-color: #111111; }

.shd-sus-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px 8px;
}
.shd-sus-head .animal-head { width: 58px; height: 58px; }
.shd-lineup-grid.dense .shd-sus-head .animal-head { width: 46px; height: 46px; }
.shd-sus-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(19px, 1.65vw, 24px); color: #111111; }

.shd-wiretap {
  margin: 0 14px 14px;
  background: #f4f4f5;
  border: 2.5px solid #111111;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.shd-wiretap.compact { margin: 0 12px 10px; padding: 8px 10px; }
.shd-wire-tag { font-family: var(--font-display); font-weight: 900; font-size: 11px; letter-spacing: 0.12em; color: #52525b; }
.shd-clue-text { font-family: var(--font-display); font-weight: 900; font-size: clamp(23px, 2.2vw, 32px); color: #111111; line-height: 1.1; }
.shd-lineup-grid.dense .shd-clue-text { font-size: clamp(18px, 1.7vw, 24px); }

.shd-accusers {
  margin: 0 12px 12px;
  background: #f4f4f5;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.shd-accusers.has-votes { background: #e4e4e7; }
.shd-suspect-card.is-impostor .shd-accusers { background: rgba(255, 255, 255, 0.14); }
.shd-acc-label { font-family: var(--font-display); font-weight: 900; font-size: 11px; letter-spacing: 0.08em; color: #3f3f46; }
.shd-suspect-card.is-impostor .shd-acc-label { color: #e4e4e7; }
.shd-acc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 2px solid #111111;
  border-radius: 999px;
  padding: 2px 8px 2px 3px;
  font-weight: 900;
  font-size: 13px;
  color: #111111;
}
.shd-acc-chip .animal-head { width: 26px; height: 26px; }
.shd-acc-none { font-size: 13px; font-weight: 800; color: #71717a; }

.shd-caught-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #111111;
  color: #ffffff;
  border: 4px solid #111111;
  border-radius: 14px;
  padding: 18px 32px;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.28);
}
.shd-caught-av { position: relative; flex-shrink: 0; }
.shd-caught-av .animal-head { width: 78px; height: 78px; background: #ffffff; border-radius: 50%; padding: 4px; }
.shd-caught-stamp {
  display: inline-block;
  background: #ffffff;
  color: #111111;
  font-family: 'Anton', var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  padding: 2px 12px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.shd-caught-title { font-family: 'Anton', var(--font-display); font-size: clamp(28px, 2.7vw, 40px); letter-spacing: 0.04em; color: #ffffff; line-height: 1.06; }
.shd-caught-sub { font-size: 17px; font-weight: 700; color: #d4d4d8; margin-top: 2px; }

.shd-reveal-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: #111111;
  color: #ffffff;
  border: 4px solid #111111;
  border-radius: 14px;
  padding: 14px 26px;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.24);
}
.shd-outcome-block { display: flex; flex-direction: column; gap: 4px; }
.shd-big-stamp {
  font-family: 'Anton', var(--font-display);
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.05;
}
.shd-outcome-sub { font-size: clamp(15px, 1.35vw, 19px); font-weight: 700; color: #d4d4d8; }
.shd-secret-vault {
  flex-shrink: 0;
  background: #ffffff;
  color: #111111;
  border: 3px solid #111111;
  border-radius: 10px;
  padding: 10px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shd-secret-vault span { font-family: var(--font-display); font-weight: 900; font-size: 12px; letter-spacing: 0.14em; color: #52525b; }
.shd-secret-vault strong { font-family: 'Anton', var(--font-display); font-size: clamp(24px, 2.2vw, 32px); letter-spacing: 0.04em; line-height: 1.05; }

.pg-mob-pill.shd     { background: #111111; color: #ffffff; border-radius: 6px; }
.pg-mob-pill.shd-imp { background: #ffffff; color: #111111; border: 2.5px solid #111111; border-radius: 6px; }
.m-shd-role { border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-family: var(--font-display); }
.m-shd-role.crew { background: #ffffff; color: #111111; border: 3px solid #111111; box-shadow: 4px 4px 0 #111111; }
.m-shd-role.imp  { background: #111111; color: #ffffff; border: 3px solid #111111; box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.28); }
.m-shd-role span { font-size: 11px; font-weight: 900; letter-spacing: 0.14em; opacity: 0.78; }
.m-shd-role strong { font-family: 'Anton', var(--font-display); font-size: 28px; letter-spacing: 0.04em; }
.m-shd-role small { font-family: inherit; font-size: 13px; opacity: 0.88; }
.m-shd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-shd-grid span { background: #ffffff; border: 2px solid #111111; border-radius: 6px; padding: 7px 6px; text-align: center; font-size: 12px; font-weight: 800; color: #111111; }
.m-shd-grid span.is-secret { background: #111111; border-color: #111111; color: #ffffff; }
.m-spy-discuss-head { margin: 2px 0 0; font-family: 'Anton', var(--font-display); font-size: 32px; letter-spacing: 0.05em; color: #111111; text-align: center; }
.m-spy-clue-list { display: flex; flex-direction: column; gap: 8px; }
.m-spy-clue-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #ffffff; border: 2.5px solid #111111; border-radius: 8px; padding: 10px 14px; font-size: 15px; color: #111111; box-shadow: 3px 3px 0 #111111; }
.m-spy-clue-row span { font-weight: 900; font-size: 17px; }
.m-shd-votes { display: flex; flex-direction: column; gap: 8px; }
.m-shd-vote-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #ffffff; border: 2.5px solid #111111; border-radius: 8px; padding: 12px 14px; font-size: 16px; cursor: pointer; color: #111111; box-shadow: 3px 3px 0 #111111; }
.m-shd-vote-btn span { font-weight: 900; color: #111111; }
.m-shd-escape-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-shd-escape-btn { background: #111111; color: #ffffff; border: 2px solid #111111; border-radius: 6px; padding: 12px 6px; font-weight: 800; font-size: 13px; cursor: pointer; }

/* Spy vs. Spy Lobby & HTP Overrides */
body[data-game="shady"] .btn-start-lobby,
body[data-game="shady"] .host-pill,
body[data-game="shady"] .room-code-chip {
  background: #111111 !important;
  color: #ffffff !important;
  border: 2.5px solid #111111 !important;
  border-radius: 6px !important;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.25) !important;
}
body[data-game="shady"] .htp-open-row {
  border-bottom: 2px solid #111111;
}
body[data-game="shady"] .htp-open-num {
  color: #111111;
}
body[data-game="shady"] .htp-open-text {
  color: #3f3f46;
}
body[data-game="shady"] .htp-open-text strong {
  color: #111111;
}
.htp-stage.is-editorial .htp-editorial-body {
  max-width: 1180px;
  padding: 0 clamp(28px, 4vw, 64px);
}
.htp-editorial-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
}
.htp-editorial-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.htp-editorial-svg {
  width: 100%;
  max-width: clamp(300px, 32vw, 430px);
  height: auto;
  display: block;
}
.htp-editorial-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.htp-editorial-step {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(20px, 2.8vh, 30px) 0;
  border-bottom: 2px solid rgba(17, 17, 17, 0.14);
  text-align: left;
}
.htp-editorial-step:first-child {
  padding-top: 0;
}
.htp-editorial-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.htp-editorial-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #e64928;
  flex-shrink: 0;
  min-width: 44px;
}
.htp-editorial-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.htp-editorial-lead {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.12;
  color: #111111;
  letter-spacing: 0.01em;
}
.htp-editorial-rest {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.4;
  color: #52525b;
}
body[data-game="shady"] .check-badge {
  background: #111111 !important;
  color: #ffffff !important;
}

/* ---- 7. COLORBLIND (CRAYON ART-CLASS SKETCHBOOK + 3-BEAT REVEAL + DRAG LOUPE) ---- */
.cb-preview-open { gap: 22px; }
.cb-prev-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 3.5px solid #111115;
  border-radius: 16px;
  padding: 8px 18px 8px 10px;
  box-shadow: 5px 5px 0 #111115;
  transform: rotate(-1.5deg);
}
.cb-prev-chip-swatch {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 3px solid #111115;
  flex-shrink: 0;
}
.cb-prev-chip-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1px;
}
.cb-prev-chip-meta small {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #64748b;
}
.cb-prev-chip-meta strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 27px);
  color: #111115;
  line-height: 1.05;
}
.cb-prev-chip-meta em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #ef4444;
}
.cb-crayon-frame {
  background: #ffffff !important;
  border: 3.5px solid #111115;
  box-shadow: 6px 6px 0 #111115;
  padding: 7px !important;
  border-radius: 14px !important;
}
.cb-prev-acts {
  background: #fef9c3 !important;
  border: 3.5px solid #111115 !important;
  border-radius: 16px;
  padding: 10px 18px !important;
  box-shadow: 5px 5px 0 #111115 !important;
  transform: rotate(1.2deg);
}
.cb-prev-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 4px 8px;
}
.cb-prev-step span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #52525b;
}
.cb-prev-step strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 27px);
  letter-spacing: -0.01em;
  color: #111115;
}
.cb-prev-step em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #52525b;
}
.swch-prev-arrow {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: #111115;
}
.swch-prev-grid {
  display: grid;
  grid-template-columns: repeat(6, 36px);
  gap: 4px;
  padding: 6px;
  background: transparent;
  border-radius: 10px;
}
.swch-mini-cell {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
}
.swch-mini-cell.is-frame  { box-shadow: inset 0 0 0 2.5px #ffffff; }
.swch-mini-cell.is-target { box-shadow: 0 0 0 2.5px #111115, inset 0 0 0 3px #ffffff; }

.swch-pill {
  background: #ffffff !important;
  color: #111115 !important;
  border: 3px solid #111115 !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 #111115 !important;
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.06em;
  padding: 6px 18px !important;
}
.swch-pill.is-double-pill {
  background: #fef08a !important;
  box-shadow: 3px 3px 0 #f97316 !important;
}
.swch-pill.is-finale-pill {
  background: #111115 !important;
  color: #fef08a !important;
  box-shadow: 4px 4px 0 #ef4444 !important;
}
.swch-pill.is-exact-pill {
  background: #facc15 !important;
  color: #111115 !important;
}
.swch-btn {
  background: #111115 !important;
  color: #ffffff !important;
  border: 3px solid #111115 !important;
  border-radius: 14px !important;
  box-shadow: 4px 4px 0 #ef4444 !important;
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em;
}
.swch-btn:hover {
  transform: translateY(-2px);
  background: #1f2937 !important;
}

.swch-wall-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
}
.swch-wall-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 60vh;
}
.cb-artboard-frame {
  background: #ffffff;
  border: 4px solid #111115;
  border-radius: 20px;
  padding: 6px 12px 10px 6px;
  box-shadow: 8px 8px 0 #111115;
  display: flex;
  flex-direction: column;
}
.cb-axis-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.cb-axis-corner {
  width: 26px;
  flex-shrink: 0;
}
.cb-axis-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
}
.cb-axis-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: #475569;
  line-height: 1;
}
.cb-axis-body {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 6px;
}
.cb-axis-rows {
  width: 26px;
  flex-shrink: 0;
  display: grid;
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 5px;
}
.cb-axis-row {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: #475569;
  line-height: 1;
}
.cb-axis-row.is-earth-axis {
  margin-top: 4px;
  color: #78350f;
}
.cb-axis-col.is-target-axis,
.cb-axis-row.is-target-axis {
  background: #111115;
  color: #facc15;
  box-shadow: 0 2px 0 rgba(17, 17, 21, 0.25);
}
.cb-grid-canvas {
  flex: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
}
.swch-wall-grid.cb-clean-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 5px;
  padding: 0;
  background: transparent;
}
.swch-cell {
  position: relative;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.swch-cell.is-earth-row {
  margin-top: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(17, 17, 21, 0.14);
}
.swch-cell.is-frame {
  box-shadow: inset 0 0 0 3.5px #ffffff, 0 0 0 2px #111115;
  z-index: 4;
}
.swch-cell.is-outer {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
  z-index: 2;
}
.swch-target-mark {
  font-size: clamp(18px, 1.8vw, 26px);
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
  font-weight: 900;
  z-index: 9;
}
.cb-hero-bar.reveal-bar + .cb-host-quip + .swch-wall-wrap .swch-wall-stage,
.cb-hero-bar.reveal-bar + .swch-wall-wrap .swch-wall-stage {
  max-height: 51vh;
}

.cb-hero-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1420px;
  width: 100%;
  margin: 0 auto;
  padding: 4px 14px;
}
.cb-giver-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 3px solid #111115;
  border-radius: 18px;
  padding: 6px 18px 6px 10px;
  box-shadow: 4px 4px 0 #111115;
}
.cb-giver-chip .animal-head { width: 48px; height: 48px; flex-shrink: 0; }
.cb-giver-chip div { display: flex; flex-direction: column; text-align: left; }
.cb-giver-chip strong { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 23px); font-weight: 900; color: #111115; line-height: 1.05; }
.cb-giver-chip span { font-size: clamp(13px, 1.1vw, 15px); font-weight: 700; color: #52525b; }
.cb-clue-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111115;
  color: #ffffff;
  border: 3px solid #111115;
  border-radius: 16px;
  padding: 8px 20px;
  box-shadow: 5px 5px 0 #06b6d4;
}
.cb-clue-badge.c2 { box-shadow: 5px 5px 0 #ec4899; }
.cb-clue-badge.is-finale-clue {
  background: #111115;
  box-shadow: 6px 6px 0 #facc15;
  padding: 10px 26px;
}
.cb-clue-badge small { font-family: var(--font-display); font-size: 11px; font-weight: 900; letter-spacing: 0.1em; color: #fef08a; text-transform: uppercase; }
.cb-clue-badge strong { font-family: var(--font-display); font-size: clamp(22px, 2.3vw, 36px); font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; }
.cb-clue-plus { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: #111115; }
.cb-rule-pill {
  background: #fef9c3;
  border: 2.5px solid #111115;
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 900;
  color: #111115;
  letter-spacing: 0.04em;
  box-shadow: 3px 3px 0 #111115;
}
.cb-rule-pill.live { background: #fde047; }

/* Reveal Paint-Chip Card + Blindfold Still On Roast + Host Quip */
.cb-paint-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 3.5px solid #111115;
  border-radius: 16px;
  padding: 6px 18px 6px 8px;
  box-shadow: 5px 5px 0 #111115;
}
.cb-paint-chip-fill {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 3px solid #111115;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
}
.cb-chip-coord {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  line-height: 1;
  background: rgba(17, 17, 21, 0.84);
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.cb-paint-chip-foot { display: flex; flex-direction: column; text-align: left; }
.cb-paint-chip-foot small { font-family: var(--font-display); font-size: 11px; font-weight: 900; letter-spacing: 0.1em; color: #64748b; }
.cb-paint-chip-foot strong { font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 28px); font-weight: 900; color: #111115; line-height: 1.05; }

.cb-roast-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #fff1f2;
  border: 3px solid #dc2626;
  border-radius: 14px;
  padding: 5px 14px;
  box-shadow: 4px 4px 0 #111115;
  transform: rotate(-1.5deg);
}
.cb-roast-stamp {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #dc2626;
}
.cb-roast-compare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #111115;
}
.cb-roast-compare .animal-head { width: 32px; height: 32px; }
.cb-roast-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2.5px solid #111115;
  display: inline-block;
  flex-shrink: 0;
}
.cb-host-quip {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.45vw, 22px);
  color: #111115;
  background: #fef9c3;
  border: 2.5px solid #111115;
  border-radius: 999px;
  padding: 4px 20px;
  margin: 0 auto 2px;
  box-shadow: 3px 3px 0 #111115;
}
.cb-scores-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cb-scores-open.is-dense { gap: 6px; }
.cb-scores-open.is-dense .cb-sc-inline { padding: 2px 9px 2px 4px; font-size: 13px; }
.cb-scores-open.is-dense .cb-sc-inline .animal-head { width: 26px; height: 26px; }
.cb-sc-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 2.5px solid #111115;
  border-radius: 999px;
  padding: 3px 12px 3px 5px;
  font-weight: 800;
  font-size: 15px;
  color: #111115;
}
.cb-sc-inline .animal-head { width: 32px; height: 32px; }
.cb-sc-inline b { font-family: var(--font-display); font-weight: 900; font-size: 16px; color: #94a3b8; }
.cb-sc-inline.has-pts { background: #ecfdf5; border-color: #111115; }
.cb-sc-inline.has-pts b { color: #059669; }
.cb-sc-inline.is-dd.has-pts { background: #fef9c3; border-color: #111115; }
.cb-sc-inline.is-dd .cb-sc-who small { color: #b45309; }
.cb-sc-who { display: flex; flex-direction: column; text-align: left; line-height: 1.08; }
.cb-sc-who small { font-size: 10px; font-weight: 800; color: #2563eb; letter-spacing: 0.03em; }
.cb-sc-inline.is-giver .cb-sc-who small { color: #d97706; }

/* 3-Beat Jackbox Reveal Choreography */
@keyframes cbBeat1In {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.45); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes cbArrowIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cbBeat2In {
  from { opacity: 0; transform: scale(0.72); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes cbBeat3In {
  from { opacity: 0; transform: translateY(10px) scale(0.86); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.swch-callout-badge.is-reveal-pin {
  animation: cbBeat1In 340ms cubic-bezier(0.22, 1.35, 0.36, 1) calc(80ms + var(--pidx, 0) * 90ms) both;
}
.swch-arrow.beat-1 {
  animation: cbArrowIn 280ms ease calc(80ms + var(--pidx, 0) * 90ms) both;
}
.cb-paint-chip.beat-2 {
  animation: cbBeat2In 420ms cubic-bezier(0.22, 1.35, 0.36, 1) 750ms both;
}
.swch-target-mark.beat-2 {
  animation: cbBeat2In 360ms cubic-bezier(0.22, 1.4, 0.36, 1) 820ms both;
}
.cb-roast-card.beat-3,
.cb-scores-open.beat-3,
.cb-host-quip.beat-3,
.swch-callout-tag.beat-3 {
  animation: cbBeat3In 380ms cubic-bezier(0.22, 1.35, 0.36, 1) 1450ms both;
}

/* Clean Callout Layer */
.swch-dot-mark {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #111115;
  z-index: 5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
}
.swch-callout-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
}
.swch-callout-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.swch-callout-badges {
  position: absolute;
  inset: 0;
}
.swch-p1-origin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: #111115;
  border: 2.5px solid #111115;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  z-index: 13;
}
.swch-callout-badge {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 14;
}
.swch-callout-av {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #111115;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
}
.swch-callout-badge.is-exact .swch-callout-av {
  border-color: #facc15;
  box-shadow: 0 0 0 3px #111115, 0 6px 18px rgba(250, 204, 21, 0.65);
}
.swch-callout-badge.is-scored .swch-callout-av { border-color: #10b981; }
.swch-callout-badge.is-worst .swch-callout-av {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px #111115, 0 6px 16px rgba(239, 68, 68, 0.48);
}
.swch-callout-av .animal-head { width: 100%; height: 100%; object-fit: contain; }
.swch-callout-name {
  margin-top: -5px;
  background: #111115;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  padding: 1px 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}
.swch-callout-tag {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #111115;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 2px 7px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
}
.swch-callout-badge.is-exact .swch-callout-tag { background: #facc15; color: #111115; border-color: #111115; }
.swch-callout-badge.is-scored .swch-callout-tag { background: #10b981; color: #ffffff; }
.swch-callout-badge.is-worst .swch-callout-tag { background: #ef4444; color: #ffffff; border-color: #111115; }
.swch-cell.is-target {
  box-shadow: 0 0 0 4px #111115, inset 0 0 0 4px #ffffff, 0 0 26px rgba(250, 204, 21, 0.95);
  transform: scale(1.16);
  z-index: 8;
  animation: cbTargetPulse 1.1s ease-in-out 900ms infinite;
}
@keyframes cbTargetPulse {
  0%, 100% { transform: scale(1.14); }
  50%      { transform: scale(1.22); }
}

/* Mobile Crayon Art-Board + Press-and-Drag Magnifying Loupe + 3-Color Selector */
.pg-mob-pill.swch.is-finale { background: #111115 !important; color: #fef08a !important; }
.pg-mob-pill.swch.is-dd-pill { background: #facc15 !important; color: #111115 !important; border: 2px solid #111115 !important; }
.pg-mob-pill.swch-roast { background: #ef4444 !important; color: #ffffff !important; }
.m-cb-locked-chip.compact { min-height: 46px; padding: 6px 12px; }
.m-cb-choices-wrap { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.m-cb-choices-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #52525b;
}
.m-cb-reroll-link {
  background: #ffffff;
  border: 2px solid #111115;
  border-radius: 999px;
  padding: 3px 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  color: #111115;
  cursor: pointer;
}
.m-cb-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.m-cb-choice-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 5px;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.m-cb-choice-chip.is-active {
  border-color: #111115;
  box-shadow: 3px 3px 0 #111115;
  transform: translateY(-2px);
}
.m-cb-choice-swatch {
  width: 100%;
  height: 44px;
  border-radius: 9px;
  border: 2px solid #111115;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.m-cb-choice-lbl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  color: #111115;
}
.m-cb-secret-banner,
.m-cb-locked-chip {
  width: 100%;
  min-height: 62px;
  border-radius: 16px;
  border: 3px solid #111115;
  box-shadow: 4px 4px 0 #111115;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  position: relative;
}
.m-cb-secret-banner span,
.m-cb-locked-chip span {
  background: rgba(17, 17, 21, 0.84);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.m-cb-input-wrap { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.m-cb-input-wrap input.is-invalid { border-color: #ef4444 !important; background: #fff1f2 !important; }
.m-cb-input-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 18px;
  padding: 0 4px;
}
.m-cb-clue-err { font-size: 12px; font-weight: 800; color: #dc2626; }
.m-cb-word-cnt { font-family: var(--font-display); font-size: 11px; font-weight: 900; color: #64748b; margin-left: auto; }
.m-cb-word-cnt.is-bad { color: #dc2626; }

.m-cb-live-chip {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: #ffffff;
  border: 3px solid #111115;
  border-radius: 16px;
  padding: 7px;
  box-shadow: 4px 4px 0 #111115;
}
.m-cb-big-swatch {
  width: 84px;
  min-height: 58px;
  border-radius: 10px;
  border: 2.5px dashed #94a3b8;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  flex-shrink: 0;
  transition: background 90ms linear;
}
.m-cb-big-swatch.has-color { border-style: solid; border-color: #111115; }
.m-cb-big-swatch.is-dd-swatch { box-shadow: 0 0 0 3px #facc15; }
.m-cb-big-swatch span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  line-height: 1.15;
  color: #475569;
}
.m-cb-big-swatch.has-color span {
  background: rgba(17, 17, 21, 0.86);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.m-cb-big-swatch.is-dd-swatch span {
  background: #facc15;
  color: #111115;
  border: 2px solid #111115;
}
.m-cb-live-clue {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 2px;
  min-width: 0;
}
.m-cb-live-clue small { font-family: var(--font-display); font-weight: 900; font-size: 10px; letter-spacing: 0.08em; color: #64748b; }
.m-cb-live-clue strong { font-family: var(--font-display); font-weight: 900; font-size: 19px; color: #111115; line-height: 1.1; word-break: break-word; }
.m-cb-pick-status {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  line-height: 1.2;
  margin-top: 2px;
}
.m-cb-pick-status.is-dd-msg {
  color: #b45309;
  font-weight: 900;
}

.m-cb-board {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 3.5px solid #111115;
  border-radius: 14px;
  padding: 4px 6px 6px 4px;
  box-shadow: 5px 5px 0 #111115;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-cb-axis-top {
  display: flex;
  align-items: center;
  gap: 3px;
}
.m-cb-axis-corner {
  width: 16px;
  flex-shrink: 0;
}
.m-cb-hdr-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5px;
}
.m-cb-hdr-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 15px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9.5px;
  color: #64748b;
  line-height: 1;
}
.m-cb-axis-body {
  display: flex;
  align-items: stretch;
  gap: 3px;
}
.m-cb-hdr-rows {
  width: 16px;
  flex-shrink: 0;
  display: grid;
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 2.5px;
}
.m-cb-hdr-row {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9.5px;
  color: #64748b;
  line-height: 1;
}
.m-cb-hdr-row.is-earth-hdr { margin-top: 3px; color: #78350f; }
.m-cb-hdr-col.is-active-hdr,
.m-cb-hdr-row.is-active-hdr {
  background: #111115;
  color: #facc15;
}
.m-cb-grid-canvas {
  flex: 1;
  min-width: 0;
  position: relative;
}
.m-cb-board.is-interactive .m-cb-grid {
  touch-action: none;
  cursor: crosshair;
}
.m-cb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5px;
  width: 100%;
}
.m-swch-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.m-swch-tile.is-earth { margin-top: 3px; }
.m-swch-tile.is-crosshair {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.72);
}
.m-swch-tile.selected {
  box-shadow: 0 0 0 2.5px #111115, inset 0 0 0 2px #ffffff, 0 3px 10px rgba(17, 17, 21, 0.45);
  transform: scale(1.26);
  z-index: 8;
}
.m-swch-tile.is-dd-sel {
  box-shadow: 0 0 0 2.5px #111115, inset 0 0 0 2px #facc15, 0 0 12px rgba(250, 204, 21, 0.85);
}
.m-swch-tile.old-pin {
  box-shadow: inset 0 0 0 2px #ffffff, 0 0 0 1.5px #111115;
}
.m-cb-pin-badge {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  line-height: 1;
  text-shadow: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.m-cb-pin-badge.is-p1 {
  background: #ffffff;
  color: #111115;
  border: 1.5px solid #111115;
}
.m-cb-pin-badge.is-sel {
  background: #111115;
  color: #ffffff;
  border: 1.5px solid #ffffff;
}
.m-cb-pin-badge.is-dd {
  background: #facc15;
  color: #111115;
  border: 1.5px solid #111115;
  font-size: 8.5px;
}
.m-swch-tile.static { cursor: default; }
.m-swch-tile.is-target-mob {
  box-shadow: 0 0 0 2.5px #111115, inset 0 0 0 2px #ffffff;
  transform: scale(1.24);
  z-index: 5;
  font-size: 13px;
}

/* Floating Magnifying Loupe hovering cleanly ABOVE finger with Coordinate Pill */
.m-cb-loupe {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 4px solid #111115;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 12px 26px rgba(17, 17, 21, 0.38);
  transform: translate(-50%, calc(-100% - 28px)) scale(0.75);
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity 90ms ease, transform 90ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-cb-loupe::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #111115;
}
.m-cb-loupe.is-active {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 28px)) scale(1);
}
.m-cb-loupe.is-dd {
  border-color: #facc15;
  box-shadow: 0 0 0 3px #111115, 0 12px 26px rgba(250, 204, 21, 0.55);
}
.m-cb-loupe-fill {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 21, 0.25);
  display: block;
}
.m-cb-loupe-coord {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #111115;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 1px 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
}
.m-cb-loupe.is-dd .m-cb-loupe-coord {
  background: #facc15;
  color: #111115;
  border-color: #111115;
}
body[data-game="oneclue"] button.primary.is-dd-btn {
  background: #facc15 !important;
  color: #111115 !important;
  border: 3px solid #111115 !important;
  box-shadow: 4px 4px 0 #111115 !important;
}
.m-cb-quip { font-weight: 800; color: #111115 !important; text-align: center; margin: 2px 0; }

/* Unfiltered Finale crisp 2-card combo layout (TV + Mobile) */
.unf-combo-pair {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: left;
}
.unf-combo-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--unf-hand, 'Comic Relief', cursive);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.15;
  color: #111115;
}
.unf-combo-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  margin-top: 2px;
}
.m-unf-sticky-head {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #ffffff;
  padding: 6px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1.5px solid #e5e7eb;
}
.m-unf-combo-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  text-align: left;
}
.m-unf-combo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.m-unf-combo-row b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 12px;
}
.swch-col-lbl,
.swch-row-lbl {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #3f3f46;
  text-shadow: none;
  user-select: none;
}
.swch-cell {
  position: relative;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.swch-cell.is-outer {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
}
.swch-cell.is-frame {
  box-shadow: inset 0 0 0 3.5px #ffffff, 0 0 0 2px #0d1117;
  z-index: 2;
}
.swch-cell.is-target {
  box-shadow: 0 0 0 3px #0d1117, inset 0 0 0 4px #ffffff;
  transform: scale(1.08);
  z-index: 4;
}
.swch-target-mark {
  font-size: 22px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.swch-pin-stack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 6;
}
.swch-pin {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #0d1117;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  animation: cardHitDrop 280ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.swch-pin-stack.multi .swch-pin { width: 28px; height: 28px; }
.swch-pin .animal-head { width: 100%; height: 100%; }
.swch-pin.pin-1 { opacity: 0.94; }
.swch-pin.scored { box-shadow: 0 0 0 2.5px #0d1117, 0 4px 10px rgba(0, 0, 0, 0.35); }
.swch-pin-tag {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: #0d1117;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 10px;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
}
.swch-pin.scored .swch-pin-tag { background: #16a34a; color: #ffffff; }

/* Clean Helvetica Typography & Chrome Overrides for COLORBLIND (No 3D Text-Shadow) */
body[data-game="oneclue"] h1,
body[data-game="oneclue"] h2,
body[data-game="oneclue"] h3,
body[data-game="oneclue"] p,
body[data-game="oneclue"] span,
body[data-game="oneclue"] button,
body[data-game="oneclue"] input,
body[data-game="oneclue"] label,
body[data-game="oneclue"] .slot-name,
body[data-game="oneclue"] .brand-tagline,
body[data-game="oneclue"] .corner-label,
body[data-game="oneclue"] .corner-url,
body[data-game="oneclue"] .lobby-status-line,
body[data-game="oneclue"] .standing-name,
body[data-game="oneclue"] .standing-pts,
body[data-game="oneclue"] .winner-name,
body[data-game="oneclue"] .winner-title,
body[data-game="oneclue"] .winner-score {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body[data-game="oneclue"] .progress-badge {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0d1117 !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-shadow: none !important;
}
body[data-game="oneclue"] .room-code-big,
body[data-game="oneclue"] .htp-headline,
body[data-game="oneclue"] .stage-headline,
body[data-game="oneclue"] .winner-headline {
  color: #0d1117;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  text-shadow: none !important;
}
body[data-game="oneclue"] .qr-frame {
  border: 2.5px solid #0d1117;
  box-shadow: none;
}
body[data-game="oneclue"] .btn-start-lobby,
body[data-game="oneclue"] .host-pill,
body[data-game="oneclue"] .room-code-chip {
  background: #0d1117 !important;
  color: #ffffff !important;
  border: 2px solid #0d1117 !important;
  box-shadow: none !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
body[data-game="oneclue"] .htp-open-row {
  border-bottom: 2px solid rgba(13, 17, 23, 0.16);
}
body[data-game="oneclue"] .htp-open-num {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #0d1117;
  text-shadow: none;
}
body[data-game="oneclue"] .htp-open-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #52525b;
}
body[data-game="oneclue"] .htp-open-text strong {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #0d1117;
  text-shadow: none;
}
body[data-game="oneclue"] .standing-row {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(13, 17, 23, 0.16);
  border-radius: 0;
  box-shadow: none;
}
body[data-game="oneclue"] .standing-row.leader {
  border-bottom: 3px solid #0d1117;
  text-shadow: none;
}

/* Mobile COLORBLIND Clean Box-Free Helvetica UI */
body[data-game="oneclue"] .panel,
body[data-game="oneclue"] .join-panel,
.cb-mob-open {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.pg-mob-pill.swch {
  background: transparent;
  color: #0d1117;
  border-bottom: 2px solid #0d1117;
  border-radius: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-shadow: none;
}
.pg-mob-pill.swch-win {
  background: #0d1117;
  color: #ffffff;
  border-radius: 6px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  box-shadow: none;
}
.m-cb-title {
  margin: 4px 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #0d1117;
  text-align: center;
  text-shadow: none;
}
.m-swch-secret-card {
  width: 100%;
  height: 112px;
  border-radius: 12px;
  border: 2.5px solid #0d1117;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.m-swch-secret-card.compact { height: 74px; justify-content: center; }
.m-swch-coord-badge {
  background: #0d1117;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 8px;
  box-shadow: none;
}
.m-swch-reroll {
  background: #ffffff;
  color: #0d1117;
  border: 2px solid #0d1117;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.m-swch-clue-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #52525b;
}
.m-swch-clue-row strong {
  color: #0d1117;
  font-weight: 900;
  font-size: 24px;
  text-shadow: none;
}
.m-swch-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 4px 8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0d1117;
}
.m-swch-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0d1117; box-shadow: none; background: #e2e8f0; flex-shrink: 0; }
.m-swch-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  padding: 4px;
  background: transparent;
  border-radius: 8px;
}

/* ---- SHARED HOW TO PLAY (INTRO) SCREEN FOR ALL 8 GAMES — OPEN, SIMPLE, BOX-FREE ---- */
.htp-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
}
.htp-open-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.htp-open-row {
  display: flex;
  align-items: baseline;
  gap: clamp(22px, 2.8vw, 40px);
  padding: clamp(22px, 3.2vh, 34px) 0;
  border-bottom: 2px solid rgba(20, 11, 41, 0.14);
  animation: blfFadeSlide 340ms ease-out var(--hd, 0ms) both;
}
.htp-open-row:last-child {
  border-bottom: none;
}
.htp-open-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1;
  color: #8b2cf5;
  flex-shrink: 0;
  width: 1.15ch;
  text-align: right;
}
.htp-open-text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.28;
  color: #334155;
}
.htp-open-text strong {
  font-family: var(--font-display);
  font-weight: 900;
  color: #140b29;
}
.htp-play-btn {
  padding: 16px 46px !important;
  font-size: clamp(20px, 1.9vw, 26px) !important;
}
.pg-unlock-btn {
  margin: 10px auto 0;
  align-self: center;
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: rgba(255, 255, 255, 0.94);
  color: #140b29;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 5px 14px rgba(17, 17, 21, 0.10);
  box-sizing: border-box;
}
.m-npc-locked-box {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.88);
  border: 2.5px solid #4ade80;
  border-radius: 8px;
  box-shadow: 4px 4px 0 #020617;
  text-align: center;
}
.m-npc-locked-lbl {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
}
.m-npc-locked-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  color: #4ade80;
  word-break: break-word;
}
body[data-game="mooove"] .pg-unlock-btn {
  background: #0f172a;
  color: #4ade80;
  border: 2.5px solid #4ade80;
  border-radius: 6px;
  box-shadow: 3px 3px 0 #020617;
}
.m-blf-opt.is-picked,
.m-shd-vote-btn.is-picked,
.m-shd-escape-btn.is-picked {
  border-color: #111111 !important;
  background: #fef08a !important;
  color: #111111 !important;
  box-shadow: 3px 3px 0 #111111 !important;
  transform: translate(-1px, -1px);
}
.m-npc-opt.is-picked {
  border-color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.22) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 2px #4ade80, 3px 3px 0 #020617 !important;
}

/* Per-game open HTP color accents (zero boxes) */
body[data-game="frequency"] .htp-open-num { color: #0891b2; }
body[data-game="frequency"] .htp-open-row { border-bottom-color: rgba(15, 23, 42, 0.12); }
body[data-game="sketchy"] .htp-open-num { color: #007aff; }
body[data-game="sketchy"] .htp-open-row { border-bottom-color: rgba(28, 25, 23, 0.14); }

/* Super-simple Low-Poly 3D & Visual How-To-Play layout */
.htp-top-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 2.7vw, 40px);
  letter-spacing: 0.08em;
  line-height: 1;
  color: #0f172a;
  text-transform: uppercase;
}
body[data-game="mooove"] .htp-top-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0.08em;
  color: #facc15;
  text-shadow: 3px 3px 0 #020617;
}
.htp-stage.is-simple .htp-body {
  max-width: 1480px;
}
.htp-svg-art {
  width: 100%;
  max-width: 380px;
  height: 100%;
  max-height: clamp(200px, 30vh, 290px);
  display: block;
}
.htp-stage.is-visual .htp-vo-line {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(17px, 1.42vw, 21px);
  line-height: 1.38;
  color: #334155;
  margin: 0;
  max-width: 34ch;
  text-wrap: balance;
}
.htp-stage.is-visual .htp-vo-line strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.18;
  color: #0f172a;
  display: block;
  margin-bottom: 6px;
}
body[data-game="mooove"] .htp-stage.is-simple .htp-body {
  max-width: 1420px;
}
body[data-game="mooove"] .htp-stage.is-simple .htp-steps-grid {
  gap: clamp(18px, 2vw, 28px);
}
body[data-game="mooove"] .htp-step-card.simple-card {
  background: linear-gradient(180deg, #0d1630 0%, #070c1a 100%);
  border: 3px solid #4ade80;
  border-radius: 12px;
  box-shadow: 7px 7px 0 #020617, inset 0 0 0 2px rgba(74, 222, 128, 0.14);
  padding: clamp(20px, 2.6vh, 30px) clamp(18px, 1.8vw, 26px) clamp(22px, 2.8vh, 32px);
  gap: clamp(14px, 1.8vh, 20px);
  justify-content: flex-start;
}
body[data-game="mooove"] .htp-step-card.simple-card.is-speaking-step {
  border-color: #facc15;
  box-shadow: 9px 9px 0 #020617, 0 0 28px rgba(250, 204, 21, 0.22);
}
body[data-game="mooove"] .htp-step-badge {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #4ade80;
  color: #020617;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  border: 2px solid #ecfdf5;
  box-shadow: 4px 4px 0 #020617;
}
body[data-game="mooove"] .htp-step-card.simple-card.is-speaking-step .htp-step-badge {
  background: #facc15;
  color: #020617;
}
body[data-game="mooove"] .htp-3d-art {
  height: auto;
  min-height: clamp(200px, 29vh, 285px);
  width: 100%;
}
body[data-game="mooove"] .npc-htp-svg {
  width: 100%;
  max-width: 390px;
  max-height: clamp(200px, 29vh, 280px);
  filter: drop-shadow(0 8px 18px rgba(2, 6, 23, 0.55));
}
.npc-htp-bob {
  animation: npcQuestBob 1.5s ease-in-out infinite;
}
.npc-htp-float {
  animation: npcQuestBob 2.2s ease-in-out infinite;
}
.npc-htp-blink {
  animation: npcCursorBlink 1.05s ease-in-out infinite;
}
body[data-game="mooove"] .htp-stage.is-visual .htp-vo-line {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.38;
  letter-spacing: 0.02em;
  color: #cbd5e1;
  max-width: 34ch;
  text-wrap: balance;
}
body[data-game="mooove"] .htp-stage.is-visual .htp-vo-line strong {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 1.85vw, 28px);
  line-height: 1.18;
  letter-spacing: 0.04em;
  color: #facc15;
  text-shadow: 2px 2px 0 #020617;
  margin-bottom: 6px;
}
body[data-game="mooove"] .htp-play-btn {
  padding: 15px 40px !important;
  font-size: clamp(20px, 1.75vw, 25px) !important;
}
body[data-game="shady"] .htp-step-badge {
  background: #111111;
  color: #ffffff;
}
body[data-game="unfiltered"] .htp-step-badge {
  background: #dc2626;
  color: #ffffff;
}
body[data-game="frequency"] .htp-step-badge {
  background: #06b6d4;
  color: #0f172a;
}
body[data-game="bluffalo"] .htp-step-badge {
  background: #111111;
  color: #ffffff;
}
body[data-game="sketchy"] .htp-step-badge {
  background: #fde047;
  color: #1c1917;
}
body[data-game="oneclue"] .htp-step-badge {
  background: #0d1117;
  color: #ffffff;
}
.htp-stage.is-simple .htp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 32px);
}
.htp-step-card.simple-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 2px solid #ebe4da;
  border-radius: 30px;
  padding: clamp(22px, 3vh, 36px) clamp(20px, 2.2vw, 30px) clamp(24px, 3.2vh, 38px);
  gap: clamp(14px, 2vh, 22px);
  justify-content: space-between;
  box-shadow: 0 18px 40px rgba(17, 17, 21, 0.06);
  animation: cardHitDrop 380ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--hd, 0ms) both;
  transition: transform 260ms cubic-bezier(0.22, 1.35, 0.36, 1), border-color 220ms ease, box-shadow 240ms ease;
}
.htp-step-card.simple-card.is-speaking-step {
  border-color: #8b2cf5;
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(139, 44, 245, 0.16), 0 0 0 3px rgba(139, 44, 245, 0.14);
}
.htp-step-badge {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f5eeff;
  color: #8b2cf5;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.htp-step-card.simple-card.is-speaking-step .htp-step-badge {
  background: #8b2cf5;
  color: #ffffff;
  transform: scale(1.1);
}
.htp-3d-art {
  width: 100%;
  height: clamp(205px, 31vh, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.htp-3d-img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 20px rgba(17, 17, 21, 0.13));
  transition: transform 280ms cubic-bezier(0.22, 1.35, 0.36, 1);
  animation: htp3dFloat 3.8s ease-in-out var(--hd, 0ms) infinite;
}
.htp-step-card.simple-card.is-speaking-step .htp-3d-img {
  transform: scale(1.08);
}
@keyframes htp3dFloat {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-6px); }
}
.htp-vo-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.85vw, 27px);
  line-height: 1.24;
  color: var(--ink);
  max-width: 18ch;
  text-wrap: balance;
}
.m-htp-3d-tv {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
  margin: 4px auto -2px;
  filter: drop-shadow(0 12px 18px rgba(17, 17, 21, 0.14));
}
.disorder-htp-mob .pg-mob-pill.htp-mob-pill {
  background: #f5eeff;
  color: #8b2cf5;
}

.pg-mob-pill.htp-mob-pill { background: #140b29; color: #facc15; }
.m-htp-head { font-family: var(--font-display); font-weight: 900; font-size: 26px; margin: 0; color: #140b29; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .pg-logo * { animation: none !important; }
}

/* =========================================================================
   UNFILTERED — RED, BLACK & WHITE SCRATCHY SHARPIE FULL UI THEME
   (Matches the hand-drawn UNFILTERED logo + Sharpie World-Leader avatars)
   ========================================================================= */
:root {
  --unf-marker: 'Comic Relief', 'Patrick Hand', 'Outfit', cursive, sans-serif;
  --unf-hand: 'Comic Relief', 'Patrick Hand', 'Plus Jakarta Sans', cursive, sans-serif;
  --unf-ink: #111115;
  --unf-wall: #f7f6f4;
  --unf-red: #dc2626;
  --unf-red-bright: #ef4444;
  --unf-red-soft: #fee2e2;
  --unf-box-radius: 7px 15px 9px 13px / 13px 7px 15px 9px;
  --unf-box-radius-alt: 13px 7px 15px 9px / 8px 14px 7px 13px;
}

/* Scuffed crisp off-white wall with subtle ink grid & scratched doodles */
body[data-game="unfiltered"] {
  --font-display: 'Comic Relief', 'Patrick Hand', 'Outfit', cursive, sans-serif;
  --font-body: 'Comic Relief', 'Patrick Hand', 'Plus Jakarta Sans', cursive, sans-serif;
  background-color: var(--unf-wall) !important;
  background-image:
    linear-gradient(rgba(17, 17, 21, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 21, 0.05) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' fill='none'%3E%3Cg stroke='%23111115' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' opacity='0.06'%3E%3Cpath d='M26 42 L48 34 M28 50 L46 44 M32 58 L44 54'/%3E%3Cpath d='M364 44 L388 32 M374 26 L378 52 M364 34 L390 42'/%3E%3Cpath d='M34 360 L44 338 L52 362 L62 340 L70 358'/%3E%3Cpath d='M340 350 C354 334, 378 340, 374 358 C370 374, 344 374, 346 356 C348 346, 364 348, 362 356'/%3E%3Cpath d='M196 34 L196 58 M204 34 L204 58 M212 34 L212 58 M220 34 L220 58 M190 54 L226 38'/%3E%3Cpath d='M192 376 L210 364 L202 380 L222 368'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 46px 46px, 46px 46px, 420px 420px !important;
  color: var(--unf-ink);
  font-family: var(--unf-hand);
}

/* Global Sharpie typography & crisp ink chrome inside Unfiltered */
body[data-game="unfiltered"] h1,
body[data-game="unfiltered"] h2,
body[data-game="unfiltered"] button,
body[data-game="unfiltered"] .round-pill,
body[data-game="unfiltered"] .progress-badge,
body[data-game="unfiltered"] .room-code-big,
body[data-game="unfiltered"] .corner-label,
body[data-game="unfiltered"] .slot-name,
body[data-game="unfiltered"] .strip-name,
body[data-game="unfiltered"] .host-pill,
body[data-game="unfiltered"] .pg-mob-pill,
body[data-game="unfiltered"] .room-code-chip {
  font-family: var(--unf-marker) !important;
  font-style: normal !important;
  letter-spacing: 0.03em;
}

/* Scratchy Sharpie avatars: zero soft glow, raw ink presence */
body[data-game="unfiltered"] .leader-avatar,
body[data-game="unfiltered"] .animal-head {
  filter: drop-shadow(2px 2px 0 rgba(17, 17, 21, 0.14));
}

/* ---- TV LOBBY (UNFILTERED RED, BLACK & WHITE) ---- */
body[data-game="unfiltered"] .lobby-join-cluster {
  gap: 14px;
}
body[data-game="unfiltered"] .qr-frame {
  background: #ffffff;
  border: 3.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 5px 5px 0 var(--unf-red), 8px 8px 0 var(--unf-ink);
  transform: rotate(-1.4deg);
}
body[data-game="unfiltered"] .corner-label {
  color: var(--unf-red);
  opacity: 1;
  font-size: 14px;
}
body[data-game="unfiltered"] .room-code-big {
  color: var(--unf-ink);
  text-shadow: 3px 3px 0 var(--unf-red);
  letter-spacing: 0.08em;
}
body[data-game="unfiltered"] .corner-url {
  font-family: var(--unf-hand);
  font-weight: 700;
  font-size: 16px;
  color: rgba(17, 17, 21, 0.72);
}

/* Lobby Preview Cards */
body[data-game="unfiltered"] .unf-mini-black {
  background: var(--unf-ink);
  color: #ffffff;
  border: 3.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.26;
  letter-spacing: 0.01em;
  box-shadow: 7px 7px 0 var(--unf-red), 10px 10px 0 var(--unf-ink);
  transform: rotate(-1.2deg);
}
body[data-game="unfiltered"] .unf-blank {
  color: var(--unf-red-bright);
  text-decoration: underline solid var(--unf-red-bright) 2.5px;
  text-underline-offset: 5px;
}
body[data-game="unfiltered"] .unf-mini-white {
  background: #ffffff;
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  font-family: var(--unf-hand);
  font-weight: 700;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.26;
  color: var(--unf-ink);
  box-shadow: 5px 5px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .unf-mini-white.f2 {
  background: #ffffff;
  border-color: var(--unf-ink);
  box-shadow: 5px 5px 0 var(--unf-red), 8px 8px 0 var(--unf-ink);
}

/* Disorder Hand-Drawn Join Circles — Per-Game Theme Accents */
body[data-game="unfiltered"] .disorder-hand-btn {
  color: rgba(17, 17, 21, 0.68);
}
body[data-game="unfiltered"] .disorder-hand-btn .hand-plus {
  font-family: var(--unf-marker);
  color: rgba(17, 17, 21, 0.52);
}
body[data-game="unfiltered"] .slot-name.disorder-hand-join {
  font-family: var(--unf-marker);
  color: rgba(17, 17, 21, 0.66);
}
body[data-game="unfiltered"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled),
body[data-game="unfiltered"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled) .hand-plus,
body[data-game="unfiltered"] .disorder-hand-empty:hover .slot-name.disorder-hand-join {
  color: var(--unf-red);
}
body[data-game="bluffalo"] .disorder-hand-btn,
body[data-game="shady"] .disorder-hand-btn {
  color: rgba(17, 17, 17, 0.62);
}
body[data-game="bluffalo"] .disorder-hand-btn .hand-plus,
body[data-game="shady"] .disorder-hand-btn .hand-plus {
  color: rgba(17, 17, 17, 0.45);
}
body[data-game="bluffalo"] .slot-name.disorder-hand-join {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: rgba(17, 17, 17, 0.6);
}
body[data-game="bluffalo"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled),
body[data-game="bluffalo"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled) .hand-plus,
body[data-game="bluffalo"] .disorder-hand-empty:hover .slot-name.disorder-hand-join,
body[data-game="shady"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled),
body[data-game="shady"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled) .hand-plus,
body[data-game="shady"] .disorder-hand-empty:hover .slot-name.disorder-hand-join {
  color: #111111;
}
body[data-game="oneclue"] .disorder-hand-btn {
  color: rgba(13, 17, 23, 0.62);
}
body[data-game="oneclue"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled) .hand-circle-svg {
  filter: drop-shadow(-2px 0 0 #ff1e42) drop-shadow(2px 0 0 #00b8ff);
}
body[data-game="oneclue"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled),
body[data-game="oneclue"] .disorder-hand-empty:hover .disorder-hand-btn:not(:disabled) .hand-plus,
body[data-game="oneclue"] .disorder-hand-empty:hover .slot-name.disorder-hand-join {
  color: #0d1117;
}

/* Host pill, kick button, lobby status, toolbar & audio dock in Unfiltered */
body[data-game="unfiltered"] .host-pill {
  background: var(--unf-red) !important;
  color: #ffffff !important;
  border: 2.5px solid var(--unf-ink) !important;
  border-radius: 5px 9px 6px 8px !important;
  box-shadow: 2.5px 2.5px 0 var(--unf-ink);
  transform: rotate(-2deg);
}
body[data-game="unfiltered"] .kick-btn {
  background: var(--unf-red) !important;
  color: #ffffff !important;
  border: 2.5px solid var(--unf-ink) !important;
  box-shadow: 2px 2px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .lobby-status-line {
  font-family: var(--unf-marker);
  font-size: 18px;
  color: var(--unf-ink);
  background: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  padding: 6px 20px;
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .tv-audio-dock {
  background: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 4px 4px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .audio-slider {
  accent-color: var(--unf-red);
}
body[data-game="unfiltered"] .tool-btn {
  background: #ffffff;
  color: var(--unf-ink);
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .tool-btn:hover {
  background: var(--unf-ink);
  color: #ffffff;
  transform: translate(-1px, -1px);
}
body[data-game="unfiltered"] .tool-btn.danger:hover {
  background: var(--unf-red);
  color: #ffffff;
}
body[data-game="unfiltered"] .tool-btn.timers-off {
  background: var(--unf-red);
  color: #ffffff;
  border-color: var(--unf-ink);
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .tool-btn.timers-off:hover {
  background: var(--unf-ink);
  color: #ffffff;
}

/* ---- ALL UNFILTERED BUTTONS, PILLS & BADGES ---- */
body[data-game="unfiltered"] .btn-purple,
body[data-game="unfiltered"] .unf-btn,
body[data-game="unfiltered"] button.primary {
  background: var(--unf-ink) !important;
  color: #ffffff !important;
  border: 3.5px solid var(--unf-ink) !important;
  border-radius: var(--unf-box-radius) !important;
  box-shadow: 5px 5px 0 var(--unf-red), 8px 8px 0 var(--unf-ink) !important;
  font-family: var(--unf-marker) !important;
  font-size: clamp(19px, 1.75vw, 24px);
  letter-spacing: 0.06em;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
}
body[data-game="unfiltered"] .btn-purple:hover:not(:disabled),
body[data-game="unfiltered"] .unf-btn:hover:not(:disabled),
body[data-game="unfiltered"] button.primary:hover:not(:disabled) {
  background: var(--unf-red) !important;
  color: #ffffff !important;
  transform: translate(-2px, -2px) rotate(-0.8deg);
  box-shadow: 6px 6px 0 var(--unf-ink) !important;
}
body[data-game="unfiltered"] .btn-purple:active:not(:disabled),
body[data-game="unfiltered"] .unf-btn:active:not(:disabled),
body[data-game="unfiltered"] button.primary:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--unf-ink) !important;
}

body[data-game="unfiltered"] .round-pill,
body[data-game="unfiltered"] .unf-pill {
  background: var(--unf-ink) !important;
  color: #ffffff !important;
  border: 3px solid var(--unf-ink) !important;
  border-radius: var(--unf-box-radius) !important;
  font-size: clamp(16px, 1.4vw, 20px) !important;
  box-shadow: 4px 4px 0 var(--unf-red), 6px 6px 0 var(--unf-ink) !important;
  transform: rotate(-0.8deg);
}
body[data-game="unfiltered"] .unf-pill-double {
  background: var(--unf-red) !important;
  color: #ffffff !important;
  box-shadow: 5px 5px 0 var(--unf-ink) !important;
}
body[data-game="unfiltered"] .unf-pill-triple {
  background: var(--unf-red) !important;
  color: #ffffff !important;
  box-shadow: 4px 4px 0 #ffffff, 7px 7px 0 var(--unf-ink) !important;
}
body[data-game="unfiltered"] .progress-badge {
  background: #ffffff !important;
  color: var(--unf-ink) !important;
  border: 3px solid var(--unf-ink) !important;
  border-radius: var(--unf-box-radius-alt) !important;
  padding: 8px 20px !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  box-shadow: 4px 4px 0 var(--unf-ink) !important;
  transform: rotate(1deg);
}

/* ---- HOW TO PLAY INTRO (UNFILTERED) ---- */
body[data-game="unfiltered"] .htp-open-row {
  border-bottom: 2.5px solid rgba(17, 17, 21, 0.16);
}
body[data-game="unfiltered"] .htp-open-num {
  font-family: var(--unf-marker);
  font-weight: 700;
  color: var(--unf-red);
}
body[data-game="unfiltered"] .htp-open-text {
  font-family: var(--unf-hand);
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .htp-open-text strong {
  font-family: var(--unf-marker);
  font-weight: 700;
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .htp-stage.is-visual .htp-vo-line {
  font-family: var(--unf-hand);
  font-weight: 400;
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .htp-stage.is-visual .htp-vo-line strong {
  font-family: var(--unf-marker);
  font-weight: 700;
  color: var(--unf-ink);
}

/* ---- TV SUBMIT, VOTE & REVEAL (UNFILTERED RED, BLACK & WHITE) ---- */
body[data-game="unfiltered"] .unf-black-card {
  position: relative;
  background: var(--unf-ink);
  color: #ffffff;
  border: 4px solid var(--unf-ink);
  border-radius: 10px 20px 12px 18px / 18px 10px 20px 12px;
  box-shadow: 9px 9px 0 var(--unf-red), 13px 13px 0 var(--unf-ink);
  transform: rotate(-0.8deg);
}
body[data-game="unfiltered"] .unf-black-card.is-finale {
  border: 4px solid var(--unf-red);
  box-shadow: 9px 9px 0 var(--unf-red), 14px 14px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .unf-black-text {
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.28;
  letter-spacing: 0.01em;
}
body[data-game="unfiltered"] .unf-blank-slot {
  color: var(--unf-red-bright);
  text-decoration: none;
}

body[data-game="unfiltered"] .unf-prompt-banner {
  background: var(--unf-ink);
  color: #ffffff;
  border: 3.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: clamp(23px, 2.4vw, 33px);
  box-shadow: 6px 6px 0 var(--unf-red), 9px 9px 0 var(--unf-ink);
  transform: rotate(-0.5deg);
}
body[data-game="unfiltered"] .unf-prompt-banner.is-filled {
  border-color: var(--unf-ink);
}
body[data-game="unfiltered"] .unf-filled-win {
  color: var(--unf-red-bright);
  text-decoration: underline solid var(--unf-red-bright) 3px;
  text-underline-offset: 5px;
}

body[data-game="unfiltered"] .unf-answer-card {
  background: #ffffff;
  border: 3.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 6px 6px 0 var(--unf-ink);
  transform: rotate(var(--uc-tilt, 0deg));
  transition: transform 180ms ease;
}
body[data-game="unfiltered"] .unf-card-num {
  background: var(--unf-red);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: 5px 10px 6px 8px;
  font-family: var(--unf-marker);
  font-size: 19px;
  box-shadow: 2.5px 2.5px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .unf-answer-text {
  font-family: var(--unf-hand);
  font-weight: 700;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.24;
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .unf-ballot-grid.dense .unf-answer-text {
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.2;
}
body[data-game="unfiltered"] .unf-answer-sentence {
  font-family: var(--unf-hand);
  font-weight: 700;
  font-size: clamp(23px, 2.15vw, 31px);
  line-height: 1.24;
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .unf-ballot-grid.dense .unf-answer-sentence {
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.2;
}
body[data-game="unfiltered"] .unf-card-fill {
  background: var(--unf-red-soft);
  color: var(--unf-ink);
  border: 2px solid var(--unf-red);
  border-radius: 4px 8px 5px 7px;
  padding: 0 7px;
}

/* Reveal Spotlight Card */
body[data-game="unfiltered"] .unf-spotlight-card {
  background: #ffffff;
  border: 4px solid var(--unf-ink);
  border-radius: 10px 18px 12px 16px / 16px 10px 18px 12px;
  box-shadow: 9px 9px 0 var(--unf-ink);
  transform: rotate(-0.5deg);
}
body[data-game="unfiltered"] .unf-spotlight-card.is-majority {
  background: #ffffff;
  border-color: var(--unf-ink);
  box-shadow: 8px 8px 0 var(--unf-red), 12px 12px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .unf-spotlight-card.is-unanimous {
  background: #fff5f5;
  border-color: var(--unf-red);
  box-shadow: 8px 8px 0 var(--unf-ink), 12px 12px 0 var(--unf-red);
}
body[data-game="unfiltered"] .unf-spot-author .animal-head {
  width: 72px;
  height: 72px;
}
body[data-game="unfiltered"] .unf-spot-author strong {
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: clamp(26px, 2.5vw, 34px);
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .unf-spot-score-burst {
  background: var(--unf-red);
  color: #ffffff;
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 4px 4px 0 var(--unf-ink);
  font-family: var(--unf-marker);
  font-size: clamp(30px, 3.2vw, 44px);
  transform: rotate(-2.5deg);
}
body[data-game="unfiltered"] .unf-spot-score-burst.is-majority {
  background: var(--unf-red);
  color: #ffffff;
}
body[data-game="unfiltered"] .unf-spot-score-burst.is-unanimous {
  background: var(--unf-ink);
  color: #ffffff;
  box-shadow: 4px 4px 0 var(--unf-red);
}
body[data-game="unfiltered"] .unf-spot-answer {
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1.16;
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .unf-spot-sentence {
  font-family: var(--unf-hand);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.22;
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .unf-spot-fill {
  background: var(--unf-red);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: 6px 10px 8px 6px;
}
body[data-game="unfiltered"] .unf-bonus-banner {
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  font-family: var(--unf-marker);
  font-size: clamp(19px, 1.75vw, 24px);
  box-shadow: 3px 3px 0 var(--unf-ink);
  transform: rotate(-1.5deg);
}
body[data-game="unfiltered"] .unf-bonus-banner.majority {
  background: var(--unf-red);
  color: #ffffff;
}
body[data-game="unfiltered"] .unf-bonus-banner.unanimous {
  background: var(--unf-ink);
  color: #ffffff;
  box-shadow: 3px 3px 0 var(--unf-red);
}
body[data-game="unfiltered"] .unf-voter-chip {
  background: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 3px 3px 0 var(--unf-ink);
  font-family: var(--unf-marker);
  font-size: clamp(20px, 1.85vw, 25px);
}
body[data-game="unfiltered"] .unf-zero-strip {
  background: #ffffff;
  border: 2.5px dashed var(--unf-ink);
  border-radius: var(--unf-box-radius);
  font-family: var(--unf-hand);
  font-size: 16px;
  padding: 8px 18px;
  margin-top: 8px;
}
body[data-game="unfiltered"] .unf-zero-label {
  background: var(--unf-ink);
  color: #ffffff;
  font-family: var(--unf-marker);
  border-radius: 5px 8px 6px 5px;
  padding: 2px 10px;
}

/* Status strip checkmark stamp */
body[data-game="unfiltered"] .check-badge {
  background: var(--unf-red) !important;
  color: #ffffff !important;
  border: 2.5px solid var(--unf-ink) !important;
  box-shadow: 2px 2px 0 var(--unf-ink);
}

/* ---- TV STANDINGS & FINAL WINNER (UNFILTERED) ---- */
body[data-game="unfiltered"] .stage-headline,
body[data-game="unfiltered"] .winner-headline {
  font-family: var(--unf-marker);
  color: var(--unf-ink);
  text-shadow: 4px 4px 0 var(--unf-red-soft);
}
body[data-game="unfiltered"] .purple-bar {
  background: var(--unf-ink) !important;
  height: 5px !important;
  border-radius: 3px 8px 4px 6px !important;
  box-shadow: 3px 3px 0 var(--unf-red);
}
body[data-game="unfiltered"] .standing-row {
  background: #ffffff;
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 5px 5px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .standing-row.leader {
  background: var(--unf-ink);
  border-color: var(--unf-ink);
  box-shadow: 6px 6px 0 var(--unf-red);
}
body[data-game="unfiltered"] .standing-rank,
body[data-game="unfiltered"] .standing-name,
body[data-game="unfiltered"] .standing-pts {
  font-family: var(--unf-marker);
  font-size: clamp(22px, 2vw, 30px);
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .standing-row.leader .standing-rank,
body[data-game="unfiltered"] .standing-row.leader .standing-name,
body[data-game="unfiltered"] .standing-row.leader .standing-pts {
  color: #ffffff;
}
body[data-game="unfiltered"] .standing-leader-tag {
  background: var(--unf-red);
  color: #ffffff;
  border-radius: 4px 8px 6px 4px;
  font-family: var(--unf-marker);
}
body[data-game="unfiltered"] .winner-crown {
  background: var(--unf-red);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: 6px 10px 8px 5px;
  box-shadow: 3px 3px 0 var(--unf-ink);
  font-family: var(--unf-marker);
}
body[data-game="unfiltered"] .winner-halo {
  background: #ffffff !important;
  border: 4px solid var(--unf-ink) !important;
  box-shadow: 7px 7px 0 var(--unf-red), 11px 11px 0 var(--unf-ink) !important;
}
body[data-game="unfiltered"] .winner-status-line {
  font-family: var(--unf-marker);
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .winner-status-line .pts-highlight {
  color: var(--unf-red);
}
body[data-game="unfiltered"] .winner-status-line .status-dot {
  background: var(--unf-red);
}
body[data-game="unfiltered"] .strip-pts {
  font-family: var(--unf-marker) !important;
  font-weight: 700;
  color: var(--unf-red);
}
body[data-game="unfiltered"] .strip-pts.zero {
  color: rgba(17, 17, 21, 0.62);
}
body[data-game="unfiltered"] .final-rank-tag {
  background: var(--unf-ink);
  color: #ffffff;
  font-family: var(--unf-marker);
  border-radius: 5px 8px 6px 5px;
}

/* ---- MOBILE JOIN, LOBBY & GAMEPLAY (UNFILTERED RED, BLACK & WHITE) ---- */
body[data-game="unfiltered"] .room-code-chip {
  background: var(--unf-ink);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: 6px 10px 8px 5px;
  box-shadow: 3px 3px 0 var(--unf-red);
}
body[data-game="unfiltered"] .join-room-pill {
  background: var(--unf-ink);
  color: rgba(255, 255, 255, 0.88);
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 3px 3px 0 var(--unf-red);
  font-family: var(--unf-marker);
}
body[data-game="unfiltered"] .join-room-pill strong {
  color: #ffffff;
}
body[data-game="unfiltered"] .join-change-room {
  background: var(--unf-red);
  color: #ffffff;
  font-family: var(--unf-marker);
  border-radius: 6px 10px 8px 5px;
}

/* ---- ALL BLACK & WHITE BUMFUZZLE THEME OVERRIDES (LOBBY, HTP, JOIN, GAMEPLAY) ---- */
body[data-game="bluffalo"] .htp-open-row {
  border-bottom: 2px solid #111111;
}
body[data-game="bluffalo"] .htp-open-num {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #111111;
}
body[data-game="bluffalo"] .htp-open-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #52525b;
}
body[data-game="bluffalo"] .htp-open-text strong {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #111111;
}
body[data-game="bluffalo"] .btn-start-lobby,
body[data-game="bluffalo"] .room-code-chip {
  background: #111111 !important;
  color: #ffffff !important;
  border: 2px solid #111111 !important;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.25) !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body[data-game="bluffalo"] .strip-player.done .check-badge {
  background: #111111;
  color: #ffffff;
}
body[data-game="bluffalo"] .join-room-pill {
  background: #111111;
  color: rgba(255, 255, 255, 0.82);
  border: 2px solid #111111;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body[data-game="bluffalo"] .join-room-pill strong { color: #ffffff; }
body[data-game="bluffalo"] .join-change-room { background: #ffffff; color: #111111; }
body[data-game="bluffalo"] label,
body[data-game="bluffalo"] .picker-label,
body[data-game="bluffalo"] .switcher-head { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #111111; }
body[data-game="bluffalo"] .picker-selected-name { color: #ffffff; background: #111111; padding: 2px 9px; border-radius: 4px; }
body[data-game="bluffalo"] input { border: 2.5px solid #111111; border-radius: 8px; background: #ffffff; color: #111111; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body[data-game="bluffalo"] .av-tile .av-ring,
body[data-game="bluffalo"] .sw-tile { border: 2px solid #111111; border-radius: 8px; background: #ffffff; }
body[data-game="bluffalo"] .av-tile.selected .av-ring,
body[data-game="bluffalo"] .sw-tile.selected { background: #f4f4f5; border: 3px solid #111111; box-shadow: 4px 4px 0 #111111; }
body[data-game="bluffalo"] .av-tile .av-check { background: #111111; color: #ffffff; }
body[data-game="bluffalo"] .av-tile .av-caption { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #111111; font-weight: 700; }
body[data-game="bluffalo"] button.primary { background: #111111; color: #ffffff; border: 2.5px solid #111111; box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.25); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
body[data-game="bluffalo"] button.secondary { background: #ffffff; color: #111111; border: 2.5px solid #111111; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* =========================================================================
   LARGE GLOBAL GAME-THEMED COUNTDOWN TIMERS (ALL 8 GAMES — TV + MOBILE)
   ========================================================================= */
.global-timer {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 4px 16px 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #8b2cf5;
  color: #140b29;
  box-shadow: 0 6px 16px rgba(139, 44, 245, 0.18);
  flex-shrink: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.gt-ring {
  width: 38px;
  height: 38px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}
.gt-track {
  fill: none;
  stroke: rgba(20, 11, 41, 0.14);
  stroke-width: 5;
}
.gt-prog {
  fill: none;
  stroke: #8b2cf5;
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 120ms linear;
}
.gt-time {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
}
.global-timer.gt-manual-pill {
  height: 44px;
  padding: 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fef3c7;
  border-color: #d97706;
  color: #78350f;
  box-shadow: none;
}
.global-timer.gt-manual-btn {
  height: 48px;
  padding: 4px 10px 4px 14px;
  gap: 10px;
  background: #fef3c7;
  border-color: #d97706;
  color: #78350f;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.22);
}
.global-timer.gt-manual-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.global-timer.gt-manual-btn .gt-manual-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.global-timer.gt-manual-btn .gt-manual-go {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: #140b29;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.global-timer.is-urgent {
  border-color: #ef4444;
  background: #fef2f2;
  color: #dc2626;
  animation: gtUrgentPulse 560ms ease-in-out infinite;
}
.global-timer.is-urgent .gt-prog { stroke: #ef4444; }
@keyframes gtUrgentPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

/* Per-game TV timer themes */
.global-timer.gt-unfiltered {
  background: #ffffff;
  border: 3px solid #111115;
  border-radius: var(--unf-box-radius);
  color: #111115;
  box-shadow: 4px 4px 0 #dc2626;
}
.global-timer.gt-unfiltered .gt-time { font-family: var(--unf-marker, 'Comic Relief', cursive); font-weight: 700; font-size: 30px; }
.global-timer.gt-unfiltered .gt-prog { stroke: #dc2626; }
.global-timer.gt-unfiltered.is-urgent { background: #dc2626; color: #ffffff; border-color: #111115; box-shadow: 4px 4px 0 #111115; }
.global-timer.gt-unfiltered.is-urgent .gt-prog { stroke: #ffffff; }
.global-timer.gt-manual-pill.gt-unfiltered,
.global-timer.gt-manual-btn.gt-unfiltered {
  background: #ffffff;
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  color: var(--unf-ink);
  font-family: var(--unf-marker, 'Comic Relief', cursive);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--unf-red);
}
.global-timer.gt-manual-btn.gt-unfiltered .gt-manual-tag {
  color: var(--unf-ink);
  opacity: 0.78;
}
.global-timer.gt-manual-btn.gt-unfiltered .gt-manual-go {
  background: var(--unf-ink);
  color: #ffffff;
  border-radius: var(--unf-box-radius-alt);
  font-family: var(--unf-marker, 'Comic Relief', cursive);
  font-weight: 700;
}
.global-timer.gt-manual-btn.gt-unfiltered:hover .gt-manual-go {
  background: var(--unf-red);
}

.global-timer.gt-frequency {
  background: #0f172a;
  border-color: #06b6d4;
  color: #ecfeff;
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.28);
}
.global-timer.gt-frequency .gt-track { stroke: rgba(255, 255, 255, 0.18); }
.global-timer.gt-frequency .gt-prog  { stroke: #06b6d4; }
.global-timer.gt-frequency.is-urgent { border-color: #fb7185; color: #fff1f2; }
.global-timer.gt-frequency.is-urgent .gt-prog { stroke: #fb7185; }

.global-timer.gt-bluffalo {
  background: #ffffff;
  border: 3px solid #111111;
  border-radius: 6px;
  color: #111111;
  box-shadow: 4px 4px 0 #111111;
}
.global-timer.gt-bluffalo .gt-time { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 800; }
.global-timer.gt-bluffalo .gt-track { stroke: #e4e4e7; }
.global-timer.gt-bluffalo .gt-prog  { stroke: #111111; }
.global-timer.gt-bluffalo.is-urgent { background: #111111; color: #ffffff; border-color: #111111; }
.global-timer.gt-bluffalo.is-urgent .gt-track { stroke: rgba(255, 255, 255, 0.25); }
.global-timer.gt-bluffalo.is-urgent .gt-prog  { stroke: #ffffff; }

.global-timer.gt-sketchy {
  background: #faf5eb;
  border: 3px solid #1c1917;
  color: #1c1917;
  box-shadow: 4px 4px 0 #1c1917;
}
.global-timer.gt-sketchy .gt-prog { stroke: #1c1917; }

.global-timer.gt-mooove {
  background: #090d1a;
  border: 3px solid #4ade80;
  border-radius: 6px;
  color: #4ade80;
  font-family: 'Oswald', sans-serif;
  box-shadow: 4px 4px 0 #020617;
  padding: 5px 14px 5px 10px;
}
.global-timer.gt-mooove .gt-time,
.global-timer.gt-mooove .gt-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #4ade80;
  text-shadow: 2px 2px 0 #020617;
  min-width: 2.3ch;
}
.global-timer.gt-mooove .gt-track { stroke: rgba(74, 222, 128, 0.22); }
.global-timer.gt-mooove .gt-prog  { stroke: #4ade80; }
.global-timer.gt-mooove.is-urgent {
  background: #090d1a;
  border-color: #facc15;
  color: #facc15;
  box-shadow: 4px 4px 0 #020617, 0 0 14px rgba(250, 204, 21, 0.3);
}
.global-timer.gt-mooove.is-urgent .gt-time { color: #facc15; }
.global-timer.gt-mooove.is-urgent .gt-prog { stroke: #facc15; }
.global-timer.gt-manual-pill.gt-mooove,
.global-timer.gt-manual-btn.gt-mooove {
  background: #090d1a;
  border: 3px solid #facc15;
  border-radius: 6px;
  color: #facc15;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 #020617;
}
.global-timer.gt-manual-btn.gt-mooove .gt-manual-tag {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #facc15;
  opacity: 0.92;
}
.global-timer.gt-manual-btn.gt-mooove .gt-manual-go {
  border-radius: 4px;
  background: #4ade80;
  color: #020617;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  gap: 8px;
  padding: 6px 12px;
  border: 2px solid #ecfdf5;
}
.global-timer.gt-manual-btn.gt-mooove:hover .gt-manual-go {
  background: #facc15;
}

.global-timer.gt-shady {
  background: #111111;
  border: 3px solid #111111;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.28);
}
.global-timer.gt-shady .gt-track { stroke: rgba(255, 255, 255, 0.22); }
.global-timer.gt-shady .gt-prog  { stroke: #ffffff; }
.global-timer.gt-shady.is-urgent { background: #ffffff; color: #111111; border-color: #111111; }
.global-timer.gt-shady.is-urgent .gt-prog { stroke: #111111; }

.global-timer.gt-oneclue {
  background: #ffffff;
  border: 2.5px solid #0d1117;
  border-radius: 8px;
  color: #0d1117;
  box-shadow: -3.5px 0 0 #ff1e42, 3.5px 0 0 #00b8ff;
}
.global-timer.gt-oneclue .gt-time { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; text-shadow: none; }
.global-timer.gt-oneclue .gt-prog { stroke: #ff1e42; }

/* Mobile topbar synchronized timer badge */
.mob-global-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #8b2cf5;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  margin-right: 8px;
}
.mob-global-timer.gt-unfiltered { background: #dc2626; color: #ffffff; border: 2px solid #111115; border-radius: 6px; font-family: var(--unf-marker, 'Comic Relief', cursive); font-weight: 700; font-size: 16px; }
.mob-global-timer.gt-bluffalo   { background: #111111; color: #ffffff; border-radius: 4px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.mob-global-timer.gt-frequency  { background: #0f172a; color: #06b6d4; }
.mob-global-timer.gt-sketchy    { background: #1c1917; color: #fde047; }
.mob-global-timer.gt-mooove     { background: #090d1a; color: #4ade80; border: 2px solid #4ade80; border-radius: 4px; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 16px; box-shadow: 3px 3px 0 #020617; }
.mob-global-timer.gt-shady      { background: #111111; color: #ffffff; border: 2px solid #111111; border-radius: 4px; }
.mob-global-timer.gt-oneclue    { background: #ffffff; color: #0d1117; border: 2px solid #0d1117; border-radius: 6px; box-shadow: -2.5px 0 0 #ff1e42, 2.5px 0 0 #00b8ff; }
.mob-global-timer.gt-phony      { background: #FFFDF6; color: #D42A2A; border: 2.5px solid #141210; border-radius: 999px; box-shadow: 2px 2px 0 #141210; font-family: 'Space Mono', monospace; font-size: 13px; }
.mob-global-timer.is-urgent     { background: #ef4444; color: #ffffff; border-color: #ef4444; animation: gtUrgentPulse 560ms ease-in-out infinite; }
.mob-global-timer.gt-bluffalo.is-urgent,
.mob-global-timer.gt-shady.is-urgent { background: #ffffff; color: #111111; border: 2px solid #111111; }

body[data-game="frequency"] .picker-selected-name { color: #0891b2; }
body[data-game="frequency"] .av-tile.selected .av-ring { border-color: #06b6d4; box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22); }
body[data-game="frequency"] button.primary { background: linear-gradient(90deg, #06b6d4, #8b5cf6); color: #ffffff; }

body[data-game="sketchy"] .join-room-pill { background: #1c1917; color: #faf5eb; border-color: #1c1917; }
body[data-game="sketchy"] .join-room-pill strong { color: #fde047; }
body[data-game="sketchy"] .join-change-room { background: #fde047; color: #1c1917; }
body[data-game="sketchy"] input { border: 2.5px solid #1c1917; background: #fffdf5; }
body[data-game="sketchy"] .av-tile.selected .av-ring { border-color: #1c1917; background: #fef9c3; box-shadow: 3px 3px 0 #1c1917; }
body[data-game="sketchy"] button.primary { background: #1c1917; color: #fffdf5; }

body[data-game="mooove"] .join-room-pill { background: #0f172a; color: #bbf7d0; border: 2px solid #4ade80; border-radius: 6px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 16px; box-shadow: 3px 3px 0 #020617; }
body[data-game="mooove"] .join-room-pill strong { color: #facc15; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0.08em; }
body[data-game="mooove"] .join-change-room { background: #4ade80; color: #020617; border-radius: 4px; font-family: 'Oswald', sans-serif; font-weight: 700; }
body[data-game="mooove"] .picker-selected-name { display: none !important; }
body[data-game="mooove"] .av-tile.selected .av-ring { border-color: #facc15; border-radius: 6px; background: #172554; box-shadow: 4px 4px 0 #020617; }
body[data-game="mooove"] button.primary { background: #4ade80; color: #020617; border: 3px solid #f8fafc; border-radius: 6px; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.06em; box-shadow: 4px 4px 0 #020617; }

body[data-game="shady"] .join-room-pill { background: #111111; color: rgba(255, 255, 255, 0.85); border: 2px solid #111111; border-radius: 6px; }
body[data-game="shady"] .join-room-pill strong { color: #ffffff; }
body[data-game="shady"] .join-change-room { background: #ffffff; color: #111111; border-radius: 4px; }
body[data-game="shady"] .picker-selected-name { color: #ffffff; background: #111111; padding: 2px 9px; border-radius: 4px; }
body[data-game="shady"] .av-tile .av-ring,
body[data-game="shady"] .sw-tile { border: 2px solid #111111; border-radius: 8px; background: #ffffff; }
body[data-game="shady"] .av-tile.selected .av-ring,
body[data-game="shady"] .sw-tile.selected { border: 3px solid #111111; background: #f4f4f5; box-shadow: 4px 4px 0 #111111; }
body[data-game="shady"] .av-tile .av-check,
body[data-game="shady"] .sw-tile .av-check { background: #111111; color: #ffffff; }
body[data-game="shady"] button.primary { background: #111111; color: #ffffff; border: 2.5px solid #111111; border-radius: 8px; box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.25); }

/* No redundant inner circle when avatar tile is already highlighted as a box */
body[data-game="shady"] .sw-tile .av-ring,
body[data-game="shady"] .sw-tile.selected .av-ring,
body[data-game="bluffalo"] .sw-tile .av-ring,
body[data-game="bluffalo"] .sw-tile.selected .av-ring,
body[data-game="mooove"] .sw-tile .av-ring,
body[data-game="mooove"] .sw-tile.selected .av-ring,
body[data-game="oneclue"] .sw-tile .av-ring,
body[data-game="oneclue"] .sw-tile.selected .av-ring,
body[data-game="phony"] .sw-tile .av-ring,
body[data-game="phony"] .sw-tile.selected .av-ring {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
body[data-game="shady"] .hero-avatar-btn,
body[data-game="shady"] .hero-avatar-ring,
body[data-game="bluffalo"] .hero-avatar-btn,
body[data-game="bluffalo"] .hero-avatar-ring,
body[data-game="mooove"] .hero-avatar-btn,
body[data-game="mooove"] .hero-avatar-ring,
body[data-game="oneclue"] .hero-avatar-btn,
body[data-game="oneclue"] .hero-avatar-ring,
body[data-game="phony"] .hero-avatar-btn,
body[data-game="phony"] .hero-avatar-ring {
  background: transparent;
  border: none;
  box-shadow: none;
}

body[data-game="oneclue"] .join-room-pill { background: transparent; color: #0d1117; border: none; border-bottom: 2px solid #0d1117; border-radius: 0; box-shadow: none; }
body[data-game="oneclue"] .join-room-pill strong { color: #0d1117; text-shadow: none; }
body[data-game="oneclue"] .join-change-room { background: #0d1117; color: #ffffff; border-radius: 6px; box-shadow: none; }
body[data-game="oneclue"] .picker-selected-name { color: #0d1117; text-shadow: none; }
body[data-game="oneclue"] input { border: 2px solid #0d1117; border-radius: 8px; background: #ffffff; box-shadow: none; }
body[data-game="oneclue"] .av-tile .av-ring,
body[data-game="oneclue"] .sw-tile { background: transparent; border: 2px solid rgba(13, 17, 23, 0.16); border-radius: 12px; box-shadow: none; }
body[data-game="oneclue"] .av-tile.selected .av-ring,
body[data-game="oneclue"] .sw-tile.selected { background: #ffffff; border: 2.5px solid #0d1117; box-shadow: none; }
body[data-game="oneclue"] .av-tile .av-check,
body[data-game="oneclue"] .sw-tile .av-check { background: #0d1117; color: #ffffff; box-shadow: none; }
body[data-game="oneclue"] button.primary { background: #0d1117; color: #ffffff; border: 2px solid #0d1117; border-radius: 8px; box-shadow: none; }
body[data-game="unfiltered"] .join-panel,
body[data-game="unfiltered"] .pg-mob-card.unf-mob {
  background: transparent;
  box-shadow: none;
  border: none;
}
body[data-game="unfiltered"] .field-col label,
body[data-game="unfiltered"] .picker-label,
body[data-game="unfiltered"] .switcher-head {
  font-family: var(--unf-marker);
  font-size: 16px;
  color: var(--unf-ink);
  letter-spacing: 0.04em;
}
body[data-game="unfiltered"] .picker-selected-name {
  display: none !important;
}
body[data-game="unfiltered"] .field-col input {
  background: #ffffff;
  color: var(--unf-ink);
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 4px 4px 0 var(--unf-ink);
  font-family: var(--unf-marker);
  font-size: 19px;
}
body[data-game="unfiltered"] .field-col input:focus {
  border-color: var(--unf-ink);
  box-shadow: 4px 4px 0 var(--unf-red), 6px 6px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .av-tile .av-ring,
body[data-game="unfiltered"] .sw-tile {
  background: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .av-tile.selected .av-ring,
body[data-game="unfiltered"] .sw-tile.selected {
  background: var(--unf-red-soft);
  border-color: var(--unf-red);
  box-shadow: 4px 4px 0 var(--unf-ink);
  transform: translate(-1px, -2px) rotate(-1.5deg);
}
body[data-game="unfiltered"] .sw-tile .av-ring,
body[data-game="unfiltered"] .sw-tile.selected .av-ring {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
body[data-game="unfiltered"] .hero-avatar-btn,
body[data-game="unfiltered"] .hero-avatar-ring {
  background: transparent;
  border: none;
  box-shadow: none;
}
body[data-game="unfiltered"] .hero-avatar-ring.winner {
  background: #ffffff;
  border: 3.5px solid var(--unf-ink);
  box-shadow: 5px 5px 0 var(--unf-red), 8px 8px 0 var(--unf-ink);
  padding: 10px;
}
body[data-game="unfiltered"] .av-tile .av-check,
body[data-game="unfiltered"] .sw-tile .av-check {
  background: var(--unf-red);
  color: #ffffff;
  border: 2px solid var(--unf-ink);
}
body[data-game="unfiltered"] .av-tile .av-caption,
body[data-game="unfiltered"] .sw-tile .av-caption,
body[data-game="unfiltered"] .av-tile.selected .av-caption,
body[data-game="unfiltered"] .sw-tile.selected .av-caption {
  display: none !important;
}
body[data-game="unfiltered"] .tv-link {
  font-family: var(--unf-marker);
  color: var(--unf-ink);
  border-bottom: 2px dashed var(--unf-ink);
}
body[data-game="unfiltered"] .wait-title {
  font-family: var(--unf-marker);
  color: var(--unf-ink);
  text-shadow: 3px 3px 0 var(--unf-red-soft);
}
body[data-game="unfiltered"] .wait-sub {
  font-family: var(--unf-marker);
  font-size: 17px;
  color: rgba(17, 17, 21, 0.78);
}

/* Mobile Unfiltered Submit / Vote / Reveal */
body[data-game="unfiltered"] .pg-mob-pill.unf {
  background: var(--unf-ink);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--unf-red);
}
body[data-game="unfiltered"] .pg-mob-pill.unf-double {
  background: var(--unf-red);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .pg-mob-pill.unf-triple {
  background: var(--unf-red);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .m-unf-redraw-btn {
  background: #ffffff;
  color: var(--unf-ink);
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  font-size: 16px;
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .m-unf-redraw-btn.is-active {
  background: var(--unf-red);
  color: #ffffff;
}
body[data-game="unfiltered"] .m-unf-prompt {
  background: var(--unf-ink);
  color: #ffffff;
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 5px 5px 0 var(--unf-red), 7px 7px 0 var(--unf-ink);
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  padding: 16px 18px;
}
body[data-game="unfiltered"] .m-unf-prompt.is-finale {
  border-color: var(--unf-red);
  box-shadow: 5px 5px 0 var(--unf-red), 8px 8px 0 var(--unf-ink);
}
body[data-game="unfiltered"] button.secondary,
body[data-game="unfiltered"] .pg-unlock-btn {
  width: 100%;
  max-width: none;
  background: #ffffff;
  color: var(--unf-ink);
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 4px 4px 0 var(--unf-ink);
  font-family: var(--unf-marker) !important;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.05em;
  padding: 12px 22px;
  margin-top: 10px;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
}
@media (hover: hover) and (pointer: fine) {
  body[data-game="unfiltered"] button.secondary:hover:not(:disabled),
  body[data-game="unfiltered"] .pg-unlock-btn:hover:not(:disabled) {
    background: var(--unf-ink);
    color: #ffffff;
    box-shadow: 4px 4px 0 var(--unf-red);
    transform: translate(-1px, -1px);
  }
}
body[data-game="unfiltered"] button.secondary:active:not(:disabled),
body[data-game="unfiltered"] .pg-unlock-btn:active:not(:disabled) {
  background: var(--unf-red-soft);
  color: var(--unf-ink);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .vip-manual-btn {
  background: var(--unf-ink) !important;
  color: #ffffff !important;
  border: 3px solid var(--unf-ink) !important;
  border-radius: var(--unf-box-radius) !important;
  box-shadow: 4px 4px 0 var(--unf-red) !important;
  font-family: var(--unf-marker) !important;
  font-weight: 700;
}
body[data-game="unfiltered"] .m-unf-swap-banner,
body[data-game="unfiltered"] .m-unf-finale-hint {
  background: var(--unf-red);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 3px 3px 0 var(--unf-ink);
}
body[data-game="unfiltered"] .m-unf-sticky-head {
  background: var(--unf-wall);
  border-bottom-color: rgba(17, 17, 21, 0.14);
}
body[data-game="unfiltered"] .unf-mob.has-sticky-foot {
  padding-bottom: 96px;
}
.m-unf-sticky-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 243, 234, 0) 0%, rgba(246, 243, 234, 0.94) 30%, var(--unf-wall, #f6f3ea) 100%);
}
.m-unf-sticky-foot[hidden] {
  display: none;
}
.m-unf-sticky-foot > button {
  pointer-events: auto;
  width: 100%;
  max-width: 480px;
  margin: 0 !important;
}
body[data-game="unfiltered"] .m-unf-card {
  background: #ffffff;
  color: var(--unf-ink);
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 4px 4px 0 var(--unf-ink);
  font-family: var(--unf-hand) !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.26;
  letter-spacing: 0.01em;
  padding: 13px;
  aspect-ratio: 5 / 6.4;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
body[data-game="unfiltered"] .m-unf-card > * {
  pointer-events: none;
}
@media (max-width: 360px) {
  body[data-game="unfiltered"] .m-unf-card {
    font-size: 14px;
    padding: 10px;
  }
}
@media (hover: hover) and (pointer: fine) {
  body[data-game="unfiltered"] .m-unf-card:hover:not([disabled]) {
    background: var(--unf-red-soft);
    border-color: var(--unf-red);
  }
}
body[data-game="unfiltered"] .m-unf-card:active:not([disabled]) {
  background: var(--unf-red-soft);
  border-color: var(--unf-red);
  transform: none;
}
body[data-game="unfiltered"] .m-unf-card.is-picked {
  background: var(--unf-red-soft);
  border-color: var(--unf-red);
  box-shadow: 4px 4px 0 var(--unf-red);
}
body[data-game="unfiltered"] .m-unf-card.swap-target {
  background: #fff5f5;
  border-color: var(--unf-red);
  border-style: dashed;
}
body[data-game="unfiltered"] .m-unf-card.is-mine {
  opacity: 0.55;
  background: #f4f4f5;
  border-style: dashed;
  box-shadow: none;
  cursor: not-allowed;
}
body[data-game="unfiltered"] button:focus-visible {
  outline-color: var(--unf-red);
}
body[data-game="unfiltered"] .m-unf-opt-letter {
  background: var(--unf-red);
  color: #ffffff;
  border: 2px solid var(--unf-ink);
  border-radius: 5px 8px 6px 4px;
  font-family: var(--unf-marker);
  font-size: 17px;
}
body[data-game="unfiltered"] .m-unf-pick-num {
  background: var(--unf-ink);
  color: #ffffff;
  border: 2px solid var(--unf-ink);
  border-radius: 5px 8px 6px 4px;
  font-family: var(--unf-marker);
  font-size: 17px;
}
body[data-game="unfiltered"] .m-unf-card-fill {
  background: var(--unf-red-soft);
  color: var(--unf-ink);
  border: 1.5px solid var(--unf-red);
  border-radius: 4px;
}
body[data-game="unfiltered"] .m-unf-reveal-sec {
  align-items: center;
  gap: 16px;
}
body[data-game="unfiltered"] .m-unf-reveal-card {
  width: min(100%, 270px);
  aspect-ratio: 5 / 6.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  padding: 20px;
  font-size: 21px;
  line-height: 1.3;
  box-shadow: 7px 7px 0 var(--unf-red), 10px 10px 0 var(--unf-ink);
  transform: rotate(-0.8deg);
  box-sizing: border-box;
}
body[data-game="unfiltered"] .m-unf-reveal-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}
body[data-game="unfiltered"] .m-unf-reveal-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body[data-game="unfiltered"] .m-unf-reveal-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
body[data-game="unfiltered"] .m-unf-rev-av {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}
body[data-game="unfiltered"] .m-unf-reveal-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
body[data-game="unfiltered"] .m-unf-reveal-by {
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(17, 17, 21, 0.56);
}
body[data-game="unfiltered"] .m-unf-reveal-author strong {
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.08;
  color: var(--unf-ink);
  overflow-wrap: anywhere;
}
body[data-game="unfiltered"] .m-unf-reveal-score {
  background: var(--unf-red);
  color: #ffffff;
  border: 2.5px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 3.5px 3.5px 0 var(--unf-ink);
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  padding: 8px 14px;
  white-space: nowrap;
  flex-shrink: 0;
  transform: rotate(-2deg);
}
body[data-game="unfiltered"] .m-unf-reveal-score span {
  font-size: 0.56em;
  letter-spacing: 0.06em;
}
body[data-game="unfiltered"] .m-unf-reveal-score.is-unanimous {
  background: var(--unf-ink);
  box-shadow: 3.5px 3.5px 0 var(--unf-red);
}
body[data-game="unfiltered"] .m-unf-bonus-tag.is-unanimous {
  background: var(--unf-ink);
  box-shadow: 2.5px 2.5px 0 var(--unf-red);
}
body[data-game="unfiltered"] .m-unf-reveal-voters {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 8px;
  border-top: 2px solid rgba(17, 17, 21, 0.12);
}
body[data-game="unfiltered"] .m-unf-reveal-voters-lbl {
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(17, 17, 21, 0.56);
}
body[data-game="unfiltered"] .m-unf-voters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
body[data-game="unfiltered"] .m-unf-voter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 2px solid var(--unf-ink);
  border-radius: var(--unf-box-radius-alt);
  box-shadow: 2px 2px 0 var(--unf-ink);
  padding: 3px 10px 3px 5px;
  font-family: var(--unf-marker);
  font-weight: 700;
  font-size: 13px;
  color: var(--unf-ink);
}
body[data-game="unfiltered"] .m-unf-voter-av {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
body[data-game="unfiltered"] .m-unf-win-box {
  background: var(--unf-ink);
  color: #ffffff;
  border: 3px solid var(--unf-ink);
  border-radius: var(--unf-box-radius);
  box-shadow: 4px 4px 0 var(--unf-red);
  font-family: var(--unf-marker);
  font-size: 21px;
}
body[data-game="unfiltered"] .m-unf-bonus-tag {
  background: var(--unf-red);
  color: #ffffff;
  border: 2px solid var(--unf-ink);
  border-radius: 5px 8px 6px 4px;
  padding: 2px 10px;
  display: inline-block;
  align-self: flex-start;
  font-family: var(--unf-marker);
  font-size: 16px;
}
body[data-game="unfiltered"] .m-htp-head {
  font-family: var(--unf-marker);
  font-size: 30px;
  color: var(--unf-ink);
  text-shadow: 3px 3px 0 var(--unf-red-soft);
}

/* ---- PLAYTEST OVERHAUL: BUMFUZZLE, SKETCHY, NPC & SPY CLARITY + LEGIBILITY ---- */
.blf-step-bar,
.shd-step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -4px auto 2px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.blf-step,
.shd-step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid #d4d4d8;
  background: #ffffff;
  color: #71717a;
}
.blf-step.active,
.shd-step.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.shd-step.active {
  box-shadow: 0 3px 0 #e64928;
}
.blf-step.done,
.shd-step.done {
  background: #f4f4f5;
  border-color: #111111;
  color: #111111;
}
.blf-step-sep,
.shd-step-sep {
  font-weight: 900;
  color: #a1a1aa;
}
.blf-vote-banner {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.blf-vote-instruct {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: 0.06em;
  color: #111111;
  background: #fef08a;
  border: 2px solid #111111;
  border-radius: 999px;
  padding: 4px 18px;
}

/* Sketchy reveal: larger, unmistakable voter avatars & labels */
.sk-rev-vlabel {
  font-size: 13.5px !important;
  font-weight: 900 !important;
}
.sk-rev-vchip {
  padding: 4px 12px 4px 5px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}
.sk-rev-vchip .animal-head {
  width: 36px !important;
  height: 36px !important;
}

/* Spy reveal: prominent points burst & reason badge + mobile role ref */
.shd-pts-big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.shd-pts-big.win {
  background: #4ade80;
  color: #020617;
  border: 2px solid #020617;
}
.shd-pts-big.zero {
  background: rgba(255, 255, 255, 0.16);
  color: #d4d4d8;
}
.shd-sus-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 3px;
}
.shd-reason-badge {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f4f4f5;
  color: #52525b;
}
.shd-reason-badge.win {
  background: #111111;
  color: #4ade80;
}
.shd-suspect-card.reveal-card.earned-pts {
  border-color: #111111;
  box-shadow: 6px 6px 0 #4ade80;
}
.m-shd-role.compact {
  padding: 8px 12px;
}
.m-shd-grid.readonly {
  opacity: 0.9;
  pointer-events: none;
}
.m-spy-clue-list.compact {
  max-height: 150px;
  overflow-y: auto;
}

/* =========================================================================
   SPY ULTRA-CLEAR 2-WAVE + CRACK THE CODE + WIPEOUT + LEAK POLISH
   ========================================================================= */
.shd-now-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 2.5px solid #111111;
  background: #ffffff;
  color: #111111;
  box-shadow: 4px 4px 0 #111111;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  line-height: 1.3;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto 4px;
}
.shd-now-banner.is-wipeout {
  background: #fee2e2;
  border-color: #dc2626;
  box-shadow: 4px 4px 0 #dc2626;
}
.shd-now-tag {
  font-family: 'Anton', var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  white-space: nowrap;
}
.shd-now-banner.is-wipeout .shd-now-tag {
  background: #dc2626;
  color: #ffffff;
}
.shd-now-msg em { font-style: normal; font-weight: 900; color: #dc2626; }
.shd-pill-wipeout {
  background: #dc2626 !important;
  color: #ffffff !important;
  border: 2.5px solid #111111 !important;
  border-radius: 6px !important;
}
.shd-discuss-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.shd-btn-wave2 {
  background: #facc15 !important;
  color: #111111 !important;
  border: 3px solid #111111 !important;
  border-radius: 8px !important;
  box-shadow: 4px 4px 0 #111111 !important;
  font-weight: 900;
  white-space: nowrap;
  padding: 9px 14px !important;
  font-size: 14px !important;
}
.shd-btn-wave2:hover {
  background: #fde047 !important;
  transform: translateY(-2px);
}
.shd-discuss-actions .spy-skip-btn {
  white-space: nowrap;
  padding: 9px 14px !important;
  font-size: 14px !important;
}
.shd-escape-folder {
  padding: 16px 22px 18px;
}
.shd-word-grid.clickable .shd-word-cell {
  animation: none;
  opacity: 1;
}
.shd-waiting-bar {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 3px 3px 0 #111111;
}
.shd-waiting-bar.is-ready {
  background: #111111;
  color: #4ade80;
}
.shd-prev-wave-strip {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px dashed rgba(17, 17, 17, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.shd-prev-wave-label {
  font-family: 'Anton', var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  background: #111111;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 5px;
}
.shd-prev-chip {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f4f5;
  border: 1.5px solid #111111;
  color: #111111;
}
.shd-clue-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.shd-clue-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 900;
  color: #111111;
}
.shd-clue-pill em {
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  flex-shrink: 0;
}
.shd-clue-pill.w2 em {
  background: #dc2626;
  color: #ffffff;
}
.shd-caught-banner.is-crack {
  border-color: #dc2626;
  box-shadow: 6px 6px 0 #dc2626;
}
.shd-leak-pick {
  cursor: pointer;
  text-align: left;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.shd-leak-pick:hover {
  transform: translateY(-4px);
  border-color: #dc2626;
  box-shadow: 6px 6px 0 #dc2626;
}
.shd-leak-cta-pill {
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 5px;
  background: #dc2626;
  color: #ffffff;
}
.shd-reveal-hero.is-wipeout {
  background: #111111;
  color: #ffffff;
  border: 3px solid #dc2626;
  box-shadow: 6px 6px 0 #dc2626;
}
.shd-vault-pair {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}
.shd-secret-vault.is-hit {
  background: #dc2626;
  color: #ffffff;
}
.shd-secret-vault.is-miss {
  background: #27272a;
  color: #fca5a5;
}
.shd-suspect-card.reveal-card.is-leak {
  border-color: #dc2626;
  box-shadow: 6px 6px 0 #dc2626;
}
.shd-mug-strip.leak-strip {
  background: #dc2626;
  color: #ffffff;
}
.shd-pts-big.loss {
  color: #dc2626;
}
.shd-mug-strip.leak-strip .shd-pts-big.loss {
  color: #fef08a;
}
.shd-reason-badge.loss {
  background: #dc2626;
  color: #ffffff;
}
.m-shd-crack-btn {
  width: 100%;
  margin-top: 10px;
  padding: 13px 14px;
  border-radius: 10px;
  border: 3px solid #111111;
  background: #dc2626;
  color: #ffffff;
  font-family: 'Anton', var(--font-display);
  font-size: 17px;
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 0 #111111;
  cursor: pointer;
}
.m-shd-wave2-btn {
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2.5px solid #111111;
  background: #facc15;
  color: #111111;
  font-family: 'Anton', var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 0 #111111;
  cursor: pointer;
}
.m-shd-stakes {
  font-size: 13px;
  margin: 4px 0 8px;
}

/* =========================================================================
   8. PHONY — 1960s AMERICANA / ANDY WARHOL SCREENPRINT DESIGN SYSTEM
   Tokens strictly match phony_design_sheet.md (zero stray colors/radii).
   ========================================================================= */
.pg-logo-phony.hero svg { width: clamp(220px, 26vw, 320px); height: auto; }
.pg-logo-phony.sm svg   { width: clamp(114px, 10.5vw, 144px); height: auto; }
.pg-logo-phony.card svg { width: 100%; height: auto; }

body[data-game="phony"] {
  --phn-paper: #F6EFE0;
  --phn-card: #FFFDF6;
  --phn-ink: #141210;
  --phn-ink-muted: #5C5549;
  --phn-red: #D42A2A;
  --phn-yellow: #F7C625;
  --phn-cyan: #00A7C4;
  --phn-pink: #E63E8C;
  --phn-green: #19874B;

  --phn-font-editorial: 'Ultra', 'Playfair Display', Georgia, serif;
  --phn-font-display: 'Anton', sans-serif;
  --phn-font-body: 'Jost', 'Plus Jakarta Sans', sans-serif;
  --phn-font-mono: 'Space Mono', monospace;

  --phn-r-card: 6px;
  --phn-r-pill: 999px;
  --phn-border: 3px solid var(--phn-ink);
  --phn-border-sm: 2.5px solid var(--phn-ink);
  --phn-shadow-lg: 6px 6px 0 var(--phn-ink);
  --phn-shadow-md: 4px 4px 0 var(--phn-ink);
  --phn-shadow-sm: 2px 2px 0 var(--phn-ink);

  --purple: var(--phn-red);
  --purple-soft: rgba(212, 42, 42, 0.14);
  --font-display: var(--phn-font-display);
  --font-body: var(--phn-font-body);

  background-color: var(--phn-paper);
  background-image: radial-gradient(rgba(20, 18, 16, 0.065) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  color: var(--phn-ink);
  font-family: var(--phn-font-body);
  box-shadow: inset 0 6px 0 var(--phn-red);
}
body[data-game="phony"] .stage-screen {
  color: var(--phn-ink);
  font-family: var(--phn-font-body);
}

/* Shared TV Chrome: Zero Purple, Unified Print Geometry */
body[data-game="phony"] .status-dot {
  background: var(--phn-red) !important;
}
body[data-game="phony"] .tv-audio-dock {
  background: var(--phn-card);
  border: 2px solid var(--phn-ink);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-sm);
}
body[data-game="phony"] .tool-btn {
  font-family: var(--phn-font-mono);
  font-size: 11px;
  color: var(--phn-ink-muted);
}
body[data-game="phony"] .tool-btn:hover {
  color: var(--phn-ink);
}
body[data-game="phony"] .progress-badge {
  font-family: var(--phn-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--phn-ink);
}
body[data-game="phony"] .brand-tagline {
  font-family: var(--phn-font-body);
  font-weight: 700;
  color: var(--phn-ink-muted);
  letter-spacing: 0.02em;
}
body[data-game="phony"] .corner-label,
body[data-game="phony"] .corner-url {
  font-family: var(--phn-font-mono);
  color: var(--phn-ink-muted);
}
body[data-game="phony"] .room-code-big {
  font-family: var(--phn-font-editorial);
  color: var(--phn-ink);
  letter-spacing: 0.06em;
}
body[data-game="phony"] .qr-frame {
  background: var(--phn-card);
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-md);
}
body[data-game="phony"] .slot-name {
  font-family: var(--phn-font-display);
  letter-spacing: 0.05em;
  color: var(--phn-ink);
}
body[data-game="phony"] .slot-empty-ring {
  border: 2.5px dashed rgba(20, 18, 16, 0.35);
  color: var(--phn-ink-muted);
}
body[data-game="phony"] .lobby-status-line {
  font-family: var(--phn-font-mono);
  font-size: 13px;
  color: var(--phn-ink);
  letter-spacing: 0.06em;
}
body[data-game="phony"] .lobby-footer,
body[data-game="phony"] .lobby-cta {
  padding-bottom: 18px;
}
body[data-game="phony"] .btn-start-lobby,
body[data-game="phony"] .lobby-start-btn,
body[data-game="phony"] #btn-start,
body[data-game="phony"] #btn-again,
.phn-btn {
  background: var(--phn-red) !important;
  color: var(--phn-card) !important;
  border: var(--phn-border) !important;
  border-radius: var(--phn-r-card) !important;
  box-shadow: var(--phn-shadow-lg) !important;
  font-family: var(--phn-font-display) !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
body[data-game="phony"] .btn-start-lobby:hover,
body[data-game="phony"] #btn-start:hover,
body[data-game="phony"] #btn-again:hover,
.phn-btn:hover {
  background: var(--phn-yellow) !important;
  color: var(--phn-ink) !important;
  transform: translate(-2px, -2px);
}
body[data-game="phony"] .host-pill,
body[data-game="phony"] .ai-host-pill,
body[data-game="phony"] .room-code-chip {
  background: var(--phn-red) !important;
  color: var(--phn-card) !important;
  border: 2px solid var(--phn-ink) !important;
  border-radius: var(--phn-r-card) !important;
  font-family: var(--phn-font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.06em;
  box-shadow: var(--phn-shadow-sm);
}
body[data-game="phony"] .check-badge {
  background: var(--phn-green) !important;
  color: var(--phn-card) !important;
  border: 2px solid var(--phn-ink) !important;
}

/* Global Timer (Warhol Stamp) */
.global-timer.gt-phony {
  background: var(--phn-card);
  border: var(--phn-border);
  border-radius: var(--phn-r-pill);
  box-shadow: var(--phn-shadow-sm);
  color: var(--phn-ink);
}
.global-timer.gt-phony .gt-track { stroke: rgba(20, 18, 16, 0.14); }
.global-timer.gt-phony .gt-prog  { stroke: var(--phn-red); }
.global-timer.gt-phony .gt-time  { color: var(--phn-ink); font-family: var(--phn-font-mono); }

/* Topbar Phase Pills */
.phn-pill,
.phn-pill-hot {
  border: var(--phn-border) !important;
  border-radius: var(--phn-r-card) !important;
  box-shadow: var(--phn-shadow-sm) !important;
  font-family: var(--phn-font-mono) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  padding: 6px 16px !important;
}
.phn-pill     { background: var(--phn-ink) !important; color: var(--phn-yellow) !important; }
.phn-pill-hot { background: var(--phn-pink) !important; color: var(--phn-card) !important; }

/* Lobby Edition Strip (Replaces cluttered 2-box VS banner) */
.phn-lobby-strip {
  width: fit-content;
  max-width: 92%;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 26px;
  background: var(--phn-card);
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-md);
}
.phn-ls-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.phn-ls-dot {
  width: 11px;
  height: 11px;
  border-radius: var(--phn-r-pill);
  border: 2px solid var(--phn-ink);
  flex-shrink: 0;
}
.phn-ls-dot.is-pink   { background: var(--phn-pink); }
.phn-ls-dot.is-yellow { background: var(--phn-yellow); }
.phn-ls-dot.is-red    { background: var(--phn-red); }
.phn-ls-item strong {
  font-family: var(--phn-font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--phn-ink);
}
.phn-ls-item span:last-child {
  font-family: var(--phn-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--phn-ink-muted);
}
.phn-ls-sep {
  font-family: var(--phn-font-mono);
  font-size: 16px;
  color: rgba(20, 18, 16, 0.25);
}

/* Editorial How To Play (Single Warhol 2x2 Print + 3 Unboxed Lines) */
body[data-game="phony"] .htp-top-title {
  font-family: var(--phn-font-editorial);
  color: var(--phn-ink);
  letter-spacing: 0.03em;
}
body[data-game="phony"] .htp-editorial-visual {
  max-width: 420px;
}
body[data-game="phony"] .phn-htp-print {
  width: 100%;
  height: auto;
  display: block;
}
body[data-game="phony"] .htp-editorial-step {
  border-bottom-color: rgba(20, 18, 16, 0.16);
}
body[data-game="phony"] .htp-editorial-num {
  font-family: var(--phn-font-mono);
  color: var(--phn-red);
}
body[data-game="phony"] .htp-editorial-lead {
  font-family: var(--phn-font-editorial);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  color: var(--phn-ink);
  letter-spacing: 0.01em;
}
body[data-game="phony"] .htp-editorial-rest {
  font-family: var(--phn-font-body);
  font-weight: 600;
  color: var(--phn-ink-muted);
}

/* Flat 3-Segment Continuity Ticket (Zero Nested Pills) */
.phn-task-track {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  margin: 0 auto 12px;
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  overflow: hidden;
  box-shadow: var(--phn-shadow-sm);
  background: var(--phn-card);
}
.phn-t-seg {
  padding: 5px 18px;
  font-family: var(--phn-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--phn-ink-muted);
  border-right: 2px solid var(--phn-ink);
}
.phn-t-seg:last-child { border-right: none; }
.phn-t-seg.is-active {
  background: var(--phn-yellow);
  color: var(--phn-ink);
}
.phn-t-seg.is-escaped {
  background: var(--phn-pink);
  color: var(--phn-card);
}

/* Shared Campbell's Split-Label Poster Formula */
.phn-center-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.phn-poster {
  width: min(760px, 92%);
  background: var(--phn-card);
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-lg);
  overflow: hidden;
}
.phn-poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  border-bottom: var(--phn-border);
  font-family: var(--phn-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.phn-poster-head.is-red  { background: var(--phn-red);  color: var(--phn-card); }
.phn-poster-head.is-pink { background: var(--phn-pink); color: var(--phn-card); }
.phn-poster-head.is-cyan { background: var(--phn-cyan); color: var(--phn-ink); }
.phn-poster-body {
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.phn-poster-title {
  margin: 0;
  font-family: var(--phn-font-editorial);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  color: var(--phn-ink);
  letter-spacing: 0.01em;
}
.phn-poster-sub {
  margin: 0;
  font-family: var(--phn-font-body);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  color: var(--phn-ink-muted);
  max-width: 560px;
}
.phn-poster-meta {
  margin-top: 8px;
  padding-top: 14px;
  width: 100%;
  border-top: 2px dashed rgba(20, 18, 16, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--phn-font-mono);
  font-size: 14px;
  color: var(--phn-ink-muted);
}
.phn-poster-meta strong { color: var(--phn-ink); }
.phn-meta-sep { color: rgba(20, 18, 16, 0.25); }
.phn-poster.is-verdict .phn-btn { margin-top: 10px; }

.phn-wait-line,
.phn-footer-line {
  font-family: var(--phn-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--phn-ink-muted);
  text-align: center;
  padding: 4px 0;
}

/* Grill & Vote: Split-Label Prompt Poster + Uniform 4-Ink Answer Grid */
.phn-prompt-poster {
  width: min(1080px, 94%);
  margin: 0 auto 14px;
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-lg);
  overflow: hidden;
  background: var(--phn-yellow);
}
.phn-prompt-face {
  padding: 16px 26px 18px;
  text-align: center;
}
.phn-prompt-text {
  margin: 0;
  font-family: var(--phn-font-editorial);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.18;
  color: var(--phn-ink);
}

.phn-reveal-grid {
  flex: 1;
  min-height: 0;
  width: min(1140px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-content: center;
}
.phn-reveal-grid.dense {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
}
.phn-card {
  border-radius: var(--phn-r-card);
  border: var(--phn-border);
  box-shadow: var(--phn-shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--phn-card);
  animation: popIn 280ms cubic-bezier(.22, 1, .36, 1) backwards;
  animation-delay: var(--od, 0ms);
}
.phn-card.pop-c0 .phn-card-head { background: var(--phn-red);    color: var(--phn-card); }
.phn-card.pop-c1 .phn-card-head { background: var(--phn-cyan);   color: var(--phn-ink); }
.phn-card.pop-c2 .phn-card-head { background: var(--phn-pink);   color: var(--phn-card); }
.phn-card.pop-c3 .phn-card-head { background: var(--phn-yellow); color: var(--phn-ink); }
.phn-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: var(--phn-border);
}
.phn-card-who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.phn-card-who img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.phn-card-who span {
  font-family: var(--phn-font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phn-voted-check {
  width: 24px;
  height: 24px;
  border-radius: var(--phn-r-pill);
  background: var(--phn-green);
  color: var(--phn-card);
  border: 2px solid var(--phn-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--phn-font-mono);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.phn-voted-check[hidden] { display: none; }
.phn-card-body {
  flex: 1;
  padding: 22px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--phn-card);
}
.phn-ans-big {
  font-family: var(--phn-font-editorial);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.04;
  color: var(--phn-ink);
}
.phn-ans-big.is-text {
  font-family: var(--phn-font-body);
  font-weight: 800;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.22;
}
.phn-ans-big.is-yes { color: var(--phn-green); }
.phn-ans-big.is-no  { color: var(--phn-red); }
.phn-ans-vibe {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.phn-vibe-em { font-size: 48px; line-height: 1; }
.phn-vibe-lb {
  font-family: var(--phn-font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 0.05em;
  color: var(--phn-ink);
  line-height: 1;
}
.phn-ans-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.phn-ans-point img { width: 62px; height: 62px; object-fit: contain; }
.phn-ans-point span {
  font-family: var(--phn-font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--phn-ink);
}

/* Round Reveal: Single Unmask Poster + Hairline Task Ledger + Split-Label Scores */
.phn-unmask-poster {
  width: min(1100px, 94%);
  margin: 0 auto 14px;
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-lg);
  overflow: hidden;
  background: var(--phn-card);
}
.phn-unmask-poster.is-escaped .phn-unmask-face {
  background: var(--phn-yellow);
}
.phn-unmask-face {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.phn-unmask-av {
  width: 96px;
  height: 96px;
  border-radius: var(--phn-r-card);
  border: var(--phn-border);
  background: var(--phn-cyan);
  box-shadow: var(--phn-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phn-unmask-av img { width: 82px; height: 82px; object-fit: contain; }
.phn-unmask-copy { flex: 1; min-width: 0; }
.phn-unmask-copy h2 {
  margin: 0 0 10px;
  font-family: var(--phn-font-editorial);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
  color: var(--phn-ink);
}
.phn-ledger {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--phn-ink);
}
.phn-ledger-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1.5px dashed rgba(20, 18, 16, 0.22);
  font-size: 14px;
}
.phn-ledger-row:last-child { border-bottom: none; padding-bottom: 0; }
.phn-ledger-tag {
  font-family: var(--phn-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--phn-red);
  flex-shrink: 0;
}
.phn-ledger-prompt {
  flex: 1;
  min-width: 0;
  font-family: var(--phn-font-body);
  font-weight: 600;
  color: var(--phn-ink);
}
.phn-ledger-prompt em {
  font-style: normal;
  color: var(--phn-pink);
  font-weight: 700;
}
.phn-ledger-ans {
  font-family: var(--phn-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--phn-ink);
  flex-shrink: 0;
}

.phn-scores-grid {
  width: min(1100px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.phn-score-card {
  background: var(--phn-card);
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phn-score-card.is-phony .phn-sc-body { background: #FFF8DC; }
.phn-sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: var(--phn-border);
  font-family: var(--phn-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.phn-sc-head.is-pink { background: var(--phn-pink); color: var(--phn-card); }
.phn-sc-head.is-cyan { background: var(--phn-cyan); color: var(--phn-ink); }
.phn-sc-pts {
  font-family: var(--phn-font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
}
.phn-sc-head .phn-sc-pts.win  { color: var(--phn-card); }
.phn-sc-head.is-cyan .phn-sc-pts.win { color: var(--phn-ink); }
.phn-sc-head .phn-sc-pts.zero { opacity: 0.6; }
.phn-sc-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phn-sc-who { display: flex; align-items: center; gap: 10px; }
.phn-sc-who img { width: 42px; height: 42px; object-fit: contain; }
.phn-sc-who strong {
  display: block;
  font-family: var(--phn-font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--phn-ink);
}
.phn-sc-who span {
  font-family: var(--phn-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--phn-ink-muted);
}
.phn-sc-votes {
  font-family: var(--phn-font-mono);
  font-size: 11px;
  color: var(--phn-ink-muted);
  border-top: 1.5px dashed rgba(20, 18, 16, 0.2);
  padding-top: 6px;
}

/* Standings & Final Winner Screen (100% Unified Warhol Americana) */
body[data-game="phony"] .stage-headline,
body[data-game="phony"] .winner-headline {
  font-family: var(--phn-font-editorial);
  font-weight: 400;
  color: var(--phn-ink);
  letter-spacing: 0.02em;
}
body[data-game="phony"] .round-pill {
  background: var(--phn-ink);
  color: var(--phn-yellow);
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-sm);
  font-family: var(--phn-font-mono);
}
body[data-game="phony"] .standing-row {
  background: var(--phn-card);
  border: var(--phn-border);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-md);
}
body[data-game="phony"] .standing-row.is-leader {
  background: var(--phn-yellow);
}
body[data-game="phony"] .standing-rank,
body[data-game="phony"] .standing-pts {
  font-family: var(--phn-font-mono);
  color: var(--phn-ink);
}
body[data-game="phony"] .standing-name,
body[data-game="phony"] .strip-name {
  font-family: var(--phn-font-display);
  letter-spacing: 0.04em;
  color: var(--phn-ink);
}
body[data-game="phony"] .winner-crown {
  background: var(--phn-red);
  color: var(--phn-card);
  border: var(--phn-border-sm);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-sm);
  font-family: var(--phn-font-mono);
}
body[data-game="phony"] .winner-halo {
  background: var(--phn-yellow) !important;
  border: var(--phn-border) !important;
  border-radius: var(--phn-r-card) !important;
  box-shadow: var(--phn-shadow-lg) !important;
}
body[data-game="phony"] .winner-status-line {
  font-family: var(--phn-font-mono);
  color: var(--phn-ink);
}
body[data-game="phony"] .winner-status-line .pts-highlight {
  color: var(--phn-red);
}
body[data-game="phony"] .strip-pts {
  font-family: var(--phn-font-mono);
  color: var(--phn-ink);
}

/* PHONY Mobile Chrome & Single Split-Label Card System */
body[data-game="phony"] .topbar {
  border-bottom: 2px solid rgba(20, 18, 16, 0.14);
}
body[data-game="phony"] .panel {
  flex: 0 0 auto;
  background: var(--phn-card);
  border: var(--phn-border-sm);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-md);
}
body[data-game="phony"] .join-room-pill {
  background: var(--phn-red);
  color: var(--phn-card);
  border: var(--phn-border-sm);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-sm);
  font-family: var(--phn-font-mono);
}
body[data-game="phony"] .join-room-pill strong { color: var(--phn-yellow); }
body[data-game="phony"] .join-change-room {
  background: var(--phn-card);
  color: var(--phn-ink);
  border: 2px solid var(--phn-ink);
  border-radius: var(--phn-r-card);
  font-family: var(--phn-font-mono);
}
body[data-game="phony"] .picker-selected-name {
  background: var(--phn-ink);
  color: var(--phn-yellow);
  border: 2px solid var(--phn-ink);
  padding: 2px 10px;
  border-radius: var(--phn-r-card);
  font-family: var(--phn-font-mono);
}
body[data-game="phony"] input {
  border: var(--phn-border-sm);
  border-radius: var(--phn-r-card);
  background: var(--phn-card);
  color: var(--phn-ink);
  font-family: var(--phn-font-body);
  font-weight: 700;
}
body[data-game="phony"] input:focus {
  border-color: var(--phn-red);
  box-shadow: 0 0 0 3px rgba(212, 42, 42, 0.18);
  outline: none;
}
body[data-game="phony"] .av-tile .av-ring,
body[data-game="phony"] .sw-tile {
  background: var(--phn-card);
  border: var(--phn-border-sm);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-sm);
}
body[data-game="phony"] .av-tile.selected .av-ring,
body[data-game="phony"] .sw-tile.selected {
  background: var(--phn-yellow);
  border: var(--phn-border-sm);
  box-shadow: 3px 3px 0 var(--phn-red);
}
body[data-game="phony"] .av-tile.selected .av-caption,
body[data-game="phony"] .sw-tile.selected .sw-caption {
  color: var(--phn-red);
  font-family: var(--phn-font-display);
}
body[data-game="phony"] .av-tile .av-check,
body[data-game="phony"] .sw-tile .av-check {
  background: var(--phn-red);
  color: var(--phn-card);
  border: 2px solid var(--phn-ink);
}
body[data-game="phony"] button.primary {
  background: var(--phn-red);
  color: var(--phn-card);
  border: var(--phn-border-sm);
  border-radius: var(--phn-r-card);
  box-shadow: var(--phn-shadow-md);
  font-family: var(--phn-font-display);
  letter-spacing: 0.06em;
}
body[data-game="phony"] button.primary:disabled {
  background: #EAE2D0;
  color: var(--phn-ink-muted);
  border-color: rgba(20, 18, 16, 0.35);
  box-shadow: none;
  opacity: 1;
}

/* Mobile Single Campbell's Split-Label Sheet */
.m-phn-sheet {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.m-phn-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: var(--phn-border-sm);
  font-family: var(--phn-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.m-phn-band.is-cyan  { background: var(--phn-cyan);  color: var(--phn-ink); }
.m-phn-band.is-pink  { background: var(--phn-pink);  color: var(--phn-card); }
.m-phn-band.is-red   { background: var(--phn-red);   color: var(--phn-card); }
.m-phn-band.is-green { background: var(--phn-green); color: var(--phn-card); }
.m-phn-body {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-phn-decoy-tag {
  align-self: flex-start;
  padding: 3px 8px;
  background: var(--phn-pink);
  color: var(--phn-card);
  border: 2px solid var(--phn-ink);
  border-radius: var(--phn-r-card);
  font-family: var(--phn-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.m-phn-q {
  margin: 0;
  font-family: var(--phn-font-editorial);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--phn-ink);
}
.m-phn-q.is-blind {
  font-size: 28px;
  color: var(--phn-pink);
}
.m-phn-vote-q {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(20, 18, 16, 0.2);
  font-family: var(--phn-font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--phn-ink);
}
.m-phn-sub {
  margin: 0;
  font-family: var(--phn-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--phn-ink-muted);
}

/* Tactile Warhol Controls (Strict 6px Card Radius + 2.5px Ink Border) */
.m-phn-num-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.m-phn-num-btn {
  padding: 13px 4px;
  border-radius: var(--phn-r-card);
  border: var(--phn-border-sm);
  background: var(--phn-card);
  color: var(--phn-ink);
  font-family: var(--phn-font-display);
  font-size: 24px;
  box-shadow: var(--phn-shadow-sm);
  cursor: pointer;
}
.m-phn-num-btn.is-picked {
  background: var(--phn-yellow);
  color: var(--phn-ink);
  box-shadow: 3px 3px 0 var(--phn-red);
  transform: translate(-1px, -1px);
}
.m-phn-bin-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.m-phn-bin-btn {
  padding: 22px 10px;
  border-radius: var(--phn-r-card);
  border: var(--phn-border-sm);
  background: var(--phn-card);
  color: var(--phn-ink);
  font-family: var(--phn-font-editorial);
  font-size: 28px;
  box-shadow: var(--phn-shadow-md);
  cursor: pointer;
}
.m-phn-bin-btn.is-yes.is-picked { background: var(--phn-green); color: var(--phn-card); }
.m-phn-bin-btn.is-no.is-picked  { background: var(--phn-red);   color: var(--phn-card); }
.m-phn-vibe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.m-phn-vibe-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: var(--phn-r-card);
  border: var(--phn-border-sm);
  background: var(--phn-card);
  color: var(--phn-ink);
  box-shadow: var(--phn-shadow-sm);
  cursor: pointer;
}
.m-phn-vibe-btn .v-em { font-size: 28px; line-height: 1; }
.m-phn-vibe-btn .v-lb {
  font-family: var(--phn-font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.m-phn-vibe-btn.is-picked {
  background: var(--phn-yellow);
  box-shadow: 3px 3px 0 var(--phn-pink);
}
.m-phn-point-grid,
.m-phn-vote-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-phn-point-btn,
.m-phn-vote-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--phn-r-card);
  border: var(--phn-border-sm);
  background: var(--phn-card);
  color: var(--phn-ink);
  box-shadow: var(--phn-shadow-sm);
  font-family: var(--phn-font-body);
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.m-phn-point-btn strong,
.m-phn-vote-btn strong {
  font-family: var(--phn-font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
}
.m-phn-point-btn span {
  font-family: var(--phn-font-mono);
  font-size: 11px;
  color: var(--phn-ink-muted);
}
.m-phn-vote-btn span {
  font-family: var(--phn-font-mono);
  font-size: 13px;
  color: var(--phn-red);
}
.m-phn-point-btn.is-picked,
.m-phn-vote-btn.is-picked {
  background: var(--phn-yellow);
  box-shadow: 3px 3px 0 var(--phn-red);
}
