/* ==========================================================================
   SOLAR SYSTEM ATLAS — visual system
   A warm, archival interface over a realtime orbital stage.
   ========================================================================== */

:root {
  --bg: #050606;
  --bg-soft: #080909;
  --text: #f1ecdf;
  --text-dim: rgba(239, 233, 219, 0.58);
  --text-faint: rgba(239, 233, 219, 0.33);
  --line: rgba(240, 230, 209, 0.13);
  --line-strong: rgba(240, 230, 209, 0.24);
  --panel: rgba(14, 15, 14, 0.55);
  --panel-deep: rgba(9, 10, 9, 0.82);
  --cream: #f3ead6;
  --gold: #d9b076;
  --gold-bright: #f0c88e;
  --teal: #93c9c1;
  --blue: #93b9d6;
  --orange: #e6a565;
  --red: #c77b63;
  --sans: "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
  --mono: "Cascadia Mono", "Bahnschrift", "SFMono-Regular", Consolas, monospace;
  --topbar-h: 82px;
  --timeline-h: 152px;
  --edge: clamp(22px, 3.4vw, 52px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --world-color: #d9b076;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  cursor: default;
}

body::selection { background: rgba(217, 176, 118, 0.28); color: #fff; }
::selection { background: rgba(217, 176, 118, 0.28); color: #fff; }

button, input, textarea {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 1px solid rgba(240, 200, 142, 0.75);
  outline-offset: 4px;
}
a { color: inherit; }
canvas { display: block; }
p, h1, h2, h3, h4 { margin: 0; }
kbd { font-family: var(--mono); font-size: 9px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
em { font-style: normal; }
button svg { pointer-events: none; }

body.lang-en .zh { display: none !important; }
body:not(.lang-en) .en { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ————————————————————————— global atmosphere ————————————————————————— */

.app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.grain {
  position: fixed;
  inset: -20%;
  z-index: 160;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grainShift 0.6s steps(2) infinite;
}

.ambient-glow {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 38% at 63% 19%, rgba(172, 98, 39, 0.11), transparent 74%),
    radial-gradient(ellipse 55% 48% at 50% 54%, rgba(80, 105, 98, 0.045), transparent 75%);
  transition: background 1.2s var(--ease);
}

.view-vignette {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  box-shadow: inset 0 0 13vw rgba(0, 0, 0, 0.5);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.26) 0, transparent 14%, transparent 78%, rgba(0,0,0,0.34) 100%);
}

.cursor {
  position: fixed;
  z-index: 180;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border: 1px solid rgba(245, 233, 209, 0.35);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), opacity .3s;
  mix-blend-mode: screen;
  will-change: transform;
}
.cursor span {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 3px;
  transform: translate(-50%, -50%);
  background: rgba(247, 236, 211, .8); border-radius: 50%;
}
.cursor.is-visible { opacity: .58; }
.cursor.is-hover {
  width: 48px; height: 48px;
  background: rgba(229, 193, 137, 0.06);
  border-color: rgba(244, 209, 153, .5);
}

/* ————————————————————————— boot screen ————————————————————————— */

.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #050606;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 1s var(--ease), visibility 1s;
}
body.booted .boot { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-orbit {
  position: relative;
  width: 76px; height: 76px;
  display: grid; place-items: center;
}
.boot-orbit i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(231, 196, 140, .22);
  border-radius: 50%;
  animation: bootOrbit 6s linear infinite;
}
.boot-orbit i:nth-child(2) { inset: 11px; border-color: rgba(231, 196, 140, .12); animation-duration: 3.8s; animation-direction: reverse; }
.boot-orbit i:nth-child(3) { inset: 23px; border-color: rgba(231, 196, 140, .25); animation-duration: 2.6s; }
.boot-orbit i::after {
  content: ""; position: absolute; top: 50%; left: -2px; width: 3px; height: 3px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px var(--gold);
}
.boot-orbit b {
  width: 5px; height: 5px; border-radius: 50%;
  background: #f7e9ce; box-shadow: 0 0 20px 6px rgba(241, 201, 137, .4);
}
.boot-wordmark {
  font-size: 12px;
  letter-spacing: .48em;
  color: rgba(244, 237, 222, .7);
  font-family: var(--mono);
}
.boot-wordmark em { color: var(--gold); font-style: normal; }
.boot-meta {
  display: flex; gap: 18px; align-items: center;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint);
  font-family: var(--mono);
}
.boot-meta #boot-percent { color: var(--gold); }
.boot-line {
  width: 230px; height: 1px; background: rgba(243, 233, 214, .1); overflow: hidden;
}
.boot-line i {
  display: block; height: 100%; width: 0%; background: linear-gradient(90deg, transparent, var(--gold), #fff1d5);
  transition: width .5s var(--ease);
}

/* ————————————————————————— topbar ————————————————————————— */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 var(--edge);
  background: linear-gradient(180deg, rgba(4, 5, 5, 0.88) 0%, rgba(4, 5, 5, 0.42) 58%, transparent 100%);
  transition: transform .7s var(--ease), opacity .5s;
}
.topbar::after {
  content: ""; position: absolute; left: var(--edge); right: var(--edge); bottom: 10px;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(239, 230, 210, 0.11), transparent);
  opacity: .8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--text);
  text-align: left;
  padding: 4px 0;
}
.brand-orbit {
  position: relative;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.brand-orbit::before {
  content: ""; position: absolute; width: 25px; height: 9px;
  border: 1px solid rgba(239, 224, 197, .4);
  border-radius: 50%;
  transform: rotate(-35deg);
}
.brand-orbit::after {
  content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(232, 190, 126, .9);
  transform: translate(8px, -7px);
}
.brand-orbit i {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f8ead0, #c69456 50%, #6b4d2b 100%);
  box-shadow: 0 0 14px rgba(229, 177, 103, .4);
}
.brand-orbit b {
  position: absolute; inset: 4px;
  border: 1px solid rgba(239, 224, 197, .1);
  border-radius: 50%;
}
.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-en {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .22em; color: rgba(242, 235, 221, .86);
  white-space: nowrap;
}
.brand-cn {
  font-size: 10px; letter-spacing: .17em; color: var(--text-faint);
  white-space: nowrap;
}

.main-nav {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  height: 41px;
  border: 1px solid rgba(238, 228, 208, 0.12);
  border-radius: 3px;
  background: rgba(8, 9, 8, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3px;
  gap: 1px;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 33px;
  padding: 0 15px;
  border-radius: 2px;
  color: rgba(239, 231, 216, 0.53);
  font-size: 11px;
  letter-spacing: .12em;
  white-space: nowrap;
  transition: color .35s var(--ease), background .35s var(--ease);
}
.nav-item svg { width: 8px; height: 5px; margin-left: 1px; opacity: .5; }
.nav-num {
  font-family: var(--mono); font-size: 7px; letter-spacing: .04em;
  opacity: .38; transition: opacity .35s, color .35s;
}
.nav-item:hover { color: rgba(250, 243, 229, .92); background: rgba(255, 255, 255, .035); }
.nav-item.is-active {
  color: #f5eddf;
  background: linear-gradient(180deg, rgba(245, 232, 209, .105), rgba(245, 232, 209, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.nav-item.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 190, 126, .72), transparent);
}
.nav-item.is-active .nav-num { color: var(--gold); opacity: .78; }

.topbar-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.clock-block {
  display: flex; align-items: baseline; gap: 7px;
  padding-right: 10px;
  white-space: nowrap;
}
.clock-label { font-family: var(--mono); font-size: 7.5px; letter-spacing: .1em; color: var(--text-faint); }
.clock-time { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: rgba(239, 234, 221, .7); font-variant-numeric: tabular-nums; }

.lang-toggle {
  height: 33px;
  padding: 0 10px;
  border: 1px solid rgba(239, 231, 215, 0.11);
  border-radius: 2px;
  display: flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .05em;
  color: var(--text-faint);
  transition: background .35s, color .35s, border-color .35s;
}
.lang-toggle i { opacity: .3; }
.lang-toggle .lang-zh { color: rgba(248, 238, 220, .95); }
.lang-toggle .lang-en { color: var(--text-faint); }
body.lang-en .lang-toggle .lang-zh { color: var(--text-faint); }
body.lang-en .lang-toggle .lang-en { color: rgba(248, 238, 220, .95); }
.lang-toggle:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }

.tool-button {
  height: 33px;
  padding: 0 10px;
  border: 1px solid rgba(239, 231, 215, 0.11);
  border-radius: 2px;
  display: flex; align-items: center; gap: 7px;
  font-size: 9px; letter-spacing: .1em; color: rgba(239, 232, 219, .62);
  transition: background .35s, border-color .35s, color .35s;
}
.tool-button svg { width: 13px; height: 13px; opacity: .8; }
.tool-button kbd {
  margin-left: 3px; padding: 2px 5px; border: 1px solid rgba(239, 231, 215, .12);
  border-radius: 2px; color: var(--text-faint); font-size: 7px;
}
.tool-button:hover { color: var(--cream); border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.tool-button.icon-only { width: 33px; padding: 0; justify-content: center; }
.tool-button.icon-only svg { width: 14px; height: 14px; }

.sound-toggle {
  height: 33px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(239, 231, 215, 0.11);
  border-radius: 2px;
  font-size: 9px; letter-spacing: .08em; color: var(--text-dim);
  transition: background .35s, border-color .35s, color .35s;
}
.sound-toggle:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--cream); }
.sound-bars {
  display: flex; align-items: center; gap: 2px; height: 11px;
}
.sound-bars i {
  display: block; width: 1px; height: 3px; background: rgba(235, 223, 200, .45);
  transition: height .25s, background .25s;
}
.sound-bars i:nth-child(2) { height: 6px; }
.sound-bars i:nth-child(3) { height: 9px; }
.sound-bars i:nth-child(4) { height: 5px; }
.sound-bars i:nth-child(5) { height: 2px; }
.sound-label { display: flex; align-items: center; gap: 5px; }
.sound-label b { font-weight: 400; color: var(--text-faint); }
.sound-toggle.is-on { color: var(--cream); border-color: rgba(232, 193, 133, .32); }
.sound-toggle.is-on .sound-bars i { background: var(--gold-bright); animation: soundBar .9s ease-in-out infinite alternate; }
.sound-toggle.is-on .sound-bars i:nth-child(2) { animation-delay: .18s; }
.sound-toggle.is-on .sound-bars i:nth-child(3) { animation-delay: .32s; }
.sound-toggle.is-on .sound-bars i:nth-child(4) { animation-delay: .11s; }
.sound-toggle.is-on .sound-bars i:nth-child(5) { animation-delay: .4s; }
.sound-toggle.is-on .sound-label b { color: var(--gold-bright); }

/* ————————————————————————— view system ————————————————————————— */

.viewport {
  position: fixed;
  inset: 0;
  z-index: 1;
}
.view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .85s var(--ease), visibility .85s;
  overflow: hidden;
}
.view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* 触摸拖动是「转视角」，不是「滚页面」：不声明 touch-action 的话，
     浏览器会把手势判成滚动，第一次 pointermove 之后直接 pointercancel，
     表现就是手机上怎么拖都只动一点点。（2026-11-02） */
  touch-action: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(239, 232, 219, 0.57);
  white-space: nowrap;
}
.eyebrow .dim { color: var(--text-faint); }
.eyebrow-line {
  display: block; width: 28px; height: 1px; flex: 0 0 auto;
  background: linear-gradient(90deg, rgba(231, 189, 126, .8), rgba(231, 189, 126, .08));
}
.mono { font-family: var(--mono); }
.live {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: var(--text-faint);
}
.live i, .status-dot {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: #b6d6b0; box-shadow: 0 0 7px rgba(169, 213, 157, .8);
}
.status-dot { animation: statusPulse 3s ease-in-out infinite; }
.glass {
  background:
    linear-gradient(138deg, rgba(33, 34, 31, .56), rgba(8, 9, 8, .52) 72%);
  border: 1px solid rgba(240, 232, 215, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 248, 234, .04), 0 22px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(22px) saturate(115%);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  border-radius: 4px;
}
.dim { color: var(--text-faint); }
.zh, .en { line-height: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 45px;
  padding: 0 17px;
  border: 1px solid rgba(239, 230, 211, .18);
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-dim);
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 23px; height: 12px; opacity: .65; transition: transform .4s var(--ease); }
.btn:hover { color: var(--cream); border-color: rgba(240, 223, 193, .42); background: rgba(255, 247, 229, .06); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #12100c;
  background: linear-gradient(105deg, #efe0c5, #ccb28a);
  background-size: 165% 100%;
  background-position: 0 0;
  border-color: rgba(245, 232, 211, .5);
  transition: color .4s var(--ease), border-color .4s var(--ease), background-position .7s var(--ease), transform .4s var(--ease);
}
.btn-primary:hover {
  color: #080705;
  background: linear-gradient(105deg, #fbf1de, #ddc39a);
  background-size: 165% 100%;
  background-position: 100% 0;
  border-color: #fbf1de;
}
.btn-quiet { border-color: transparent; padding-left: 0; padding-right: 0; }
.btn-quiet:hover { background: transparent; color: var(--cream); }

.text-link {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--text-dim); font-size: 9px; letter-spacing: .12em; text-align: left;
  transition: color .3s;
}
.text-link svg { width: 20px; height: 10px; }
.text-link:hover { color: var(--cream); }

/* ————————————————————————— overview ————————————————————————— */

.view-overview {
  background:
    radial-gradient(ellipse 28% 30% at 55% 49%, rgba(202, 123, 52, .09), transparent 69%),
    radial-gradient(ellipse 65% 70% at 63% 38%, rgba(35, 30, 22, .22), transparent 64%),
    #050606;
}
.overview-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 5, .93) 0%, rgba(4, 5, 5, .78) 20%, rgba(4, 5, 5, .15) 40%, transparent 56%),
    linear-gradient(180deg, rgba(4, 5, 5, .5) 0%, transparent 24%, transparent 69%, rgba(4, 5, 5, .56) 100%);
}
.overview-copy {
  position: absolute;
  z-index: 10;
  left: var(--edge);
  top: 128px;
  width: min(460px, 36vw);
  pointer-events: none;
}
.overview-copy > * { pointer-events: auto; }
.overview-copy .eyebrow { margin-bottom: 20px; }
.display-title {
  font-weight: 300;
  font-size: clamp(54px, 5.7vw, 88px);
  line-height: 0.98;
  letter-spacing: -.04em;
  color: #f2ecdf;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.display-title > .zh, .display-title > .en { display: block; }
.display-title .title-divider {
  display: inline-block;
  margin: 0 .05em 0 .06em;
  font-weight: 100;
  color: rgba(229, 195, 142, .58);
  transform: translateY(-.05em);
}
.display-title em {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: .01em;
  color: var(--gold-bright);
}
.title-english {
  margin-top: 15px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .32em;
  color: rgba(221, 191, 146, .62);
}
.lede {
  max-width: 390px;
  margin-top: 27px;
  font-size: 12.5px;
  line-height: 2;
  color: rgba(236, 231, 219, .55);
  letter-spacing: .025em;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-index {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-dim);
}
.hero-index div {
  display: flex; align-items: baseline; gap: 7px;
}
.hero-index b {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: rgba(244, 235, 217, .92);
}
.hero-index div > span {
  font-size: 8px; letter-spacing: .12em; color: var(--text-faint);
  text-transform: uppercase;
}
.hero-index > i {
  display: block; width: 1px; height: 14px; background: var(--line);
}

.view-status {
  position: absolute;
  z-index: 10;
  left: var(--edge);
  bottom: calc(var(--timeline-h) + 19px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  color: var(--text-faint);
}
.view-status .status-divider { width: 25px; height: 1px; background: var(--line); }
.view-status .status-dot { width: 3px; height: 3px; }

.ephemeris {
  position: absolute;
  z-index: 11;
  right: var(--edge);
  top: 112px;
  width: 258px;
  padding: 16px 17px 14px;
  border-radius: 3px;
}
.panel-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 7px; letter-spacing: .14em; color: var(--text-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(239, 229, 210, .09);
}
.panel-top .mono { color: rgba(217, 176, 118, .56); }
.ephemeris-date {
  padding: 14px 0 12px;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: .05em;
  color: rgba(245, 237, 221, .9);
  font-variant-numeric: tabular-nums;
}
.ephemeris-date i { color: rgba(232, 190, 126, .55); font-style: normal; padding: 0 3px; }
.ephemeris-date small { font-size: 7px; letter-spacing: .09em; color: var(--text-faint); margin-left: 5px; }
.ephemeris-list { display: flex; flex-direction: column; }
.ephem-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 11px;
  align-items: center;
  padding: 7.5px 0;
  border-top: 1px solid rgba(239, 229, 210, .055);
  font-size: 8.5px;
  color: var(--text-dim);
  letter-spacing: .08em;
}
.ephem-row strong { font-weight: 400; color: rgba(245, 237, 222, .82); }
.ephem-row .au { font-family: var(--mono); font-size: 7.5px; color: var(--text-faint); }
.ephem-row .phase-dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--dot, #d9b076);
  box-shadow: 0 0 6px var(--dot, #d9b076);
  opacity: .8;
}
.panel-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 9px; padding-top: 10px;
  border-top: 1px solid rgba(239, 229, 210, .08);
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .08em; color: var(--text-faint);
}

