:root {
  color-scheme: dark;
  --bg: #090d12;
  --panel: #10151c;
  --line: #252b34;
  --ink: #f0f1f2;
  --secondary: #b1b6c0;
  --muted: #8b929f;
  --accent: #c0d8af;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button { border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { opacity: .3; cursor: default; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-header { min-height: 88px; margin: 0 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); gap: 78px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 650; letter-spacing: 4px; }
.brand-mark { width: 32px; height: 32px; color: var(--accent); }
.brand-dot { color: var(--accent); }
nav { display: flex; align-self: stretch; gap: 31px; align-items: center; }
nav a, nav button { color: var(--muted); font-size: 12px; height: 100%; display: flex; align-items: center; gap: 10px; padding: 0; }
nav .nav-active { color: var(--ink); position: relative; }
.nav-active::after { content: ""; position: absolute; height: 2px; background: var(--accent); bottom: -1px; width: 100%; }
nav button:hover { color: var(--ink); }
.header-note { display: flex; align-items: center; gap: 9px; margin-left: auto; font-size: 11px; color: var(--muted); }
.status-dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px #c0d8af26; flex-shrink: 0; }
main { max-width: 1680px; margin: auto; padding: 0 44px; }
.intro { padding: 39px 0 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.eyebrow { font-size: 9px; letter-spacing: 2px; color: var(--accent); font-weight: 500; display: flex; gap: 9px; align-items: center; }
.tiny-line { height: 1px; width: 19px; background: var(--accent); }
h1 { font-size: clamp(32px, 3.1vw, 48px); font-weight: 400; letter-spacing: -1.8px; margin: 14px 0 12px; line-height: 1.1; }
.intro-description { color: var(--muted); font-size: 12px; margin: 0; }
.intro-coordinate { text-align: right; padding-bottom: 2px; }
.intro-coordinate > span { font-size: 8px; letter-spacing: 1.6px; color: var(--muted); }
.intro-coordinate p { margin: 10px 0 0; color: var(--secondary); font-size: 10px; }
.intro-coordinate p span { color: #5a626d; padding: 0 9px; }
.explorer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 16px; }
.universe { min-width: 0; position: relative; min-height: 592px; background: radial-gradient(ellipse at 45% 44%, #12192366, transparent 65%), #0b0f15; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
#solar-system { width: 100%; height: 100%; position: absolute; inset: 0; display: block; touch-action: none; cursor: grab; }
#solar-system.dragging { cursor: grabbing !important; }
.scene-toolbar { position: absolute; z-index: 2; top: 20px; left: 23px; right: 20px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; gap: 12px; }
.scene-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; letter-spacing: 1.25px; }
.view-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: #0c1118; pointer-events: auto; }
.view-switch button { color: var(--muted); padding: 7px 11px; font-size: 10px; border-radius: 4px; }
.view-switch button.active { background: #262d36; color: #eceef0; box-shadow: 0 1px 3px #0003; }
.scene-caption { position: absolute; left: 23px; bottom: 119px; display: flex; gap: 9px; font-size: 7px; letter-spacing: 1.5px; color: var(--secondary); line-height: 1.8; pointer-events: none; }
.crosshair { font-size: 25px; font-weight: 200; line-height: 1; color: #6c737e; }
.scene-caption small { color: var(--muted); font-size: 8px; letter-spacing: .2px; }
.zoom-controls { position: absolute; right: 20px; bottom: 116px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: #11161cdd; }
.zoom-controls button { display: grid; place-items: center; width: 35px; height: 32px; color: var(--secondary); }
.zoom-controls button:hover:not(:disabled) { color: var(--ink); background: #252b34; }
.zoom-controls svg { width: 15px; height: 15px; }
.zoom-controls output { font-size: 8px; color: var(--muted); padding: 5px 0; }
.scene-hint { position: absolute; bottom: 96px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 9px; pointer-events: none; }
.scene-hint span { padding: 0 8px; color: #5b626d; }
.playback-bar { position: absolute; bottom: 21px; left: 23px; right: 23px; max-width: 580px; margin: auto; min-height: 58px; border: 1px solid #303740; border-radius: 8px; display: flex; align-items: center; padding: 10px 14px; gap: 12px; background: #151b23ee; box-shadow: 0 8px 25px #0003; backdrop-filter: blur(12px); }
.play-button { background: var(--accent); color: #1d2a1b; width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; }
.play-button:hover { background: #d5e8c8; }
.play-button svg { width: 17px; height: 17px; }
.icon-button { display: grid; place-items: center; width: 30px; height: 34px; color: var(--secondary); flex-shrink: 0; border-radius: 4px; }
.icon-button:hover { color: var(--ink); background: #252b34; }
.icon-button svg { width: 16px; height: 16px; }
.control-divider { background: #343a43; width: 1px; height: 28px; margin: 0 4px; flex-shrink: 0; }
.speed-control { flex: 1; min-width: 85px; }
.speed-control > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.speed-control label, .date-control > span { font-size: 7px; letter-spacing: 1.25px; color: var(--muted); }
.speed-control output { font-size: 9px; color: var(--secondary); white-space: nowrap; }
input[type="range"] { display: block; width: 100%; height: 12px; margin: 5px 0 0; accent-color: var(--accent); cursor: pointer; }
.date-control { display: flex; flex-direction: column; gap: 6px; min-width: 102px; }
.date-control time { font-size: 11px; letter-spacing: .4px; font-variant-numeric: tabular-nums; }
.planet-tooltip { position: absolute; z-index: 3; pointer-events: none; background: #19212bf5; border: 1px solid #39424e; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: 11px; box-shadow: 0 5px 15px #0005; }
.planet-tooltip small { display: block; margin-top: 4px; color: var(--secondary); font-size: 9px; }
.planet-panel { background: linear-gradient(145deg, #141b24, #10151c 50%); border: 1px solid var(--line); border-radius: 9px; padding: 23px; display: flex; flex-direction: column; }
.panel-topline { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 1.6px; color: var(--muted); }
.panel-topline span:last-child { font-variant-numeric: tabular-nums; color: var(--secondary); letter-spacing: 1px; }
.planet-portrait { position: relative; height: 163px; display: grid; place-items: center; margin: 3px 0 8px; }
#planet-preview { width: 260px; max-width: 115%; height: 180px; z-index: 1; position: absolute; }
.portrait-orbit { position: absolute; width: 178px; height: 178px; border: 1px solid #ffffff07; border-radius: 50%; transform: scaleY(.44) rotate(-20deg); }
.planet-heading { display: flex; justify-content: space-between; align-items: center; }
.planet-type { font-size: 7px; letter-spacing: 1.55px; color: var(--accent); margin: 0 0 9px; }
h2 { font-weight: 400; font-size: 31px; letter-spacing: -1px; margin: 0; }
.planet-symbol { color: #929eac; font-size: 27px; font-family: Georgia, serif; }
.planet-description { color: var(--secondary); font-size: 11px; line-height: 1.8; margin: 13px 0 20px; min-height: 59px; }
.planet-facts { margin: 0; font-size: 10px; }
.planet-facts > div { padding: 11px 0; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: space-between; }
.planet-facts dt { color: var(--muted); }
.planet-facts dt span { font-size: 9px; }
.planet-facts dd { margin: 0; text-align: right; color: #e0e3e7; }
.planet-note { display: flex; align-items: flex-start; gap: 8px; background: #c0d8af08; border: 1px solid #c0d8af12; border-radius: 5px; padding: 11px; margin: 13px 0 18px; }
.planet-note svg { width: 13px; height: 13px; color: var(--accent); margin-top: 2px; }
.planet-note p { color: #b8c0b3; font-size: 10px; line-height: 1.6; margin: 0; }
.next-planet { margin-top: auto; border-top: 1px solid var(--line); padding: 15px 0 0; display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); }
.next-planet strong { color: #d9dde1; font-weight: 500; }
.next-planet svg { width: 16px; color: var(--accent); transition: transform .2s; }
.next-planet:hover svg { transform: translateX(4px); }
.planet-picker { margin-top: 24px; }
.picker-heading { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 1.4px; color: var(--muted); margin-bottom: 13px; }
.picker-heading span:last-child { font-size: 7px; letter-spacing: 1px; }
.picker-heading i { font-style: normal; padding: 0 8px; color: #555e6d; }
.planet-buttons { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.planet-choice { min-width: 0; position: relative; height: 85px; border: 1px solid var(--line); border-radius: 6px; background: #0e1319; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--muted); transition: background .2s, border-color .2s; }
.planet-choice:hover { background: #1b222b; color: var(--ink); border-color: #49515e; }
.planet-choice[aria-pressed="true"] { border-color: #889c7b; color: var(--ink); background: #c0d8af0a; }
.planet-choice[aria-pressed="true"]::after { content: ""; position: absolute; bottom: 7px; right: 8px; height: 3px; width: 3px; border-radius: 50%; background: var(--accent); }
.planet-choice canvas { width: 46px; height: 36px; }
.planet-choice span { font-size: 10px; }
footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 23px 0 20px; color: var(--muted); font-size: 9px; }
footer p { margin: 0; }
footer p:first-child { display: flex; align-items: center; gap: 8px; }
.footer-star { color: var(--accent); font-size: 17px; }
footer button { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--secondary); padding: 5px 0; }
footer button:hover { color: var(--ink); }
footer svg { width: 13px; height: 13px; }
dialog { color: var(--ink); background: #121923; border: 1px solid #38414f; border-radius: 12px; max-width: 580px; width: calc(100% - 32px); max-height: calc(100dvh - 48px); padding: 30px; box-shadow: 0 24px 90px #0009; }
dialog::backdrop { background: #03060bd9; backdrop-filter: blur(7px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; margin: -7px 0 20px; }
dialog p:not(.eyebrow) { font-size: 13px; color: var(--secondary); line-height: 1.9; }
dialog h3 { font-size: 14px; font-weight: 500; margin: 25px 0 0; }
kbd { padding: 2px 5px; border: 1px solid #46515e; border-radius: 4px; font-size: 11px; }
.text-button { padding: 12px 0 0; font-size: 12px; color: var(--accent); }
.text-button span { margin-left: 12px; }
.data-dialog { max-width: 820px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 12px; white-space: nowrap; }
th, td { padding: 13px 12px; border-bottom: 1px solid #2d3540; text-align: right; }
th { font-size: 10px; color: var(--muted); font-weight: 500; }
td { font-variant-numeric: tabular-nums; color: var(--secondary); }
th:first-child, td:first-child { text-align: left; color: var(--ink); padding-left: 0; }
caption { caption-side: bottom; text-align: left; padding: 15px 0 0; white-space: normal; font-size: 10px; color: var(--muted); line-height: 1.7; }
dialog .source-note { font-size: 11px; margin-top: 20px; }
.source-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
@media (min-width: 1600px) { .universe { min-height: 680px; } .explorer-layout { grid-template-columns: minmax(0, 1fr) 310px; } .planet-portrait { height: 200px; } .planet-description { font-size: 12px; } .planet-facts { font-size: 11px; } }
@media (max-width: 1100px) { .site-header { margin: 0 25px; gap: 45px; } main { padding: 0 25px; } .header-note { font-size: 0; } .explorer-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 12px; } .planet-panel { padding: 20px; } .scene-status { font-size: 7px; letter-spacing: .7px; } .scene-toolbar { left: 16px; right: 16px; } .playback-bar { left: 14px; right: 14px; gap: 7px; padding: 10px; } .date-control { min-width: 89px; } .date-control time { font-size: 10px; } .control-divider { margin: 0 2px; } .speed-control label { font-size: 6px; } .speed-control output { font-size: 8px; } .intro-coordinate { display: none; } }
@media (max-width: 800px) { .site-header { min-height: 73px; margin: 0 20px; gap: 35px; } .brand { font-size: 20px; } .brand-mark { width: 28px; } nav { margin-left: auto; gap: 22px; } .header-note { display: none; } main { padding: 0 20px; } .intro { padding: 32px 0 27px; } h1 { font-size: 37px; } .explorer-layout { grid-template-columns: 1fr; } .universe { min-height: 560px; } .planet-panel { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 0 24px; padding: 22px; } .panel-topline { grid-column: 1 / -1; margin-bottom: 8px; } .planet-portrait { grid-column: 1; grid-row: 2 / 5; height: 160px; margin: 0; align-self: center; } #planet-preview { width: 220px; max-width: none; height: 152px; } .planet-heading { grid-column: 2; padding-top: 10px; } .planet-description { grid-column: 2; margin: 10px 0; min-height: auto; } .planet-facts { grid-column: 3; grid-row: 2 / 4; align-self: center; } .planet-note { grid-column: 2 / 4; margin: 7px 0 12px; } .next-planet { grid-column: 1 / -1; } .planet-buttons { gap: 6px; } .planet-choice { height: 78px; } .planet-choice span { font-size: 9px; } footer > p:nth-child(2) { display: none; } }
@media (max-width: 520px) { .site-header { margin: 0 16px; gap: 10px; min-height: 68px; } .brand { font-size: 19px; gap: 7px; letter-spacing: 3px; } nav { gap: 17px; } nav a, nav button { font-size: 10px; } nav button span { display: none; } main { padding: 0 14px; } .intro { padding: 27px 4px 25px; } h1 { font-size: 34px; } .eyebrow { font-size: 7px; letter-spacing: 1.7px; } .intro-description { font-size: 11px; } .universe { min-height: 490px; } .scene-toolbar { top: 15px; left: 13px; right: 13px; } .scene-status { font-size: 6px; letter-spacing: .5px; gap: 6px; } .view-switch button { font-size: 8px; padding: 7px 8px; } .scene-caption { left: 15px; bottom: 121px; font-size: 6px; } .scene-caption small { font-size: 7px; } .zoom-controls { right: 12px; bottom: 118px; } .zoom-controls button { width: 29px; height: 29px; } .scene-hint { font-size: 7px; bottom: 101px; } .scene-hint span { padding: 0 5px; } .playback-bar { bottom: 17px; padding: 10px; gap: 8px; flex-wrap: wrap; min-height: 68px; } .play-button { width: 31px; height: 31px; } #reset-button { width: 23px; } .speed-control { min-width: 70px; } .speed-control > div { gap: 4px; } .speed-control label { font-size: 6px; letter-spacing: .5px; } .date-control { min-width: 78px; } .date-control > span { font-size: 6px; letter-spacing: .7px; } .date-control time { font-size: 9px; } .date-divider { display: none; } .planet-panel { padding: 19px; grid-template-columns: 108px 1fr; column-gap: 20px; } .planet-portrait { grid-row: 2 / 4; height: 135px; } #planet-preview { width: 180px; height: 125px; } .portrait-orbit { width: 120px; height: 120px; } .planet-heading { grid-column: 2; } .planet-description { grid-column: 2; font-size: 10px; } .planet-facts { grid-column: 1 / -1; grid-row: auto; margin-top: 12px; } .planet-facts > div { padding: 12px 0; } .planet-note { grid-column: 1 / -1; } .planet-buttons { display: flex; overflow-x: auto; padding: 3px 3px 12px; margin: 0 -3px; scroll-snap-type: x proximity; } .planet-choice { flex: 0 0 71px; scroll-snap-align: start; } .picker-heading { font-size: 7px; letter-spacing: 1px; } .picker-heading span:last-child { font-size: 6px; } .planet-picker { margin-top: 21px; } footer { margin-top: 10px; } dialog { padding: 23px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .planet-choice[aria-pressed="true"] { outline: 2px solid Highlight; } .play-button, .view-switch button.active { border: 2px solid ButtonText; } .status-dot { background: CanvasText; } }
