/* One effective preference for both CSS and JS. Keep a conservative no-script
   fallback, but never let an unconditional OS media rule defeat an explicit choice. */
html[data-effects="reduced"], html[data-effects="reduced"] *, html[data-effects="reduced"] ::before, html[data-effects="reduced"] ::after {
  animation:none!important;transition:none!important;scroll-behavior:auto!important;
}
@media (prefers-reduced-motion:reduce) {
  html:not([data-effects]), html:not([data-effects]) *, html:not([data-effects]) ::before, html:not([data-effects]) ::after {
    animation:none!important;transition:none!important;scroll-behavior:auto!important;
  }
}
/* Account > Settings. Native label/select everywhere, including forced colors. */
.account-settings {max-width:760px;margin:0 auto;color:var(--paper,#eef4fb)}
.settings-back {display:inline-flex;align-items:center;gap:6px;color:var(--quiet,#b3c5da);font-size:14px;min-height:36px}.settings-back .i {width:15px;height:15px}
.account-settings header {margin:18px 0 24px}.account-settings h1 {margin:7px 0 4px;font:650 clamp(24px,3.5vw,40px)/1.16 var(--font-display,Onest,sans-serif);letter-spacing:-.04em}
.account-settings header p {margin:0;color:var(--quiet,#adc0d6);font-size:14px}
.settings-panel {border:1px solid var(--line,#344050);border-radius:16px;background:var(--panel-new,#111925);padding:clamp(16px,3vw,26px)}
.settings-panel h2 {margin:0 0 16px;font-size:19px}.settings-panel nebula-motion {display:block}
.settings-row {display:flex;align-items:center;justify-content:space-between;gap:16px 28px}.settings-row label {display:block;margin:0;color:inherit;font-size:16px;font-weight:650}
.settings-row p {max-width:42ch;margin:5px 0 0;color:var(--quiet,#adc0d6);font-size:14px;line-height:1.5}
.settings-row select {width:182px;max-width:100%;flex:none;min-height:42px;padding:8px 10px;color-scheme:dark;font:550 14px/1.3 var(--font-body,Onest,sans-serif);cursor:pointer}
.settings-state {min-height:1.4em;margin-top:10px;color:var(--quiet,#adc0d6);font-size:13px}
.settings-privacy {display:flex;align-items:center;gap:10px;width:100%;margin-top:14px;padding:14px 16px;border:1px solid var(--line,#344050);border-radius:13px;background:transparent;color:inherit;font-size:14px;text-align:left}.settings-privacy .i:last-child {margin-left:auto}
.settings-back:focus-visible,.settings-privacy:focus-visible,.settings-row select:focus-visible {outline:2px solid #b6dcff;outline-offset:3px}
@media(max-width:550px){.settings-row {align-items:stretch;flex-direction:column}.settings-row select {width:100%}}

/* A short, real loading screen. All its artwork is inline: it doesn't depend
   on the planet atlas, an external font or the very scene it's waiting for. */
#siteLaunch {color-scheme:dark;width:min(452px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;padding:0;color:#f0f6fc;background:#0a1221;border:1px solid #516176;border-radius:20px;box-shadow:0 25px 90px #000a;font-family:Onest,system-ui,sans-serif}
#siteLaunch:not([open]) {display:none}
#siteLaunch::backdrop {background:#060b15ed}
#siteLaunch .launch-box {padding:clamp(20px,3.2vw,32px);background:radial-gradient(ellipse at 75% 2%,#1a3148 0%,transparent 64%)}
.launch-cap {display:flex;justify-content:space-between;align-items:center;color:#b4c6d8;font:550 10px/1.4 ui-monospace,monospace;letter-spacing:.13em;text-transform:uppercase}
.launch-cap b {color:#e7f2ff;letter-spacing:.22em}.launch-chart {display:block;width:100%;height:94px;margin:10px 0 4px;overflow:visible}
.launch-chart .launch-orbit {transform:rotate(-11deg);transform-origin:150px 42px}
html[data-effects="full"][data-fx-known] .launch-trace {animation:nb-scan 3.4s linear infinite}
@keyframes nb-scan {to{stroke-dashoffset:-100}}
#siteLaunch h1 {margin:3px 0 8px;color:#f3f8ff;font:650 clamp(24px,4.5vw,30px)/1.15 var(--font-display,Onest,system-ui,sans-serif);letter-spacing:-.045em}
#siteLaunch [data-boot-status] {margin:0;min-height:2.6em;font-size:14px;line-height:1.4;color:#cbd9e7}
.launch-steps {display:flex;gap:5px;margin:12px 0 19px}.launch-steps i {height:3px;flex:1;border-radius:2px;background:#2c3f54}.launch-steps i:first-child,#siteLaunch[data-stage="surface"] .launch-steps i:nth-child(2) {background:#9acbd8}
.launch-actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#siteLaunch .launch-actions button {padding:7px 12px;min-height:40px;border:1px solid #b7d9ed;border-radius:9px;background:#dbeef8;color:#142335;font:650 13px/1.2 Onest,system-ui,sans-serif}
@media (forced-colors:active){.launch-steps {display:none}}
#siteLaunch[data-stage="ready"] .launch-steps i {background:#9acbd8}
.orb-fallback {color:#beceda;font-size:13px}.orb-fallback a {text-decoration:underline;text-underline-offset:3px}

#siteLaunch h1:focus {outline:none} /* initial status focus; buttons keep their keyboard outlines */
