/* Shared appearance preferences, welcome screen, and truthful site privacy controls. */
:root[data-theme="purple-haze"]{--bg:#170e24;--header:#21132f;--sidebar-bg:#1c1129;--panel:#2b1b3d;--panel-hover:#3d2754;--line:#523266;--purple:#cfabff;--purple-strong:#9d68e4;--lime:#e0beff}
:root[data-theme="midnight-blue"]{--bg:#080f1e;--header:#101b31;--sidebar-bg:#0c172b;--panel:#15243c;--panel-hover:#203451;--line:#293d5a;--purple:#7cc9ff;--purple-strong:#328ed6;--lime:#9ae4ff}
:root[data-theme="sunset-gold"]{--bg:#19120f;--header:#261a15;--sidebar-bg:#211713;--panel:#32231b;--panel-hover:#453022;--line:#63462f;--purple:#ffcf8c;--purple-strong:#d38432;--lime:#ffdb73}
:root[data-theme="teal-dream"]{--bg:#07191d;--header:#10272c;--sidebar-bg:#0b2026;--panel:#15333b;--panel-hover:#20444c;--line:#2f5860;--purple:#79deeb;--purple-strong:#238f9f;--lime:#a7f4e8}
:root[data-theme="emerald-forest"]{--bg:#0c1914;--header:#13281f;--sidebar-bg:#10231b;--panel:#1b3527;--panel-hover:#294a35;--line:#35583f;--purple:#9be5b4;--purple-strong:#398959;--lime:#b4f797}
:root[data-theme="indigo-night"]{--bg:#0d1023;--header:#191d38;--sidebar-bg:#13172e;--panel:#23294b;--panel-hover:#31395e;--line:#414b75;--purple:#afbaff;--purple-strong:#6877d7;--lime:#c6ceff}
:root[data-theme="amber-glow"]{--bg:#1a140b;--header:#282011;--sidebar-bg:#221b0f;--panel:#382b16;--panel-hover:#4a391e;--line:#67502b;--purple:#ffce7c;--purple-strong:#b7802e;--lime:#ffe393}
:root[data-theme="royal-plum"]{--bg:#1b0e1b;--header:#2b162b;--sidebar-bg:#231223;--panel:#3a1f39;--panel-hover:#4e2b4b;--line:#694068;--purple:#f0b5e8;--purple-strong:#b05ba1;--lime:#ffc3ed}
:root[data-theme="crimson-sky"]{--bg:#1d0d12;--header:#2b131b;--sidebar-bg:#251018;--panel:#3a1b26;--panel-hover:#512633;--line:#6c3747;--purple:#ffa5b4;--purple-strong:#bd4966;--lime:#ffc0c6}
:root[data-theme]:not([data-theme="default"]){--muted:#c0b9c9}.topbar{background:color-mix(in srgb,var(--header) 95%,transparent);border-color:var(--line)}.sidebar{background:var(--sidebar-bg)}.header-settings{width:39px;height:39px;padding:9px;border:1px solid var(--line);border-radius:11px;background:var(--panel);display:grid;place-items:center}.header-settings svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8}.experience-footer-link{color:var(--muted)}
.welcome-page{background:var(--bg);min-height:100dvh;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:62px 62px;position:relative;isolation:isolate}.welcome-page:before{content:'';position:absolute;z-index:-1;inset:60px 0 0;background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--purple-strong) 11%,transparent),transparent 60%);pointer-events:none}.welcome-header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(30px,calc((100% - 1320px)/2));background:color-mix(in srgb,var(--bg) 88%,transparent)}.welcome-brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:850;letter-spacing:-.6px}.welcome-brand .brand-mark{width:35px;height:35px;border-radius:11px;font-size:24px}.welcome-nav{display:flex;align-items:center;gap:7px}.welcome-nav a,.welcome-nav button{background:transparent;padding:10px 15px;border-radius:10px;font-size:12px;color:var(--muted);font-weight:700}.welcome-nav a:hover,.welcome-nav button:hover{background:var(--panel);color:var(--text)}.welcome-nav .welcome-games-link{background:var(--panel);color:var(--text);border:1px solid var(--line)}.welcome-main{width:min(1120px,calc(100% - 44px));margin:auto;min-height:calc(100dvh - 155px);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:88px 0 75px;text-align:center}.welcome-tag{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--muted);border:1px solid var(--line);border-radius:30px;background:var(--panel);padding:7px 12px}.welcome-tag i{display:block;width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 13px color-mix(in srgb,var(--lime) 40%,transparent)}.welcome-title{font-size:clamp(65px,9vw,116px);font-weight:850;letter-spacing:-6px;line-height:1.05;margin:25px 0 14px}.welcome-title span{color:var(--lime)}.welcome-subtitle{font-size:clamp(17px,2vw,23px);font-weight:750;letter-spacing:-.4px;margin:0 0 14px}.welcome-description{font-size:13px;color:var(--muted);max-width:520px;line-height:1.85;margin:0 auto 28px}.welcome-actions{display:flex;align-items:center;justify-content:center;gap:11px}.welcome-start,.welcome-secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 23px;border-radius:12px;font-size:13px;font-weight:800;min-height:48px}.welcome-start{background:var(--lime);color:#171421;box-shadow:0 7px 24px color-mix(in srgb,var(--lime) 10%,transparent)}.welcome-start:hover{filter:brightness(1.08);transform:translateY(-2px)}.welcome-start svg,.welcome-secondary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}.welcome-secondary{background:var(--panel);border:1px solid var(--line);color:var(--text)}.welcome-secondary:hover{background:var(--panel-hover)}.welcome-shortcuts{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;max-width:800px;margin:54px auto 0}.welcome-tile{display:flex;align-items:center;gap:11px;padding:12px 16px;min-width:180px;border:1px solid var(--line);border-radius:14px;text-align:left;background:color-mix(in srgb,var(--panel) 72%,transparent)}.welcome-tile:hover{background:var(--panel-hover);transform:translateY(-2px)}.welcome-tile>span{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--purple-strong) 18%,transparent);color:var(--purple)}.welcome-tile strong{display:block;font-size:12px}.welcome-tile small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.welcome-tile img{width:37px;height:37px;border-radius:10px;object-fit:contain}.welcome-footer{min-height:79px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:18px max(30px,calc((100% - 1320px)/2));font-size:10px;color:var(--muted)}.welcome-footer>div{display:flex;gap:17px;flex-wrap:wrap}.welcome-footer button{background:none;color:var(--muted);padding:0;font-size:10px}.welcome-footer a:hover,.welcome-footer button:hover{color:var(--text)}
.settings-page-content{max-width:980px}.settings-intro{max-width:680px;color:var(--muted)}.settings-section{border:1px solid var(--line);background:var(--panel);border-radius:18px;padding:25px 27px;margin:18px 0}.settings-section h2{font-size:19px;margin:0 0 8px}.settings-section p{font-size:12px;color:var(--muted);line-height:1.8;max-width:780px}.settings-section .settings-legend{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;font-weight:800;color:var(--purple);margin-bottom:7px;display:block}.settings-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:16px 0 6px}.settings-row label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:650}.settings-row input,.settings-row select{border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);padding:10px 13px;min-height:42px;max-width:100%}.settings-row input[type=url]{width:340px}.settings-row button,.settings-section>button,.theme-option{border:1px solid var(--line);border-radius:10px;background:var(--panel-hover);color:var(--text);padding:10px 16px;font-size:12px;font-weight:750;min-height:42px}.settings-row button:hover,.settings-section>button:hover{filter:brightness(1.2)}.settings-section .setting-toggle{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--text)}.setting-toggle input{accent-color:var(--purple-strong);width:17px;height:17px}.theme-options{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:19px}.theme-option{text-align:left;display:flex;flex-direction:column;gap:10px;padding:12px;font-size:10px}.theme-option[aria-pressed=true]{outline:2px solid var(--lime);outline-offset:1px;background:var(--bg)}.theme-swatch{width:100%;height:30px;border:1px solid #ffffff12;border-radius:6px;background:linear-gradient(120deg,var(--swatch-bg) 60%,var(--swatch-accent) 60%)}#experience-status{min-height:24px;font-size:12px;color:var(--purple);position:sticky;bottom:15px;background:var(--bg);border-radius:10px;z-index:10;padding:8px 14px}#experience-status:empty{display:none}.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:25px}.tools-grid .settings-section{margin:0;padding:20px}.tools-grid h2{font-size:16px}.tools-grid p{font-size:11px}.quick-exit-button{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:8px 12px;min-height:36px;font-size:11px;font-weight:750}.quick-exit-button:hover{background:var(--panel-hover)}
.consent-card{color-scheme:light;color:#242a35;background:#fff;border:1px solid #dce0e7;border-radius:16px;max-width:calc(100% - 28px);width:500px;max-height:calc(100dvh - 28px);padding:0;box-shadow:0 22px 95px #0008;overflow:auto;overscroll-behavior:contain}.consent-card::backdrop{background:#0009;backdrop-filter:blur(3px)}.consent-body{padding:29px 28px 15px}.consent-logo{width:48px;height:48px;border-radius:14px;background:#7654d7;color:#fff;font-size:34px;font-weight:900;letter-spacing:-5px;padding-right:4px;display:grid;place-items:center;margin:0 auto 20px}.consent-card h2{font-size:20px;line-height:1.4;text-align:center;letter-spacing:-.4px;margin:0 0 17px;color:#232a35}.consent-card p{font-size:12px;color:#626975;line-height:1.75;margin:12px 0}.consent-card a{color:#1263ce;text-decoration:underline}.consent-purposes{display:grid;gap:14px;margin:24px 0}.consent-purpose{display:flex;align-items:center;gap:13px;font-size:12px;line-height:1.5}.consent-purpose>span{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:50%;background:#e1ecfc;color:#1263ce;font-size:18px}.consent-purpose svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.consent-card details{margin:17px 0;color:#566071;font-size:11px}.consent-card summary{cursor:pointer;font-size:12px;color:#313947}.consent-card .consent-disclosure{font-size:10px;color:#79808b;border-top:1px solid #dce0e7;padding-top:13px;margin-bottom:2px}.consent-buttons{position:sticky;bottom:0;background:#fff;padding:15px 28px 22px;display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #e6e9ee}.consent-buttons button,.consent-primary{border:0;border-radius:25px;background:#1764cd;color:#fff;font-size:12px;font-weight:750;min-height:42px;padding:10px 14px}.consent-buttons button:hover,.consent-primary:hover{background:#1052ac}.consent-buttons .consent-manage{grid-column:1/-1;background:none;color:#1764cd;min-height:28px;padding:5px}.consent-buttons .consent-manage:hover{background:#eef4ff}.consent-card .dialog-heading{padding:23px 25px 0;border:0;color:#242a35;display:flex;align-items:center;justify-content:space-between}.consent-card .dialog-heading h2{text-align:left;font-size:18px;margin:0}.consent-card .dialog-heading .icon-button{color:#596471;background:#f1f3f6;border:0;border-radius:50%;font-size:23px;width:31px;height:31px}.consent-card .dialog-copy{padding:15px 25px 25px}.consent-card .privacy-option{display:flex;align-items:center;justify-content:space-between;gap:17px;background:#fff;border:1px solid #d7dce5;border-radius:11px;padding:17px;margin:12px 0}.privacy-option>div{min-width:0}.privacy-option b{display:block;font-size:12px;font-weight:650;color:#303947}.privacy-option p{font-size:11px;margin:7px 0 0;line-height:1.65}.privacy-option input[type=checkbox]{appearance:none;flex-shrink:0;width:38px;height:22px;border-radius:20px;background:#8f97a1;position:relative;cursor:pointer}.privacy-option input[type=checkbox]:before{content:'';position:absolute;left:3px;top:3px;height:16px;width:16px;border-radius:50%;background:#fff;transition:transform .15s}.privacy-option input:checked{background:#1764cd}.privacy-option input:checked:before{transform:translateX(16px)}.privacy-option input:disabled{opacity:.6;cursor:default}.consent-card h3{font-size:13px;margin:21px 0 9px;color:#303947}.consent-card .privacy-local-actions{display:flex;gap:8px;flex-wrap:wrap}.consent-card .privacy-local-actions button{border:1px solid #d3dae5;border-radius:8px;background:#f3f6fa;color:#344357;padding:9px 11px;font-size:10px}.consent-card #save-privacy{width:100%;margin-top:8px}.consent-card .advertising-info{background:#f0f4fa;border-radius:9px;padding:13px;margin-top:19px}.consent-card .advertising-info p{margin:0;font-size:10px}.consent-card #open-advertising-choices{font-size:10px;background:#e0eafa;border:1px solid #c6d6ee;color:#165aa9;border-radius:8px;padding:9px 12px;margin-top:9px}.consent-card .small{font-size:10px}.consent-card:focus-visible{outline:3px solid #1764cd}.consent-card button:focus-visible,.consent-card input:focus-visible,.consent-card a:focus-visible{outline-color:#1764cd}
@media(max-width:1100px){.welcome-header{padding:0 24px}.welcome-nav a,.welcome-nav button{padding:9px 11px;font-size:11px}.theme-options{grid-template-columns:repeat(3,1fr)}.header-actions{gap:7px}.header-settings{width:35px;height:35px}.welcome-footer{padding:18px 25px}.tools-grid{grid-template-columns:1fr}}
@media(max-width:700px){.welcome-header{height:auto;min-height:70px;padding:16px 19px;gap:15px;align-items:start}.welcome-brand{font-size:18px}.welcome-brand .brand-mark{width:31px;height:31px;font-size:21px}.welcome-nav{gap:2px;flex-wrap:wrap;justify-content:end;max-width:240px}.welcome-nav a,.welcome-nav button{padding:7px 8px;font-size:9px}.welcome-nav .optional-nav{display:none}.welcome-main{min-height:calc(100dvh - 195px);padding:65px 0 45px}.welcome-title{font-size:75px;letter-spacing:-4px}.welcome-subtitle{font-size:17px;max-width:290px;line-height:1.6}.welcome-description{font-size:11px;max-width:300px}.welcome-tag{font-size:8px;letter-spacing:1.2px}.welcome-actions{gap:8px}.welcome-start,.welcome-secondary{font-size:11px;min-height:44px;padding:12px 17px}.welcome-shortcuts{margin-top:35px;gap:8px}.welcome-tile{min-width:0;width:calc(50% - 5px);padding:11px 10px;gap:8px}.welcome-tile strong{font-size:10px}.welcome-tile small{font-size:8px}.welcome-tile>span,.welcome-tile img{width:30px;height:30px;border-radius:8px}.welcome-footer{flex-direction:column;justify-content:center;gap:12px;padding:17px 16px;font-size:9px}.welcome-footer>div{justify-content:center;gap:12px}.welcome-footer button{font-size:9px}.settings-section{padding:21px 18px}.settings-section h2{font-size:17px}.settings-row{align-items:stretch}.settings-row label{width:100%}.settings-row input[type=url]{width:100%}.theme-options{grid-template-columns:repeat(2,1fr)}.theme-option{font-size:9px}.settings-section p{font-size:11px}.settings-row button{flex:1}.header-settings{width:31px;height:31px;border-radius:8px}.header-actions .header-button .button-label{display:none}.consent-body{padding:24px 22px 13px}.consent-card h2{font-size:18px}.consent-buttons{padding:13px 22px 19px}.consent-buttons button{font-size:11px}.consent-logo{width:43px;height:43px;font-size:30px}.consent-purpose{font-size:11px}.consent-card .dialog-copy{padding:13px 20px 23px}.consent-card .dialog-heading{padding:22px 20px 0}.consent-card .privacy-option{padding:14px;gap:13px}.privacy-option b{font-size:11px}.privacy-option p{font-size:10px}.consent-card .dialog-actions{flex-wrap:wrap}.quick-exit-button{font-size:9px;padding:7px 9px}}
@media(max-height:600px) and (min-width:701px){.welcome-main{padding:42px 0 36px;min-height:calc(100dvh - 150px)}.welcome-title{font-size:75px;margin:18px 0 11px}.welcome-shortcuts{margin-top:27px}.welcome-description{margin-bottom:22px;font-size:12px}.welcome-tag{font-size:9px}}
@media(prefers-reduced-motion:reduce){.welcome-start,.welcome-tile{transition:none}.privacy-option input:before{transition:none}}

.consent-card summary:focus-visible{outline-color:#1764cd}

/* Solid preview panels avoid diagonal seams and selected borders that look clipped. */
:root[data-theme="black"]{--bg:#000;--header:#070707;--sidebar-bg:#030303;--panel:#111;--panel-hover:#1c1c1c;--line:#2b2b2b;--text:#f5f5f5;--muted:#b0b0b0;--purple:#e0e0e0;--purple-strong:#666;--lime:#f5f5f5}
:root[data-theme="black"] .search{background:var(--panel);border-color:var(--line)}
:root[data-theme="black"] .category-chip,:root[data-theme="black"] .alphabet button,:root[data-theme="black"] .header-button{border-color:var(--line)}
.theme-options{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:4px;align-items:stretch;overflow:visible}
.theme-option{position:relative;display:grid;grid-template-rows:40px auto;gap:10px;align-content:start;min-width:0;min-height:92px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);text-align:left;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.theme-option:hover{background:var(--panel-hover);border-color:var(--purple)}
.theme-option[aria-pressed="true"]{outline:none;border-color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime);background:var(--bg)}
.theme-option:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.theme-swatch{display:flex;align-items:center;gap:7px;width:100%;min-width:0;height:40px;padding:0 11px;border:1px solid #ffffff14;border-radius:7px;background:var(--swatch-bg);overflow:hidden}
.theme-preview-dot{display:block;flex:0 0 12px;width:12px;height:12px;border-radius:50%;background:var(--swatch-accent)}
.theme-preview-line{display:block;width:31%;height:4px;border-radius:4px;background:var(--swatch-accent);opacity:.65}
.theme-preview-line:last-child{width:16%;opacity:.3}
.theme-name{display:block;color:var(--text);font-size:11px;font-weight:700;line-height:1.4;overflow-wrap:normal}
@media(max-width:700px){.theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.theme-option{padding:10px;min-height:88px}.theme-name{font-size:10px}.theme-swatch{padding:0 9px}}
@media(prefers-reduced-motion:reduce){.theme-option{transition:none}}

/* One compact set of section icons across the site. */
.sidebar .nav-item{min-height:48px;gap:14px;border-radius:12px;margin-bottom:5px}
.sidebar .nav-item .icon{width:22px;height:22px;flex-shrink:0;stroke-width:1.8}
.sidebar .nav-item.is-active{background:var(--panel-hover);color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}
:root[data-theme="black"] .editorial-page p,:root[data-theme="black"] .editorial-page li,:root[data-theme="black"] .editorial-page .page-lead{color:var(--muted)}
:root[data-theme="black"] .editorial-page a:not(.card-link):not(.button-primary),:root[data-theme="black"] .game-editorial a{color:var(--text)}
:root[data-theme="black"] .editorial-card,:root[data-theme="black"] .full-game-list,:root[data-theme="black"] .faq-list details,:root[data-theme="black"] .contact-card,:root[data-theme="black"] .contact-draft{background:var(--panel);border-color:var(--line)}
:root[data-theme="black"] .contact-draft input,:root[data-theme="black"] .contact-draft textarea,:root[data-theme="black"] .contact-draft select,:root[data-theme="black"] .button-secondary{background:var(--bg);border-color:var(--line);color:var(--text)}

:root[data-theme="black"] .sidebar .nav-item{color:var(--muted)}
:root[data-theme="black"] .sidebar .nav-item .icon{color:inherit}
:root[data-theme="black"] .sidebar .nav-item:hover,:root[data-theme="black"] .sidebar .nav-item.is-active{color:var(--text);background:var(--panel-hover)}
:root[data-theme="black"] .header-button{background:var(--panel);color:var(--text);border:1px solid var(--line)}
:root[data-theme="black"] .header-button.accent{background:var(--text);color:var(--bg)}
:root[data-theme="black"] .header-button:hover{background:var(--panel-hover);color:var(--text)}
:root[data-theme="black"] .collection-card{background:linear-gradient(120deg,#171717,#303030)}