.map-controls {
  position: absolute;
  z-index: 10;
  right: var(--edge);
  bottom: calc(var(--timeline-h) + 27px);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(240, 230, 210, .12);
  border-radius: 2px;
  background: rgba(8, 9, 8, .33);
  backdrop-filter: blur(12px);
}
.map-controls button {
  width: 30px; height: 27px;
  color: var(--text-dim);
  font-family: var(--mono); font-size: 12px;
  transition: background .25s, color .25s;
}
.map-controls button:hover { background: rgba(255, 255, 255, .06); color: var(--cream); }
.map-controls > span { width: 14px; height: 1px; background: rgba(240, 230, 210, .1); }
.map-controls .reset-button { height: 28px; }
.map-controls svg { width: 13px; height: 13px; opacity: .7; }

.epoch-stamp {
  position: absolute;
  z-index: 10;
  right: calc(var(--edge) + 47px);
  bottom: calc(var(--timeline-h) + 28px);
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .09em;
  color: var(--text-faint);
}
.epoch-stamp b { color: rgba(236, 222, 199, .62); font-weight: 400; }
.epoch-stamp i { font-style: normal; color: rgba(236, 222, 199, .29); }

.scroll-cue {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(var(--timeline-h) + 22px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .14em;
  color: var(--text-faint);
}
.scroll-cue i {
  width: 1px; height: 24px;
  background: linear-gradient(180deg, rgba(231, 190, 126, .6), transparent);
  position: relative;
}
.scroll-cue i::before {
  content: ""; position: absolute; left: -2px; top: 0;
  width: 5px; height: 5px; border-right: 1px solid rgba(231, 190, 126, .65); border-bottom: 1px solid rgba(231, 190, 126, .65);
  transform: rotate(45deg);
}

/* map labels */
.system-labels { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.system-label {
  position: absolute;
  left: 0; top: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px 10px 6px;
  color: rgba(239, 233, 220, .64);
  text-align: left;
  pointer-events: auto;
  transform: translate(5px, -50%);
  transition: color .3s, opacity .4s, background .3s;
  white-space: nowrap;
  will-change: left, top;
  border-radius: 2px;
}
.system-label::before {
  content: "";
  width: 6px; height: 6px;
  border: 1px solid rgba(246, 234, 211, .72);
  border-radius: 50%;
  background: rgba(8, 9, 8, .78);
  box-shadow: 0 0 0 3px rgba(237, 222, 197, .045);
  transition: background .3s, border-color .3s, box-shadow .3s;
  flex: 0 0 auto;
}
.system-label::after {
  content: "";
  position: absolute;
  left: 14px; top: 50%; width: 15px; height: 1px;
  background: linear-gradient(90deg, rgba(245, 231, 207, .55), rgba(232, 219, 195, .04));
}
.system-label .label-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 3px 4px 3px 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .95), 0 0 18px rgba(0, 0, 0, .75);
}
.system-label strong {
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .18em;
  color: rgba(250, 243, 230, .94);
}
.system-label em {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  color: rgba(238, 229, 213, .47);
}
.system-label:hover {
  color: #fff;
  background: linear-gradient(90deg, rgba(231, 196, 140, .055), transparent 82%);
}
.system-label:hover strong { color: #fff8e9; }
.system-label:hover::before {
  background: var(--gold);
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px 3px rgba(232, 188, 122, .45);
}
.system-label.is-left {
  flex-direction: row-reverse;
  transform: translate(calc(-100% - 5px), -50%);
  padding: 10px 6px 10px 15px;
  text-align: right;
}
.system-label.is-left::after {
  left: auto; right: 14px;
  background: linear-gradient(270deg, rgba(245, 231, 207, .55), rgba(232, 219, 195, .04));
}
.system-label.is-left .label-copy {
  align-items: flex-end;
  padding: 3px 14px 3px 4px;
}
.system-label.is-left:hover { background: linear-gradient(270deg, rgba(231, 196, 140, .055), transparent 82%); }
.system-label.is-center {
  flex-direction: column-reverse;
  gap: 3px;
  transform: translate(-50%, -100%);
  padding: 0 8px 12px;
  text-align: center;
}
.system-label.is-center .label-copy {
  align-items: center;
  padding: 0;
}
.system-label.is-center::after {
  left: 50%; top: auto; bottom: 0;
  width: 1px; height: 9px;
  background: linear-gradient(180deg, rgba(245, 231, 207, .55), transparent);
}
.system-label.is-center::before { box-shadow: 0 0 9px rgba(245, 205, 143, .45); }
.system-label.is-active strong { color: var(--gold-bright); }
.system-label.is-active::before { background: var(--gold); border-color: var(--gold-bright); }
.system-label.is-behind { opacity: .92; }
.system-label.label-sun strong { font-size: 13px; color: rgba(255, 238, 207, .98); }
.system-label.label-sun em { color: rgba(234, 183, 112, .55); }

/* intro choreography */
.intro-item { opacity: 0; }
.is-active .intro-item { animation: introRise 1s var(--ease) forwards; }
.is-active .intro-item:nth-child(1) { animation-delay: .08s; }
.is-active .intro-item:nth-child(2) { animation-delay: .14s; }
.is-active .intro-item:nth-child(3) { animation-delay: .22s; }
.is-active .intro-item:nth-child(4) { animation-delay: .3s; }
.is-active .intro-item:nth-child(5) { animation-delay: .38s; }
.is-active .intro-item:nth-child(6) { animation-delay: .46s; }
.overview-copy .intro-item:nth-child(1) { animation-delay: .07s; }
.overview-copy .intro-item:nth-child(2) { animation-delay: .14s; }
.overview-copy .intro-item:nth-child(3) { animation-delay: .23s; }
.overview-copy .intro-item:nth-child(4) { animation-delay: .3s; }
.overview-copy .intro-item:nth-child(5) { animation-delay: .38s; }
.overview-copy .intro-item:nth-child(6) { animation-delay: .46s; }
.ephemeris.intro-item { animation-delay: .35s !important; }
.map-controls.intro-item { animation-delay: .4s !important; }
.epoch-stamp.intro-item { animation-delay: .44s !important; }
.view-status.intro-item { animation-delay: .22s !important; }
.scroll-cue.intro-item { animation-delay: .55s !important; }

/* ————————————————————————— timeline ————————————————————————— */

.timeline {
  position: fixed;
  z-index: 90;
  left: 0; right: 0; bottom: 0;
  height: var(--timeline-h);
  padding: 14px var(--edge) 13px;
  background:
    linear-gradient(180deg, rgba(4, 5, 5, 0) 0%, rgba(4, 5, 5, .66) 28%, rgba(5, 6, 6, .94) 76%, #050606 100%);
  backdrop-filter: blur(15px) saturate(110%);
  -webkit-backdrop-filter: blur(15px) saturate(110%);
  transition: transform .8s var(--ease), opacity .7s var(--ease);
}
.timeline::before {
  content: "";
  position: absolute;
  left: var(--edge); right: var(--edge); top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 228, 207, .17) 22%, rgba(239, 228, 207, .17) 78%, transparent);
}
body.is-earth .timeline { transform: translateY(105%); opacity: 0; pointer-events: none; }

