:root{--site-soft:#f3eaff;--site-glow:#f5e7ff;--site-hero:#3b206c;--site-hero-end:#834bc0;--site-accent-text:#6335a1}
:root[data-site-theme="midnight"]{color-scheme:dark;--ink:#f2ecff;--muted:#b9adc9;--purple:#9c73ed;--purple-deep:#b49aef;--line:#3b334f;--paper:#211d31;--background:#100f1b;--site-soft:#30263f;--site-glow:#29203e;--site-hero:#211933;--site-hero-end:#6438a1;--site-accent-text:#cab0f5}
:root[data-site-theme="forest"]{--ink:#22392c;--muted:#5b7263;--purple:#41845b;--purple-deep:#2f6a44;--line:#d6e4d4;--paper:#fffef7;--background:#f2f7ed;--site-soft:#e2eedc;--site-glow:#dbeed2;--site-hero:#214333;--site-hero-end:#5e915a;--site-accent-text:#386747}
:root[data-site-theme="sunset"]{--ink:#493127;--muted:#846353;--purple:#c76d43;--purple-deep:#a8492e;--line:#f0dace;--paper:#fffaf3;--background:#fff3e6;--site-soft:#f9e3cf;--site-glow:#ffdfc4;--site-hero:#713d43;--site-hero-end:#d68c58;--site-accent-text:#a55535}
:root[data-site-theme] body{background:radial-gradient(ellipse at 100% 5%,var(--site-glow),transparent 37rem),var(--background)}
:root[data-site-theme]:not([data-site-theme="classic"]) .hero{background:radial-gradient(circle at 86% 22%,var(--site-hero-end),transparent 55%),linear-gradient(116deg,var(--site-hero),var(--site-hero-end))}
:root[data-site-theme] :is(.game-card,.search,.filter,.dialog,.site-settings){background:var(--paper);color:var(--ink);border-color:var(--line)}
:root[data-site-theme] :is(.secondary,.login-trigger,.entertainment-trigger,.game-favorite,.game-like){background:var(--site-soft);color:var(--site-accent-text);border-color:var(--line)}
:root[data-site-theme] .game-like.is-liked,:root[data-site-theme] .filter[aria-pressed="true"]{background:var(--purple);border-color:var(--purple);color:#fff}
:root[data-site-theme] :is(.category,.eyebrow,.top-link){color:var(--site-accent-text)}
:root[data-site-theme] :is(.game-engagement,.game-count,.description){color:var(--muted)}
:root[data-site-theme="midnight"] :is(.discovery-rail,.jump-back,.discovery-picks,.recent-strip){background:#211d3199;border-color:var(--line)}
:root[data-site-theme="midnight"] .discovery h2,:root[data-site-theme="midnight"] .discovery h3{color:var(--ink)}
:root[data-site-theme="midnight"] .online-panel{background:#211d31;color:var(--ink);border-color:var(--line)}
:root[data-site-theme="midnight"] .online-member-site,:root[data-site-theme="midnight"] .online-note,:root[data-site-theme="midnight"] .online-guests{color:var(--muted)}
.topbar-actions:has(.appearance-button){flex-wrap:wrap}.appearance-button svg{width:18px;height:18px}.appearance-button{padding-inline:13px}
.site-settings{width:min(580px,calc(100% - 26px));max-height:calc(100dvh - 30px);overflow:auto;margin:auto;border:1px solid var(--line);border-radius:26px;padding:28px;color:var(--ink);box-shadow:0 25px 100px #24143555;font:14px "Trebuchet MS",system-ui,sans-serif}
.site-settings::backdrop{background:#1b102a99;backdrop-filter:blur(5px)}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-kicker{display:block;color:var(--site-accent-text);font-size:9px;font-weight:900;letter-spacing:.17em;margin-bottom:7px}.site-settings h2{font-size:30px}.settings-close{width:34px;height:34px;flex-shrink:0;border:1px solid var(--line);background:var(--site-soft);border-radius:50%;font-size:23px;color:var(--ink)}.settings-intro{color:var(--muted);line-height:1.5;margin:14px 0 23px}.site-settings fieldset{border:0;padding:0;margin:0 0 23px}.site-settings legend{font-size:13px;font-weight:900;margin-bottom:12px}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.theme-option{display:flex;align-items:center;gap:9px;padding:12px 10px;border:1px solid var(--line);border-radius:14px;cursor:pointer;background:var(--paper)}.theme-option:has(input:checked){border-color:var(--purple);box-shadow:0 0 0 2px var(--site-soft)}.site-settings input{accent-color:var(--purple);width:15px;height:15px;flex-shrink:0;margin:0}.theme-option span{min-width:0}.theme-option strong{display:block;font-size:12px}.theme-option small{display:block;color:var(--muted);font-size:9px;line-height:1.3;margin-top:4px}.theme-swatch{height:28px;width:28px;border:1px solid #0001;border-radius:8px;flex-shrink:0}.swatch-classic{background:linear-gradient(135deg,#8c52d8 50%,#f5d9ff 50%)}.swatch-midnight{background:linear-gradient(135deg,#221735 50%,#ac7ff5 50%)}.swatch-forest{background:linear-gradient(135deg,#41845b 50%,#e2eedc 50%)}.swatch-sunset{background:linear-gradient(135deg,#c76d43 50%,#ffdfc4 50%)}.card-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.card-options label{display:flex;gap:10px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:11px;padding:12px 8px;cursor:pointer;font-size:12px}.card-options label:has(input:checked){background:var(--site-soft);border-color:var(--purple)}.motion-option{display:flex;gap:12px;align-items:center;background:var(--site-soft);padding:15px;border-radius:13px;cursor:pointer}.motion-option strong{display:block;font-size:12px}.motion-option small{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.4}.settings-saved{font-size:11px;color:var(--muted);margin:14px 0 20px}.settings-footer{display:flex;justify-content:space-between;gap:12px}.settings-footer .button{font-size:12px}
:root[data-site-cards="compact"] .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px}:root[data-site-cards="compact"] .game-card{grid-template-columns:58px minmax(0,1fr) 24px;gap:8px;min-height:85px;padding:8px;border-radius:15px}:root[data-site-cards="compact"] .thumb{width:58px;height:58px;border-radius:9px}:root[data-site-cards="compact"] .card-title{font-size:15px}:root[data-site-cards="compact"] .description{display:none}:root[data-site-cards="compact"] .game-engagement{padding:5px 10px 12px;font-size:10px}:root[data-site-cards="compact"] .game-like{font-size:10px;padding:6px 8px}
:root[data-site-cards="large"] .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:17px}:root[data-site-cards="large"] .game-card{grid-template-columns:110px minmax(0,1fr) 32px;min-height:135px;padding:13px;gap:15px}:root[data-site-cards="large"] .thumb{height:104px;width:110px}:root[data-site-cards="large"] .card-title{font-size:22px}:root[data-site-cards="large"] .description{font-size:12px;-webkit-line-clamp:3}
:root[data-site-motion="reduced"] *, :root[data-site-motion="reduced"] *::before, :root[data-site-motion="reduced"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:580px){.site-settings{padding:22px 17px;border-radius:21px}.theme-options{grid-template-columns:1fr}.theme-option{padding:11px}.theme-option strong{font-size:13px}.theme-option small{font-size:10px}.site-settings h2{font-size:27px}:root[data-site-cards="large"] .game-card{grid-template-columns:86px minmax(0,1fr) 28px}:root[data-site-cards="large"] .thumb{width:86px;height:90px}.appearance-button{font-size:11px}}
