/* Site skins (js/skins.js). Loaded last on the TV, phone and Play by yourself pages (the front page stays Classic).
   No data-skin on <html> = Classic (the sunny original). The look picker cards are styled here too. */

/* ---------- Look picker cards (small, four in a row) ---------- */
.skincards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 520px; margin: 8px auto 4px; }
.skincard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 6px 8px; border: 0; border-radius: 16px; cursor: pointer;
  background: linear-gradient(#FFFFFF, #FFF7E8); color: #3A2200; font: inherit; text-align: center;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #E8D7A8, 0 6px 0 5px #C9B07A; transition: transform 0.15s; }
.skincard:active { transform: translateY(3px); }
.skincard.on { box-shadow: 0 0 0 3px #fff, 0 0 0 7px #14B88A, 0 6px 0 7px #0A6E52; }
.skincard.soon { opacity: 0.62; }
.skincard .vip { position: absolute; top: -6px; right: -4px; z-index: 2; transform: scale(0.8); }
.skincard b { font: 400 0.95rem var(--title, sans-serif); color: #10357E; line-height: 1.1; }
.skincard small { font-size: 0.65rem; font-weight: 700; line-height: 1.25; color: #6A5030; }
.skprev { position: relative; display: block; width: 100%; height: 46px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08); }
.skprev i { position: absolute; display: block; }
.sk-classic { background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 255, 255, 0.55) 0 9deg, transparent 9deg 18deg), linear-gradient(#E2F3FF, #9ACEFF); }
.sk-classic i:nth-child(1) { left: 34%; top: 12px; width: 32%; height: 22px; border-radius: 8px; background: linear-gradient(#FFE27A, #F2A516); box-shadow: 0 0 0 2px #fff; }
.sk-gameshow { background: #3A0A3E url("../img/skins/gameshow-bg.webp") center / cover; }
.sk-nature { background: #BFE8FF url("../img/skins/nature-bg.webp") center 70% / cover; }
.sk-arcade { background: #0A0628 url("../img/skins/arcade-bg.webp") center 60% / cover; }
.solook .skincards { margin-top: 6px; }

/* =====================================================================================================
   GAME SHOW: a theatre stage (img/skins/gameshow-bg.webp, built from Kenney CC0 art), red velvet and gold.
   Cards and boxes stay cream with dark writing, so every game stays easy to read.
   ===================================================================================================== */
html[data-skin="gameshow"][data-theme] {
  --gs-cream: #FFF3D6; --gs-gold: #FFD45A; --gs-muted: #F3CF95;
  --main: #A33BD6; --main-edge: #5E1F94; --accent: #FFD45A;
  --t-muted: #F3CF95; --t-yellow: #FFD45A; --t-sky: #A9DBFF; --t-mint: #7FF0CB; --t-coral: #FF9CC6;
  --glass-bg: #FFF8EC; --glass-hi: linear-gradient(180deg, #FFFFFF, #FFF3DC);
  --edge-gold: inset 0 0 0 2px rgba(232, 154, 28, 0.75);
}
html[data-skin="gameshow"][data-theme], html[data-skin="gameshow"][data-theme] #stage {
  color: var(--gs-cream); background: #24062B url("../img/skins/gameshow-bg.webp") center bottom / cover no-repeat;
}
html[data-skin="gameshow"][data-theme] { background-attachment: fixed; min-height: 100%; }
html[data-skin="gameshow"][data-theme] body { color: var(--gs-cream); background: transparent; }

/* Boxes on the background: solid cream with dark writing */
html[data-skin="gameshow"][data-theme] :is(.panel, .ptile:not(.empty), .res-row, .srow, .wf-word, .wf-chip, .imp-pl, .imp-clue, .imp-bar, .votebtn, .dd-guess, .minimedals,
  .steps li, .tip, .gamecard, .prow, .toggle, .others .pchip, .endnote, .res-summary, .lr-chip, .cs-total, .wg-board, .cc-pl, .bp-card, .bp-mark,
  .qz-topic, .qz-pl, .ch-pl, .ch-w, .ml-pl, .c4-game, .c4-bm, .roomtag, .gsettings, .helpbtn, .tjoin, .groupname, .chip, .ch-got .skip) { color: var(--ink); }
html[data-skin="gameshow"][data-theme] :is(.card, .modal, .gcard, .board, .pausebox, .secret-card, .panel, .gsettings, .tip, .sheetbox, .lgcard, .socard, .dcard, .dpbox, .gloatcard, .instbox, .gsheetbox) .muted { color: #7A5A30; }
html[data-skin="gameshow"][data-theme] .ptile.empty { color: rgba(255, 243, 214, 0.45); }

/* Bars along the top: velvet with a gold edge */
html[data-skin="gameshow"][data-theme] :is(.topbar, .phbar) { background: linear-gradient(180deg, #4A0B33, #2C0830); box-shadow: 0 3px 0 #E0A215, 0 8px 20px rgba(0, 0, 0, 0.35); color: var(--gs-cream); }
html[data-skin="gameshow"][data-theme] :is(.phbar .seg, .segpick, .hosttabs) { background: rgba(255, 212, 90, 0.16); }
html[data-skin="gameshow"][data-theme] :is(.phbar .seg button, .hosttabs button):not(.on) { color: var(--gs-cream); }
html[data-skin="gameshow"][data-theme] .tround { color: var(--gs-gold); }
html[data-skin="gameshow"][data-theme] .segpick button:not(.on) { color: var(--gs-cream); }

/* Headings straight on the background: gold with a soft glow */
html[data-skin="gameshow"][data-theme] :is(.block > h2, .lobby-head h2) { color: var(--gs-gold); text-shadow: 0 3px 0 #5A0F3C, 0 0 26px rgba(255, 212, 90, 0.45); }
html[data-skin="gameshow"][data-theme] :is(.tv h1:not(.logo), .intro-title, .kick-title, .bigmsg h2, .host h3, .host h4) { color: var(--gs-gold); text-shadow: 0 3px 0 #3A0A34; }
html[data-skin="gameshow"][data-theme] :is(.card, .board, .modal, .pausebox, .secret-card, .gcard, .dcard, .dpbox, .gloatcard, .sheetbox, .socard) :is(h1, h2, h3, h4) { text-shadow: none; }
html[data-skin="gameshow"][data-theme] .bigmsg :is(p, .muted) { color: var(--gs-cream); }
/* ...but headings inside cream cards keep their own dark colours */
html[data-skin="gameshow"][data-theme] :is(.card, .board, .pausebox, .secret-card, .gcard, .modal) :is(h1, h2):not(.logo) { color: var(--grape); }
html[data-skin="gameshow"][data-theme] :is(.gsettings, .card, .panel, .modal) :is(h3, h4) { color: var(--ink); text-shadow: none; }
html[data-skin="gameshow"][data-theme] .dcard h1 { color: #4B2BC8; text-shadow: none; }
html[data-skin="gameshow"] body.home .avcloud { opacity: 0.2; }
html[data-skin="gameshow"][data-theme] .gloatintro { color: var(--gs-cream); }

/* ---------- The Smug Stand (podium): red velvet, a gold lid and a row of light bulbs ---------- */
html[data-skin="gameshow"] .pd-lid { background: radial-gradient(ellipse at 50% 40%, #FFF4C0, #FFD24A 60%, #B87A00); }
html[data-skin="gameshow"] .pd-body { border-radius: 0 0 26px 26px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 30%, rgba(255, 255, 255, 0.12) 50%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.45)), url("../img/skins/gs-velvet.png") 0 0 / 96px 96px; }
html[data-skin="gameshow"] .pd-band { top: 26px; height: 24px; background: radial-gradient(circle, #FFFBE0 0 5px, #FFC93C 6px 7px, rgba(255, 201, 60, 0) 8px) 6px 50% / 26px 100% repeat-x, linear-gradient(#F2C25A, #A26C00); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3); }
html[data-skin="gameshow"] .pd-rib { background: linear-gradient(#B3125A, #6D0B38); color: #FFE27A; }
html[data-skin="gameshow"] .pd-who b { color: var(--gs-cream, #FFF3D6); text-shadow: 0 2px 0 #3A0A34; }
html[data-skin="gameshow"] .pd-burst svg g { fill: #FFE9A8; }
html[data-skin="gameshow"] .pd-title { display: inline-block; padding: 26px 56px 30px; border-radius: 22px; font-size: 76px !important; color: #5A2A00 !important; -webkit-text-fill-color: #5A2A00;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6) !important;
  background: radial-gradient(circle, #FFFBE0 0 5px, #FFB800 6px 7px, rgba(255, 184, 0, 0) 8px) 10px 4px / 30px 18px repeat-x,
    radial-gradient(circle, #FFFBE0 0 5px, #FFB800 6px 7px, rgba(255, 184, 0, 0) 8px) 10px calc(100% - 4px) / 30px 18px repeat-x,
    linear-gradient(#FFE27A, #E0A215);
  box-shadow: inset 0 0 0 4px #B8860B, 0 8px 0 #8A5A00, 0 16px 26px rgba(0, 0, 0, 0.45); }
html[data-skin="gameshow"] .podium { text-align: center; }

/* ---------- The Pity Pit (Sore Losers): a wooden trapdoor box under a red velvet sign ---------- */
html[data-skin="gameshow"] .sl-row { position: relative; padding: 14px 40px 18px; border-radius: 22px;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), url("../img/skins/wood.png") 0 0 / 128px 128px;
  box-shadow: inset 0 0 0 5px #4A2A10, inset 0 10px 18px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.5); }
html[data-skin="gameshow"] .sl-title { display: inline-block; padding: 2px 22px 4px; border-radius: 10px; color: #FFE27A; text-shadow: 0 2px 0 #3A0A1A;
  background: url("../img/skins/gs-velvet.png") 0 0 / 64px 64px; box-shadow: inset 0 0 0 3px #E0A215, 0 4px 0 #5A0F2A; }
html[data-skin="gameshow"] .sl-who b { color: #FFF3D6; text-shadow: 0 2px 0 #2A1406; }
html[data-skin="gameshow"] .sl-who em { color: #F3CF95; }

/* =====================================================================================================
   NATURE (Gloat Pass): hills, mountains and sunshine (img/skins/nature-bg.webp, built from Kenney CC0 art).
   The winners stand on Mount Smug; the losers sit in the Soggy Bottom, a pond with a muddy edge.
   ===================================================================================================== */
html[data-skin="nature"][data-theme] {
  --ink: #1E3A23; --t-muted: #4E6E45; --accent: #2E7D32;
  --main: #3FA34D; --main-edge: #23702F;
  --t-yellow: #A86A00; --t-sky: #1E6FB0; --t-mint: #1E7D46; --t-coral: #C0392B;
  --edge-gold: inset 0 0 0 1.5px rgba(80, 150, 60, 0.55);
  --soft: 0 6px 14px rgba(30, 70, 30, 0.16);
}
html[data-skin="nature"][data-theme], html[data-skin="nature"][data-theme] #stage {
  color: var(--ink); background: #BFE8FF url("../img/skins/nature-bg.webp") center bottom / cover no-repeat;
}
html[data-skin="nature"][data-theme] { background-attachment: fixed; min-height: 100%; }
html[data-skin="nature"][data-theme] body { color: var(--ink); background: transparent; }

html[data-skin="nature"][data-theme] :is(.topbar, .phbar) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 235, 0.85)); box-shadow: 0 3px 0 #5DAE3A, 0 8px 18px rgba(30, 70, 30, 0.15); }
html[data-skin="nature"][data-theme] :is(.block > h2, .lobby-head h2) { color: #1E5B2A; text-shadow: 0 3px 0 #fff, 0 6px 14px rgba(30, 70, 30, 0.18); }
html[data-skin="nature"][data-theme] .herotag { color: #2E7D32; }
html[data-skin="nature"] body.home .avcloud { opacity: 0.28; }

/* ---------- Mount Smug (podium): grassy hill blocks, with a flag on the winner's peak ---------- */
html[data-skin="nature"] .pd-lid { background: radial-gradient(ellipse at 50% 40%, #7FE39C, #2ECC71 60%, #1E8E4E); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12); }
html[data-skin="nature"] .pd-body { border-radius: 0 0 22px 22px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0) 30%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.22)), url("../img/skins/nat-dirt.png") 0 0 / 96px 96px; }
html[data-skin="nature"] .pd-band { top: 0; height: 52px; background: url("../img/skins/nat-grass-top.png") 0 -4px / 96px 96px repeat-x; }
html[data-skin="nature"] .pd-step.p1 .pd-ped::after { content: ""; position: absolute; z-index: 3; right: -18px; top: -48px; width: 64px; height: 64px; background: url("../img/skins/nat-flag.png") center / contain no-repeat; }
html[data-skin="nature"] .pd-rib { background: linear-gradient(#3FA34D, #23702F); color: #FFF6C8; }
html[data-skin="nature"] .pd-who b { color: #1E3A23; }
html[data-skin="nature"] .pd-burst svg g { fill: #FFE36B; }
html[data-skin="nature"] .pd-title { display: inline-block; padding: 10px 46px 14px; border-radius: 16px; font-size: 76px !important;
  background: url("../img/skins/wood.png") 0 0 / 128px 128px; color: #FFF3D6 !important; -webkit-text-fill-color: #FFF3D6;
  text-shadow: 0 3px 0 #3A2410 !important; box-shadow: 0 0 0 6px #5A3A1A, 0 10px 0 6px #3A2410, 0 16px 26px rgba(0, 0, 0, 0.3); }
html[data-skin="nature"] .podium { text-align: center; }

/* ---------- The Soggy Bottom (Sore Losers): a cartoon pond with a muddy edge ---------- */
html[data-skin="nature"] .sl-row { position: relative; padding: 10px 46px 22px; isolation: isolate; }
html[data-skin="nature"] .sl-row::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; bottom: 0; z-index: -1; border-radius: 36px;
  background: url("../img/skins/nat-water-top.png") 0 0 / 96px 96px repeat-x, url("../img/skins/nat-water.png") 0 0 / 96px 96px;
  box-shadow: 0 0 0 10px #8A5A2B, 0 0 0 14px #5A3A1A, 0 12px 20px rgba(30, 50, 20, 0.35); }
html[data-skin="nature"] .sl-title { display: inline-block; padding: 2px 20px 4px; border-radius: 10px; color: #FFF3D6; text-shadow: 0 2px 0 #3A2410;
  background: url("../img/skins/wood.png") 0 0 / 96px 96px; box-shadow: 0 0 0 4px #5A3A1A; }
html[data-skin="nature"] .sl-who b { color: #FFFFFF; text-shadow: 0 2px 0 rgba(0, 40, 80, 0.6); }
html[data-skin="nature"] .sl-who em { color: #E2F1FF; text-shadow: 0 1px 0 rgba(0, 40, 80, 0.6); }

/* =====================================================================================================
   ARCADE (Gloat Pass): a synthwave city at sunset with a neon grid floor (img/skins/arcade-bg.webp, dev/skins/build_arcade.py,
   Kenney CC0 planets and sparkles). Winners make the High Scores;
   losers get GAME OVER. Cards stay light (with a neon edge) so the games stay easy to read.
   ===================================================================================================== */
html[data-skin="arcade"][data-theme] {
  --ar-text: #ECEBFF; --ar-cyan: #33F0FF; --ar-pink: #FF3DC8; --ar-yellow: #FFE66B;
  --main: #E0249A; --main-edge: #8A1060; --accent: #33F0FF;
  --t-muted: #B9B4F0; --t-yellow: #FFE66B; --t-sky: #7FE9FF; --t-mint: #6FFFC4; --t-coral: #FF8FC8;
  --glass-bg: #F6F5FF; --glass-hi: linear-gradient(180deg, #FFFFFF, #ECEAFF);
  --edge-gold: inset 0 0 0 2px rgba(51, 240, 255, 0.75);
  --rim: linear-gradient(180deg, #7FF6FF 0%, #33C8FF 40%, #B44CFF 75%, #FF3DC8 100%);
  --cream-face: linear-gradient(180deg, #FFFFFF 0%, #F6F5FF 50%, #E9E6FF 100%);
}
html[data-skin="arcade"][data-theme], html[data-skin="arcade"][data-theme] #stage {
  color: var(--ar-text); background: #0A0628 url("../img/skins/arcade-bg.webp") center bottom / cover no-repeat;
}
html[data-skin="arcade"][data-theme] { background-attachment: fixed; min-height: 100%; }
html[data-skin="arcade"][data-theme] body { color: var(--ar-text); background: transparent; }

/* Boxes: light with dark writing */
html[data-skin="arcade"][data-theme] :is(.panel, .ptile:not(.empty), .res-row, .srow, .wf-word, .wf-chip, .imp-pl, .imp-clue, .imp-bar, .votebtn, .dd-guess, .minimedals,
  .steps li, .tip, .gamecard, .prow, .toggle, .others .pchip, .endnote, .res-summary, .lr-chip, .cs-total, .wg-board, .cc-pl, .bp-card, .bp-mark,
  .qz-topic, .qz-pl, .ch-pl, .ch-w, .ml-pl, .c4-game, .c4-bm, .roomtag, .gsettings, .helpbtn, .tjoin, .groupname, .chip, .ch-got .skip) { color: var(--ink); }
html[data-skin="arcade"][data-theme] :is(.card, .modal, .gcard, .board, .pausebox, .secret-card, .panel, .gsettings, .tip, .sheetbox, .lgcard, .socard, .dcard, .dpbox, .gloatcard, .instbox, .gsheetbox) .muted { color: #5A4E8A; }
html[data-skin="arcade"][data-theme] .ptile.empty { color: rgba(236, 235, 255, 0.4); background: rgba(51, 240, 255, 0.06); box-shadow: inset 0 0 0 2px rgba(51, 240, 255, 0.25); }
/* Bars: dark with a neon pink edge */
html[data-skin="arcade"][data-theme] :is(.topbar, .phbar) { background: linear-gradient(180deg, #170C44, #0E0730); box-shadow: 0 2px 0 var(--ar-pink), 0 0 18px rgba(255, 61, 200, 0.5); color: var(--ar-text); }
html[data-skin="arcade"][data-theme] :is(.phbar .seg, .segpick, .hosttabs) { background: rgba(51, 240, 255, 0.14); }
html[data-skin="arcade"][data-theme] :is(.phbar .seg button, .hosttabs button, .segpick button):not(.on) { color: var(--ar-text); }
html[data-skin="arcade"][data-theme] .tround { color: var(--ar-yellow); }
/* Neon headings on the background */
html[data-skin="arcade"][data-theme] :is(.block > h2, .lobby-head h2) { color: #fff; letter-spacing: 2px; text-shadow: 0 0 8px var(--ar-cyan), 0 0 24px var(--ar-cyan), 0 0 46px #0088FF; }
html[data-skin="arcade"][data-theme] :is(.tv h1:not(.logo), .intro-title, .kick-title, .bigmsg h2, .host h3, .host h4) { color: #fff; text-shadow: 0 0 8px var(--ar-pink), 0 0 22px var(--ar-pink); }
html[data-skin="arcade"][data-theme] :is(.card, .board, .modal, .pausebox, .secret-card, .gcard, .dcard, .dpbox, .gloatcard, .sheetbox, .socard) :is(h1, h2, h3, h4) { text-shadow: none; }
html[data-skin="arcade"][data-theme] :is(.card, .board, .pausebox, .secret-card, .gcard, .modal) :is(h1, h2):not(.logo) { color: var(--grape); }
html[data-skin="arcade"][data-theme] :is(.gsettings, .card, .panel, .modal) :is(h3, h4) { color: var(--ink); text-shadow: none; }
html[data-skin="arcade"][data-theme] .dcard h1 { color: #4B2BC8; text-shadow: none; }
html[data-skin="arcade"][data-theme] .bigmsg :is(p, .muted) { color: var(--ar-text); }
html[data-skin="arcade"][data-theme] .gloatintro { color: var(--ar-text); }
html[data-skin="arcade"] body.home .avcloud { opacity: 0.16; }

/* ---------- High Scores (podium): glowing neon columns ---------- */
html[data-skin="arcade"] .pd-step.p1 .pd-body { background: linear-gradient(90deg, #B86A00, #FFB21A 30%, #FFE86B 45%, #FFB21A 62%, #B86A00); box-shadow: 0 0 40px rgba(255, 204, 51, 0.7); }
html[data-skin="arcade"] .pd-step.p2 .pd-body { background: linear-gradient(90deg, #0A4FB8, #1A9CFF 30%, #69F2FF 45%, #1A9CFF 62%, #0A4FB8); box-shadow: 0 0 40px rgba(32, 208, 255, 0.7); }
html[data-skin="arcade"] .pd-step.p3 .pd-body { background: linear-gradient(90deg, #6A0E8A, #B21AD8 30%, #FF7AD9 45%, #B21AD8 62%, #6A0E8A); box-shadow: 0 0 40px rgba(255, 58, 200, 0.7); }
html[data-skin="arcade"] .pd-lid { background: radial-gradient(ellipse at 50% 40%, #FFFFFF, #CFF8FF 55%, #6B5CFF); }
html[data-skin="arcade"] .pd-band { background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #fff 45%, rgba(255, 255, 255, 0.2)); height: 6px; box-shadow: 0 0 12px #fff; }
html[data-skin="arcade"] .pd-rib { background: #0E0730; color: var(--ar-yellow, #FFE66B); box-shadow: 0 0 0 2px #FF3DC8, 0 0 14px rgba(255, 61, 200, 0.6); }
html[data-skin="arcade"] .pd-who b { color: #fff; text-shadow: 0 0 10px rgba(51, 240, 255, 0.9); }
html[data-skin="arcade"] .pd-burst svg g { fill: #33F0FF; }
html[data-skin="arcade"] .pd-title { font-size: 92px !important; letter-spacing: 8px; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important;
  text-shadow: 0 0 10px #33F0FF, 0 0 30px #33F0FF, 0 0 60px #0088FF !important; }
html[data-skin="arcade"] .podium { text-align: center; }

/* ---------- Game Over (Sore Losers) ---------- */
html[data-skin="arcade"] .sl-row { position: relative; padding: 12px 40px 16px; border-radius: 18px; background: #14081E;
  box-shadow: 0 0 0 3px #FF2D55, 0 0 30px rgba(255, 45, 85, 0.45); }
html[data-skin="arcade"] .sl-title { color: #FF2D55; letter-spacing: 4px; text-transform: uppercase; text-shadow: 0 0 10px #FF2D55, 0 0 26px #FF0033; animation: arBlink 1.6s steps(2, start) infinite; }
html[data-skin="arcade"] .sl-row::after { content: "Continue? … No. Do a dare."; display: block; margin-top: 4px; font: 700 20px var(--head, sans-serif); letter-spacing: 2px; color: #FFE66B; text-shadow: 0 0 8px rgba(255, 204, 51, 0.8); }
html[data-skin="arcade"] .sl-who b { color: #fff; }
html[data-skin="arcade"] .sl-who em { color: #B9B4F0; }
@keyframes arBlink { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { html[data-skin="arcade"] .sl-title { animation: none; } }

/* ---------- Every skin: the game name in the Play by yourself top bar sits on a light pill so it reads on any background ---------- */
html[data-skin] .sobar .sogame { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px 4px 6px; border-radius: 999px;
  background: rgba(255, 252, 240, 0.94); color: #2A1A00; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); }
html[data-skin] .sobar .sogame b { color: #2A1A00; text-shadow: none; }

/* =====================================================================================================
   UI KITS: each skin restyles the buttons, answer buttons, pickers, cards and tiles too (owner request),
   so the games themselves look different, not just the background.
   ===================================================================================================== */

/* ---------------- GAME SHOW: gold and ruby buttons with a gold ring, TV-quiz answer panels ---------------- */
html[data-skin="gameshow"] .btn { font-family: var(--title); font-weight: 400; letter-spacing: 0.5px; }
html[data-skin="gameshow"] .btn:not(.ghost):not(.ghost-ink) {
  box-shadow: 0 0 0 3px #FFE08A, inset 0 2px 0 rgba(255, 255, 255, 0.7), inset 0 -4px 0 rgba(0, 0, 0, 0.18),
    0 7px 0 var(--edge), 0 9px 0 rgba(30, 0, 20, 0.5), 0 14px 22px rgba(20, 0, 20, 0.45) !important; }
html[data-skin="gameshow"] .btn:not(.mint):not(.coral):not(.sky):not(.ghost):not(.ghost-ink) { background-color: #FFC83D; color: #5A0A1E; --edge: #9A5A00; }
html[data-skin="gameshow"] .btn.mint { background-color: #D4213D; color: #FFF3D6; --edge: #7A0A1E; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); }
html[data-skin="gameshow"] .btn.coral { background-color: #E0408A; color: #FFF; --edge: #8A1450; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); }
html[data-skin="gameshow"] .btn.sky { background-color: #6A3FD8; color: #FFF; --edge: #3A1A8A; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); }
/* Answers: deep purple panels with a gold edge and gold letter badges, like a TV quiz */
html[data-skin="gameshow"][data-theme] :is(.qz-opt, .qz-btn, .hs-opt, .wy-btn) {
  background: linear-gradient(180deg, #4A1A9A 0%, #2A0A66 55%, #1E0850 100%) !important; color: #FFF3D6 !important; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  border: 3px solid #F2C25A; box-shadow: 0 0 0 3px #5A0F3C, 0 6px 0 #12042E, 0 0 20px rgba(242, 194, 90, 0.3) !important; }
html[data-skin="gameshow"][data-theme] :is(.qz-opt, .qz-btn) b, html[data-skin="gameshow"][data-theme] .hs-opt i { background: linear-gradient(#FFE27A, #E0A215); color: #5A2A00; text-shadow: none; }
html[data-skin="gameshow"][data-theme] :is(.qz-opt, .hs-opt).right { background: linear-gradient(#FFE27A, #E0A215) !important; color: #5A2A00 !important; text-shadow: none; }
/* Pickers: the chosen option goes ruby with cream writing */
html[data-skin="gameshow"] :is(.segpick button.on, .sopick .segbtn.on, .chip.on, .sochip.on, .hosttabs button.on) {
  background: linear-gradient(#E8344F, #A3122F) !important; color: #FFF3D6 !important; box-shadow: 0 0 0 2px #FFE08A, 0 3px 0 #5A0A1E !important; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); }
/* Cards: cream with a gold-and-ruby double frame */
html[data-skin="gameshow"] :is(.socard, .sointro) { box-shadow: 0 0 0 4px #FFE08A, 0 0 0 9px #A3122F, 0 0 0 11px #FFE08A, 0 16px 0 9px #5A0A1E, 0 26px 40px rgba(0, 0, 0, 0.5); }
html[data-skin="gameshow"] .soart { background: radial-gradient(circle at 50% 42%, #FF8FA8, #C8102E); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.5), 0 0 0 3px #FFE08A, 0 6px 0 #5A0A1E; }
/* Tiles and keys: cream with a gold edge */
html[data-skin="gameshow"] :is(.wg-key, .lr-tile, .bg-cell, .gp-tile) { box-shadow: inset 0 -3px 0 rgba(184, 110, 0, 0.35), 0 3px 0 #9A5A00 !important; }

/* ---------------- NATURE: wooden buttons, leaf-shaped answers, parchment cards in wooden frames ---------------- */
html[data-skin="nature"] .btn { border-radius: 16px; }
html[data-skin="nature"] .btn::before { border-radius: 12px; }
html[data-skin="nature"] .btn:not(.mint):not(.coral):not(.sky):not(.ghost):not(.ghost-ink) {
  background: url("../img/skins/wood.png") 0 0 / 96px 96px, #9C6B3C !important; color: #FFF3D6; --edge: #4A2F14; text-shadow: 0 2px 0 rgba(40, 20, 0, 0.6); }
html[data-skin="nature"] .btn.mint { background-color: #4CAF50; color: #fff; --edge: #2E7D32; text-shadow: 0 1px 0 rgba(0, 40, 0, 0.4); }
html[data-skin="nature"] .btn.coral { background-color: #D84367; color: #fff; --edge: #8E1E3C; text-shadow: 0 1px 0 rgba(60, 0, 20, 0.4); }
html[data-skin="nature"] .btn.sky { background-color: #3FA9E0; color: #fff; --edge: #1F6FA0; text-shadow: 0 1px 0 rgba(0, 30, 60, 0.4); }
html[data-skin="nature"] .btn.ghost { background-color: rgba(255, 255, 255, 0.75); color: #1E5B2A; text-shadow: none; }
/* Answers: leaf shapes in berry, water, sunflower and leaf colours */
html[data-skin="nature"][data-theme] :is(.qz-opt, .qz-btn) { border-radius: 40px 10px 40px 10px !important; color: #1E3A23; border: 3px solid rgba(30, 70, 30, 0.35); }
html[data-skin="nature"][data-theme] .o0 { background-color: #F59AB5 !important; }
html[data-skin="nature"][data-theme] .o1 { background-color: #8FD0F2 !important; }
html[data-skin="nature"][data-theme] .o2 { background-color: #FFD95A !important; }
html[data-skin="nature"][data-theme] .o3 { background-color: #9BD77A !important; }
html[data-skin="nature"][data-theme] :is(.qz-opt, .qz-btn) b { border-radius: 50% 10% 50% 10%; background: rgba(255, 255, 255, 0.7); color: #1E5B2A; }
/* Pickers: the chosen option goes leaf green */
html[data-skin="nature"] :is(.segpick button.on, .sopick .segbtn.on, .chip.on, .sochip.on, .hosttabs button.on) {
  background: linear-gradient(#6CC24A, #3E9A2E) !important; color: #fff !important; box-shadow: 0 3px 0 #23702F !important; text-shadow: 0 1px 0 rgba(0, 40, 0, 0.35); }
html[data-skin="nature"] .sopick .seg { background: #E6F2D8; }
/* Cards: parchment in a wooden frame */
html[data-skin="nature"] :is(.socard, .sointro) { border: 7px solid transparent;
  background: linear-gradient(#FFFDF2, #F4EDD2) padding-box, url("../img/skins/wood.png") 0 0 / 128px 128px border-box;
  box-shadow: 0 8px 0 #4A2F14, 0 18px 30px rgba(30, 50, 20, 0.35); }
html[data-skin="nature"][data-theme] :is(.card, .gcard, .board, .pausebox, .modal) {
  background: linear-gradient(#FFFDF2, #F4EDD2) padding-box, url("../img/skins/wood.png") 0 0 / 128px 128px border-box; }
html[data-skin="nature"] .soart { background: radial-gradient(circle at 50% 42%, #C8F0A8, #6CC24A); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), 0 6px 0 #2E7D32; }
/* Tiles and keys: parchment with a green edge; Word Guess's empty squares get a solid look on the sky */
html[data-skin="nature"] :is(.wg-key, .lr-tile, .bg-cell, .gp-tile) { box-shadow: inset 0 -3px 0 rgba(46, 125, 50, 0.3), 0 3px 0 #2E7D32 !important; }
html[data-skin="nature"] .wg-t:not(.g):not(.y):not(.x) { background: rgba(255, 253, 242, 0.9); border-color: #7FB069; color: #1E3A23; }

/* ---------------- ARCADE: neon outline buttons, pixel font, square corners, dark game cards ---------------- */
@font-face { font-family: "Kenney Pixel Square"; src: url("fonts/kenney-pixel-square.ttf") format("truetype"); font-display: swap; }
/* SKIN FONTS (owner, 17 Oct: "arcade and nature should have fonts that match their vibes"). Self-hosted in css/fonts (OFL / Apache, free to use).
   Arcade: Kenney Pixel Square (all capitals) for big titles + Pixelify Sans (readable pixel letters) for everything else.
   Nature: Chewy (chunky cartoon, a bit woodsy) for titles + Baloo 2 (soft and round) for everything else.
   font-synthesis off so the browser never smears a fake bold onto the one-weight fonts. */
@font-face { font-family: "Pixelify Sans"; src: url("fonts/pixelify-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("fonts/pixelify-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("fonts/pixelify-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("fonts/pixelify-sans-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Chewy"; src: url("fonts/chewy.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("fonts/baloo-2-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("fonts/baloo-2-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("fonts/baloo-2-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("fonts/baloo-2-800.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
html[data-skin="arcade"] { --pixel: "Kenney Pixel Square", "Pixelify Sans", sans-serif;
  --title: "Kenney Pixel Square", "Pixelify Sans", system-ui, sans-serif; --head: "Pixelify Sans", system-ui, sans-serif; --body: "Pixelify Sans", system-ui, sans-serif; font-synthesis: none; }
html[data-skin="nature"] { --title: "Chewy", "Baloo 2", system-ui, sans-serif; --head: "Baloo 2", system-ui, sans-serif; --body: "Baloo 2", system-ui, sans-serif; font-synthesis: none; }
html[data-skin="arcade"] .btn { font-family: var(--pixel); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; border-radius: 8px;
  background: #120A30 !important; --neon: #FFE600; color: var(--neon) !important; text-shadow: 0 0 8px var(--neon);
  box-shadow: 0 0 0 2px var(--neon), 0 0 16px color-mix(in srgb, var(--neon) 55%, transparent), inset 0 0 12px color-mix(in srgb, var(--neon) 25%, transparent), 4px 5px 0 #000 !important; }
html[data-skin="arcade"] .btn::before { display: none; }
html[data-skin="arcade"] .btn:active { transform: translate(3px, 4px); box-shadow: 0 0 0 2px var(--neon), 0 0 10px var(--neon), 1px 1px 0 #000 !important; }
html[data-skin="arcade"] .btn.mint { --neon: #00FFC8; }
html[data-skin="arcade"] .btn.coral { --neon: #FF3D9A; }
html[data-skin="arcade"] .btn.sky { --neon: #3DD6FF; }
html[data-skin="arcade"] .btn.ghost, html[data-skin="arcade"] .btn.ghost-ink { --neon: #C9A6FF; }
/* Answers: dark panels with a neon edge in four colours */
html[data-skin="arcade"][data-theme] :is(.qz-opt, .qz-btn) { --neon: #FF3D9A; background: #140B36 !important; color: #FFFFFF !important; border-radius: 10px;
  border: 3px solid var(--neon); box-shadow: 0 0 16px color-mix(in srgb, var(--neon) 50%, transparent), inset 0 0 18px color-mix(in srgb, var(--neon) 22%, transparent), 4px 5px 0 #000 !important; }
html[data-skin="arcade"][data-theme] .o1 { --neon: #3DD6FF; }
html[data-skin="arcade"][data-theme] .o2 { --neon: #FFE600; }
html[data-skin="arcade"][data-theme] .o3 { --neon: #00FFC8; }
html[data-skin="arcade"][data-theme] :is(.qz-opt, .qz-btn) b { border-radius: 6px; background: var(--neon); color: #140B36; font-family: var(--pixel); font-weight: 400; }
html[data-skin="arcade"][data-theme] .qz-opt.right { background: #2A1A00 !important; box-shadow: 0 0 0 4px #FFE600, 0 0 30px #FFE600 !important; }
/* Pickers: square neon tabs */
html[data-skin="arcade"] :is(.segpick button, .sopick .segbtn, .chip, .sochip) { border-radius: 6px !important; }
html[data-skin="arcade"] :is(.segpick button.on, .sopick .segbtn.on, .chip.on, .sochip.on, .hosttabs button.on) {
  background: #FFE600 !important; color: #140B36 !important; box-shadow: 0 0 12px rgba(255, 230, 0, 0.7), 3px 3px 0 #000 !important; text-shadow: none; }
/* The Play by yourself card: a dark arcade screen with a neon edge */
html[data-skin="arcade"] :is(.socard, .sointro) { border-radius: 12px; background: linear-gradient(#1A0E45, #0E0828); color: #E8E4FF;
  box-shadow: 0 0 0 3px #3DD6FF, 0 0 24px rgba(61, 214, 255, 0.45), 0 0 0 7px #140B36, 0 0 0 9px #FF3D9A, 8px 10px 0 9px #000; }
html[data-skin="arcade"] :is(.socard, .sointro) h1 { font-family: var(--pixel); color: #FFE600; text-shadow: 0 0 12px rgba(255, 230, 0, 0.6); letter-spacing: 1px; }
html[data-skin="arcade"] .socard :is(.sohow li, .sowho, .sobest, .soline, .sosnark, p) { color: #DCD6FF; }
html[data-skin="arcade"] .socard .sowho b, html[data-skin="arcade"] .socard .sobest b { color: #FFFFFF; }
html[data-skin="arcade"] .sopick .lbl { color: #3DD6FF; font-family: var(--pixel); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
html[data-skin="arcade"] .sopick .seg { background: rgba(255, 255, 255, 0.08); border-radius: 8px; }
html[data-skin="arcade"] .sopick .segbtn:not(.on) { color: #CFC8FF; }
html[data-skin="arcade"] :is(.sogearrow span, .solink) { color: #DCD6FF; }
html[data-skin="arcade"] .sogearbtn, html[data-skin="arcade"] .sochip:not(.on) { background: rgba(255, 255, 255, 0.1); color: #E8E4FF; }
html[data-skin="arcade"] .sobig span { color: #FFE600; text-shadow: 0 0 16px rgba(255, 230, 0, 0.6); font-family: var(--pixel); }
html[data-skin="arcade"] .soart { border-radius: 12px; background: radial-gradient(circle at 50% 42%, #3A2A8A, #140B36); box-shadow: 0 0 0 3px #FF3D9A, 0 0 20px rgba(255, 61, 154, 0.5); }
/* Tiles and keys: square corners with a neon underline */
html[data-skin="arcade"] :is(.wg-key, .lr-tile, .bg-cell, .gp-tile, .sd-cell, .cs-cell, .wf-cell) { border-radius: 4px !important; }
html[data-skin="arcade"] :is(.wg-key, .lr-tile, .gp-tile) { box-shadow: 0 3px 0 #FF3D9A, 0 0 10px rgba(255, 61, 154, 0.35) !important; }
/* Headings straight on the background use the pixel font */
html[data-skin="arcade"][data-theme] :is(.block > h2, .lobby-head h2, .tv h1:not(.logo), .intro-title, .kick-title, .host h3, .wg-title, .cc-head) { font-family: var(--pixel); letter-spacing: 1px; }
/* Writing straight on the neon sunset: a dark outline so it reads over the bright sun, and room between wrapped lines of capitals */
html[data-skin="arcade"][data-theme] :is(h1, h2, h3):not(.logo) { line-height: 1.3 !important; }
html[data-skin="arcade"][data-theme] :is(#stage, .sophone) :is(.qz-q, .qz-num, .p3-head, .p3-head h1, .p3-sub, .ss-q, .fa-q, .fa-hint, .wy-title, .wy-foot, .ml-q, .qz-top, h1:not(.logo), h2) {
  text-shadow: 0 2px 0 #140B36, 0 0 6px #140B36, 0 0 14px rgba(20, 11, 54, 0.95); }
html[data-skin="arcade"][data-theme] .ss-q { font-family: "Pixelify Sans", var(--head); font-weight: 700; letter-spacing: 0; }
/* Questions and long lines: the readable pixel letters (mixed case), so a long quiz question doesn't turn into a wall of capitals */
html[data-skin="arcade"][data-theme] :is(.qz-q, .fa-q, .wy-title, .p3-head h1, .ml-q, .sv-q) { font-family: "Pixelify Sans", var(--head); font-weight: 700; letter-spacing: 0; text-transform: none; }

/* ---------------- Front page pieces per skin: the ribbon, the intro box and the three big cards ---------------- */
/* Game Show: ruby ribbon, cream intro, ruby / gold / purple cards in a gold-and-ruby frame */
html[data-skin="gameshow"] .herotag span { background: linear-gradient(#E8344F, #A3122F); text-shadow: 0 2px 0 #5A0A1E, 0 6px 10px rgba(0, 0, 0, 0.35); -webkit-text-stroke: 0;
  box-shadow: 0 0 0 3px #FFE08A, inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 6px 0 #5A0A1E, 0 12px 20px rgba(0, 0, 0, 0.4); }
html[data-skin="gameshow"] .herosub span { color: #5A0A1E; }
html[data-skin="gameshow"] .mcard { box-shadow: 0 0 0 3px #FFE08A, 0 0 0 7px #A3122F, 0 10px 0 7px #5A0A1E, 0 20px 30px rgba(0, 0, 0, 0.45); }
html[data-skin="gameshow"] .mcard.join { --c1: #FF8FA8; --c2: #C8102E; --c3: #7A0A1E; }
html[data-skin="gameshow"] .mcard.solo { --c1: #C9A6FF; --c2: #6A3FD8; --c3: #3A1A8A; }
html[data-skin="gameshow"] body.home .avcloud { opacity: 0.12; }

/* Nature: leafy ribbon, parchment intro, green / sunflower / water cards in wooden frames */
html[data-skin="nature"] .herotag span { background: linear-gradient(#6CC24A, #3E9A2E); text-shadow: 0 2px 0 #23702F, 0 6px 10px rgba(0, 40, 0, 0.3); -webkit-text-stroke: 0;
  border-radius: 40px 10px 40px 10px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 6px 0 #23702F, 0 12px 20px rgba(30, 60, 20, 0.3); }
html[data-skin="nature"] .herosub span { color: #1E5B2A; }
html[data-skin="nature"] .mcard { border: 6px solid transparent; background: #FFFDF2 padding-box, url("../img/skins/wood.png") 0 0 / 128px 128px border-box;
  box-shadow: 0 8px 0 #4A2F14, 0 18px 28px rgba(30, 50, 20, 0.3); }
html[data-skin="nature"] .mcard.join { --c1: #B6E89A; --c2: #4CAF50; --c3: #2E7D32; }
html[data-skin="nature"] .mcard.host { --c1: #FFE98A; --c2: #F2B51C; --c3: #A06A00; }
html[data-skin="nature"] .mcard.solo { --c1: #A8DDF5; --c2: #3FA9E0; --c3: #1F6FA0; }
html[data-skin="nature"] .mgo { border-radius: 14px; }
html[data-skin="nature"] body.home .avcloud { opacity: 0.18; }

/* Arcade: neon ribbon, dark cards with neon edges and pixel-font buttons */
html[data-skin="arcade"] .herotag span { font-family: var(--pixel); text-transform: uppercase; letter-spacing: 1px; background: #140B36; color: #FFE600; -webkit-text-stroke: 0;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.8); border-radius: 8px; box-shadow: 0 0 0 3px #FF3D9A, 0 0 20px rgba(255, 61, 154, 0.6), 5px 6px 0 #000; }
html[data-skin="arcade"] .mcard { border-radius: 12px; background: #140B36; box-shadow: 0 0 0 3px var(--c2), 0 0 22px color-mix(in srgb, var(--c2) 55%, transparent), 6px 8px 0 #000; }
html[data-skin="arcade"] .mcard.join { --c1: #7AF0FF; --c2: #3DD6FF; --c3: #0A6E8A; }
html[data-skin="arcade"] .mcard.host { --c1: #FFF27A; --c2: #FFE600; --c3: #8A7A00; }
html[data-skin="arcade"] .mcard.solo { --c1: #FF8AC6; --c2: #FF3D9A; --c3: #8A1450; }
html[data-skin="arcade"] .mlab > b { color: #FFFFFF; font-family: var(--pixel); font-weight: 400; letter-spacing: 1px; }
html[data-skin="arcade"] .mlab > small { color: #CFC8FF; }
html[data-skin="arcade"] .mgo { font-family: var(--pixel); text-transform: uppercase; letter-spacing: 1px; border-radius: 6px; background: #140B36; color: var(--c2); text-shadow: 0 0 8px var(--c2);
  box-shadow: 0 0 0 2px var(--c2), 0 0 12px color-mix(in srgb, var(--c2) 60%, transparent), 3px 4px 0 #000; }
html[data-skin="arcade"] body.home .avcloud { opacity: 0.15; }
html[data-skin="arcade"] .mlab { background: linear-gradient(#1A0E45, #0E0828) !important; }
html[data-skin="arcade"] .herosub span { background: rgba(20, 11, 54, 0.92) !important; color: #E8E4FF !important; border-radius: 10px !important;
  box-shadow: 0 0 0 2px #3DD6FF, 0 0 16px rgba(61, 214, 255, 0.45) !important; }
html[data-skin="arcade"] .herotag span::before { display: none; }
html[data-skin="arcade"] .mcard .mgo { color: var(--c2); }
html[data-skin="arcade"] .pd-title, html[data-skin="arcade"] .sl-title { font-family: var(--pixel) !important; letter-spacing: 2px; text-transform: uppercase; }
html[data-skin="arcade"] .gctahead b { font-family: var(--pixel); color: #FFE600; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 0 10px rgba(255, 230, 0, 0.6); }
html[data-skin="arcade"] .gctamore { color: #3DD6FF; }


/* =====================================================================================================
   READABLE IN EVERY LOOK (owner 24 Oct: "this screen's words are slightly hard to read"; "check that all the changes we make
   reflect well with the other skins"). Game Show and Arcade have dark backdrops, so their muted and gold colours are pale
   for writing ON the backdrop. Inside the light cards those pale colours went faint: cards get their own dark colours.
   Writing straight on a busy backdrop sits on a plate. Checked with scratchpad contrast.js (every game, every look).
   ===================================================================================================== */
html[data-skin="gameshow"][data-theme] { --card-muted: #7A5A30; --card-num: #B5520A; }
html[data-skin="nature"][data-theme] { --card-muted: #4E6E45; --card-num: #A35A00; }
html[data-skin="arcade"][data-theme] { --card-muted: #5A4E8A; --card-num: #C2187A; }
html[data-skin][data-theme] :is(.ml-pl small, .srow .spos, .srow .sname small, .ch-pl small, .qz-pl small, .qz-pl.ok small, .cc-pl small, .imp-pl span) { color: var(--card-muted); }
html[data-skin][data-theme] :is(.ch-pl > i, .qz-pl > i, .srow .spts, .c4-bm small) { color: var(--card-num); }
/* Waiting cards were dimmed to 60%, which made their writing faint on the light cards */
html[data-skin][data-theme] #gv .imp-pl:not(.ok) { opacity: 0.8; }
/* Arcade's dark outline for writing on the sunset is inherited by the light boxes inside those lines: not wanted there */
html[data-skin="arcade"][data-theme] :is(.panel, .ptile:not(.empty), .res-row, .srow, .wf-word, .wf-chip, .imp-pl, .imp-clue, .imp-bar, .votebtn, .dd-guess,
  .tip, .prow, .endnote, .res-summary, .lr-chip, .cs-total, .wg-board, .cc-pl, .bp-card, .qz-topic, .qz-pl, .ch-pl, .ch-w, .ml-pl, .c4-game, .c4-bm, .chip) { text-shadow: none; }

/* Quiz question card: Game Show keeps the cream card with dark writing (it had gold writing on cream); Arcade gets a dark
   neon card like its answer tiles (it had white writing on cream). */
html[data-skin="gameshow"][data-theme] #gv .qzx-card .qz-q { color: #3A0F4A; text-shadow: none; }
html[data-skin="arcade"][data-theme] .qzx-card { background: linear-gradient(#1C1050, #0E0828); box-shadow: 0 0 0 3px #33F0FF, 0 0 26px rgba(51, 240, 255, 0.5), 0 9px 0 #05021A; }
html[data-skin="arcade"][data-theme] #gv .qzx-card .qz-q { color: #FFFFFF; text-shadow: 0 0 12px rgba(51, 240, 255, 0.55); }

/* Arcade: lines of writing straight on the neon grid and city sit on a dark glass plate (owner 24 Oct, Just One) */
html[data-skin="arcade"][data-theme] #gv :is(.p3-sub, .p3-main > p, .ch-center > p, .ch-center > small, .wy-foot, .wy-top > span:not([data-timer]), .qz-top > .qz-num, .p3-head > .qz-num,
  .race-main > .muted, .sd-tvwrap > .muted, .wy-sub, .ww-line, .ww-count, .c4-sub, .imp-sub, .imp-count, .dd-turn, .cs-puzzle > .muted, .wf-side > .muted, .chx-line, .chx-top, .sa-tries) {
  width: fit-content; padding: 6px 22px 8px; border-radius: 12px; background: rgba(12, 7, 42, 0.84); color: #F2F0FF; font-weight: 700; text-shadow: none;
  box-shadow: 0 0 0 2px rgba(255, 61, 200, 0.85), 0 0 16px rgba(255, 61, 200, 0.4); }
html[data-skin="arcade"][data-theme] #gv :is(.p3-sub, .p3-main > p, .ch-center > p, .race-main > .muted, .sd-tvwrap > .muted, .wy-sub, .ww-line, .wy-foot, .c4-sub, .imp-sub, .imp-count, .cs-puzzle > .muted, .chx-line, .chx-top, .sa-tries) { margin-left: auto; margin-right: auto; }
html[data-skin="arcade"][data-theme] #gv :is(.wy-top > span:not([data-timer]), .qz-top > .qz-num, .p3-head > .qz-num) { color: #7FF6FF; box-shadow: 0 0 0 2px rgba(51, 240, 255, 0.85), 0 0 14px rgba(51, 240, 255, 0.4); }
/* Game Show: round counters in gold instead of pale blue */
html[data-skin="gameshow"][data-theme] #gv :is(.wy-top > span:not([data-timer]), .qz-top > .qz-num, .p3-head > .qz-num, .ch-center > small) { color: var(--gs-gold); text-shadow: 0 2px 0 #2A0418; }

/* Scores strip along the top: dressed like the living room strip in each look, with a readable label */
html[data-skin][data-theme] :is(.p3-tv, .ch-tv) > :is(.p3-side, .ch-side) > h3 { background: none; -webkit-text-fill-color: currentColor; letter-spacing: 0.5px; }
html[data-skin="gameshow"][data-theme] :is(.p3-tv, .ch-tv) > :is(.p3-side, .ch-side) { background: linear-gradient(#7A0E3A, #4A0626); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 3px #E0A215, 0 10px 24px rgba(0, 0, 0, 0.35); }
html[data-skin="gameshow"][data-theme] :is(.p3-tv, .ch-tv) > :is(.p3-side, .ch-side) > h3 { color: #FFD45A; text-shadow: 0 2px 0 #2A0418; }
html[data-skin="nature"][data-theme] :is(.p3-tv, .ch-tv) > :is(.p3-side, .ch-side) { background: url("../img/skins/wood.png") 0 0 / 160px, #8A5A2A; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25), 0 0 0 3px #4A2A0A, 0 10px 24px rgba(0, 0, 0, 0.3); }
html[data-skin="nature"][data-theme] :is(.p3-tv, .ch-tv) > :is(.p3-side, .ch-side) > h3 { color: #FFF3D6; text-shadow: 0 2px 0 #3A2410; }
html[data-skin="arcade"][data-theme] :is(.p3-tv, .ch-tv) > :is(.p3-side, .ch-side) { background: rgba(10, 6, 40, 0.88); box-shadow: 0 0 0 3px #33F0FF, 0 0 20px rgba(51, 240, 255, 0.6); }
html[data-skin="arcade"][data-theme] :is(.p3-tv, .ch-tv) > :is(.p3-side, .ch-side) > h3 { color: #FFE66B; font-family: var(--pixel); font-weight: 400; text-transform: uppercase; text-shadow: 0 0 10px rgba(255, 230, 107, 0.7); }

/* Countdown rings (not the living room ones, which have their own): Game Show cream disc with ruby numbers,
   Arcade dark disc with neon numbers, Nature white disc with dark green numbers. */
html[data-skin="gameshow"][data-theme] #gv > :not(.lv-tv) .timer .tbg { fill: #FFF8EC; stroke: rgba(224, 162, 21, 0.6); }
html[data-skin="gameshow"][data-theme] #gv > :not(.lv-tv) .timer span { color: #5A0A1E; text-shadow: none; }
html[data-skin="nature"][data-theme] #gv > :not(.lv-tv) .timer .tbg { fill: #FFFDF2; stroke: rgba(80, 150, 60, 0.45); }
html[data-skin="nature"][data-theme] #gv > :not(.lv-tv) .timer span { color: #1E3A23; }
html[data-skin="arcade"][data-theme] #gv > :not(.lv-tv) .timer .tbg { fill: #140B36; stroke: rgba(51, 240, 255, 0.35); }
html[data-skin="arcade"][data-theme] #gv > :not(.lv-tv) .timer span { color: #7FF6FF; text-shadow: 0 0 10px rgba(51, 240, 255, 0.8); }
html[data-skin="gameshow"][data-theme] #gv > :not(.lv-tv) .timer.low span { color: #C8102E; }
html[data-skin="nature"][data-theme] #gv > :not(.lv-tv) .timer.low span { color: #C0392B; }
html[data-skin="arcade"][data-theme] #gv > :not(.lv-tv) .timer.low span { color: #FF5FB0; text-shadow: 0 0 10px rgba(255, 61, 200, 0.8); }

/* Word Finder words: solid boxes with a border in every look, crossed out when found (Classic's are in games.css) */
html[data-skin="gameshow"][data-theme] #gv .wf-word { background: linear-gradient(#FFFDF6, #FFF1D2); border: 3px solid #E0A215; box-shadow: 0 5px 0 #9A5A00, 0 10px 18px rgba(0, 0, 0, 0.3); }
html[data-skin="gameshow"][data-theme] #gv .wf-word.hit { background: linear-gradient(#FFE9A0, #FFCF4A); border-color: #B87A00; }
html[data-skin="nature"][data-theme] #gv .wf-word { background: linear-gradient(#FFFFFF, #F1F8E6); border: 3px solid #5DAE3A; box-shadow: 0 5px 0 #3E8A2A, 0 10px 18px rgba(30, 70, 30, 0.18); }
html[data-skin="nature"][data-theme] #gv .wf-word.hit { background: linear-gradient(#E2F6D2, #BFE8A6); border-color: #2E7D32; }
html[data-skin="arcade"][data-theme] #gv .wf-word { background: linear-gradient(#FFFFFF, #ECEAFF); border: 3px solid #33C8FF; box-shadow: 0 5px 0 #B44CFF, 0 0 18px rgba(51, 200, 255, 0.45); border-radius: 10px; }
html[data-skin="arcade"][data-theme] #gv .wf-word.hit { background: linear-gradient(#D8FFF2, #9DFFDD); border-color: #00C890; }
html[data-skin][data-theme] #gv .wf-word.hit b { text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: rgba(0, 0, 0, 0.45); }
/* Headings inside light cards keep their dark writing (each look colours big-screen headings for the backdrop) */
html[data-skin][data-theme] #gv .fe-card h1 { color: #3A2200; text-shadow: none; }
/* Nature: lines of writing straight on the hills and trees sit on a soft cream plate with a leafy edge */
html[data-skin="nature"][data-theme] #gv :is(.p3-sub, .p3-main > p, .ch-center > p, .ch-center > small, .wy-foot, .wy-top > span:not([data-timer]), .qz-top > .qz-num, .p3-head > .qz-num,
  .race-main > .muted, .sd-tvwrap > .muted, .wy-sub, .ww-line, .ww-count, .c4-sub, .imp-sub, .imp-count, .dd-turn, .cs-puzzle > .muted, .wf-side > .muted, .chx-line, .chx-top, .sa-tries) {
  width: fit-content; padding: 6px 22px 8px; border-radius: 14px; background: rgba(255, 253, 242, 0.92); color: #1E3A23; font-weight: 700; text-shadow: none;
  box-shadow: 0 0 0 2px rgba(93, 174, 58, 0.7), 0 6px 14px rgba(30, 70, 30, 0.16); }
html[data-skin="nature"][data-theme] #gv :is(.p3-sub, .p3-main > p, .ch-center > p, .race-main > .muted, .sd-tvwrap > .muted, .wy-sub, .ww-line, .wy-foot, .c4-sub, .imp-sub, .imp-count, .cs-puzzle > .muted, .chx-line, .chx-top, .sa-tries) { margin-left: auto; margin-right: auto; }
/* Bingo's board of called numbers: solid light columns with dark writing (they were see-through, with cream numbers) */
html[data-skin][data-theme] #gv .bg-board > div { background: var(--glass-bg, #FFFDF2); color: var(--ink); box-shadow: var(--edge-gold), 0 8px 18px rgba(0, 0, 0, 0.25); }
html[data-skin][data-theme] #gv .bg-board span { opacity: 0.45; }
html[data-skin][data-theme] #gv .bg-board span.on { opacity: 1; }
html[data-skin][data-theme] #gv .bg-board span.now { background: #0E8F68; color: #FFFFFF; }
/* Nature's living room chips: a deeper green so the cream writing stands out */
html[data-skin="nature"][data-theme] .lv-tv .lv-chip { background: linear-gradient(#4FA83A, #2A6E22); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
/* Hot Seat: deeper orange-pink badge and blue letter discs, so their white writing stands out (all looks) */
html[data-theme] .hs-seat { background: linear-gradient(90deg, #F2772A, #C82F72); text-shadow: 0 2px 0 rgba(110, 20, 50, 0.35); }
html[data-theme] .hs-opt i { background: radial-gradient(circle at 35% 30%, #6AB4FF, #1F63C8 70%); text-shadow: 0 1px 0 rgba(0, 30, 90, 0.4); }
/* Plated sentences: the box hugs the writing (balanced wrapping left empty space at the sides) */
html[data-skin]:is([data-skin="arcade"], [data-skin="nature"])[data-theme] #gv :is(.p3-sub, .p3-main > p, .ch-center > p, .race-main > .muted, .sd-tvwrap > .muted, .wy-sub, .ww-line, .wy-foot, .c4-sub, .imp-sub, .imp-count, .cs-puzzle > .muted) { text-wrap: wrap; text-align: center; line-height: 1.3; }
html[data-skin="arcade"][data-theme] #gv .chx-top b { color: #FFE66B; }
/* Wink Murder's portraits keep their gold name plaques in every look (the looks' own plates had dark writing on ruby/navy) */
html[data-skin][data-theme] .wm-tv .lv-p.wm-portrait > b { color: #3A1A00; background: linear-gradient(#FFF0B0, #E8B84A 60%, #B8801A); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.4); }
html[data-skin="gameshow"][data-theme] #gv .chx-top b { color: var(--gs-gold); }