.timeline-head {
  height: 49px;
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 32px);
  position: relative;
}
.timeline-year-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 92px;
}
.timeline-label {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .15em;
  color: var(--text-faint);
  white-space: nowrap;
}
.timeline-year {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(29px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -.055em;
  color: #f4ede0;
  font-variant-numeric: tabular-nums;
}
.timeline-stats {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 25px);
  padding-top: 12px;
}
.timeline-stats > div { display: flex; align-items: baseline; gap: 6px; }
.timeline-stats b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: -.03em;
  color: rgba(244, 235, 219, .85);
  font-variant-numeric: tabular-nums;
}
.timeline-stats span {
  font-size: 7.5px;
  letter-spacing: .09em;
  color: var(--text-faint);
  white-space: nowrap;
}
.timeline-play {
  align-self: flex-start;
  margin-top: 9px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(238, 229, 211, .13);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 8px;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: color .3s, border-color .3s, background .3s;
}
.timeline-play:hover { color: var(--cream); border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.play-icon {
  width: 0; height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid rgba(231, 188, 124, .8);
}
.timeline-play.is-playing .play-icon {
  width: 5px; height: 6px; border: 0;
  border-left: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.timeline-caption {
  margin-left: auto;
  padding-top: 10px;
  font-size: 7.5px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: rgba(238, 230, 215, .32);
  text-align: right;
  white-space: nowrap;
}
.timeline-track {
  position: relative;
  height: 43px;
  margin-top: 5px;
  border-top: 1px solid rgba(239, 230, 212, .08);
  border-bottom: 1px solid rgba(239, 230, 212, .07);
  touch-action: none;
}
.timeline-missions, .timeline-events {
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  pointer-events: none;
}
.mission-bar {
  position: absolute;
  height: 2px;
  min-width: 2px;
  border-radius: 2px;
  background: rgba(239, 231, 216, .13);
  pointer-events: auto;
  transition: background .25s, height .25s, box-shadow .25s;
  cursor: pointer;
}
.mission-bar::before {
  content: "";
  position: absolute;
  left: -2px; right: -2px; top: -4px; bottom: -4px;
}
.mission-bar[data-cat="deep"] { background: rgba(203, 157, 99, .24); }
.mission-bar[data-cat="crewed"] { background: rgba(239, 222, 195, .2); }
.mission-bar[data-cat="lunar"] { background: rgba(171, 189, 188, .2); }
.mission-bar.is-active { background: rgba(226, 166, 96, .3); box-shadow: none; }
.mission-bar:hover, .mission-bar.is-hover { height: 4px; background: var(--gold-bright); box-shadow: 0 0 10px rgba(241, 192, 127, .4); }
.event-dot {
  position: absolute;
  top: -7px;
  width: 4px; height: 4px;
  border: 1px solid rgba(235, 193, 129, .5);
  border-radius: 50%;
  background: rgba(11, 12, 11, .9);
  transform: translateX(-50%);
  pointer-events: auto;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.event-dot::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
}
.event-dot.is-active { background: var(--gold); box-shadow: 0 0 8px rgba(231, 181, 109, .5); }
.event-dot:hover { background: var(--cream); transform: translateX(-50%) scale(1.5); }
.timeline-playhead {
  position: absolute;
  top: -6px; bottom: -1px;
  left: 87%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(236, 190, 125, .6) 20%, rgba(236, 190, 125, .45));
  pointer-events: none;
  transition: left .2s var(--ease);
}
.timeline-playhead::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -28px;
  width: 57px;
  background: radial-gradient(ellipse 50% 52% at center, rgba(232, 179, 107, .075), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.timeline-playhead::before {
  content: "";
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px 2px rgba(232, 184, 116, .35);
}
.timeline-playhead i {
  position: absolute; top: -1px; left: -9px;
  width: 19px; height: 8px;
  border: 1px solid rgba(234, 190, 126, .36);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: rgba(8, 9, 8, .55);
}
.timeline-ticks {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  pointer-events: none;
}
.timeline-tick {
  position: absolute;
  bottom: 0;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
  color: rgba(238, 229, 213, .34);
  transform: translateX(-50%);
  white-space: nowrap;
}
.timeline-tick::before {
  content: "";
  display: block;
  width: 1px; height: 4px;
  background: rgba(238, 229, 213, .16);
  margin: 0 auto 4px;
}
.timeline-tick.is-current { color: rgba(236, 197, 136, .8); }
.timeline-range {
  position: absolute;
  left: -7px; right: -7px;
  top: 0; height: 38px;
  width: calc(100% + 14px);
  margin: 0; padding: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.timeline-missions { z-index: 5; }
.timeline-events { z-index: 6; top: 0; overflow: visible; }
.timeline-hover {
  position: fixed;
  z-index: 120;
  min-width: 195px;
  padding: 11px 13px;
  background: rgba(9, 10, 9, .92);
  border: 1px solid rgba(238, 227, 207, .15);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%);
  transition: opacity .2s;
}
.timeline-hover.is-visible { opacity: 1; }
.timeline-hover span {
  display: block; font-family: var(--mono); font-size: 6.5px; letter-spacing: .12em;
  color: var(--text-faint); text-transform: uppercase; margin-bottom: 5px;
}
.timeline-hover strong {
  display: block; font-weight: 400; font-size: 11px; letter-spacing: .04em; color: var(--cream);
}
.timeline-hover em {
  display: block; font-style: normal; margin-top: 4px; font-size: 8px; color: var(--text-faint);
}

/* ————————————————————————— planet page ————————————————————————— */

.view-planet {
  background:
    radial-gradient(ellipse 58% 62% at 46% 49%, color-mix(in srgb, var(--world-color) 13%, transparent), transparent 68%),
    radial-gradient(ellipse 75% 85% at 80% 60%, rgba(23, 20, 16, .22), transparent 65%),
    #050606;
  --world-color: #d9b076;
}
.view-planet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,6,6,.4), transparent 30%, transparent 70%, rgba(5,6,6,.42)),
    linear-gradient(180deg, rgba(5,6,6,.36), transparent 22%, transparent 78%, rgba(5,6,6,.4));
}
.planet-page {
  position: absolute;
  inset: 0 0 var(--timeline-h);
  z-index: 4;
  pointer-events: none;
  --planet-accent: var(--world-color);
}
.planet-head::before {
  content: attr(data-index);
  position: absolute;
  left: -0.05em;
  top: 0.58em;
  z-index: 0;
  font-family: var(--mono);
  font-size: clamp(130px, 18vw, 250px);
  line-height: 1;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--world-color) 16%, transparent);
  opacity: .5;
  pointer-events: none;
}
.planet-head > * { position: relative; z-index: 1; }
.planet-page button, .planet-page aside, .planet-page .planet-head { pointer-events: auto; }
.planet-head {
  position: absolute;
  left: var(--edge);
  top: 113px;
  width: min(355px, 30vw);
  z-index: 3;
  pointer-events: none !important;
}
.planet-head > * { pointer-events: auto; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-faint);
  font-size: 8.5px;
  letter-spacing: .13em;
  margin-bottom: 29px;
  transition: color .3s;
}
.back-link svg { width: 18px; height: 9px; opacity: .8; }
.back-link:hover { color: var(--cream); }
.planet-head .eyebrow { margin-bottom: 7px; }
.planet-title-block {
  display: flex;
  align-items: flex-end;
  gap: 17px;
  flex-wrap: wrap;
}
.planet-title-zh {
  font-size: clamp(51px, 5.3vw, 77px);
  line-height: .92;
  font-weight: 300;
  letter-spacing: -.06em;
  color: #f4eee1;
}
.planet-title-latin {
  padding-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.planet-title-latin > span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .28em;
  color: color-mix(in srgb, var(--world-color) 80%, #fff 20%);
}
.planet-title-latin small {
  font-size: 7.5px;
  letter-spacing: .1em;
  color: var(--text-faint);
  white-space: nowrap;
}
.planet-tagline {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .06em;
  color: rgba(235, 226, 211, .47);
}

.planet-visual-wrap {
  position: absolute;
  left: 26%;
  right: 32.5%;
  top: 67px;
  bottom: 68px;
  z-index: 2;
  pointer-events: none;
}
.planet-hud-label {
  position: absolute;
  top: 4px; left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: .16em;
  color: rgba(239, 232, 219, .4);
  z-index: 2;
}
.planet-hud-label span:first-child { color: rgba(239, 232, 219, .58); }
.planet-hud-label span:last-child { color: rgba(239, 232, 219, .28); }
.planet-hud-coordinates {
  position: absolute;
  top: 4px; right: 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: .06em;
  color: rgba(239, 232, 219, .35);
}
.planet-hud-coordinates span { color: rgba(239, 232, 219, .2); }
.planet-reticle {
  position: absolute;
  left: 50%; top: 51%;
  width: 66%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(239, 229, 211, .055);
  border-radius: 50%;
  pointer-events: none;
}
.planet-reticle::before, .planet-reticle::after {
  content: "";
  position: absolute;
  background: rgba(239, 229, 211, .07);
}
.planet-reticle::before { left: -6%; right: -6%; top: 40%; height: 1px; }
.planet-reticle::after { top: -6%; bottom: -6%; left: 58%; width: 1px; }
.reticle-ring {
  position: absolute; inset: 8%;
  border: 1px dashed rgba(239, 229, 211, .06);
  border-radius: 50%;
}
.reticle-cross {
  position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  border: 1px solid rgba(239, 229, 211, .13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.reticle-label {
  position: absolute;
  font-family: var(--mono); font-size: 6px; font-weight: 400;
  color: rgba(239, 229, 211, .19); letter-spacing: .1em;
}
.reticle-label.label-a { top: 7%; left: 50%; transform: translateX(-50%); }
.reticle-label.label-b { right: 4%; top: 50%; transform: translateY(-50%); }
.reticle-label.label-c { bottom: 7%; left: 50%; transform: translateX(-50%); }
.reticle-label.label-d { left: 4%; top: 50%; transform: translateY(-50%); }

.annotations { position: absolute; inset: 0; z-index: 3; }
.annotation {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 158px;
  color: rgba(239, 232, 219, .5);
  text-align: left;
  pointer-events: auto;
  transition: color .25s;
}
.annotation:hover { color: var(--cream); }
.annotation .annotation-stem {
  position: relative;
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 4px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, rgba(235, 220, 197, .4), transparent);
}
.annotation .annotation-stem::before {
  content: "";
  position: absolute;
  left: -2px; top: -2px;
  width: 5px; height: 5px;
  border: 1px solid rgba(239, 228, 208, .5);
  border-radius: 50%;
  background: rgba(7, 8, 7, .5);
}
.annotation-copy {
  display: flex; flex-direction: column; gap: 3px;
  padding: 4px 7px 4px 8px;
  background: linear-gradient(90deg, rgba(5, 6, 6, .42), rgba(5, 6, 6, .03) 85%, transparent);
  border-radius: 2px;
}
.annotation-copy b {
  font-weight: 400; font-size: 9.5px; letter-spacing: .12em;
  color: rgba(248, 240, 225, .85);
  white-space: nowrap;
  text-shadow: 0 1px 7px rgba(0, 0, 0, .9);
}
.annotation-copy em {
  font-family: var(--mono); font-style: normal; font-size: 6px; letter-spacing: .08em;
  color: rgba(241, 232, 216, .42); white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.annotation-copy i {
  font-style: normal; font-size: 7px; line-height: 1.5; letter-spacing: .03em;
  color: rgba(241, 232, 216, .47);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .85);
}
.annotation.is-right { flex-direction: row-reverse; text-align: right; }
.annotation.is-right .annotation-copy {
  background: linear-gradient(270deg, rgba(5, 6, 6, .42), rgba(5, 6, 6, .03) 85%, transparent);
  align-items: flex-end;
}
.annotation.is-right .annotation-stem { background: linear-gradient(270deg, rgba(235, 220, 197, .4), transparent); }
.annotation.is-right .annotation-stem::before { left: auto; right: -2px; }
.annotation.is-right .annotation-copy { align-items: flex-end; }

.planet-orbit-context {
  position: absolute;
  left: 0;
  bottom: -6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid rgba(236, 220, 195, .16);
}
.planet-orbit-context span {
  font-size: 7px;
  letter-spacing: .1em;
  color: var(--text-faint);
}
.planet-orbit-context b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .02em;
  color: rgba(242, 231, 212, .9);
}
.planet-orbit-context i {
  font-style: normal;
  font-size: 7px;
  letter-spacing: .06em;
  color: var(--text-faint);
}
.planet-drag-hint {
  position: absolute;
  right: 0; bottom: -2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .12em;
  color: var(--text-faint);
}
.planet-drag-hint i {
  width: 11px; height: 11px;
  border: 1px solid rgba(239, 227, 207, .26);
  border-radius: 50%;
  position: relative;
}
.planet-drag-hint i::after {
  content: "";
  position: absolute; left: 3px; top: 3px; width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(239, 227, 207, .4);
}

.planet-dossier {
  position: absolute;
  z-index: 5;
  right: var(--edge);
  top: 107px;
  bottom: 18px;
  width: min(380px, 31.5vw);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 7px;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 226, 205, .18) transparent;
}
.planet-dossier::-webkit-scrollbar { width: 3px; }
.planet-dossier::-webkit-scrollbar-thumb { background: rgba(239, 226, 205, .18); }
.dossier-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(239, 230, 212, .12);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .14em;
  color: var(--text-faint);
}
.observe-card {
  margin-top: 15px;
  padding: 15px 16px 12px;
  background:
    linear-gradient(145deg, rgba(49, 50, 45, .55), rgba(15, 16, 14, .48));
  border: 1px solid rgba(239, 229, 211, .13);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(252, 244, 227, .04);
  backdrop-filter: blur(18px);
}
.observe-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.observe-head > div { display: flex; flex-direction: column; gap: 4px; }
.observe-head > div > span {
  font-size: 12px; letter-spacing: .11em; color: rgba(244, 236, 221, .9);
}
.observe-head small {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .1em;
  color: var(--text-faint);
}
.orbit-glyph {
  position: relative;
  width: 25px; height: 25px;
  border: 1px solid rgba(235, 221, 198, .15);
  border-radius: 50%;
  flex: 0 0 auto;
}
.orbit-glyph::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(235, 221, 198, .2);
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-35deg);
}
.orbit-glyph i {
  position: absolute; top: 4px; right: 4px;
  width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold);
}
.observe-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  border: 1px solid rgba(239, 229, 211, .11);
  background: rgba(239, 229, 211, .08);
  padding: 1px;
}
.observe-tabs button {
  height: 29px;
  font-size: 8px;
  letter-spacing: .09em;
  color: rgba(239, 231, 216, .37);
  background: rgba(10, 11, 10, .56);
  transition: background .3s, color .3s;
}
.observe-tabs button:hover { color: var(--cream); }
.observe-tabs button.is-active {
  background: rgba(238, 226, 207, .12);
  color: rgba(248, 239, 224, .95);
}
.observe-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .03em;
  color: var(--text-faint);
}
.observe-meta > span:first-child { display: flex; align-items: center; gap: 6px; }
.light-dot {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--world-color); box-shadow: 0 0 8px color-mix(in srgb, var(--world-color) 75%, transparent);
}
.dossier-copy { padding: 20px 2px 18px; border-bottom: 1px solid var(--line); }
.dossier-index {
  display: flex; gap: 7px;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .1em; color: var(--text-faint);
}
.dossier-index span:first-child { color: color-mix(in srgb, var(--world-color) 70%, #fff 30%); }
.dossier-copy h2 {
  margin-top: 9px;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: .02em;
  color: rgba(244, 236, 222, .95);
}
.dossier-copy p {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.95;
  letter-spacing: .02em;
  color: rgba(237, 230, 217, .44);
}
.keyword-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.keyword-row span {
  padding: 4px 7px;
  border: 1px solid rgba(239, 227, 206, .11);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .07em;
  color: rgba(236, 225, 207, .36);
}
.stats-panel { border-bottom: 1px solid var(--line); padding: 16px 2px; }
.stats-head {
  display: flex; justify-content: space-between;
  font-size: 8.5px; letter-spacing: .1em; color: rgba(243, 235, 219, .7);
  margin-bottom: 12px;
}
.stats-head > span:last-child {
  font-family: var(--mono); font-size: 6px; letter-spacing: .08em; color: var(--text-faint);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}
.stat-cell {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(239, 229, 211, .07);
}
.stat-cell span {
  font-size: 8.5px; letter-spacing: .05em; color: rgba(238, 230, 217, .36);
  white-space: nowrap;
}
.stat-cell b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: -.01em;
  color: rgba(245, 236, 220, .82);
  text-align: right;
  white-space: nowrap;
}
.missions-panel { padding: 15px 2px 8px; }
.mission-list { display: flex; flex-direction: column; }
.mission-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 0;
  border-bottom: 1px solid rgba(239, 229, 211, .065);
  text-align: left;
  color: var(--text-dim);
  transition: color .25s, padding .25s;
}
.mission-item:hover { color: var(--cream); padding-left: 3px; }
.mission-item .mission-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(236, 199, 140, .5); flex: 0 0 auto;
}
.mission-item .mission-name {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.mission-name strong {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-weight: 400; font-size: 9px; letter-spacing: .06em; color: rgba(241, 232, 217, .7);
}
.mission-name em {
  font-family: var(--mono); font-style: normal; font-size: 6px; letter-spacing: .07em;
  color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mission-item .mission-year {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--text-faint);
}
.mission-item svg { width: 13px; height: 8px; opacity: .25; flex: 0 0 auto; }
.dossier-tool {
  width: 100%;
  margin: 12px 0 2px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(239, 229, 211, .1);
  color: rgba(238, 230, 216, .46);
  text-align: left;
  font-size: 8px;
  letter-spacing: .08em;
  transition: color .25s, border-color .25s, background .25s;
}
.dossier-tool svg { width: 16px; height: 8px; opacity: .4; }
.dossier-tool:hover {
  color: var(--cream);
  border-color: rgba(231, 195, 138, .36);
  background: rgba(231, 195, 138, .05);
}
.earth-system-link {
  width: 100%;
  margin: 12px 0 2px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(143, 203, 194, .26);
  background: linear-gradient(110deg, rgba(73, 137, 135, .18), rgba(44, 82, 81, .06));
  color: rgba(204, 235, 228, .83);
  text-align: left;
  transition: border-color .3s, background .3s;
}
.earth-system-link[hidden] { display: none; }
.earth-system-link:hover { border-color: rgba(162, 219, 209, .55); background: rgba(73, 137, 135, .25); }
.earth-system-link > span { display: flex; flex-direction: column; gap: 4px; font-size: 10px; letter-spacing: .08em; }
.earth-system-link small { font-size: 6.5px; letter-spacing: .1em; color: rgba(190, 225, 219, .38); }
.earth-system-link svg { width: 20px; height: 10px; }

.world-switcher {
  position: absolute;
  z-index: 5;
  left: 24%;
  right: 36%;
  bottom: 7px;
  width: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.world-arrow {
  width: 22px; height: 25px;
  display: grid; place-items: center;
  border: 1px solid rgba(239, 229, 211, .1);
  color: var(--text-faint);
  transition: color .25s, border-color .25s;
  flex: 0 0 auto;
}
.world-arrow:hover { color: var(--cream); border-color: var(--line-strong); }
.world-arrow svg { width: 12px; height: 12px; }
.world-switcher-inner {
  flex: 1;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(239, 229, 211, .1);
  border-bottom: 1px solid rgba(239, 229, 211, .1);
  height: 32px;
  overflow: hidden;
}
.world-pip {
  flex: 1;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 7px;
  letter-spacing: .04em;
  color: rgba(238, 230, 216, .26);
  border-right: 1px solid rgba(239, 229, 211, .055);
  transition: color .25s, background .25s;
  white-space: nowrap;
  overflow: hidden;
}
.world-pip:last-child { border-right: 0; }
.world-pip i {
  font-family: var(--mono); font-style: normal; font-size: 5.5px; opacity: .5;
}
.world-pip:hover { color: var(--cream); background: rgba(255, 255, 255, .03); }
.world-pip.is-active {
  color: var(--gold-bright);
  background: rgba(232, 187, 119, .065);
  box-shadow: inset 0 -1px 0 rgba(232, 187, 119, .5);
}
.world-pip.is-active i { opacity: .9; }
.world-pip .world-pip-name { display: inline; }
.world-pip.is-active .world-pip-name { display: inline; }
.world-pip.is-active .world-pip-num { display: none; }
.world-pip {
  font-size: 8px;
  gap: 3px;
  letter-spacing: .02em;
  color: rgba(238, 230, 216, .54);
}
.world-pip i { font-size: 5.5px; opacity: .48; }

/* planet page entrance */
.view-planet.is-active .planet-head > * { animation: introRise .9s var(--ease) both; }
.view-planet.is-active .planet-head > *:nth-child(1) { animation-delay: .06s; }
.view-planet.is-active .planet-head > *:nth-child(2) { animation-delay: .12s; }
.view-planet.is-active .planet-head > *:nth-child(3) { animation-delay: .18s; }
.view-planet.is-active .planet-head > *:nth-child(4) { animation-delay: .25s; }
.view-planet.is-active .planet-dossier { animation: panelIn 1.1s var(--ease) .16s both; }
.view-planet.is-active .world-switcher { animation: fadeUp .8s var(--ease) .4s both; }
.view-planet.is-active .annotations { animation: fadeIn 1.5s var(--ease) .8s both; }

/* ————————————————————————— artifacts ————————————————————————— */

.view-artifacts {
  background:
    radial-gradient(ellipse 38% 60% at 76% 12%, rgba(180, 92, 35, 0.25), transparent 68%),
    #050605;
}
.artifact-sun {
  position: absolute;
  z-index: 1;
  width: 50vw; height: 50vw;
  right: -10vw; top: -30vw;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 56%, rgba(255, 221, 167, .78), rgba(201, 102, 45, .55) 31%, rgba(90, 41, 18, .19) 59%, transparent 70%);
  filter: blur(11px);
  opacity: .52;
  pointer-events: none;
  animation: sunBreathe 12s ease-in-out infinite;
}
.view-artifacts::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, .76), transparent 26%, transparent 75%, rgba(5, 6, 6, .22)),
    linear-gradient(180deg, rgba(5, 6, 6, .24), transparent 16%, transparent 76%, rgba(5, 6, 6, .42));
}
.artifact-heading {
  position: absolute;
  z-index: 5;
  left: var(--edge);
  top: 122px;
  width: min(370px, 31vw);
}
.artifact-heading h1 {
  margin-top: 16px;
  font-size: clamp(45px, 4.6vw, 66px);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: -.055em;
  color: #f1ebdf;
}
.artifact-heading h1 > .zh, .artifact-heading h1 > .en { display: block; }
.artifact-heading h1 .en { font-family: var(--serif); font-size: .92em; line-height: 1.05; color: var(--gold-bright); }
.artifact-lede {
  margin-top: 13px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.85;
  color: rgba(235, 226, 211, .49);
  letter-spacing: .05em;
}
.artifact-stats {
  display: flex;
  gap: clamp(20px, 2.5vw, 38px);
  margin-top: 26px;
}
.artifact-stats > div {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid rgba(239, 229, 211, .14);
  padding-left: 10px;
}
.artifact-stats b {
  font-family: var(--mono); font-weight: 400; font-size: 18px; letter-spacing: -.04em;
  color: rgba(243, 233, 216, .92);
}
.artifact-stats span {
  font-size: 7px; letter-spacing: .09em; color: var(--text-faint); white-space: nowrap;
}
.artifact-filters {
  position: absolute;
  z-index: 5;
  left: var(--edge);
  top: 392px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.artifact-filters button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(239, 229, 211, .1);
  border-radius: 2px;
  display: flex; align-items: center; gap: 7px;
  font-size: 8px; letter-spacing: .07em;
  color: rgba(238, 230, 216, .34);
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.artifact-filters button b {
  font-family: var(--mono); font-weight: 400; font-size: 6.5px; color: var(--text-faint);
}
.artifact-filters button:hover { border-color: var(--line-strong); color: var(--cream); }
.artifact-filters button.is-active {
  color: var(--cream);
  background: rgba(237, 224, 202, .09);
  border-color: rgba(237, 224, 202, .26);
}
.artifact-filters button.is-active b { color: var(--gold); }
.artifact-corner {
  position: absolute;
  z-index: 5;
  right: var(--edge);
  top: 112px;
  width: 230px;
  padding: 12px 0;
  border-top: 1px solid rgba(239, 229, 211, .12);
  border-bottom: 1px solid rgba(239, 229, 211, .08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  color: var(--text-faint);
  text-align: right;
}
.artifact-corner b { font-weight: 400; color: rgba(239, 228, 211, .6); }
.artifact-corner i { font-style: normal; font-size: 6px; color: rgba(239, 228, 211, .24); margin-top: 2px; }

.artifact-labels { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.artifact-label {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 9px 5px 6px;
  color: rgba(238, 230, 215, .47);
  text-align: left;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: color .25s, opacity .4s, filter .4s, background .25s;
  white-space: nowrap;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(5, 7, 7, .25), transparent 92%);
}
.artifact-label::before {
  content: "";
  width: 4px; height: 4px;
  border: 1px solid rgba(240, 229, 210, .56);
  border-radius: 50%;
  margin-top: 2px;
  flex: 0 0 auto;
  background: rgba(7, 8, 7, .65);
  transition: background .25s, box-shadow .25s;
}
.artifact-label::after {
  content: "";
  position: absolute;
  left: 10px; top: 10px;
  width: 11px; height: 1px;
  background: linear-gradient(90deg, rgba(235, 222, 198, .25), transparent);
}
.artifact-label .artifact-label-copy {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 8px;
  text-shadow: 0 1px 13px rgba(0, 0, 0, .9);
}
.artifact-label strong {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 8.5px;
  letter-spacing: .085em;
  color: rgba(246, 237, 221, .84);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.artifact-label em {
  font-style: normal;
  font-size: 6.5px;
  letter-spacing: .04em;
  color: rgba(238, 229, 214, .34);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}
.artifact-label:hover { background: linear-gradient(90deg, rgba(27, 26, 21, .64), transparent 92%); }
.artifact-label:hover { color: var(--cream); }
.artifact-label:hover::before { background: var(--gold); box-shadow: 0 0 8px rgba(231, 183, 117, .55); }
.artifact-label.is-active strong { color: var(--gold-bright); }
.artifact-label.is-active::before { background: var(--gold); border-color: var(--gold-bright); box-shadow: 0 0 10px rgba(231, 183, 117, .5); }
.artifact-label.is-dim { opacity: .24; }
.artifact-label[data-cat="deep"]::before { border-color: rgba(227, 180, 116, .7); }
.artifact-label[data-cat="crewed"]::before { border-color: rgba(237, 228, 211, .8); }

.artifact-center-label {
  position: absolute;
  z-index: 6;
  left: 57%;
  top: 49%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  text-align: center;
}
.crosshair-mini {
  width: 15px; height: 15px;
  border: 1px solid rgba(239, 228, 208, .31);
  border-radius: 50%;
  position: relative;
  margin-bottom: 3px;
}
.crosshair-mini::before, .crosshair-mini::after {
  content: "";
  position: absolute;
  background: rgba(239, 228, 208, .3);
}
.crosshair-mini::before { left: 50%; top: -5px; bottom: -5px; width: 1px; }
.crosshair-mini::after { top: 50%; left: -5px; right: -5px; height: 1px; }
.artifact-center-label strong {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .33em;
  color: rgba(244, 236, 221, .9);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .8);
}
.artifact-center-label small {
  font-size: 7px; letter-spacing: .15em; color: rgba(235, 226, 211, .36);
}

.artifact-detail {
  position: absolute;
  z-index: 12;
  right: var(--edge);
  top: 190px;
  width: 356px;
  max-height: calc(100vh - var(--timeline-h) - 240px);
  overflow-y: auto;
  padding: 20px 20px 17px;
  background:
    linear-gradient(145deg, rgba(33, 34, 30, .83), rgba(9, 10, 9, .87));
  border: 1px solid rgba(240, 229, 208, .16);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(253, 244, 227, .05);
  backdrop-filter: blur(24px) saturate(115%);
  transform: translateX(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .55s var(--ease), opacity .45s var(--ease), visibility .55s;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 226, 205, .18) transparent;
}
.artifact-detail.is-open { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
.panel-close {
  width: 25px; height: 25px;
  display: grid; place-items: center;
  border: 1px solid rgba(239, 228, 208, .13);
  border-radius: 2px;
  color: var(--text-faint);
  transition: color .25s, border-color .25s;
}
.panel-close:hover { color: var(--cream); border-color: var(--line-strong); }
.panel-close svg { width: 12px; height: 12px; }
.artifact-detail > .panel-close { position: absolute; right: 14px; top: 14px; }
.artifact-detail-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .1em;
  color: var(--text-faint); padding-right: 28px;
}
.status-tag {
  padding: 4px 6px;
  border: 1px solid rgba(167, 205, 162, .22);
  color: rgba(190, 222, 181, .64);
  font-size: 6px; letter-spacing: .08em;
  white-space: nowrap;
}
.status-tag.is-ended { border-color: rgba(238, 228, 210, .13); color: var(--text-faint); }
.artifact-detail-en {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: .11em;
  color: rgba(219, 179, 119, .68);
}
.artifact-detail h2, .mission-dialog h2 {
  margin-top: 7px;
  font-weight: 300;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: #f3ece0;
}
.artifact-detail-desc {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.85;
  color: var(--text-dim);
}
.artifact-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 17px;
  border: 1px solid rgba(239, 229, 211, .1);
  background: rgba(239, 229, 211, .09);
}
.artifact-detail-grid div {
  padding: 9px 10px;
  background: rgba(10, 11, 10, .55);
}
.artifact-detail-grid span {
  display: block;
  font-size: 7px; letter-spacing: .06em; color: var(--text-faint);
  margin-bottom: 3px;
}
.artifact-detail-grid b {
  font-family: var(--mono); font-weight: 400; font-size: 8.5px; color: rgba(242, 233, 218, .78);
}
.artifact-detail .text-link { margin-top: 16px; }
.artifact-legend {
  position: absolute;
  z-index: 5;
  left: var(--edge);
  bottom: calc(var(--timeline-h) + 25px);
  display: flex;
  align-items: center;
  gap: 17px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .08em;
  color: var(--text-faint);
}
.artifact-legend > span { display: flex; align-items: center; gap: 6px; }
.legend-orbit, .legend-deep, .legend-crewed {
  display: block; width: 4px; height: 4px; border-radius: 50%;
}
.legend-orbit { border: 1px solid rgba(239, 229, 211, .5); }
.legend-deep { background: rgba(226, 178, 112, .8); box-shadow: 0 0 7px rgba(223, 168, 94, .4); }
.legend-crewed { background: rgba(238, 228, 211, .8); }
.artifact-bottom-copy {
  position: absolute;
  z-index: 5;
  right: var(--edge);
  bottom: calc(var(--timeline-h) + 25px);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: .04em;
  color: rgba(235, 224, 205, .3);
  text-align: right;
}
.artifact-bottom-copy small {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 6px; letter-spacing: .12em;
  color: rgba(235, 224, 205, .18);
}
.artifact-heading, .artifact-filters, .artifact-corner, .artifact-legend, .artifact-bottom-copy,
.artifact-center-label, .artifact-labels { animation: fadeUp 1s var(--ease) both; }
.artifact-heading { animation-delay: .08s; }
.artifact-filters { animation-delay: .28s; }
.artifact-labels { animation-delay: .2s; }
.artifact-corner { animation-delay: .3s; }
.artifact-center-label { animation-delay: .24s; }
.artifact-legend, .artifact-bottom-copy { animation-delay: .4s; }

/* ————————————————————————— earth system ————————————————————————— */

.view-earth {
  background:
    radial-gradient(ellipse 50% 60% at 53% 46%, rgba(59, 100, 108, .13), transparent 69%),
    #040606;
  --timeline-h: 0px;
}
.earth-toolbar {
  position: absolute;
  z-index: 9;
  left: var(--edge);
  right: var(--edge);
  top: 95px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(240, 231, 213, .12);
}
.earth-toolbar .back-link { margin: 0; }
.toolbar-slash { color: rgba(239, 230, 213, .2); font-family: var(--mono); font-size: 9px; }
.toolbar-title { font-size: 10px; letter-spacing: .12em; color: rgba(242, 234, 219, .82); }
.toolbar-id {
  font-family: var(--mono);
  font-size: 6.5px; letter-spacing: .1em; color: var(--text-faint);
  padding-left: 2px;
}
.earth-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 19px;
}
.earth-tabs button {
  height: 25px;
  padding: 0 10px;
  font-size: 8px;
  letter-spacing: .08em;
  color: rgba(239, 231, 216, .34);
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s, background .25s;
}
.earth-tabs button:hover { color: var(--cream); }
.earth-tabs button.is-active {
  color: var(--cream);
  border-color: rgba(157, 205, 195, .6);
  background: rgba(133, 183, 174, .055);
}
.earth-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  height: 29px;
  padding: 0 11px;
  border: 1px solid rgba(239, 231, 214, .14);
  border-radius: 2px;
  font-size: 8px; letter-spacing: .08em;
  color: var(--text-faint);
  transition: color .25s, border-color .25s, background .25s;
}
.earth-search:hover { color: var(--cream); border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.earth-search svg { width: 12px; height: 12px; }

.earth-heading {
  position: absolute;
  z-index: 6;
  left: var(--edge);
  top: 158px;
  width: 280px;
  pointer-events: none;
}
.earth-heading .eyebrow { font-size: 6.5px; }
.earth-heading h1 {
  display: flex; align-items: baseline; gap: 13px;
  margin-top: 9px;
  font-weight: 300;
  font-size: 47px;
  line-height: .95;
  letter-spacing: -.05em;
  color: rgba(242, 236, 224, .93);
}
.earth-heading h1 em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: .23em;
  color: rgba(155, 204, 195, .62);
}
.earth-heading > p:last-child {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(235, 228, 216, .38);
}

