#appearance-switch{font:600 10px/1.4 'Microsoft YaHei',Arial,sans-serif;letter-spacing:.02em;color:#d6e3f8;background:#21304775;border:1px solid #b1c8e040;border-radius:20px;padding:7px 10px;min-width:82px;max-width:104px;flex:0 0 auto;margin:0 0 0 7px;height:31px;cursor:pointer}#appearance-switch option{background:#12223a;color:#dce8fb}header{gap:10px}header nav{min-width:0}header nav a{white-space:nowrap}header>.header-link{display:none}html[data-theme=light]{--bg:#eaf0f6;--panel:#f6f9fc;--text:#18283d;--muted:#4b627d;--line:#526d8d40;--gold:#425e83;color-scheme:light}html[data-theme=light] body{background:#e8eef5!important;color:#1c2e45!important}html[data-theme=light] body:before{background:linear-gradient(110deg,#e9eff5ed,#edf3f9e8 50%,#e5edf5f0)!important}html[data-theme=light] header{background:#edf3f9f2!important;border-color:#819bb640;box-shadow:0 4px 20px #38526a12}html[data-theme=light] header :is(a,span,small),html[data-theme=light] footer :is(a,p,span,small){color:#28415f!important;text-shadow:none!important}html[data-theme=light] #appearance-switch,html[data-theme=light] #language-switch{color:#294463;background:#dde7f0;border-color:#7894b74d}html[data-theme=light] #appearance-switch option{background:#f2f6fb;color:#253d58}html[data-theme=light] #app :is(h1,h2,h3,h4,h5,h6,p,small,dt,dd,th,td,label,summary,.eyebrow,.english,.muted,.breadcrumbs,.card-tail,.snapshot,.release-meta,.fusion-slot-note,.official-sync,.guide-count,.search-mode-bar){color:#2a405c!important;text-shadow:none!important}html[data-theme=light] #app :is(h1,h2,h3,h4){color:#172e4b!important}html[data-theme=light] #app a{color:#244f79}html[data-theme=light] #app :is(.card,.panel,.portal,.relation-card,.cosmetic-card,.fusion-panel,.official-status-panel,.official-hangar-panel,.official-starmap,.community-note,.release-card,.news-card,.blueprint-row,.guide-sidebar,.guide-detail,.creator-independence,.creators-search,.recipe-head,.material-slot,.slot-effect,.fusion-metrics>div,.fusion-installed,.fusion-purchase-details,.crafting-product,.crafting-board,.workbench-search,.release-overview>div,.infobox,.toc){background:linear-gradient(120deg,#f7faffed,#e5edf6e8)!important;border-color:#6b87a542!important;box-shadow:0 5px 18px #35526b0a!important}html[data-theme=light] :is(input,select,textarea,button,.button){background:#eff5fb!important;color:#243e5c!important;border-color:#6e8aac66!important}html[data-theme=light] input::placeholder{color:#59708a!important}html[data-theme=light] :is(option,optgroup){background:#f4f8fc!important;color:#253d58!important}html[data-theme=light] #app button:is(.active,[aria-pressed=true]),html[data-theme=light] #app .button.primary{background:#ccddec!important;color:#163f69!important;border-color:#537ca1!important}html[data-theme=light] .scene-layer{opacity:.18!important}html[data-theme=light] :is(.creators-hero,.atlas-cover,.dossier-cover):before{background:linear-gradient(90deg,#e6edf5ef,#e4ecf5b0 55%,#e7edf54d)!important}html[data-theme=light] :is(.creators-hero,.atlas-cover,.dossier-cover):after{background:linear-gradient(0deg,#e8eef5,transparent 70%)!important}html[data-theme=light] #app .atlas-topics .portal{background:linear-gradient(110deg,#f7fafff5,#dce8f4ee)!important;border-color:#6a8aaf6b!important}html[data-theme=light] .atlas-title span{color:#1c385c!important}html[data-theme=light] #app .atlas-topics .portal p{color:#3e5875!important}html[data-theme=light] #app .atlas-overline,html[data-theme=light] #app .atlas-cover-deck,html[data-theme=light] #app .atlas-cover-meta{color:#304e70!important}html[data-theme=light] .creator-row{background:#eff5fa70!important;border-color:#718eaa44!important}html[data-theme=light] .hangar-card,html[data-theme=light] .hangar-popover{background:#edf4fbf5;color:#253f5e;border-color:#7c96b355}html[data-theme=light] .hangar-inline .hangar-card,html[data-theme=light] .hangar-inline .hangar-popover{background:transparent!important}html[data-theme=light] #app .power-board,html[data-theme=light] #app .power-component{background:#e9f1f9!important;border-color:#6989aa55!important}html[data-theme=light] #app .power-cell[aria-pressed=true]{background:#c17b26!important;color:#fff!important}html[data-theme=light] #app .power-cell[aria-pressed=false]{background:#c8d4e1!important}html[data-theme=light] .community-verse:before{opacity:.4!important}html[data-theme=light] footer{background:linear-gradient(transparent,#dfe8f3)!important}html[data-theme=light] :is(table tr,table td,table th){border-color:#6b87a538!important}html[data-theme=light] .badge{color:#345474!important;background:#d4e2ef!important;border-color:#7290b444!important}html[data-theme=light] :is(.positive,.benefit){color:#1b6a43!important}html[data-theme=light] :is(.negative,.penalty,.power-warning){color:#a14529!important}html[data-theme=light] .creators-source-register,html[data-theme=light] .creator-disclaimer-final,html[data-theme=light] .creators-credit-grid>div{background:none!important}html[data-theme=light] .brand-mark{filter:drop-shadow(0 1px 2px #2a456b)}
@media(min-width:1000px) and (max-width:1450px){header{padding-left:2vw!important;padding-right:2vw!important;gap:7px!important}header>.brand{min-width:185px;max-width:200px}header nav a{font-size:10px!important;padding-left:7px!important;padding-right:7px!important}header nav .nav-dsa-isolated{margin-left:16px!important;padding-left:8px!important}#appearance-switch{max-width:85px;min-width:75px;padding-left:7px;padding-right:7px;margin-left:0}}@media(max-width:700px){#appearance-switch{font-size:10px;min-width:75px;max-width:85px;padding:6px 7px;margin-left:3px}header{flex-wrap:wrap}}

html[data-theme=light] header .brand .brand-emblem,html[data-theme=light] header .brand .brand-title,html[data-theme=light] header .brand b{color:#244563!important}header .brand .brand-title{white-space:nowrap;font-size:13px!important}html[data-theme=light] #app :is(.power-group strong,.power-component strong,.power-group small,.power-component small,.hangar-name,.hangar-phase,.hangar-countdown){color:#294665!important}

.header-utilities{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:0 0 auto;margin-left:auto;min-width:0}.header-utilities #language-switch,.header-utilities #appearance-switch{margin-left:0!important}.header-utilities #language-switch{flex:0 0 auto}header nav{flex:1;justify-content:center}@media(max-width:700px){.header-utilities{margin-left:auto;gap:5px}}

#appearance-switch{display:inline-flex;align-items:center;justify-content:center;gap:6px}#appearance-switch svg{width:14px;height:14px;flex:0 0 14px}#appearance-switch span{font-size:10px;white-space:nowrap}
@media(min-width:701px) and (max-width:1450px){body header{display:flex!important;flex-wrap:wrap!important;height:auto!important;align-items:center;row-gap:3px!important;padding-top:10px!important;padding-bottom:0!important}body header>.brand{min-width:230px!important;max-width:none!important;flex:0 0 auto!important}body header>.header-utilities{margin-left:auto!important}body header>nav{order:3!important;flex:0 0 100%!important;width:100%!important;justify-content:center!important;gap:3px!important;overflow-x:auto}body header nav a{font-size:12px!important;padding:10px 12px!important}body header .brand-title{font-size:14px!important}}
/* Light theme: readable text, visible hierarchy and distinct interaction states. */
html[data-theme=light]{--text:#182c43;--muted:#435872;--accent:#224f7e;--gold:#78521d;--line:#61799455}
html[data-theme=light] #app :is(span,strong,b,li,em,time,output,legend){color:#243d58!important;text-shadow:none!important}
html[data-theme=light] #app :is(p,small,dt,dd,label,summary,.muted,.english,.eyebrow,.breadcrumbs,.card-tail){color:#40546d!important;opacity:1}
html[data-theme=light] #app :is(a,.task-source-link){color:#164f83!important}
html[data-theme=light] #app :is(h1,h2,h3,h4,h5,h6){color:#172e48!important}
html[data-theme=light] #app :is(.page-heading,.entry-heading,.fusion-heading,.sandbox-heading,.fusion-ship-selector-bar,.star-sidebar,.star-info,.star-provenance,.star-scene-tools,.fusion-signature-mode,.signature-board,.fusion-installed,.power-table-head,.power-components,.fusion-quality-table){background:#edf3f9!important;border-color:#8397b055!important}
html[data-theme=light] #app :is(.fusion-item-stats>div,.fusion-metrics>div,.signature-grid>div,.spec-panel,.slot-current,.equipment-candidate,.reward-card,.acquisition-task-list>div,.fusion-current-ship){background:#f2f6fb!important;color:#243d58!important}
html[data-theme=light] #app :is(th,.power-table-head){background:#dce7f2!important;color:#29435f!important}
html[data-theme=light] #app :is(.fusion-calculation,.power-calculation,.signature-board details,.acquisition-task-list,.creator-description,.creator-video small){color:#40546d!important}
html[data-theme=light] #star-label-layer button{background:#f2f6fbed!important;color:#183f61!important;text-shadow:none}
html[data-theme=light] #app .official-services b.ok,html[data-theme=light] #app .positive{color:#146138!important}
html[data-theme=light] #app .official-services b.warning{color:#554589!important}html[data-theme=light] #app .official-services b.error,html[data-theme=light] #app .negative{color:#983923!important}
html[data-theme=light] #app :is(button,a.button):focus-visible{outline:3px solid #2466a1;outline-offset:3px}
html[data-theme=light] #app :is(.inline-note,.notice,.warning-note){background:#e3edf4!important;color:#304c63!important;border-color:#7693ab66!important}
/* Light content surfaces must change with their text palette, including nested detail views. */
html[data-theme=light] #app :is(.wiki-layout article,.entry-metric,.falloff-panel,.extra-spec,.buy-summary,.buy-card,.exchange-sidebar,.exchange-detail,.exchange-material,.exchange-reward-group,.exchange-help,.exchange-warning,.variant-acquisition,.variant-materials>div,.variant-contracts,.tool-feature,.fleet-brief,.industry-intro-link,.fleet-source,.member-card,.archive-quick-search,.creators-home-entry,.guide-library-entry,.cosmetic-intro,.cosmetic-context,.cosmetics-callout,.appearance-facts span,.inventory-summary span,.inventory-fleet-grid>div,.ccu-ship-matches,.operations-bar,.workbench-tabs,.workbench-saved,.craft-materials,.craft-product,.slot-resource,.slot-effects,.craft-stat-grid>div,.craft-plan,.craft-panel-heading,.crafting-toolbar,.fusion-craft-status,.refinery-toolbar,.refinery-sidebar,.refinery-details,.refinery-methods,.refinery-facility-grid>div,.material-refinery-link){background:#f3f7fb!important;background-image:none!important;color:#243d58!important;border-color:#9aaec555!important;box-shadow:0 4px 16px #35526b08!important}
html[data-theme=light] #app :is(#filters,#cosmetic-filters,.guide-meta span,.community-note-meta span,.route-visual>span,.summary-grid .highlight){background:#e7eff7!important;color:#29435f!important;border-color:#8fa7c255!important}
html[data-theme=light] #app :is(.card .image,.cosmetic-picture,.craft-product-image,.official-news-image){background:#dde7f1!important}
html[data-theme=light] #app :is(.entry-metric strong,.damage-output,.falloff-summary,.auec-card-note,.exchange-help,.exchange-warning){color:#294d70!important}
html[data-theme=light] #app .damage-chart text{fill:#40546d!important}
html[data-theme=light] #app tr:nth-child(even)>td{background:#eaf1f8!important}html[data-theme=light] #app tbody tr:hover>td{background:#dce9f5!important}
html[data-theme=light] #app :is(.library-tabs a.active,.equipment-tabs .active,.guide-tabs button.active,.guide-list>button.active,.refinery-list button.active,.blueprint-row.active,.exchange-list button[aria-pressed=true],.spec-tabs [aria-selected=true]){background:#d0e1ef!important;color:#153f68!important;border-color:#537ca1!important}
html[data-theme=light] #app .insight-changed{background:#dceaf6!important}
/* Photo titles retain a local scrim so their contrast does not depend on a particular frame. */
html[data-theme=light] #app .atlas-cover .hero-content{background:radial-gradient(ellipse at center,#eff5fbd9,transparent 72%)}
