/* GameWave Blue Night — white game cards over dark navy; homepage-only opt-in theme. */
.gw-theme-toggle{border:1px solid #bad4d8;border-radius:10px;background:#fff;color:#1c4c63;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;min-height:38px;font-size:12px;font-weight:800;white-space:nowrap}
.gw-theme-toggle:hover{background:#e7f7f5}.gw-theme-icon{font-size:17px;line-height:1}
html[data-gw-theme="dark"]{color-scheme:dark;--bg:#081b30;--paper:#fff;--ink:#edf5ff;--muted:#acc4d6;--stroke:#bcd4dd;--teal-dark:#79d9ce;--shadow:0 12px 30px rgba(0,0,0,.2)}
html[data-gw-theme="dark"] body{background:radial-gradient(ellipse at 50% -140px,rgba(36,95,139,.34),transparent 660px),linear-gradient(180deg,#102d4b 0%,#081b30 680px,#07182b 100%);color:#eaf5ff}
html[data-gw-theme="dark"] .topbar{background:#0a223c;color:#eaf5ff;border-bottom-color:#254b69}
html[data-gw-theme="dark"] .brand-copy small{color:#83d9d3}
html[data-gw-theme="dark"] .navlinks{color:#c4dce9}
html[data-gw-theme="dark"] .navlinks a:hover{color:#8df0dc}
html[data-gw-theme="dark"] .lang-btn{background:#193b57;color:#e9f7ff;border-color:#42637c}
html[data-gw-theme="dark"] .lang-btn:hover{background:#27506d}
html[data-gw-theme="dark"] .nav-pill:not(.gw-submit-nav){background:#183954;border-color:#3a6079;color:#e9f7ff}
html[data-gw-theme="dark"] .nav-pill.is-selected{background:#2b576c}
html[data-gw-theme="dark"] .gw-theme-toggle{background:#1c435e;color:#e8fbff;border-color:#4c7590}
html[data-gw-theme="dark"] .gw-theme-toggle:hover{background:#2b5673}
html[data-gw-theme="dark"] .gw-storefront-eyebrow{color:#7ae0d3}
html[data-gw-theme="dark"] .gw-storefront-heading,html[data-gw-theme="dark"] .gw-categories-head h3{color:#f2f8ff}
html[data-gw-theme="dark"] .gw-storefront-all{color:#91eee2}
html[data-gw-theme="dark"] .gw-categories-head span{color:#b7cde0}
html[data-gw-theme="dark"] .gw-category-card{color:#153b4b;background:#fff;border-color:#a9cadc;box-shadow:0 8px 28px rgba(0,0,0,.12)}
html[data-gw-theme="dark"] .gw-category-copy small{color:#557581}
html[data-gw-theme="dark"] .intro-title h1,html[data-gw-theme="dark"] .intro-count{color:#eef8ff}
html[data-gw-theme="dark"] .eyebrow{color:#91e0d4}
html[data-gw-theme="dark"] .library-tabs{background:#0d2a45;border-color:#315473}
html[data-gw-theme="dark"] .library-tab{color:#c0d9e8}
html[data-gw-theme="dark"] .library-tab:hover{background:#244965;color:#fff}
html[data-gw-theme="dark"] .library-tab.active{color:#11394c;background:#fff;border-color:#8bdfd2}
html[data-gw-theme="dark"] .library-tab .tab-count{background:#22465d;color:#d6eff6}
html[data-gw-theme="dark"] .library-tab.active .tab-count{background:#d8f3ef;color:#16695d}
html[data-gw-theme="dark"] .searchbox{background:#fff;border-color:#79b6c3;color:#173a4c}
html[data-gw-theme="dark"] #query{color:#163b4b}
html[data-gw-theme="dark"] #query::placeholder{color:#7693a2}
html[data-gw-theme="dark"] .filter-chip{color:#21485c;background:#fff}
html[data-gw-theme="dark"] .filter-chip.active{background:#d8f4ef;color:#0e635d}
html[data-gw-theme="dark"] .source-count{color:#35717c}
html[data-gw-theme="dark"] .statusline{border-bottom-color:#42637a}
html[data-gw-theme="dark"] .statusline p{color:#cad9e4}
html[data-gw-theme="dark"] .statusline p strong{color:#fff}
html[data-gw-theme="dark"] .select{color:#1d4958;background:#fff}
html[data-gw-theme="dark"] .view-toggle{background:#173c58;border-color:#507089}
html[data-gw-theme="dark"] .view-toggle button{color:#d0e5f1}
html[data-gw-theme="dark"] .view-toggle button.active{color:#174353;background:#fff}
/* Every catalogue card is white in night mode, including the cover-only view. */
html[data-gw-theme="dark"] .poster-card{padding:9px 9px 12px;border:1px solid #c6dfe7;border-radius:14px;background:#fff;color:#1b4150;box-shadow:0 8px 26px rgba(0,0,0,.12)}
html[data-gw-theme="dark"] .poster-card .poster-info{padding:10px 1px 0}
html[data-gw-theme="dark"] .poster-card .poster-title{color:#153c4b}
html[data-gw-theme="dark"] .poster-card .poster-meta{color:#62808a}
html[data-gw-theme="dark"] .game-card,html[data-gw-theme="dark"] .list-row,html[data-gw-theme="dark"] .empty,html[data-gw-theme="dark"] .table-scroll{color:#1a4151;background:#fff}
html[data-gw-theme="dark"] .game-card .game-title,html[data-gw-theme="dark"] .list-row .list-name,html[data-gw-theme="dark"] .empty h3{color:#193e4d}
html[data-gw-theme="dark"] .list-row .list-sub,html[data-gw-theme="dark"] .game-card .game-sub{color:#66818a}
html[data-gw-theme="dark"] .table-scroll .catalog-table{color:#1a4151}
html[data-gw-theme="dark"] .empty p{color:#597684}
html[data-gw-theme="dark"] .loadmore{background:#fff;color:#13475a}
html[data-gw-theme="dark"] .launcher-promo{background:linear-gradient(105deg,#0f354f,#164361);border-color:#41718a;color:#f4fbff}
html[data-gw-theme="dark"] .launcher-title{color:#fff}
html[data-gw-theme="dark"] .launcher-label{color:#8be9d7}
html[data-gw-theme="dark"] .launcher-description{color:#c3d7e4}
html[data-gw-theme="dark"] .launcher-download{background:#e3f6f8;color:#154058;border-color:#a1d8d9}
html[data-gw-theme="dark"] .launcher-download:hover{background:#fff}
html[data-gw-theme="dark"] .benefit-strip{background:#103955;border-color:#3f6982;color:#fff}
html[data-gw-theme="dark"] .benefit-strip p{color:#d0e1ea}
html[data-gw-theme="dark"] .footer{background:#07182b;border-color:#284560;color:#afc8da}
html[data-gw-theme="dark"] .footer a:hover{color:#a0eee5}
/* White modal surfaces retain dark text. */
html[data-gw-theme="dark"] .sheet-card,html[data-gw-theme="dark"] .gw-submit-dialog,html[data-gw-theme="dark"] .gw-news-dialog{color:#193e49;color-scheme:light}
html[data-gw-theme="dark"] .sheet-card .sheet-title{color:#193b47}
html[data-gw-theme="dark"] .gw-news-dialog .gw-news-title{color:#193b47}
html[data-gw-theme="dark"] .gw-news-dialog .gw-news-feature{color:#193b47}
html[data-gw-theme="dark"] .gw-rating-chip{color:#1b625e}
@media(max-width:1100px){.navlinks{display:none}}
@media(max-width:760px){.gw-theme-text{display:none}.gw-theme-toggle{padding:5px 9px;min-width:36px;min-height:37px}}