.earth-mode-switch {
  position: absolute;
  z-index: 7;
  left: var(--edge);
  top: 258px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 1px solid rgba(238, 228, 211, .13);
}
.earth-mode-switch button {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 7px 12px;
  text-align: left;
  color: rgba(238, 230, 215, .32);
  transition: color .3s, background .3s;
}
.earth-mode-switch button::before {
  content: "";
  position: absolute; left: -1px; top: 50%; width: 1px; height: 0;
  background: var(--teal);
  transform: translateY(-50%);
  transition: height .3s var(--ease), background .3s;
}
.earth-mode-switch button span { font-size: 9px; letter-spacing: .08em; }
.earth-mode-switch button em {
  font-family: var(--mono); font-style: normal; font-size: 5.5px; letter-spacing: .08em; opacity: .45;
}
.earth-mode-switch button:hover { color: var(--cream); }
.earth-mode-switch button.is-active { color: rgba(213, 238, 232, .9); background: linear-gradient(90deg, rgba(134, 189, 179, .08), transparent); }
.earth-mode-switch button.is-active::before { height: 67%; }
.earth-mode-switch button.is-active em { color: var(--teal); opacity: .75; }

.earth-globe-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .08em;
  color: rgba(224, 241, 236, .44);
  text-shadow: 0 1px 12px rgba(0, 30, 31, .9);
  transition: opacity .5s;
}
.earth-globe-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
  padding: 3px 6px;
  border: 0;
  border-left: 1px solid rgba(175, 223, 214, .26);
  background: linear-gradient(90deg, rgba(4, 13, 14, .32), transparent 90%);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  animation: labelAppear .6s var(--ease) forwards;
  transition: border-color .25s, background .25s, color .25s;
}
.earth-globe-label:hover,
.earth-globe-label.is-focused {
  border-left-color: rgba(222, 183, 121, .9);
  background: linear-gradient(90deg, rgba(222, 183, 121, .2), transparent 90%);
  color: #f4ecdc;
}
.earth-globe-label:hover b,
.earth-globe-label.is-focused b { color: #f7efdf; }
.earth-globe-label.is-behind {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
.earth-globe-label::before {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  border: 1px solid rgba(196, 234, 225, .72);
  background: rgba(8, 20, 20, .7);
  box-shadow: 0 0 8px rgba(156, 221, 211, .45);
}
.earth-globe-label b {
  font-weight: 400;
  color: rgba(228, 245, 239, .8);
  text-shadow: 0 1px 8px rgba(0, 8, 10, .85);
}
.earth-globe-label em {
  font-style: normal;
  font-size: 5.5px;
  color: rgba(207, 237, 229, .4);
  text-shadow: 0 1px 6px rgba(0, 8, 10, .8);
}
.camera-live {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .12em;
  color: rgba(197, 233, 225, .55);
}

.earth-data-card {
  position: absolute;
  z-index: 8;
  right: var(--edge);
  top: 149px;
  width: min(400px, 33vw);
  padding: 18px 19px 15px;
  border: 1px solid rgba(239, 229, 210, .14);
  border-radius: 3px;
  background: linear-gradient(140deg, rgba(29, 30, 28, .71), rgba(9, 10, 9, .63));
  box-shadow: 0 25px 70px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(252, 243, 224, .04);
  backdrop-filter: blur(23px) saturate(115%);
  transition: opacity .4s, transform .4s;
}
.earth-card-kicker {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .1em; color: rgba(221, 239, 233, .44);
}
.earth-card-kicker .status-dot { width: 3px; height: 3px; }
.earth-card-kicker .live { margin-left: auto; }
.earth-data-card h2 {
  margin-top: 14px;
  font-size: 23px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: .015em;
  color: rgba(247, 241, 229, .94);
}
.earth-data-card > p:nth-of-type(1) {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .09em;
  color: rgba(199, 219, 211, .38);
}
.earth-data-rows {
  margin-top: 19px;
  border-top: 1px solid rgba(239, 229, 211, .09);
}
.earth-data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(239, 229, 211, .065);
}
.earth-data-row span {
  font-size: 8px; letter-spacing: .06em; color: rgba(236, 228, 214, .38); white-space: nowrap;
}
.earth-data-row b {
  font-family: var(--mono); font-weight: 400; font-size: 8px; letter-spacing: .02em;
  color: rgba(242, 235, 221, .79); text-align: right;
}
.earth-data-note {
  margin-top: 13px;
  padding: 9px 10px;
  font-size: 8.5px;
  line-height: 1.75;
  letter-spacing: .02em;
  color: rgba(231, 235, 225, .45);
  background: rgba(255, 247, 232, .028);
  border-left: 1px solid rgba(228, 188, 126, .3);
}
body.earth-guide-open .earth-data-card { opacity: 0; transform: translateX(12px); pointer-events: none; }

.earth-legend {
  position: absolute;
  z-index: 8;
  left: var(--edge);
  bottom: 58px;
  width: min(300px, 27vw);
  padding: 13px 14px 11px;
  border: 1px solid rgba(239, 230, 213, .14);
  border-radius: 3px;
  background: rgba(10, 12, 11, .6);
  backdrop-filter: blur(20px);
}
.legend-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  color: rgba(241, 233, 218, .65);
}
.legend-top span:last-child { color: var(--text-faint); font-size: 6px; }
.legend-bar {
  height: 3px;
  margin-top: 11px;
  background: linear-gradient(90deg, #233d5a, #2f7f83, #8cd0c1, #f2cf8d, #e17a4a);
}
.legend-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 6px;
  color: var(--text-faint);
}
.legend-foot {
  display: flex; justify-content: space-between; gap: 8px;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid rgba(239, 230, 213, .07);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .03em;
  color: rgba(238, 229, 213, .25);
  line-height: 1.5;
}
.legend-foot span:last-child { text-align: right; white-space: nowrap; }

.earth-explore-launch {
  position: absolute;
  z-index: 8;
  left: var(--edge);
  bottom: 166px;
}
.explore-button {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 47px;
  padding: 0 14px;
  border: 1px solid rgba(239, 229, 210, .16);
  background: rgba(9, 11, 10, .48);
  border-radius: 2px;
  text-align: left;
  backdrop-filter: blur(14px);
  transition: background .3s, border-color .3s;
}
.explore-button:hover { background: rgba(29, 33, 30, .65); border-color: rgba(239, 226, 205, .32); }
.explore-glyph {
  position: relative;
  width: 26px; height: 26px;
  border: 1px solid rgba(185, 220, 214, .24);
  border-radius: 50%;
}
.explore-glyph::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(185, 220, 214, .4);
  border-radius: 50%;
  border-left-color: transparent;
  transform: rotate(45deg);
}
.explore-glyph i {
  position: absolute; top: 4px; right: 4px; width: 2px; height: 2px;
  border-radius: 50%; background: var(--teal);
}
.explore-button > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.explore-button > span:nth-child(2) > span { font-size: 9px; letter-spacing: .08em; color: rgba(238, 236, 226, .78); }
.explore-button small { font-family: var(--mono); font-size: 5.5px; letter-spacing: .05em; color: var(--text-faint); }
.explore-button svg { width: 18px; height: 9px; margin-left: 5px; color: var(--text-faint); }
body.earth-guide-open .earth-explore-launch { opacity: .38; }

