.theme-toggle{display:flex!important;gap:7px;align-items:center;border:1px solid var(--line);border-radius:25px;padding:8px 11px;font-size:11px;white-space:nowrap}.theme-toggle>span:first-child{font-size:18px;line-height:1}.theme-toggle:hover{background:var(--bg)}
:root[data-theme=dark]{--ink:#e2edf2;--sub:#a2b4bf;--bg:#101b24;--line:#344652;--teal:#69c7bb;--orange:#f09563;--white:#1b2b36;--shadow:0 12px 35px #0003;background:#101b24;color:#e2edf2}
[data-theme=dark] body,[data-theme=dark] .main{background:var(--bg)}
[data-theme=dark] :is(.sidebar,.panel,.air-card,.profile-card,.module-card,.country-card,.airport-results,dialog,.route-panel,.wind-panel,.source-summary,.auth-form-card,.admin-panel){background:#1b2b36;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .topbar{background:#172630e8;border-color:var(--line)}
[data-theme=dark] :is(.btn.secondary,.circle,.lang,.search,input,select,textarea,.filter,.auth-signout,.theme-toggle){background:#223540;color:var(--ink);border-color:#3b515d}
[data-theme=dark] :is(input,textarea)::placeholder{color:#a0b1bc}
[data-theme=dark] :is(.nav button,.muted,.credit,.fine,.day-pill,.breadcrumb,.date){color:#aabdc7}
[data-theme=dark] .nav button.active,[data-theme=dark] .filter.active,[data-theme=dark] .btn.on,[data-theme=dark] .btn.secondary.on{background:#244c4b;color:#a4e4d7;border-color:#589c8f}
[data-theme=dark] :is(.nav button:hover,.airport-result:hover,.group-records button:hover){background:#2a414c}
[data-theme=dark] .hero{background:#244247}[data-theme=dark] .hero:before{background:radial-gradient(ellipse at 72% 60%,#315c5e 0,transparent 57%)}
[data-theme=dark] .hero p,[data-theme=dark] .hero-coordinate{color:#bdd1d2}
[data-theme=dark] :is(.prototype,.pill){background:#2f4447;color:#c0ded4;border-color:#47605e}
[data-theme=dark] .avatar,[data-theme=dark] .profile-photo,[data-theme=dark] .round-icon{background:#2c4a4d;color:#b7e6dc}
[data-theme=dark] .map-shell{background:#182b32}
[data-theme=dark] .flight-shell :is(.circle,.map-ribbon>div,.map-legend,.wind-panel,.route-panel,.gps-readout,.atmosphere-panel){background:#1a2c37f5!important;color:var(--ink)!important;border-color:var(--line)!important}
[data-theme=dark] .map-ribbon strong{color:#d8eae9}
[data-theme=dark] .map-notices span{background:#354037ef;border-color:#71654a;color:#eadfc2}
[data-theme=dark] :is(.maplibregl-popup-content,.leaflet-popup-content-wrapper,.leaflet-popup-tip){background:#20343f;color:var(--ink)}
[data-theme=dark] :is(.weather-raw,.auth-notice,.admin-notice){background:#142630;color:#deedf3;border-color:#3b5560}
[data-theme=dark] :is(.maplibregl-ctrl-attrib,.leaflet-control-attribution){background:#182b35e8!important;color:#bdccd4}
[data-theme=dark] .leaflet-control-attribution a,[data-theme=dark] .maplibregl-ctrl-attrib a{color:#b9e7e0}
[data-theme=dark] .leaflet-layer[data-map-source=streets]{filter:invert(.92) hue-rotate(180deg) saturate(.5) brightness(.85)}
[data-theme=dark] .auth-shell{background:#12232e}[data-theme=dark] .auth-card{background:#20333f;color:var(--ink)}
[data-theme=dark] .weather-table :is(th,td){border-color:var(--line)}
@media(max-width:800px){.theme-toggle{display:flex!important;padding:6px 9px}.theme-toggle>span:last-child{display:none}}
