/* DV5G (dude-redesign 10-15): games section in the v3 look. The arcade was built dark (html.g1-dark = its own dark tokens, games-white.css
   steps aside); here those tokens take the brand palette (dude charcoal + bronze, holydude navy + gold) and the header gets the NEW wordmark. */
html.dv5g.g1-dark[data-brand="dude"] {
  --bg: #121214; --card: #1b1b1e; --card-solid: #1b1b1e; --line: rgba(244, 237, 228, .1); --line2: rgba(244, 237, 228, .18);
  --text: #f4ede4; --mut: rgba(244, 237, 228, .8); --dim: rgba(244, 237, 228, .62);
  --acc: #dba36b; --acc-rgb: 219 163 107; --acc-ink: #17110b; --acc-on-dark: #e2ab74; --link: #e2ab74;
  --top-bg: rgba(18, 18, 20, .92); --top-text: #f4ede4; --top-mut: rgba(244, 237, 228, .8); --chip: rgba(244, 237, 228, .08); color-scheme: dark;
}
html.dv5g.g1-dark[data-brand="holydude"] {
  --bg: #0a1022; --card: #111a33; --card-solid: #111a33; --line: rgba(241, 244, 252, .1); --line2: rgba(241, 244, 252, .18);
  --text: #f1f4fc; --mut: rgba(241, 244, 252, .82); --dim: rgba(241, 244, 252, .64);
  --acc: #e9c46e; --acc-rgb: 233 196 110; --acc-ink: #0a1022; --acc-on-dark: #f3d48a; --link: #f3d48a;
  --top-bg: rgba(10, 16, 34, .92); --top-text: #f1f4fc; --top-mut: rgba(241, 244, 252, .8); --chip: rgba(241, 244, 252, .08); color-scheme: dark;
}
html.dv5g.g1-dark, html.dv5g.g1-dark body { background: var(--bg) !important; color: var(--text); }
html.dv5g.g1-dark .ar-top { background: var(--top-bg) !important; border-bottom: 1px solid var(--line) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html.dv5g.g1-dark :is(.ar-gc, .ar-hero, .ar-mature, .ar-opp, .ar-side, #nlSignup) { background: var(--card) !important; color: var(--text) !important; border-color: var(--line) !important; }
html.dv5g.g1-dark :is(.ar-hero-m, .ar-gc-m:not(:has(.ar-tiles)), .ar-cov, .ar-fam-face) { background: #000 !important; }
html.dv5g.g1-dark :is(.g1-pri, .ar-go, a.ar-go, .ah-go, .ar-b.solid) { background: linear-gradient(180deg, #f3c58e 0%, #d58f4f 45%, #9b5a26 100%) !important; color: #17110b !important; border: 0 !important; }
html.dv5g.g1-dark[data-brand="holydude"] :is(.g1-pri, .ar-go, a.ar-go, .ah-go, .ar-b.solid) { background: linear-gradient(180deg, #e9c46e 0%, #c9962f 100%) !important; color: #0a1022 !important; }
html.dv5g.g1-dark :is(.g1-back, .g1-s, .g1-nav a, .g1-nav button) { background: transparent !important; color: var(--top-text) !important; border: 1px solid var(--line2) !important; }
html.dv5g.g1-dark :is(input, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]) { background: var(--chip) !important; color: var(--text) !important; border: 1px solid var(--line2) !important; }
/* NEW wordmark (same images as every other page) */
html.dv5g.g1-dark .g1-logo img { filter: none !important; height: 30px !important; width: auto !important; }
html.dv5g[data-brand="dude"] .g1-logo img { content: url(/img/dv5/wm-dude2-64.webp) !important; }
html.dv5g[data-brand="holydude"] .g1-logo img { content: url(/img/dv5/wm-holy-64.webp) !important; }
/* games.php (lt1 light page rules hard-code dark ink): text back to the dark look */
html.dv5g.g1-dark :is(.ar-wrap, main) :is(h1, h2, h3, h4, b, strong) { color: var(--text) !important; }
html.dv5g.g1-dark :is(.ar-wrap, main) :is(p, li, small, dd, dt, label, figcaption) { color: var(--mut) !important; }
html.dv5g.g1-dark :is(.ar-wrap, main) a:not([class]) { color: var(--link) !important; }

/* T3 (dude coder 10-19, tester P1): dude games + arcade - the sticky header was 92% see-through: solid */
html.dv5g[data-brand="dude"] .ar-top.ar-top{background:#121214!important;background-image:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* D8 (holydude coder): holydude games/arcade header solid, no blur */
html.dv5g[data-brand="holydude"] .ar-top.ar-top{background:rgb(10,16,34)!important;background-image:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