.earth-guide-card {
  position: absolute;
  z-index: 10;
  right: var(--edge);
  top: 149px;
  width: min(400px, 33vw);
  padding: 17px 18px 14px;
  background:
    linear-gradient(145deg, rgba(38, 39, 35, .88), rgba(9, 10, 9, .83));
  border: 1px solid rgba(239, 229, 210, .17);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(253, 244, 227, .05);
  backdrop-filter: blur(25px) saturate(115%);
  transform: translateY(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.earth-guide-card.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.earth-guide-card > .panel-close { position: absolute; right: 13px; top: 13px; }
.earth-guide-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-right: 35px;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .1em; color: var(--text-faint);
}
.earth-guide-head i { font-style: normal; color: rgba(163, 202, 195, .43); }
.earth-guide-head i b { font-weight: 400; color: var(--teal); }
.earth-guide-card h3 {
  margin-top: 14px;
  font-size: 22px; font-weight: 300; letter-spacing: .02em; color: rgba(247, 240, 226, .94);
}
.earth-guide-card > p {
  margin-top: 8px;
  min-height: 56px;
  font-size: 10px; line-height: 1.9; letter-spacing: .025em;
  color: rgba(235, 229, 217, .48);
}
.earth-guide-progress {
  height: 2px;
  margin-top: 15px;
  background: rgba(239, 229, 211, .1);
}
.earth-guide-progress i {
  display: block; height: 100%; width: 20%;
  background: linear-gradient(90deg, rgba(126, 191, 179, .6), rgba(201, 229, 221, .8));
  transition: width .4s var(--ease);
}
.earth-guide-actions {
  display: flex; justify-content: space-between; margin-top: 12px;
  gap: 8px;
}
.mini-button {
  height: 27px; padding: 0 13px;
  border: 1px solid rgba(239, 229, 211, .13);
  font-size: 7.5px; letter-spacing: .06em;
  color: var(--text-faint);
  transition: background .25s, color .25s, border-color .25s;
}
.mini-button:hover { color: var(--cream); border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.mini-button.is-solid {
  color: #0d1211;
  background: rgba(201, 227, 220, .89);
  border-color: transparent;
}
.mini-button.is-solid:hover { background: #e2f1ec; color: #070b0a; }
.earth-guide-list {
  margin-top: 15px;
  padding-top: 9px;
  border-top: 1px solid rgba(239, 229, 211, .075);
  display: flex; flex-direction: column;
}
.earth-guide-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  text-align: left;
  font-size: 8px;
  letter-spacing: .06em;
  color: rgba(238, 230, 216, .28);
  border-bottom: 1px solid rgba(239, 229, 211, .045);
  transition: color .25s;
}
.earth-guide-item span {
  font-family: var(--mono); font-size: 6px; color: rgba(238, 230, 216, .18);
}
.earth-guide-item:hover, .earth-guide-item.is-active { color: rgba(220, 239, 232, .82); }
.earth-guide-item.is-active span { color: var(--teal); }

.earth-quality {
  position: absolute;
  z-index: 7;
  right: var(--edge);
  bottom: 58px;
  width: min(300px, 27vw);
  padding: 12px 14px 10px;
  border: 1px solid rgba(239, 229, 210, .13);
  border-radius: 3px;
  background: rgba(10, 12, 11, .56);
  backdrop-filter: blur(18px);
  transition: opacity .3s;
}
body.earth-guide-open .earth-quality { opacity: .28; pointer-events: none; }
.quality-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .08em; color: rgba(236, 228, 214, .5);
}
.quality-head b { font-weight: 400; color: rgba(200, 229, 222, .8); }
.quality-slider {
  display: flex; align-items: center; gap: 7px;
  margin-top: 9px;
  font-family: var(--mono); font-size: 5.5px; color: var(--text-faint);
}
.quality-slider input {
  flex: 1; height: 16px; margin: 0; padding: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}
.quality-slider input::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, rgba(128, 178, 169, .17), rgba(165, 219, 207, .7));
}
.quality-slider input::-moz-range-track {
  height: 2px;
  background: linear-gradient(90deg, rgba(128, 178, 169, .17), rgba(165, 219, 207, .7));
}
.quality-slider input::-webkit-slider-thumb {
  appearance: none;
  width: 7px; height: 7px; margin-top: -2.5px;
  border-radius: 50%;
  background: #def1eb;
  box-shadow: 0 0 7px rgba(189, 229, 220, .6);
}
.quality-slider input::-moz-range-thumb {
  width: 7px; height: 7px; border: 0; border-radius: 50%;
  background: #def1eb;
}
.earth-quality small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono); font-size: 5.5px; line-height: 1.5;
  letter-spacing: .03em; color: rgba(238, 229, 213, .22);
}

.earth-camera-state {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .05em;
  color: var(--text-faint);
  white-space: nowrap;
}
.earth-camera-state b { font-weight: 400; color: rgba(226, 239, 233, .55); }
.pause-button {
  width: 21px; height: 21px;
  display: grid; place-items: center;
  border: 1px solid rgba(239, 229, 211, .13);
  border-radius: 50%;
  color: rgba(237, 228, 212, .45);
  transition: border-color .25s, color .25s;
}
.pause-button:hover { border-color: rgba(228, 237, 225, .33); color: var(--cream); }
.pause-button svg { width: 8px; height: 8px; }
.camera-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(166, 207, 197, .75);
  box-shadow: 0 0 6px rgba(137, 196, 184, .4);
}

.earth-bottom-bar {
  position: absolute;
  z-index: 8;
  left: 0; right: 0; bottom: 0;
  height: 38px;
  padding: 0 var(--edge);
  display: flex;
  align-items: center;
  gap: 23px;
  border-top: 1px solid rgba(239, 230, 212, .1);
  background: rgba(4, 6, 6, .78);
  backdrop-filter: blur(15px);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .03em;
  color: rgba(239, 230, 214, .3);
  white-space: nowrap;
}
.earth-bottom-bar b { font-weight: 400; color: rgba(237, 228, 212, .54); }
.earth-bottom-bar .earth-coord { margin-left: auto; color: rgba(239, 230, 214, .4); }
.earth-bottom-bar .earth-coord b { color: rgba(242, 235, 221, .7); }
.earth-bottom-bar .earth-coord i { font-style: normal; margin-left: 13px; color: var(--text-faint); }
.cesium-word {
  display: flex; align-items: center; gap: 4px;
  color: rgba(235, 226, 210, .67);
  letter-spacing: .12em;
}
.cesium-word i {
  width: 9px; height: 9px;
  border: 1px solid rgba(143, 209, 196, .5);
  border-radius: 50%;
  position: relative;
}
.cesium-word i::before {
  content: ""; position: absolute; inset: 2px;
  background: rgba(139, 202, 188, .6);
  border-radius: 50%;
}
.cesium-word span {
  margin-left: 5px;
  color: rgba(238, 229, 213, .2);
  font-size: 5px;
}
.operation-hint {
  display: flex; align-items: center; gap: 6px;
  color: rgba(239, 231, 215, .32);
  font-family: var(--mono); font-size: 5.5px; letter-spacing: .08em;
}
.operation-hint i {
  width: 11px; height: 11px;
  border: 1px solid rgba(239, 231, 215, .2);
  border-radius: 50%;
  position: relative;
}
.operation-hint i::before {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(239, 231, 215, .35);
}

/* ————————————————————————— overlays ————————————————————————— */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s;
}
.overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.overlay-scrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 4, .7);
  backdrop-filter: blur(12px) saturate(.8);
  -webkit-backdrop-filter: blur(12px) saturate(.8);
}
.overlay-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 50% 35%, rgba(92, 79, 57, .08), transparent 70%);
}
.overlay > section {
  position: relative;
  z-index: 1;
  transform: translateY(14px) scale(.995);
  opacity: 0;
  transition: transform .55s var(--ease), opacity .4s var(--ease);
}
.overlay.is-open > section { transform: translateY(0) scale(1); opacity: 1; }

/* search */
.search-overlay { align-items: flex-start; }
.search-dialog {
  width: min(730px, 88vw);
  margin-top: 14vh;
  background:
    linear-gradient(150deg, rgba(31, 32, 29, .94), rgba(8, 9, 8, .96));
  border: 1px solid rgba(241, 232, 214, .17);
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 248, 234, .055);
  backdrop-filter: blur(26px);
  overflow: hidden;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 21px;
  border-bottom: 1px solid rgba(239, 229, 211, .11);
}
.search-bar > svg { width: 20px; height: 20px; color: rgba(226, 185, 124, .8); flex: 0 0 auto; }
.search-bar input {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--cream);
}
.search-bar input::placeholder { color: rgba(239, 231, 216, .29); }
.search-bar kbd {
  padding: 4px 7px;
  border: 1px solid rgba(239, 229, 211, .15);
  border-radius: 2px;
  color: var(--text-faint);
}
.search-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 21px;
  border-bottom: 1px solid rgba(239, 229, 211, .07);
}
.search-suggestions > span {
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .1em; color: var(--text-faint);
  margin-right: 4px;
}
.search-suggestions button {
  padding: 4px 8px;
  border: 1px solid rgba(239, 229, 211, .11);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .03em;
  color: rgba(238, 230, 216, .42);
  border-radius: 2px;
  transition: color .25s, border-color .25s;
}
.search-suggestions button:hover { color: var(--cream); border-color: var(--line-strong); }
.search-results {
  max-height: 44vh;
  overflow-y: auto;
  padding: 7px 11px;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 226, 205, .2) transparent;
}
.search-group-label {
  padding: 11px 10px 6px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .13em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.search-result {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 2px;
  text-align: left;
  transition: background .25s;
}
.search-result:hover, .search-result.is-selected { background: rgba(243, 232, 211, .065); }
.search-result-mark {
  width: 29px; height: 29px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid rgba(239, 229, 211, .12);
  border-radius: 50%;
  font-family: var(--mono); font-size: 7px; color: rgba(230, 196, 143, .7);
}
.search-result-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-result-copy strong {
  font-weight: 400; font-size: 11px; letter-spacing: .04em; color: rgba(244, 236, 221, .86);
}
.search-result-copy em {
  font-family: var(--mono); font-style: normal; font-size: 6.5px; letter-spacing: .07em;
  color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search-result-type {
  margin-left: auto;
  font-family: var(--mono); font-size: 6px; letter-spacing: .08em; color: var(--text-faint);
  white-space: nowrap;
}
.search-result-arrow { color: var(--text-faint); margin-left: 4px; }
.search-empty {
  padding: 35px 15px;
  text-align: center;
  color: var(--text-faint);
  font-size: 10px;
  letter-spacing: .08em;
}
.search-empty span { display: block; font-family: var(--mono); font-size: 7px; margin-top: 6px; color: rgba(239, 229, 211, .2); }
.search-foot {
  display: flex; align-items: center; gap: 18px;
  padding: 11px 21px;
  border-top: 1px solid rgba(239, 229, 211, .08);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .07em;
  color: var(--text-faint);
}
.search-foot > span { display: flex; align-items: center; gap: 5px; }
.search-foot kbd {
  padding: 2px 4px; border: 1px solid rgba(239, 229, 211, .12);
  font-size: 6px; color: rgba(239, 229, 211, .4);
}
.search-foot .search-count { margin-left: auto; }

/* planet index */
.index-overlay { align-items: center; }
.index-dialog {
  width: min(1160px, 90vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(140deg, rgba(28, 29, 26, .93), rgba(8, 9, 8, .96));
  border: 1px solid rgba(241, 232, 215, .16);
  border-radius: 4px;
  box-shadow: 0 45px 110px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 248, 234, .055);
  backdrop-filter: blur(28px);
  overflow: hidden;
}
.index-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 25px 28px 22px;
  border-bottom: 1px solid rgba(239, 229, 211, .11);
}
.index-head .eyebrow { margin-bottom: 10px; }
.index-head h2 {
  display: flex; align-items: baseline; gap: 18px;
  font-weight: 300;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.045em;
  color: #f2ecdf;
}
.index-head h2 .en { font-family: var(--serif); font-size: .73em; color: var(--gold-bright); letter-spacing: .01em; }
body.lang-en .index-head h2 .en { font-size: 1em; letter-spacing: -.02em; }
.index-head-meta { display: flex; align-items: flex-start; gap: 20px; }
.index-head-meta p {
  max-width: 315px;
  font-size: 9.5px;
  line-height: 1.8;
  color: var(--text-faint);
  text-align: right;
}
.index-head-meta .panel-close { margin-top: 1px; }
.planet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0 14px;
  background: rgba(239, 229, 211, .065);
  overflow: visible;
}
.planet-card {
  position: relative;
  min-height: 190px;
  padding: 14px 13px 13px;
  background: rgba(9, 10, 9, .82);
  text-align: left;
  overflow: hidden;
  transition: background .35s var(--ease);
}
.planet-thumb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.planet-card-type {
  max-width: 64%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.planet-card-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(219, 176, 113, .075), transparent 70%),
    rgba(9, 10, 9, .82);
  text-align: center;
  padding: 20px;
}
.planet-card-back::before { display: none; }
.planet-card-back .back-orbit {
  position: relative;
  width: 60px; height: 60px;
  border: 1px solid rgba(239, 229, 210, .13);
  border-radius: 50%;
  display: block;
}
.planet-card-back .back-orbit::before,
.planet-card-back .back-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(239, 229, 210, .12);
  border-radius: 50%;
}
.planet-card-back .back-orbit::before { inset: 11px; }
.planet-card-back .back-orbit::after { inset: 24px; background: rgba(216, 175, 112, .22); }
.planet-card-back .back-orbit i {
  position: absolute;
  left: 50%; top: 50%; width: 122px; height: 32px;
  border: 1px solid rgba(224, 183, 121, .32);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);
}
.planet-card-back .back-orbit b {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px rgba(236, 187, 118, .8);
  top: 23px; right: 2px;
}
.planet-card-back .back-orbit em {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(236, 227, 210, .65);
  bottom: 18px; left: 5px;
}
.planet-card-back .back-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.planet-card-back .back-copy .eyebrow {
  font-size: 5.5px;
  color: var(--text-faint);
  justify-content: center;
}
.planet-card-back .back-copy strong {
  font-weight: 300;
  font-size: 15px;
  letter-spacing: .1em;
  color: rgba(244, 236, 221, .82);
}
.planet-card-back .back-copy small {
  font-size: 7.5px;
  letter-spacing: .04em;
  color: var(--text-faint);
}
.planet-card-back > svg {
  width: 22px; height: 12px;
  color: rgba(230, 186, 123, .52);
  transform: rotate(180deg);
  transition: transform .4s var(--ease);
}
.planet-card-back:hover > svg { transform: rotate(180deg) translateX(4px); }
.planet-card-back .planet-card-copy { margin: 0; }
.planet-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: transparent;
  transition: background .35s;
}
.planet-card:hover { background: rgba(31, 31, 27, .93); }
.planet-card:hover::before { background: linear-gradient(90deg, transparent, rgba(235, 189, 122, .6), transparent); }
.planet-card-top { display: flex; justify-content: space-between; align-items: center; }
.planet-card-index {
  font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--text-faint);
}
.planet-card-type {
  font-family: var(--mono); font-size: 5.5px; letter-spacing: .06em; color: rgba(238, 229, 213, .2);
}
.planet-thumb-wrap {
  position: relative;
  width: 96px; height: 96px;
  margin: 8px auto 4px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .55s var(--ease);
}
.planet-card:hover .planet-thumb-wrap { transform: scale(1.06); }
.planet-thumb-wrap::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(219, 174, 108, .15)), transparent 66%);
  opacity: .8;
}
.planet-thumb-wrap canvas { position: relative; z-index: 1; border-radius: 50%; }
.planet-card-copy { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 6px; }
.planet-card-copy h3 {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: .06em;
  color: rgba(245, 237, 222, .91);
}
.planet-card-copy em {
  font-family: var(--mono); font-style: normal; font-size: 6px; letter-spacing: .1em;
  color: var(--text-faint);
}
.planet-card-arrow {
  width: 19px; height: 19px;
  display: grid; place-items: center;
  border: 1px solid rgba(239, 229, 211, .13);
  border-radius: 50%;
  color: var(--text-faint);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity .3s, transform .3s, color .3s;
}
.planet-card:hover .planet-card-arrow { opacity: 1; transform: translate(0,0); color: var(--gold-bright); }
.planet-card-arrow svg { width: 9px; height: 9px; }
.planet-card-meta {
  display: flex; gap: 12px;
  margin-top: 7px;
  font-family: var(--mono); font-size: 5.5px; letter-spacing: .03em;
  color: rgba(238, 229, 213, .22);
}
.planet-card-meta span:first-child { color: rgba(238, 229, 213, .35); }
.index-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 28px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .1em;
  color: var(--text-faint);
    border-top: 1px solid rgba(239, 229, 211, .08);
}
.index-random {
  margin-left: auto;
  margin-right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(239, 229, 211, .12);
  border-radius: 2px;
  color: rgba(238, 230, 216, .5);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .09em;
  transition: color .25s, border-color .25s, background .25s;
}
.index-random svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.index-random:hover {
  color: var(--cream);
  border-color: rgba(229, 185, 120, .38);
  background: rgba(229, 185, 120, .07);
}
.index-random:hover svg { transform: rotate(160deg); }

/* guide */
.guide-overlay { align-items: center; }
.guide-dialog {
  width: min(880px, 88vw);
  padding: 26px 28px 0;
  background:
    linear-gradient(140deg, rgba(31, 32, 28, .95), rgba(8, 9, 8, .97));
  border: 1px solid rgba(241, 232, 215, .16);
  border-radius: 4px;
  box-shadow: 0 45px 110px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 248, 234, .05);
  backdrop-filter: blur(27px);
}
.guide-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(239, 229, 211, .11);
}
.guide-head h2 {
  margin-top: 9px;
  font-weight: 300;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: #f3ece0;
}
.guide-head h2 .en { font-family: var(--serif); color: var(--gold-bright); }
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(239, 229, 211, .07);
  margin: 0 -28px;
}
.guide-grid article {
  background: rgba(11, 12, 11, .78);
  padding: 20px 24px 22px;
}
.guide-grid article:last-child { grid-column: 1 / -1; }
.guide-grid article > span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  color: rgba(229, 185, 120, .55);
}
.guide-grid h3 {
  margin-top: 12px;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: .08em;
  color: rgba(244, 236, 221, .87);
}
.guide-grid p {
  margin-top: 8px;
  font-size: 9.5px;
  line-height: 1.85;
  letter-spacing: .025em;
  color: rgba(237, 230, 217, .37);
}
.guide-grid kbd {
  padding: 1px 4px;
  border: 1px solid rgba(239, 229, 211, .13);
  color: rgba(239, 229, 211, .55);
  font-size: 7px;
}
.guide-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.guide-coord {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .08em;
  color: var(--text-faint);
}
.guide-coord span { margin-left: 9px; color: rgba(239, 229, 211, .2); }
.guide-credit { display: inline-block; margin-top: 4px; margin-left: 0 !important; color: rgba(239, 229, 211, .14) !important; }

