/* Loaded only by games.html; cinema keeps its existing palette. */
:root[data-section=games]{
 --surface:#ffffff;--soft:#e7f2f6;--ink:#1d3b49;--muted:#536f7b;
 --purple:#176e87;--pink:#93d5c5;--page:#f3f9fb;--line:#cbdee6;--accent:#25858e;
 --cozy-border:#bad7e0;--cozy-tint:#edf6fa;--cozy-shadow:#214f6b14;
 --game-button:#176e87;--game-ring:#348aa7;--game-hero-start:#dfedf6;--game-hero-end:#e4f5ed;
 --game-glow:#73b4d523;--game-glow-secondary:#85ccb51a;--game-note:#ffffffb8;--game-toast:#24576b;
 --game-cinema:#7756a3;
}
:root[data-section=games][data-theme=dark]{
 --surface:#192a3a;--soft:#21384a;--ink:#e0edf5;--muted:#a6bdcd;
 --purple:#86d0e8;--pink:#83cfcc;--page:#101c29;--line:#304c60;--accent:#72d4be;
 --cozy-border:#3a5c72;--cozy-tint:#1a3041;--cozy-shadow:#040c1540;
 --game-button:#246e89;--game-ring:#86d0e8;--game-hero-start:#203c51;--game-hero-end:#193c3e;
 --game-glow:#36799824;--game-glow-secondary:#388a7a17;--game-note:#142936b8;--game-toast:#24576b;
 --game-cinema:#ccb1ed;
}
:root[data-section=games] body{background:radial-gradient(ellipse at 3% 5%,var(--game-glow),transparent 43%),radial-gradient(ellipse at 95% 24%,var(--game-glow-secondary),transparent 40%),var(--page)}
:root[data-section=games] .welcome{background:linear-gradient(115deg,var(--game-hero-start),var(--game-hero-end));border-color:var(--cozy-border)}
:root[data-section=games] .love-note{background:var(--game-note);border-color:var(--cozy-border);color:var(--purple)}
:root[data-section=games] .primary,:root[data-section=games] .chips button.active{background:var(--game-button);border-color:var(--game-button);color:#fff}
:root[data-section=games] .primary{box-shadow:0 6px 18px var(--cozy-shadow)}
:root[data-section=games] .mode-switch{background:var(--soft);border-color:var(--cozy-border)}
:root[data-section=games] .mode-switch a[aria-current=page]{background:var(--game-button);color:#fff;box-shadow:0 2px 8px var(--cozy-shadow)}
:root[data-section=games] .mode-switch a[href="/"]{color:var(--game-cinema)}
:root[data-section=games] :is(button,a):focus-visible{outline-color:var(--game-ring)}
:root[data-section=games] :is(input,select,textarea):focus{outline-color:var(--game-ring)}
:root[data-section=games] .game-card:hover{box-shadow:0 10px 26px var(--cozy-shadow)}
:root[data-section=games] .game-card .poster{background:linear-gradient(135deg,var(--soft),var(--surface))}
:root[data-section=games] .empty{background-image:none}
:root[data-section=games] footer{background-image:radial-gradient(circle,var(--line) 1px,transparent 1.5px);background-size:22px 22px}
:root[data-section=games] dialog::backdrop{background:#0b2236b8}
:root[data-section=games][data-theme=dark] dialog::backdrop{background:#040d17cc}
:root[data-section=games] #toast{background:var(--game-toast)}
:root[data-section=games] .login-art{background:radial-gradient(ellipse at center,var(--game-hero-end),var(--game-hero-start))}
