/* Additive light surfaces; dark mode retains the original GTAGeo design. */
html[data-theme="light"] {
    --bg: #f6f7f9;
    --panel: #fff;
    --soft: #edf1f5;
    --line: #b5bfcb;
    --text: #17212d;
    --muted: #526070;
    --accent: #006b85;
    --gold: #806000;
    --bad: #b92547;
    --good: #167044;
}
html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] .site-header { background: rgba(255,255,255,.97); }
html[data-theme="light"] :is(.menu-panel,.property-menu.open,.card,.panel,.notice,.stat,.row-card,.hero-card,.map-sidebar,.map-results,.map-intel-panel,.map-callout,.about-stat-strip,.about-method-grid,.about-network,.home-character-feature,.creator-profile-rail>section,.creator-profile-community-links a) {
    background: var(--panel); color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
html[data-theme="light"] :is(input,select,textarea,.quick-search input,.big-search input,.hero-search input,.home-launch-hero .hero-search input) {
    background: #fff; color: #17212d; border-color: #8492a3;
}
html[data-theme="light"] :is(input,textarea)::placeholder { color: #526070; opacity: 1; }
html[data-theme="light"] :is(button,.btn):not(.ghost):not(.property-menu-toggle) {
    background: linear-gradient(135deg,#48d6ff,#7b9aff); color: #001018;
}
html[data-theme="light"] :is(.property-menu-toggle,.header-tools summary,.ghost,.help-links a) { background: #fff; color: #17212d; }
html[data-theme="light"] :is(.about-community-links a,.about-standards,.about-community,.home-character-copy,.home-hype-queue,.map-results a) { background: #edf1f5; }
html[data-theme="light"] .home-character-copy { color: #17212d; }
html[data-theme="light"] :is(.creator-profile-video-copy h3 a,.creator-profile-community-links a) { color: var(--text); }
html[data-theme="light"] :is(.chat-dock-bar,.chat-window,.chat-settings-popover,.chat-line,.chat-dock-form,.chat-settings-head) { background: #fff; color: #17212d; border-color: #8492a3; }
html[data-theme="light"] :is(.chat-dock button,.chat-dock-form button) { background: #edf1f5; color: #17212d; }
html[data-theme="light"] :is(.chat-line p,.chat-line strong,.chat-line small,.chat-author) { color: #17212d; }
html[data-theme="light"] .site-footer { background: #edf1f5; }
html[data-theme="light"] :is(input,select,textarea,button,a,summary):focus-visible { outline: 2px solid #006b85; outline-offset: 3px; }
/* Preserve image-backed contrast, not data-dependent map/marker colors. */
html[data-theme="light"] :is(.home-launch-hero,.about-hero,.home-region-card,.home-character-image,.creator-profile-hero,.hero-visual,.about-map-visual) {
    --text: #f7fbff; --muted: #c5d1dc; --accent: #48d6ff; --gold: #f4c542;
}
html[data-theme="light"] :is(.home-launch-hero,.about-hero) .ghost { background: rgba(5,7,10,.72); color: #fff; }
@media (max-width: 360px) {
    .site-header .topbar { gap: 6px; padding-inline: 8px; }
    .site-header .brand { flex: 0 0 auto; font-size: 20px; }
    .site-header .property-menu-toggle { padding-inline: 8px; }
    .site-header .header-tools { gap: 6px; margin-left: auto; }
}