/* mission modal */
.mission-dialog {
  width: min(650px, 88vw);
  max-height: 86vh;
  overflow-y: auto;
  padding: 26px 28px 22px;
  background:
    linear-gradient(145deg, rgba(34, 34, 30, .95), rgba(8, 9, 8, .97));
  border: 1px solid rgba(241, 232, 215, .17);
  border-radius: 4px;
  box-shadow: 0 45px 110px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 248, 234, .05);
  backdrop-filter: blur(28px);
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 226, 205, .18) transparent;
}
.mission-dialog > .panel-close { position: absolute; right: 18px; top: 18px; }
.mission-dialog-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-right: 35px;
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .1em; color: var(--text-faint);
}
.mission-dialog-kicker {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: rgba(218, 177, 116, .7);
}
.mission-dialog h2 { font-size: 30px; }
.mission-dialog-desc {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--text-dim);
}
.mission-dialog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: rgba(239, 229, 211, .09);
  border: 1px solid rgba(239, 229, 211, .1);
}
.mission-dialog-grid div { background: rgba(10, 11, 10, .6); padding: 12px 12px 11px; }
.mission-dialog-grid span {
  display: block;
  margin-bottom: 5px;
  font-size: 7px; letter-spacing: .07em; color: var(--text-faint);
}
.mission-dialog-grid b {
  font-family: var(--mono); font-weight: 400; font-size: 9px; letter-spacing: -.01em;
  color: rgba(243, 234, 219, .8);
}
.mission-dialog-note {
  display: flex; gap: 15px;
  margin-top: 18px;
  padding: 13px 14px;
  border-left: 1px solid rgba(227, 182, 120, .32);
  background: rgba(255, 246, 230, .028);
}
.note-mark {
  font-family: var(--mono); font-size: 6px; letter-spacing: .1em; color: rgba(226, 183, 122, .55);
  flex: 0 0 auto; padding-top: 2px;
}
.mission-dialog-note p {
  font-size: 9px; line-height: 1.8; color: rgba(236, 227, 212, .43); letter-spacing: .02em;
}
.mission-dialog-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; margin-top: 20px; padding-top: 15px;
  border-top: 1px solid rgba(239, 229, 211, .08);
  font-family: var(--mono); font-size: 6px; letter-spacing: .08em; color: var(--text-faint);
}

/* ————————————————————————— hint, toast, etc ————————————————————————— */

.hint-strip { display: none; }
.hint-strip .hint-key {
  padding: 2px 4px;
  border: 1px solid rgba(239, 229, 211, .12);
  color: rgba(239, 229, 211, .38);
}
.hint-strip i { width: 1px; height: 9px; background: rgba(239, 229, 211, .1); margin: 0 4px; }
.hint-strip .en { display: none !important; }
body.lang-en .hint-strip .en { display: inline-block !important; }
body.lang-en .hint-strip .zh { display: none !important; }

