/* Naija Crush visual themes: classic + high-contrast midnight + botanical olive. */
.theme-picker{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:5px 7px;background:#ffffffd9;border:1px solid #e8d8ec;border-radius:13px;font-size:9px;font-weight:900;letter-spacing:.6px;color:#6d5580}
.theme-picker select{background:transparent;border:0;outline-offset:2px;color:#523269;font-weight:900;font-size:11px;max-width:88px;cursor:pointer;padding:3px 0}
@media(max-width:740px){.theme-picker{padding:4px;gap:0}.theme-picker span{display:none}.theme-picker select{max-width:67px;font-size:10px}}
html[data-theme="dark"]{color-scheme:dark;--purple:#ece0ff;--pink:#ff85be;--forest:#8de2b6;--ink:#ece3ff;background:#0c111c;color:#eaeaf2}
html[data-theme="dark"] body{background:radial-gradient(circle at 8% 12%,#382752 0,transparent 42%),radial-gradient(circle at 92% 65%,#1e3540 0,transparent 48%),#0c111c;color:#eaebf1}
html[data-theme="dark"] .topbar{border-color:#34354b}
html[data-theme="dark"] .brand,html[data-theme="dark"] .stage-head h1,html[data-theme="dark"] .destination-panel h2{color:#f7efff}
html[data-theme="dark"] .brand small,html[data-theme="dark"] .stage-head p,html[data-theme="dark"] .destination-panel p,html[data-theme="dark"] .side-section p,html[data-theme="dark"] .side-action small,html[data-theme="dark"] .map-hint,html[data-theme="dark"] .map-disclaimer,html[data-theme="dark"] footer{color:#b9b3ca}
html[data-theme="dark"] .stage,html[data-theme="dark"] .pill,html[data-theme="dark"] .iconBtn,html[data-theme="dark"] .mini-stats>div,html[data-theme="dark"] .side-section,html[data-theme="dark"] .side-actions,html[data-theme="dark"] .destination-panel,html[data-theme="dark"] .advertising-panel,html[data-theme="dark"] .dialog{background:#1b2131;color:#f0edf8;border-color:#3a4053}
html[data-theme="dark"] .stage-head{background:linear-gradient(125deg,#202235,#2f213b)}
html[data-theme="dark"] .game-view{background:linear-gradient(165deg,#171f30,#32263c 75%,#1b2632)}
html[data-theme="dark"] .map-view{background:radial-gradient(circle at 8% 6%,#27384a,transparent 35%),linear-gradient(145deg,#192638,#232239)}
html[data-theme="dark"] .nigeria-map-wrap{background:linear-gradient(150deg,#273c42,#1b3736);border-color:#415f5a}
html[data-theme="dark"] .destination-panel h2,html[data-theme="dark"] .mini-stats strong,html[data-theme="dark"] .side-section h3,html[data-theme="dark"] .ad-copy strong,html[data-theme="dark"] .side-action,html[data-theme="dark"] .panel-top{color:#f3edfc}
html[data-theme="dark"] .hero-view{background:linear-gradient(180deg,#15142665,#1a1a34b3),url('assets/homeScene.webp') center 49%/cover}
html[data-theme="dark"] .hero-badges span,html[data-theme="dark"] .secondary-cta{background:#293044ee;color:#fceaf9;border-color:#51566f}
html[data-theme="dark"] .map-legend,html[data-theme="dark"] .atlas-topline,html[data-theme="dark"] .chapterbar{color:#c0e7d8}
html[data-theme="dark"] .goal-chip,html[data-theme="dark"] .boosterbar button,html[data-theme="dark"] .pause-button,html[data-theme="dark"] .chapterbar button,html[data-theme="dark"] .level-tile:not(.open):not(.won),html[data-theme="dark"] .ad-controls button,html[data-theme="dark"] .ranking-tabs button:not(.active){background:#333749;color:#eee8fa;border-color:#545063}
html[data-theme="dark"] .level-tile.locked{color:#aeb0c1!important;background:#292c3a!important}
html[data-theme="dark"] .scoreline strong,html[data-theme="dark"] .scoreline small,html[data-theme="dark"] .board-status,html[data-theme="dark"] .boosterbar button b,html[data-theme="dark"] .boosterbar button small{color:#f2e6fc}
html[data-theme="dark"] .ad-controls,html[data-theme="dark"] .side-action{border-color:#404457}
html[data-theme="dark"] .theme-picker{background:#242b3b;color:#d8d0e4;border-color:#495066}
html[data-theme="dark"] .theme-picker select{color:#f8eeff;background:#242b3b}
html[data-theme="dark"] .ad-copy span,html[data-theme="dark"] .ad-controls{color:#c7bcd7}
html[data-theme="dark"] .dialog h2,html[data-theme="dark"] .dialog p{color:#f1eafa}
html[data-theme="dark"] .fact-list-row,html[data-theme="dark"] .hall-row:nth-child(odd){background:#2b3041;color:#e1d9ef}
html[data-theme="dark"] .hall-row b{color:#edd6fa}
html[data-theme="dark"] .win-history{background:#243c35;border-color:#436956}
html[data-theme="dark"] .win-history p{color:#d7f1df!important}
html[data-theme="dark"] .victory-modal .dialog{background:radial-gradient(ellipse at top,#383147,#1c2232 75%);border-color:#635649}
html[data-theme="dark"] .ad-creative{background:#303348}
html[data-theme="dark"] .free-chip{background:#214335;color:#b6ffd7}
html[data-theme="dark"] .destination-details span{background:#383647;color:#e0d3ec}
html[data-theme="dark"] .destination-secondary{background:#263e43;color:#c3fff0;border-color:#4c7479}
html[data-theme="dark"] .hall-table{border-color:#464458}
html[data-theme="dark"] .hall-heading{background:#403053}
html[data-theme="dark"] .modal-actions button.ghost{background:#31374b;color:#f4e7ff}
html[data-theme="olive"]{--purple:#3c5231;--pink:#7a8e43;--forest:#557841;--ink:#364932;color:#3c4732;background:#f2f5e9}
html[data-theme="olive"] body{background:radial-gradient(circle at 7% 6%,#dbe9c3 0,transparent 39%),radial-gradient(circle at 91% 73%,#f5e9bb 0,transparent 44%),#f6f7ed;color:#374332}
html[data-theme="olive"] .topbar{border-color:#d4dbc5}
html[data-theme="olive"] .brand,html[data-theme="olive"] .stage-head h1,html[data-theme="olive"] .destination-panel h2,html[data-theme="olive"] .mini-stats strong,html[data-theme="olive"] .side-section h3,html[data-theme="olive"] .ad-copy strong{color:#35472d}
html[data-theme="olive"] .brand strong{color:#718848}
html[data-theme="olive"] .brand-mark,html[data-theme="olive"] .cta,html[data-theme="olive"] .destination-primary,html[data-theme="olive"] .save-nickname{background:linear-gradient(125deg,#586d39,#91a45a);box-shadow:0 5px 15px #687e3137;color:white}
html[data-theme="olive"] .journey-card,html[data-theme="olive"] .map-banner,html[data-theme="olive"] .advertising-heading,html[data-theme="olive"] .hall-heading{background:linear-gradient(115deg,#344830,#667e47)}
html[data-theme="olive"] .stage,html[data-theme="olive"] .pill,html[data-theme="olive"] .iconBtn,html[data-theme="olive"] .mini-stats>div,html[data-theme="olive"] .side-section,html[data-theme="olive"] .side-actions,html[data-theme="olive"] .destination-panel,html[data-theme="olive"] .advertising-panel{background:#fffef8;border-color:#dce3cc}
html[data-theme="olive"] .stage-head{background:linear-gradient(125deg,#fdfef8,#f1f6e5)}
html[data-theme="olive"] .map-view{background:radial-gradient(circle at 5% 4%,#e8eecf,transparent 45%),#f8f8ed}
html[data-theme="olive"] .game-view{background:linear-gradient(175deg,#f0f9e6,#f7f3e3,#fffdf7)}
html[data-theme="olive"] .nigeria-map-wrap{background:linear-gradient(150deg,#e1eddf,#ebf4da);border-color:#c9dab9}
html[data-theme="olive"] .destination-panel p,html[data-theme="olive"] .side-section p,html[data-theme="olive"] .stage-head p,html[data-theme="olive"] .ad-copy span,html[data-theme="olive"] .ad-controls{color:#75816c}
html[data-theme="olive"] .panel-top,html[data-theme="olive"] .side-action,html[data-theme="olive"] .chapterbar,html[data-theme="olive"] .atlas-topline{color:#506748}
html[data-theme="olive"] .ad-action,html[data-theme="olive"] .level-tile.open,html[data-theme="olive"] .ranking-tabs button.active{background:linear-gradient(120deg,#657c45,#91a450);color:white}
html[data-theme="olive"] .destination-details span,html[data-theme="olive"] .level-tile:not(.open),html[data-theme="olive"] .ranking-tabs button:not(.active){background:#f2f5e6;border-color:#d6dfbd;color:#60764b}
html[data-theme="olive"] .level-tile.won{background:#f9eabf;color:#615a38}
html[data-theme="olive"] .goal-chip,html[data-theme="olive"] .ad-controls button,html[data-theme="olive"] .boosterbar button{border-color:#d5dfc8;color:#536945}
html[data-theme="olive"] .theme-picker{background:#f5f8ed;border-color:#cbd7b9;color:#526b40}
html[data-theme="olive"] .theme-picker select{color:#405937}
html[data-theme="olive"] .moves-pill{background:#eff2d1;border-color:#d7dfaa}
html[data-theme="olive"] .moves-pill strong{color:#68833c}
html[data-theme="olive"] .dialog{border-color:#dce3c7}
html[data-theme="olive"] .dialog h2{color:#39572c}
html[data-theme="olive"] .win-history{background:linear-gradient(120deg,#edf5e2,#faf9e8);border-color:#c5daab}
html[data-theme="olive"] .win-history p{color:#3d6037!important}
html[data-theme="olive"] .victory-modal .dialog{background:radial-gradient(ellipse at top,#f4f6d3,#fffefa 62%)}
html[data-theme="olive"] .fact-list-row{background:#f3f6e8;color:#4e6642}
@media(prefers-reduced-motion:reduce){html[data-theme] *,html[data-theme] *::before,html[data-theme] *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Contrast polish */
html[data-theme="dark"] .note{color:#f7e8ff;text-shadow:0 1px 3px #101421}
html[data-theme="dark"] .brand small{color:#c8bfdb}
html[data-theme="olive"] .hero-badges span{color:#435b35}
html[data-theme] .ad-placeholder-art strong{color:#fff;text-shadow:0 2px 5px #25213488}
html[data-theme] .theme-picker select:focus-visible{outline:2px solid #e6bb67;outline-offset:2px;border-radius:6px}