.toast {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: calc(var(--timeline-h) + 28px);
  transform: translate(-50%, 12px);
  padding: 9px 16px;
  border: 1px solid rgba(239, 229, 211, .16);
  background: rgba(8, 9, 8, .9);
  backdrop-filter: blur(18px);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  color: rgba(241, 233, 219, .77);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  white-space: nowrap;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
body.is-earth .toast { bottom: 76px; }

.noscript {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: #060707; color: var(--text); font-size: 14px;
}

/* ————————————————————————— animations ————————————————————————— */

@keyframes introRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes panelIn {
  from { opacity: 0; transform: translateX(17px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes labelAppear {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 5px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes bootOrbit { to { transform: rotate(360deg); } }
@keyframes soundBar {
  from { transform: scaleY(.5); opacity: .55; }
  to { transform: scaleY(1.4); opacity: 1; }
}
@keyframes statusPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes sunBreathe {
  0%, 100% { transform: scale(1); opacity: .48; }
  50% { transform: scale(1.035); opacity: .57; }
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 2%); }
  100% { transform: translate(-1%, 1%); }
}

/* ————————————————————————— responsive ————————————————————————— */

@media (max-width: 1320px) {
  .topbar { gap: 16px; }
  .nav-item { padding: 0 11px; }
  .clock-block { display: none; }
  .tool-button .tool-label { display: none; }
  .tool-button { padding: 0 9px; }
  .tool-button kbd { margin-left: 0; }
  .overview-copy { width: min(420px, 36vw); }
  .lede { max-width: 350px; }
  .artifact-corner { display: none; }
  .planet-visual-wrap { left: 24%; right: 33%; }
  .earth-heading { width: 245px; }
  .earth-data-card, .earth-guide-card { width: min(370px, 32vw); }
}

@media (max-width: 1120px) {
  :root { --topbar-h: 74px; }
  .topbar { padding: 0 24px; gap: 13px; }
  .main-nav { top: 17px; }
  .nav-item { height: 32px; padding: 0 9px; font-size: 10px; }
  .nav-num { display: none; }
  .brand-copy { display: none; }
  .brand-orbit { width: 29px; height: 29px; }
  .brand-orbit::before { width: 22px; }
  .topbar::after { left: 24px; right: 24px; }
  .overview-copy { width: 38vw; top: 112px; }
  .display-title { font-size: clamp(47px, 6.2vw, 67px); }
  .lede { font-size: 11.5px; max-width: 330px; }
  .ephemeris { width: 234px; top: 100px; padding: 13px; }
  .ephemeris-date { font-size: 16px; }
  .ephem-row:nth-child(n+4) { display: none; }
  .artifact-heading { width: 285px; top: 106px; }
  .artifact-heading h1 { font-size: 52px; }
  .artifact-filters { top: 360px; left: 24px; }
  .planet-head { top: 96px; width: 290px; }
  .planet-title-zh { font-size: 57px; }
  .planet-title-latin > span { font-size: 10px; }
  .planet-dossier { top: 93px; width: 32vw; }
  .planet-visual-wrap { left: 23%; right: 34%; top: 55px; }
  .planet-hud-coordinates { display: none; }
  .earth-heading { top: 145px; }
  .earth-heading h1 { font-size: 39px; }
  .earth-mode-switch { top: 240px; }
  .earth-toolbar { left: 24px; right: 24px; top: 88px; }
  .earth-data-card, .earth-guide-card { right: 24px; top: 139px; width: 330px; }
  .earth-legend { left: 24px; }
  .earth-explore-launch { left: 24px; }
  .earth-quality { right: 24px; width: 270px; }
  .earth-camera-state { display: none; }
  .earth-bottom-bar { padding: 0 24px; gap: 14px; }
  .earth-bottom-bar > span:nth-child(2) { display: none; }
}

@media (max-width: 900px) {
  :root { --timeline-h: 125px; }
  body { font-size: 13px; }
  .world-switcher { left: 20px; right: 20px; width: auto; transform: none; }
  .topbar { padding: 0 18px; height: 68px; align-items: center; }
  .main-nav { top: 14px; }
  .nav-item { padding: 0 8px; font-size: 9px; }
  .nav-item .en { font-size: 8px; }
  .nav-item svg { display: none; }
  .lang-toggle { padding: 0 7px; height: 30px; }
  .tool-button { width: 30px; height: 30px; padding: 0; justify-content: center; }
  .tool-button kbd { display: none; }
  .sound-toggle { height: 30px; padding: 0 8px; }
  .sound-label { display: none; }
  .topbar-tools { gap: 5px; }
  .hint-strip { display: none; }
  .timeline { padding: 10px 18px; }
  .timeline-head { height: 42px; gap: 14px; }
  .timeline-caption { display: none; }
  .timeline-play { margin-left: auto; }
  .timeline-stats { gap: 12px; padding-top: 8px; }
  .timeline-stats > div:nth-child(3) { display: none; }
  .timeline-year { font-size: 29px; }
  .timeline-track { height: 34px; margin-top: 2px; }
  .timeline-playhead { bottom: 0; }
  .overview-copy { top: 96px; width: 48vw; left: 20px; }
  .display-title { font-size: clamp(40px, 7vw, 56px); }
  .lede { display: none; }
  .hero-actions { margin-top: 22px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn { height: 39px; font-size: 9px; }
  .hero-index { margin-top: 26px; gap: 11px; }
  .hero-index b { font-size: 12px; }
  .hero-index > i { height: 11px; }
  .ephemeris { display: none; }
  .view-status { left: 20px; font-size: 6px; bottom: calc(var(--timeline-h) + 11px); }
  .view-status .status-divider, .view-status .en { display: none !important; }
  .scroll-cue { display: none; }
  .epoch-stamp { display: none; }
  .map-controls { right: 16px; bottom: calc(var(--timeline-h) + 16px); }
  .system-label strong { font-size: 9px; }
  .system-label .label-copy { padding-left: 8px; }
  .artifacts-heading, .artifact-heading { left: 20px; top: 92px; width: 230px; }
  .artifact-heading h1 { font-size: 42px; margin-top: 11px; }
  .artifact-lede { font-size: 10px; }
  .artifact-stats { gap: 13px; margin-top: 17px; }
  .artifact-stats > div { padding-left: 7px; }
  .artifact-stats b { font-size: 14px; }
  .artifact-filters { left: 20px; top: 332px; max-width: 300px; }
  .artifact-filters button { height: 24px; font-size: 7px; padding: 0 7px; }
  .artifact-detail { top: auto; bottom: calc(var(--timeline-h) + 16px); right: 16px; width: 320px; max-height: 40vh; }
  .artifact-legend { left: 20px; bottom: calc(var(--timeline-h) + 16px); }
  .artifact-bottom-copy { display: none; }
  .artifact-center-label { left: 58%; top: 50%; }
  .planet-page { inset-bottom: 0; }
  .planet-head { left: 20px; top: 85px; width: 230px; }
  .back-link { margin-bottom: 18px; }
  .planet-title-zh { font-size: 47px; }
  .planet-title-latin { display: none; }
  .planet-tagline { font-size: 10px; }
  .planet-visual-wrap { left: 10%; right: 35%; top: 80px; bottom: 120px; }
  .planet-hud-label, .planet-drag-hint, .planet-orbit-context { display: none; }
  .annotations { display: none; }
  .planet-dossier { right: 16px; top: 355px; bottom: 15px; width: 39vw; }
  .planet-dossier .observe-card { display: none; }
  .planet-dossier .dossier-copy { padding-top: 0; border-top: 0; }
  .planet-dossier .missions-panel { display: none; }
  .dossier-copy h2 { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell:nth-child(5), .stat-cell:nth-child(6) { display: none; }
  .world-switcher { left: 20px; right: 20px; transform: none; width: auto; bottom: 52px; }
  .world-pip { font-size: 6px; }
  .world-pip:nth-child(n+7) { display: none; }
  .earth-toolbar { top: 78px; left: 18px; right: 18px; gap: 8px; }
  .earth-tabs { display: none; }
  .earth-search span { display: none; }
  .earth-heading { top: 126px; left: 18px; }
  .earth-heading h1 { font-size: 33px; }
  .earth-mode-switch { top: 210px; left: 18px; }
  .earth-mode-switch button { padding: 6px 9px; }
  .earth-data-card, .earth-guide-card { width: 310px; right: 18px; top: 125px; padding: 14px 15px; }
  .earth-data-card h2 { font-size: 19px; margin-top: 10px; }
  .earth-data-rows { margin-top: 12px; }
  .earth-data-row { padding: 6px 0; }
  .earth-data-row:nth-last-child(-n+2) { display: none; }
  .earth-data-note { display: none; }
  .earth-legend { left: 18px; bottom: 49px; width: 250px; }
  .earth-explore-launch { left: 18px; bottom: 128px; }
  .earth-quality { right: 18px; bottom: 49px; width: 240px; }
  .earth-quality small { display: none; }
  .earth-camera-state { display: none; }
  .earth-bottom-bar { height: 34px; padding: 0 18px; gap: 12px; font-size: 5px; }
  .earth-bottom-bar > span:nth-child(2), .earth-bottom-bar > span:nth-child(3) { display: none; }
  .earth-bottom-bar .earth-coord { display: none; }
  .earth-guide-card { top: 125px; }
  .earth-guide-card .earth-guide-list { display: none; }
  .earth-guide-card > p { min-height: 0; }
  .planet-grid { grid-template-columns: repeat(3, 1fr); padding: 0 8px; }
  .planet-card { min-height: 157px; padding: 10px; }
  .planet-thumb-wrap { width: 74px; height: 74px; margin: 4px auto 3px; }
  .planet-card-copy h3 { font-size: 14px; }
  .index-dialog { max-height: 92vh; overflow-y: auto; }
  .index-head { padding: 18px; }
  .index-head h2 { font-size: 27px; }
  .index-head-meta p { display: none; }
  .index-head-meta { align-items: flex-start; }
  .guide-dialog { padding: 20px 20px 0; max-height: 90vh; overflow-y: auto; }
  .guide-grid { margin: 0 -20px; grid-template-columns: 1fr; }
  .guide-grid article { padding: 15px 20px 17px; }
  .guide-head h2 { font-size: 24px; }
  .guide-foot { padding: 13px 0; }
  .guide-foot .btn { height: 38px; }
  .search-dialog { margin-top: 9vh; }
  .search-results { max-height: 50vh; }
  .timeline-label { font-size: 5.5px; }
  .timeline-stats b { font-size: 9px; }
  .timeline-play { height: 24px; padding: 0 8px; font-size: 6.5px; }
  .timeline-tick { font-size: 5.5px; }
}

@media (max-width: 680px) {
  :root { --timeline-h: 112px; --edge: 16px; }
  .main-nav {
    left: auto; right: 14px; transform: none;
    top: 12px;
    border: 0; background: none; backdrop-filter: none; padding: 0; height: 42px; gap: 0;
  }
  .main-nav .nav-item { height: 32px; padding: 0 6px; font-size: 8px; }
  .main-nav .nav-item:nth-child(1) { display: none; }
  .nav-item.is-active::after { left: 6px; right: 6px; }
  .brand-orbit { width: 24px; height: 24px; }
  .brand-orbit::before { width: 19px; }
  .brand-orbit i { width: 9px; height: 9px; }
  .brand-orbit::after { transform: translate(6px, -5px); }
  .topbar-tools { gap: 4px; }
  .lang-toggle { display: none; }
  .tool-button { border-color: transparent; }
  .sound-toggle { border-color: transparent; }
  .topbar::after { left: 16px; right: 16px; bottom: 4px; }
  .overview-copy { top: 86px; width: calc(100vw - 32px); left: 16px; }
  .display-title { font-size: clamp(44px, 13vw, 63px); }
  .title-english { font-size: 6px; letter-spacing: .19em; }
  .hero-actions { flex-direction: row; align-items: center; gap: 14px; }
  .btn { height: 36px; padding: 0 11px; font-size: 8px; gap: 10px; }
  .btn-quiet { display: none; }
  .hero-index { margin-top: 21px; gap: 10px; }
  .hero-index b { font-size: 10px; }
  .hero-index div > span { font-size: 6.5px; }
  .hero-index > i { height: 9px; }
  .system-label { padding: 7px; }
  .system-label strong { font-size: 8px; letter-spacing: .1em; }
  .system-label em { font-size: 5px; }
  .system-label .label-copy { padding-left: 7px; gap: 2px; }
  .system-label .label-sun { display: none; }
  .system-label::after { width: 9px; left: 14px; }
  .map-controls { display: none; }
  .view-status { bottom: calc(var(--timeline-h) + 8px); font-size: 5.5px; letter-spacing: .06em; }
  .timeline { padding: 9px 14px; height: var(--timeline-h); }
  .timeline-head { height: 44px; gap: 10px; }
  .timeline-year-wrap { min-width: 64px; }
  .timeline-year { font-size: 25px; }
  .timeline-label { font-size: 4.7px; }
  .timeline-stats { padding-top: 6px; gap: 9px; }
  .timeline-stats > div { gap: 3px; }
  .timeline-stats > div:nth-child(2) { display: none; }
  .timeline-stats b { font-size: 8px; }
  .timeline-stats span { font-size: 5.5px; }
  .timeline-play { margin: 0 0 0 auto; padding: 0 7px; }
  .timeline-play span span { display: none; }
  .timeline-play span span.zh, .timeline-play span span.en { display: none !important; }
  .timeline-play { width: 25px; justify-content: center; }
  .timeline-caption { display: none; }
  .timeline-track { height: 29px; margin-top: 1px; }
  .event-dot { top: 12px; }
  .timeline-hover { display: none; }
  .artifact-heading { top: 82px; width: 200px; }
  .artifact-heading h1 { font-size: 34px; }
  .artifact-heading .eyebrow .dim { display: none; }
  .artifact-lede { display: none; }
  .artifact-stats { margin-top: 11px; gap: 11px; }
  .artifact-stats b { font-size: 12px; }
  .artifact-stats span { font-size: 5.5px; }
  .artifact-filters { top: 248px; max-width: calc(100vw - 32px); gap: 3px; }
  .artifact-filters button { height: 21px; padding: 0 5px; font-size: 6px; }
  .artifact-filters button b { display: none; }
  .artifact-label { padding: 4px; }
  .artifact-label strong { font-size: 6px; letter-spacing: .04em; }
  .artifact-label em { font-size: 5px; }
  .artifact-label::after { width: 5px; left: 7px; }
  .artifact-label .artifact-label-copy { padding-left: 5px; }
  .artifact-label:nth-child(n+11) { display: none; }
  .artifact-center-label { left: 61%; top: 45%; }
  .artifact-center-label strong { font-size: 8px; }
  .artifact-center-label small { display: none; }
  .artifact-detail { left: 12px; right: 12px; width: auto; bottom: calc(var(--timeline-h) + 10px); max-height: 46vh; }
  .artifact-legend { display: none; }
  .planet-head { top: 77px; }
  .back-link { display: none; }
  .planet-title-zh { font-size: 39px; }
  .planet-head .eyebrow { font-size: 5.5px; }
  .planet-tagline { font-size: 8.5px; }
  .planet-visual-wrap { left: 4%; right: 9%; top: 120px; bottom: auto; height: 40vh; }
  .planet-dossier { top: auto; bottom: 43px; left: 14px; right: 14px; width: auto; height: 32vh; padding: 0 3px 0 0; }
  .planet-dossier .stats-panel { display: none; }
  .planet-dossier .dossier-copy { display: none; }
  .planet-dossier { background: linear-gradient(180deg, transparent, rgba(5,6,6,.86)); }
  .dossier-top { display: none; }
  .planet-dossier .missions-panel { display: block; padding: 0; }
  .planet-dossier .missions-panel .stats-head { display: none; }
  .planet-dossier .mission-item { padding: 7px 0; }
  .world-switcher { bottom: 10px; left: 14px; right: 14px; }
  .world-pip:nth-child(n+8) { display: none; }
  .world-arrow { width: 19px; height: 23px; }
  .earth-toolbar { top: 72px; height: 33px; }
  .earth-toolbar .back-link { display: flex; margin: 0; }
  .toolbar-title { font-size: 8px; }
  .toolbar-id, .toolbar-slash { display: none; }
  .earth-search { height: 24px; width: 24px; padding: 0; justify-content: center; border: 0; }
  .earth-heading { top: 112px; }
  .earth-heading h1 { font-size: 27px; gap: 8px; }
  .earth-heading h1 em { font-size: 6px; }
  .earth-heading > p:last-child { display: none; }
  .earth-heading .eyebrow { font-size: 5px; white-space: normal; }
  .earth-mode-switch { top: 166px; flex-direction: row; flex-wrap: wrap; gap: 1px; width: 210px; border-left: 0; }
  .earth-mode-switch button { padding: 4px 7px; border-bottom: 1px solid rgba(238, 228, 211, .1); }
  .earth-mode-switch button::before { display: none; }
  .earth-mode-switch button span { font-size: 7px; }
  .earth-mode-switch button em { display: none; }
  .earth-data-card { top: auto; bottom: 91px; left: 14px; right: 14px; width: auto; padding: 11px 13px; }
  .earth-data-card h2 { font-size: 15px; margin-top: 5px; }
  .earth-data-card > p:nth-of-type(1) { display: none; }
  .earth-data-rows { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; border-top: 0; }
  .earth-data-row { padding: 5px 0; gap: 7px; }
  .earth-data-row:nth-child(n+5) { display: none; }
  .earth-data-row:nth-child(odd) { border-top: 1px solid rgba(239,229,211,.07); }
  .earth-data-note { display: none; }
  .earth-legend { display: none; }
  .earth-quality { display: none; }
  .earth-explore-launch { left: auto; right: 14px; bottom: 92px; display: none; }
  .earth-guide-card { left: 14px; right: 14px; top: auto; bottom: 90px; width: auto; }
  .earth-guide-card > p { min-height: 0; font-size: 9px; }
  .earth-guide-list { display: none; }
  .earth-bottom-bar { height: 30px; padding: 0 13px; }
  .cesium-word span { display: none; }
  .earth-bottom-bar .earth-coord { display: none; }
  .earth-bottom-bar .operation-hint { margin-left: auto; }
  .earth-globe-label { font-size: 5.5px; }
  .earth-globe-label:nth-child(n+5) { display: none; }
  .index-dialog { width: calc(100vw - 24px); }
  .planet-grid { grid-template-columns: repeat(2, 1fr); }
  .planet-card { min-height: 142px; }
  .planet-thumb-wrap { width: 62px; height: 62px; }
  .planet-card-copy h3 { font-size: 12px; }
  .planet-card-meta { display: none; }
  .index-head { padding: 14px; }
  .index-head h2 { font-size: 22px; gap: 9px; }
  .index-head h2 .en { font-size: .62em; }
  .index-head-meta .panel-close { position: fixed; right: 19px; top: 12px; }
  .index-foot { padding: 10px 14px; }
  .index-foot > span:last-child { display: none; }
  .search-dialog { width: calc(100vw - 24px); margin-top: 7vh; }
  .search-bar { padding: 14px 15px; }
  .search-bar input { font-size: 13px; }
  .search-suggestions { padding: 9px 15px; }
  .search-results { max-height: 54vh; padding: 5px 7px; }
  .search-foot { padding: 9px 15px; flex-wrap: wrap; gap: 10px; }
  .search-foot .search-count { margin-left: 0; }
  .guide-dialog { width: calc(100vw - 24px); padding: 16px 16px 0; }
  .guide-grid { margin: 0 -16px; }
  .guide-head h2 { font-size: 20px; }
  .guide-foot .guide-coord { display: none; }
  .guide-foot { justify-content: flex-end; }
  .mission-dialog { width: calc(100vw - 24px); padding: 18px 16px 15px; }
  .mission-dialog h2 { font-size: 23px; }
  .mission-dialog-grid { grid-template-columns: 1fr 1fr; }
  .mission-dialog-grid div:nth-child(n+5) { display: none; }
  .mission-dialog-kicker { margin-top: 16px; }
  .mission-dialog-desc { font-size: 10px; }
  .toast { bottom: calc(var(--timeline-h) + 14px); font-size: 7px; white-space: normal; text-align: center; max-width: 85vw; }
  body.is-earth .toast { bottom: 75px; }
}

@media (min-width: 681px) and (max-width: 900px) {
  .planet-dossier {
    top: 340px;
    bottom: 12px;
    right: 16px;
    width: 39vw;
    background: linear-gradient(180deg, rgba(7, 8, 7, .05), rgba(7, 8, 7, .4));
    padding-left: 10px;
    border-left: 1px solid rgba(239, 229, 211, .08);
  }
  .planet-dossier .observe-card { display: none; }
  .planet-dossier .missions-panel { display: none; }
  .planet-dossier .dossier-copy { padding-top: 0; border-top: 0; }
  .planet-dossier .stats-grid { grid-template-columns: 1fr; }
  .planet-dossier .stat-cell:nth-child(n+5) { display: none; }
  .world-switcher {
    left: 18px;
    right: calc(39vw + 32px);
    bottom: 52px;
    width: auto;
    transform: none;
  }
  .world-pip { font-size: 6px; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .overview-copy { top: 108px; }
  .display-title { font-size: clamp(48px, 5vw, 70px); }
  .lede { display: block; margin-top: 16px; font-size: 10.5px; line-height: 1.8; max-width: 390px; }
  .hero-actions { margin-top: 20px; }
  .hero-index { margin-top: 22px; }
  .planet-head { top: 96px; }
  .planet-title-zh { font-size: 56px; }
  .planet-dossier { top: 92px; bottom: 4px; }
  .artifact-heading { top: 98px; }
  .artifact-heading h1 { font-size: 48px; }
  .artifact-filters { top: 348px; }
  .artifact-detail { top: 150px; max-height: calc(100vh - var(--timeline-h) - 200px); }
  .earth-heading { top: 138px; }
  .earth-mode-switch { top: 232px; }
  .earth-data-card, .earth-guide-card { top: 132px; }
  .earth-explore-launch { bottom: 149px; }
  .earth-legend, .earth-quality { bottom: 49px; }
  .earth-bottom-bar { height: 32px; }
  .earth-legend { padding-top: 10px; padding-bottom: 8px; }
  .earth-legend .legend-foot { margin-top: 8px; padding-top: 6px; }
  .hero-index { margin-top: 22px; }
}

/* ————————————————————————— final refinement pass ————————————————————————— */

.cursor { z-index: 420; }
body.overlay-open { cursor: default; }

.timeline-range {
  pointer-events: none;
  opacity: 0;
}
.timeline.is-focused {
  background:
    linear-gradient(180deg, rgba(4, 5, 5, 0) 0%, rgba(12, 12, 9, .72) 30%, rgba(5, 6, 6, .97) 78%, #050606 100%);
}
.timeline.is-focused::before {
  background: linear-gradient(90deg, transparent, rgba(226, 181, 113, .44) 24%, rgba(226, 181, 113, .44) 76%, transparent);
  animation: timelineGlow 2.4s ease-in-out;
}
.timeline.is-focused .timeline-track {
  border-color: rgba(232, 196, 140, .25);
}
.timeline.is-focused .timeline-playhead {
  box-shadow: 0 0 22px rgba(222, 166, 92, .2);
}
.timeline-year.year-enter {
  animation: yearFlash .65s var(--ease);
}

.search-suggestions.is-hidden { display: none; }
.mini-button:disabled {
  opacity: .27;
  cursor: not-allowed;
  pointer-events: none;
}
.earth-pause.is-paused {
  color: var(--teal);
  border-color: rgba(145, 209, 199, .45);
  background: rgba(120, 181, 172, .08);
}
.panel-close[aria-hidden="true"] { display: none; }
body.overlay-open .hint-strip { opacity: 0; }

.planet-title-zh.is-latin {
  font-family: var(--sans);
  font-size: clamp(45px, 4.7vw, 67px);
  letter-spacing: -.045em;
  font-weight: 300;
}
.planet-title-zh.is-latin + .planet-title-latin > span {
  font-size: 11px;
}
body.lang-en .stats-head > span:first-child { font-family: var(--mono); font-size: 8px; }
body.lang-en .stats-head > span:first-child .en { letter-spacing: .08em; }
body.lang-en .planet-dossier .stats-head,
body.lang-en .mission-count-label { letter-spacing: .07em; }
body.lang-en .observe-head > div > span { letter-spacing: .16em; }
body.lang-en .planet-card-type { font-size: 5px; }
body.lang-en .earth-mode-switch button > span { display: none !important; }
body.lang-en .earth-mode-switch button > em {
  font-size: 7.5px;
  opacity: .9;
  letter-spacing: .1em;
}
body.lang-en .earth-heading h1 { gap: 14px; }
body.lang-en .earth-heading h1 em { font-size: 9px; }
body.lang-en .earth-globe-label em { display: none !important; }
body.lang-en .earth-globe-label b { font-size: 6.5px; }
body.lang-en .earth-heading > p:last-child .en { display: inline; }
body.lang-en .explore-button small { max-width: 180px; }
body.lang-en .system-label strong { letter-spacing: .13em; }
body.lang-en .artifact-heading h1 { font-family: var(--serif); }
body.lang-en .display-title { font-family: var(--sans); }
body.lang-en .display-title em { font-family: var(--serif); }

.no-webgl .scene-canvas { opacity: 0; }
.no-webgl .view-overview {
  background:
    radial-gradient(circle at 60% 47%, rgba(198, 139, 69, .22) 0, rgba(77, 54, 34, .1) 20%, transparent 45%),
    radial-gradient(ellipse 70% 62% at 58% 46%, rgba(61, 52, 40, .18), transparent 64%),
    #050606;
}
.no-webgl .view-overview::after {
  content: "WEBGL / DISABLED";
  position: absolute; right: var(--edge); bottom: calc(var(--timeline-h) + 92px);
  font-family: var(--mono); font-size: 6px; letter-spacing: .15em; color: var(--text-faint);
}
.no-webgl .view-planet::after {
  content: "";
  position: absolute;
  left: 27%; top: 19%; width: 38vw; height: 38vw;
  max-width: 620px; max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, color-mix(in srgb, var(--world-color) 52%, #fff 8%), color-mix(in srgb, var(--world-color) 22%, #050606) 48%, #050606 73%);
  box-shadow: 0 0 90px color-mix(in srgb, var(--world-color) 14%, transparent);
  opacity: .5;
}
.no-webgl .view-earth::after {
  content: "";
  position: absolute;
  left: 20%; top: 14%; width: 48vw; height: 70vh;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #7eb0b0, #1e5a6e 42%, #071218 72%);
  opacity: .45;
}

@keyframes timelineGlow {
  0%, 100% { opacity: .45; }
  26% { opacity: 1; }
}
@keyframes yearFlash {
  0% { opacity: .35; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* compact header on small touch layouts */
@media (max-width: 680px) {
  .main-nav {
    left: 48px;
    right: auto;
    top: 13px;
    transform: none;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    height: 36px;
    gap: 0;
  }
  .main-nav .nav-item {
    display: flex;
    height: 32px;
    padding: 0 6px;
    font-size: 8.5px;
    letter-spacing: .04em;
  }
  .main-nav .nav-item:nth-child(1) { display: flex; }
  .main-nav .nav-item .en { font-size: 7px; }
  .nav-item.is-active::after { left: 5px; right: 5px; }
  .topbar-tools .sound-toggle,
  .topbar-tools .icon-only { display: none; }
  .topbar-tools [data-action="share"] { display: flex; }
  .topbar-tools .lang-toggle {
    display: flex;
    height: 26px;
    padding: 0 6px;
    border-color: transparent;
    font-size: 7.5px;
    gap: 3px;
  }
  .topbar-tools { gap: 2px; }
  .tool-button {
    width: 31px;
    height: 31px;
    padding: 0;
    border: 0;
    justify-content: center;
  }
  .tool-button svg { width: 15px; height: 15px; }

  /* the solar-system map is a close crop of the inner system on phones */
  .system-label[data-world="mercury"],
  .system-label[data-world="venus"],
  .system-label[data-world="uranus"],
  .system-label[data-world="neptune"] { display: none !important; }
  .system-label strong { letter-spacing: .12em; }
  .system-label .label-copy { padding-left: 10px; }
  .system-label.is-left .label-copy { padding-right: 10px; }
  .system-label em { display: none; }
  .system-label.label-sun em { display: block; }
  .map-controls { display: flex; right: 12px; bottom: calc(var(--timeline-h) + 14px); }
  .map-controls button { width: 25px; height: 23px; }
  .map-controls .reset-button { height: 24px; }
  .view-status { left: 16px; max-width: 250px; }
  .overview-copy .hero-index { gap: 9px; }
  .overview-copy { top: 82px; }

  /* planet dossier becomes a compact reading sheet */
  .planet-head {
    left: 16px;
    top: 80px;
    width: calc(100% - 32px);
  }
  .planet-head::before { display: none; }
  .planet-head .back-link { display: none; }
  .planet-head .eyebrow { margin-bottom: 6px; font-size: 5.5px; }
  .planet-title-zh { font-size: 42px; }
  .planet-title-latin { display: none; }
  .planet-tagline { font-size: 9px; margin-top: 5px; }
  .planet-visual-wrap { left: 0; right: 0; top: 186px; bottom: auto; height: 260px; opacity: .9; }
  .planet-dossier {
    left: 14px !important;
    right: 14px !important;
    top: auto !important;
    bottom: 47px !important;
    width: auto !important;
    height: auto !important;
    max-height: 23vh;
    padding: 10px 12px !important;
    background: linear-gradient(180deg, rgba(8, 10, 9, .52), rgba(8, 10, 9, .91));
    border: 1px solid rgba(239, 229, 210, .12) !important;
    border-radius: 3px;
    backdrop-filter: blur(16px);
    z-index: 7;
  }
  .planet-dossier .dossier-top,
  .planet-dossier .observe-card,
  .planet-dossier .stats-panel,
  .planet-dossier .missions-panel,
  .planet-dossier .keyword-row,
  .planet-dossier .dossier-tool {
    display: none !important;
  }
  .planet-dossier .dossier-copy {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .planet-dossier .dossier-index { display: none; }
  .planet-dossier .dossier-copy h2 {
    font-size: 15px;
    margin-top: 0;
    letter-spacing: .02em;
  }
  .planet-dossier .dossier-copy p {
    margin-top: 5px;
    font-size: 8.5px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .earth-system-link {
    margin: 7px 0 0;
    padding: 8px 10px;
    min-height: 34px;
  }
  .earth-system-link > span { font-size: 8.5px; gap: 2px; }
  .earth-system-link small { display: none; }
  .world-switcher { bottom: 9px; left: 14px; right: 14px; }
  .world-pip { font-size: 6.5px; padding: 0 1px; gap: 2px; }
  .world-pip:nth-child(n+8) { display: none; }
  .world-arrow { width: 22px; height: 26px; }

  /* Earth system: one globe, one layer panel */
  .earth-heading { top: 110px; left: 16px; width: 240px; }
  .earth-heading .eyebrow { display: none; }
  .earth-heading h1 { font-size: 30px; }
  .earth-heading > p:last-child { display: block; font-size: 8px; margin-top: 3px; }
  .earth-mode-switch { top: 163px; left: 14px; width: auto; flex-direction: row; gap: 1px; }
  .earth-mode-switch button { padding: 4px 7px; border-bottom: 1px solid rgba(238, 228, 211, .1); }
  .earth-mode-switch button::before { display: none; }
  .earth-mode-switch button span { font-size: 6.5px; }
  .earth-mode-switch button em { display: none; }
  .earth-toolbar { top: 70px; }
  .earth-toolbar .back-link { display: flex; margin: 0; }
  .earth-toolbar .back-link span { font-size: 7px; }
  .earth-data-card {
    top: auto !important;
    bottom: 47px !important;
    left: 14px;
    right: 14px;
    width: auto;
    max-height: 27vh;
    padding: 11px 13px;
  }
  .earth-data-card h2 { font-size: 16px; margin-top: 5px; }
  .earth-data-card > p:nth-of-type(1) { font-size: 5.5px; }
  .earth-data-rows {
    margin-top: 7px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    border-top: 0;
  }
  .earth-data-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(239, 229, 211, .07);
  }
  .earth-data-row:nth-child(n+5) { display: none; }
  .earth-data-note { display: none; }
  .earth-data-row span { font-size: 6.2px; }
  .earth-data-row b { font-size: 6.2px; text-align: left; white-space: nowrap; }
  .earth-legend, .earth-quality, .earth-camera-state { display: none; }
  .earth-explore-launch {
    display: block;
    left: auto;
    right: 14px;
    bottom: 211px;
  }
  .explore-button {
    height: 37px;
    padding: 0 10px;
    gap: 8px;
  }
  .explore-glyph { width: 20px; height: 20px; }
  .explore-glyph::before { inset: 4px; }
  .explore-button > span:nth-child(2) > span { font-size: 8px; }
  .explore-button small { display: none; }
  .explore-button svg, .explore-button > span:nth-child(2) > small { display: none; }
  body.earth-guide-open .earth-explore-launch { display: none; }
  .earth-globe-label { font-size: 6px; padding: 2px 4px; }
  .earth-globe-label:nth-child(n+5) { display: none; }
  .earth-globe-label em { display: none; }
  .earth-guide-card {
    left: 14px; right: 14px; top: auto; bottom: 45px; width: auto;
    max-height: 38vh; padding: 13px 14px 12px;
  }
  .earth-guide-card > p { font-size: 8.5px; min-height: 0; }
  .earth-guide-card h3 { font-size: 19px; }
  .earth-guide-card .earth-guide-list { display: none; }
  .earth-bottom-bar { height: 30px; padding: 0 14px; }
  .earth-bottom-bar .operation-hint { margin-left: auto; }

  /* artefacts: overview remains legible on a narrow screen */
  .artifact-heading { top: 82px; width: 200px; }
  .artifact-heading .eyebrow { font-size: 5.5px; }
  .artifact-heading h1 { font-size: 35px; }
  .artifact-lede { display: none; }
  .artifact-stats { gap: 12px; margin-top: 12px; }
  .artifact-stats > div { padding-left: 7px; }
  .artifact-stats b { font-size: 12px; }
  .artifact-stats span { font-size: 5.5px; }
  .artifact-filters {
    top: 246px;
    left: 14px;
    right: 14px;
    max-width: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  .artifact-filters::-webkit-scrollbar { display: none; }
  .artifact-filters button { height: 23px; padding: 0 7px; font-size: 7px; flex: 0 0 auto; }
  .artifact-filters button b { display: none; }
  .artifact-corner, .artifact-bottom-copy, .artifact-legend { display: none; }
  .artifact-label strong { font-size: 7px; letter-spacing: .03em; }
  .artifact-label em { display: none; }
  .artifact-label { padding: 3px 5px; }
  .artifact-label .artifact-label-copy { padding-left: 4px; gap: 0; }
  .artifact-label::after { width: 4px; left: 6px; }
  .artifact-center-label { left: 55.5% !important; top: 47% !important; }
  .artifact-center-label strong { font-size: 8px; }
  .artifact-center-label small { display: none; }
  .artifact-detail { left: 12px; right: 12px; width: auto; bottom: calc(var(--timeline-h) + 8px); max-height: 46vh; }
  .artifact-center-label .crosshair-mini { width: 12px; height: 12px; }

  /* index cards */
  .index-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 22px);
    overflow-y: auto;
  }
  .index-head {
    padding: 12px 14px 10px;
    align-items: center;
  }
  .index-head .eyebrow { display: none; }
  .index-head h2 { font-size: 21px; gap: 8px; }
  .index-head h2 .en { font-size: .64em; }
  .index-head-meta { gap: 0; }
  .index-head-meta p { display: none; }
  .index-head-meta .panel-close { position: relative; top: auto; right: auto; }
  .planet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 7px; }
  .planet-card {
    min-height: 124px;
    padding: 8px 9px 7px;
  }
  .planet-card-top { margin-bottom: 0; }
  .planet-card-index { font-size: 5.5px; }
  .planet-card-type { display: none; }
  .planet-thumb-wrap { width: 52px; height: 52px; margin: 1px auto 3px; }
  .planet-thumb-wrap::after { inset: -5px; }
  .planet-card-copy { margin-top: 2px; }
  .planet-card-copy h3 { font-size: 13px; }
  .planet-card-copy em { font-size: 4.7px; letter-spacing: .05em; }
  .planet-card-arrow { width: 15px; height: 15px; }
  .planet-card-meta { display: none; }
  .planet-card-back { min-height: 124px; padding: 10px; }
  .planet-card-back .back-orbit { width: 42px; height: 42px; }
  .planet-card-back .back-orbit::before { inset: 8px; }
  .planet-card-back .back-orbit::after { inset: 17px; }
  .planet-card-back .back-orbit i { width: 82px; height: 23px; }
  .planet-card-back .back-orbit b { top: 15px; right: 1px; }
  .planet-card-back .back-orbit em { bottom: 12px; }
  .planet-card-back .back-copy { gap: 3px; }
  .planet-card-back .back-copy strong { font-size: 12px; }
  .planet-card-back .back-copy small { display: none; }
  .planet-card-back .back-copy .eyebrow { display: none; }
  .index-foot { display: flex; gap: 6px; padding: 8px 14px; }
  .index-foot > span { display: none; }
  .index-random {
    flex: 1;
    margin: 0;
    justify-content: center;
    padding: 6px 9px;
    font-size: 6.5px;
    white-space: nowrap;
  }
  .index-random svg { width: 12px; height: 12px; }
}

/* ————————————————————————— mission index & scale tools ————————————————————————— */

.artifact-labels.has-focus .artifact-label:not(.is-hovered) { opacity: .26; }
.artifact-label.is-hovered {
  color: var(--cream);
  background: linear-gradient(90deg, rgba(27, 26, 21, .72), transparent 92%);
  opacity: 1 !important;
}
.artifact-label.is-hovered::before {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(231, 183, 117, .6);
}

.artifact-catalog-link {
  position: absolute;
  z-index: 5;
  left: var(--edge);
  top: 432px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(239, 229, 211, .12);
  border-radius: 2px;
  color: rgba(238, 230, 216, .48);
  text-align: left;
  transition: color .25s, border-color .25s, background .25s;
}
.artifact-catalog-link > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 8px;
  letter-spacing: .08em;
}
.artifact-catalog-link .mono { font-size: 6px; color: var(--text-faint); letter-spacing: .12em; }
.artifact-catalog-link svg { width: 18px; height: 9px; opacity: .55; }
.artifact-catalog-link:hover {
  color: var(--cream);
  border-color: rgba(231, 195, 138, .4);
  background: rgba(231, 195, 138, .06);
}
.artifact-catalog-link:hover .mono { color: var(--gold); }

.detail-target-link { margin-top: 10px; }
.detail-target-link[hidden] { display: none !important; }
.detail-target-link .zh,
.detail-target-link .en { color: rgba(197, 229, 222, .7); }
.detail-target-link:hover .zh,
.detail-target-link:hover .en { color: var(--cream); }

.mission-index-overlay { align-items: center; }
.mission-index-dialog {
  width: min(940px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(160deg, rgba(20, 21, 19, .94), rgba(7, 8, 7, .97));
  border: 1px solid rgba(240, 232, 215, .14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 248, 234, .04);
  border-radius: 3px;
  overflow: hidden;
}
.mission-index-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 15px;
  border-bottom: 1px solid rgba(239, 229, 211, .1);
}
.mission-index-head h2 {
  margin-top: 6px;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: .06em;
  color: var(--cream);
}
.mission-index-head h2 .en { font-size: .52em; font-family: var(--mono); color: var(--text-faint); }
.mission-index-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(239, 229, 211, .08);
}
.mission-index-toolbar input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(239, 229, 211, .12);
  background: rgba(5, 6, 6, .5);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
}
.mission-index-toolbar input::placeholder { color: var(--text-faint); }
.mission-index-toolbar input:focus { outline: none; border-color: rgba(231, 195, 138, .42); }
.mission-index-filters { display: flex; gap: 3px; flex-wrap: wrap; }
.mission-index-filters button {
  height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(239, 229, 211, .1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(238, 230, 216, .4);
  font-size: 7.5px;
  letter-spacing: .06em;
  transition: color .2s, border-color .2s, background .2s;
}
.mission-index-filters button .en { display: none; }
.mission-index-filters button:hover { color: var(--cream); border-color: var(--line-strong); }
.mission-index-filters button.is-active {
  color: var(--cream);
  border-color: rgba(231, 195, 138, .38);
  background: rgba(231, 195, 138, .09);
}
.mission-index-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 16px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 226, 205, .18) transparent;
}
.mission-index-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 92px 78px 118px 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 11px 8px;
  border-bottom: 1px solid rgba(239, 229, 211, .06);
  color: rgba(238, 230, 216, .5);
  text-align: left;
  transition: color .2s, background .2s, padding .2s;
}
.mission-index-row:hover { color: var(--cream); background: rgba(238, 222, 195, .04); padding-left: 13px; }
.mission-index-row .mi-year { font-family: var(--mono); font-size: 10px; color: var(--gold); }
.mission-index-row .mi-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mission-index-row .mi-name b {
  font-weight: 400; font-size: 11px; letter-spacing: .04em; color: rgba(244, 236, 221, .85);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mission-index-row .mi-name em {
  font-family: var(--mono); font-style: normal; font-size: 6.2px; letter-spacing: .06em;
  color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mission-index-row .mi-cat,
.mission-index-row .mi-status,
.mission-index-row .mi-target {
  font-family: var(--mono); font-size: 6.5px; letter-spacing: .05em;
  color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mission-index-row .mi-status.is-active { color: rgba(145, 209, 199, .75); }
.mission-index-row .mi-status.is-planned { color: rgba(231, 195, 138, .8); }
.mission-index-row svg { width: 14px; height: 9px; opacity: .25; }
.mission-index-row:hover svg { opacity: .7; }
.mission-index-foot {
  display: flex;
  justify-content: space-between;
  padding: 11px 24px;
  border-top: 1px solid rgba(239, 229, 211, .08);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .1em;
  color: var(--text-faint);
}

.scale-overlay { align-items: center; }
.scale-dialog {
  width: min(1000px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 22px 26px 18px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(186, 139, 72, .09), transparent 70%),
    linear-gradient(160deg, rgba(19, 20, 18, .96), rgba(6, 7, 7, .98));
  border: 1px solid rgba(240, 232, 215, .14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
  border-radius: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 226, 205, .18) transparent;
}
.scale-head { display: flex; justify-content: space-between; align-items: flex-start; }
.scale-head h2 {
  margin-top: 6px;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: .07em;
  color: var(--cream);
}
.scale-head h2 .en { font-size: .5em; font-family: var(--mono); color: var(--text-faint); }
.scale-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(28px, 7vw, 110px);
  padding: 26px 8px 0;
  margin-top: 16px;
  transition: min-height .5s var(--ease);
}
.scale-baseline {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 51px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 195, 138, .34), transparent);
}
.scale-world { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.scale-orb {
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #b8d4de, #4d7f92 48%, #0a1114 82%);
  box-shadow: 0 0 32px rgba(88, 156, 181, .28), inset -8px -12px 26px rgba(0, 0, 0, .5);
  transition: width .55s var(--ease), height .55s var(--ease);
  flex: 0 0 auto;
}
.scale-orb.is-selected {
  background:
    radial-gradient(circle at 34% 30%,
      color-mix(in srgb, var(--scale-color, #8ebad0) 65%, #fff 18%),
      var(--scale-color, #8ebad0) 46%,
      #090c0b 82%);
  box-shadow: 0 0 38px var(--scale-glow, rgba(88, 156, 181, .28)), inset -8px -12px 26px rgba(0, 0, 0, .5);
}
.scale-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  color: var(--text-dim);
}
.scale-name b { font-weight: 400; color: rgba(244, 236, 221, .8); letter-spacing: .1em; }
.scale-name span { font-size: 8px; font-family: var(--sans); letter-spacing: .06em; color: var(--text-faint); }
.scale-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: rgba(239, 229, 211, .08);
  border: 1px solid rgba(239, 229, 211, .08);
}
.scale-readout > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 13px;
  background: rgba(8, 9, 8, .72);
}
.scale-readout span {
  font-family: var(--mono); font-size: 6.2px; letter-spacing: .1em; color: var(--text-faint);
}
.scale-readout b { font-weight: 400; font-size: 13px; letter-spacing: .04em; color: rgba(244, 236, 221, .9); }
.scale-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 15px;
}
.scale-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(239, 229, 211, .1);
  border-radius: 2px;
  font-size: 7.5px;
  letter-spacing: .06em;
  color: rgba(238, 230, 216, .46);
  transition: color .2s, border-color .2s, background .2s;
}
.scale-chip i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dot, #8ebad0);
  box-shadow: 0 0 7px var(--dot, #8ebad0);
}
.scale-chip:hover { color: var(--cream); border-color: var(--line-strong); }
.scale-chip.is-active {
  color: var(--cream);
  border-color: rgba(231, 195, 138, .42);
  background: rgba(231, 195, 138, .09);
}
.scale-note {
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 6.4px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--text-faint);
}
.scale-foot { display: flex; justify-content: flex-end; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(239, 229, 211, .08); }

@media (max-width: 900px) {
  .artifact-catalog-link { top: auto; bottom: calc(var(--timeline-h) + 12px); padding: 7px 9px; }
  .artifact-catalog-link .mono { display: none; }
  .mission-index-dialog { width: calc(100vw - 24px); max-height: 90vh; }
  .mission-index-head { padding: 15px 16px 12px; }
  .mission-index-head h2 { font-size: 23px; }
  .mission-index-toolbar { flex-direction: column; align-items: stretch; gap: 9px; padding: 10px 16px; }
  .mission-index-row {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 9px;
    padding: 10px 5px;
  }
  .mission-index-row .mi-cat,
  .mission-index-row .mi-status,
  .mission-index-row .mi-target { display: none; }
  .mission-index-foot { padding: 9px 16px; }
}
@media (max-width: 680px) {
  .artifact-catalog-link {
    left: 14px;
    bottom: calc(var(--timeline-h) + 8px);
    font-size: 7px;
  }
  .artifact-catalog-link > span:first-child { font-size: 7px; }
  .scale-dialog { width: calc(100vw - 18px); padding: 16px 15px 14px; }
  .scale-head h2 { font-size: 23px; }
  .scale-stage { gap: 18px; padding-top: 16px; }
  .scale-readout { grid-template-columns: 1fr 1fr; }
  .scale-readout > div:first-child { grid-column: 1 / -1; }
  .scale-chips { gap: 3px; }
  .scale-chip { height: 24px; padding: 0 7px; font-size: 6.5px; }
  .scale-note { font-size: 5.8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .grain { animation: none; }
}
