﻿/* ==========================================================================
   SOLARIUM 鈥?a quiet, editorial interface for a very large place.
   ========================================================================== */

:root {
  --bg: #04070d;
  --ink: #f1ede3;
  --ink-soft: rgba(238, 239, 234, 0.7);
  --muted: rgba(212, 220, 234, 0.48);
  --faint: rgba(202, 214, 234, 0.27);
  --line: rgba(220, 230, 245, 0.13);
  --line-soft: rgba(220, 230, 245, 0.075);
  --paper: #eee9df;
  --accent: #e9b36a;
  --accent-rgb: 233, 179, 106;
  --serif: "Iowan Old Style", "Baskerville", "Didot", "Times New Roman", "Songti SC", "SimSun", serif;
  --sans: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Consolas", monospace;
  --page-x: clamp(22px, 3.4vw, 54px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

html {
  color-scheme: dark;
}

body {
  overflow: hidden;
  background:
    radial-gradient(ellipse 62% 55% at 66% 18%, rgba(44, 73, 115, 0.27), transparent 67%),
    radial-gradient(ellipse 44% 46% at 18% 78%, rgba(111, 65, 37, 0.12), transparent 70%),
    radial-gradient(ellipse 80% 70% at 50% 50%, #08111e 0%, #040911 48%, #02050a 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

button,
input,
output {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

button:focus-visible {
  outline: 1px solid rgba(var(--accent-rgb), 0.8);
  outline-offset: 3px;
}

::selection {
  color: #0b1017;
  background: var(--accent);
}

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

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

/* --------------------------------------------------------------------------
   Scene and atmosphere
   -------------------------------------------------------------------------- */

.sky-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 49% 47%, rgba(18, 37, 60, 0.28) 0%, transparent 28%),
    radial-gradient(ellipse 50% 36% at 83% 22%, rgba(80, 93, 135, 0.11), transparent 72%),
    radial-gradient(ellipse 42% 42% at 14% 80%, rgba(137, 83, 49, 0.08), transparent 76%);
}

.canvas-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.canvas-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.canvas-stage canvas:active {
  cursor: grabbing;
}

body.is-ready .canvas-stage canvas {
  opacity: 1;
}

.sky-wash::after,
.vignette {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sky-wash::after {
  z-index: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 10% 20%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 82% 13%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 61% 79%, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0.4;
}

.vignette {
  position: fixed;
  z-index: 8;
  background:
    radial-gradient(ellipse 92% 82% at 50% 47%, transparent 39%, rgba(0, 2, 6, 0.34) 73%, rgba(0, 2, 5, 0.72) 100%),
    linear-gradient(90deg, rgba(1, 3, 7, 0.32) 0%, transparent 17%, transparent 84%, rgba(1, 3, 7, 0.34) 100%);
}

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

@keyframes grainShift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-2%, 1%, 0); }
  50% { transform: translate3d(1%, -2%, 0); }
  75% { transform: translate3d(2%, 1%, 0); }
  100% { transform: translate3d(-1%, 2%, 0); }
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow,
.index-heading,
.index-foot,
.topbar-note,
.live-badge,
.date-label,
.speed-head,
.footer-line,
.scale-kicker,
.info-topline,
.info-type,
.fact-kicker,
.step-copy em,
.loader-brand,
.loader-sub,
.loader-meta,
.shortcut-title,
.modal-topline {
  font-family: var(--mono);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--page-x) 0;
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.brand-mark {
  position: relative;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  transition: transform 0.7s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(40deg);
}

.brand-sun {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.8), 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.brand-ring {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(223, 231, 244, 0.3);
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(0.76);
}

.brand-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  right: -4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 231, 244, 0.2), transparent);
}

.brand-moon {
  position: absolute;
  top: 2px;
  right: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(237, 241, 246, 0.8);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.28em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: var(--muted);
  line-height: 1;
}

.topbar-note {
  position: absolute;
  left: 50%;
  top: 31px;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: translateX(-50%);
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.note-line {
  width: 33px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 220, 239, 0.3));
}

.note-roman {
  color: rgba(var(--accent-rgb), 0.6);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.16em;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.live-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px rgba(var(--accent-rgb), 0.8);
  animation: livePulse 2.4s ease-in-out infinite;
}

.live-badge.is-paused {
  color: rgba(232, 185, 128, 0.55);
}

.live-badge.is-paused i {
  background: transparent;
  border: 1px solid rgba(var(--accent-rgb), 0.7);
  box-shadow: none;
  animation: none;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: rgba(8, 13, 21, 0.2);
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.icon-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  color: var(--ink);
  border-color: rgba(220, 230, 245, 0.3);
  background: rgba(210, 223, 242, 0.06);
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 128%;
  right: 0;
  z-index: 80;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(7, 11, 18, 0.94);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Planet index
   -------------------------------------------------------------------------- */

.planet-index {
  position: fixed;
  top: clamp(100px, 13.5vh, 134px);
  left: var(--page-x);
  z-index: 20;
  width: 186px;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.index-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 12px;
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.18em;
}

.index-heading span {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.16em;
}

.index-heading em {
  font-style: normal;
  font-size: 7px;
  letter-spacing: 0.2em;
}

.index-list {
  display: flex;
  flex-direction: column;
}

.index-item {
  --body-accent: var(--accent);
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 32px;
  padding: 4px 2px 4px 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: color 0.3s ease, padding 0.35s var(--ease);
}

.index-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.index-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -10px;
  width: 1px;
  height: calc(100% + 1px);
  background: var(--body-accent);
  opacity: 0;
  transform: scaleY(0.25);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}

.index-item:hover {
  padding-left: 6px;
  color: var(--ink-soft);
}

.index-item.is-active {
  padding-left: 6px;
  color: var(--ink);
}

.index-item.is-active::before {
  opacity: 0.9;
  transform: scaleY(0.7);
}

.idx-number {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.index-item.is-active .idx-number {
  color: var(--body-accent);
}

.idx-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.idx-name > span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.09em;
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.idx-name em {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: 0.16em;
  line-height: 1;
  transition: color 0.3s ease;
}

.index-item.is-active .idx-name em {
  color: rgba(var(--accent-rgb), 0.55);
}

.idx-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--body-accent);
  opacity: 0.52;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.35s var(--ease), opacity 0.3s ease, box-shadow 0.3s ease;
}

.index-item:hover .idx-dot,
.index-item.is-active .idx-dot {
  opacity: 1;
}

.index-item.is-active .idx-dot {
  transform: scale(1.45);
  box-shadow: 0 0 9px var(--body-accent);
}

.index-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: var(--faint);
  font-size: 6.5px;
  letter-spacing: 0.13em;
}

.index-foot-mark {
  width: 3px;
  height: 3px;
  border: 1px solid rgba(var(--accent-rgb), 0.6);
  border-radius: 50%;
}

.index-foot span:last-child {
  margin-left: auto;
  color: rgba(var(--accent-rgb), 0.45);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: fixed;
  left: var(--page-x);
  bottom: clamp(128px, 15.5vh, 158px);
  z-index: 16;
  width: min(440px, calc(100vw - var(--page-x) * 2));
  isolation: isolate;
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), visibility 0.7s;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -72px -120px -62px -86px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 51% 49% at 38% 61%, rgba(3, 7, 12, 0.86) 0%, rgba(3, 7, 12, 0.55) 43%, transparent 75%),
    linear-gradient(90deg, rgba(3, 7, 12, 0.35), transparent 74%);
  filter: blur(8px);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  -webkit-mask-image: radial-gradient(ellipse 74% 75% at 42% 58%, #000 0%, #000 49%, transparent 100%);
  mask-image: radial-gradient(ellipse 74% 75% at 42% 58%, #000 0%, #000 49%, transparent 100%);
}

.hero > * {
  pointer-events: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  color: rgba(var(--accent-rgb), 0.76);
  font-size: 7px;
  letter-spacing: 0.2em;
}

.eyebrow-line {
  width: 25px;
  height: 1px;
  background: rgba(var(--accent-rgb), 0.5);
}

.hero-title {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(54px, 5.2vw, 82px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.36);
}

.hero-title-en {
  display: block;
  margin-top: 14px;
  color: rgba(218, 229, 242, 0.36);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.4em;
  line-height: 1;
  text-shadow: none;
}

.hero-copy {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 23px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 39px;
  padding: 5px 5px 5px 15px;
  border: 1px solid rgba(219, 229, 243, 0.19);
  border-radius: 99px;
  background: rgba(220, 231, 246, 0.035);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.hero-cta:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--ink);
}

.cta-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  color: #0e131b;
  font-size: 12px;
  line-height: 1;
  transition: background 0.3s ease, transform 0.4s var(--ease);
}

.hero-cta:hover .cta-orb {
  background: var(--accent);
  transform: rotate(45deg);
}

.hero-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.hint-cross {
  position: relative;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(214, 226, 242, 0.24);
  border-radius: 50%;
}

.hint-cross::before,
.hint-cross::after {
  content: "";
  position: absolute;
  background: rgba(214, 226, 242, 0.3);
}

.hint-cross::before {
  top: 4px;
  left: -2px;
  width: 12px;
  height: 1px;
}

.hint-cross::after {
  top: -2px;
  left: 4px;
  width: 1px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Scale note
   -------------------------------------------------------------------------- */

.scale-note {
  position: fixed;
  right: var(--page-x);
  bottom: clamp(136px, 16vh, 165px);
  z-index: 15;
  width: 250px;
  text-align: right;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}

.scale-kicker {
  display: block;
  margin-bottom: 9px;
  color: rgba(var(--accent-rgb), 0.58);
  font-size: 6.5px;
  letter-spacing: 0.22em;
}

.scale-note p {
  margin: 0;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.scale-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.scale-rule i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 227, 240, 0.16), rgba(216, 227, 240, 0.35));
}

.scale-rule span:first-child {
  color: rgba(var(--accent-rgb), 0.55);
}

/* --------------------------------------------------------------------------
   Labels
   -------------------------------------------------------------------------- */

.labels-layer {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease) 0.2s;
}

body.is-ready .labels-layer {
  opacity: 1;
}

.body-label {
  --label-color: rgba(228, 234, 243, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.body-label:not(.is-hidden) {
  opacity: 1;
}

.label-inner {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px 6px 0;
  color: var(--label-color);
  white-space: nowrap;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: color 0.25s ease;
}

.body-label.is-left .label-inner {
  left: auto;
  right: 0;
  flex-direction: row-reverse;
  padding: 6px 0 6px 9px;
}

.label-anchor {
  position: relative;
  display: block;
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px rgba(var(--accent-rgb), 0.75);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.label-anchor::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 50%;
}

.label-rule {
  width: 14px;
  height: 1px;
  flex: 0 0 14px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.43), rgba(220, 230, 244, 0.12));
  transition: width 0.35s var(--ease), opacity 0.3s ease;
}

.body-label.is-left .label-rule {
  background: linear-gradient(90deg, rgba(220, 230, 244, 0.12), rgba(var(--accent-rgb), 0.43));
}

.label-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 1px;
  text-align: left;
}

.body-label.is-left .label-copy {
  text-align: right;
}

.label-name {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1.25;
  color: rgba(231, 236, 244, 0.82);
  text-shadow: 0 1px 14px rgba(1, 4, 9, 0.8);
  transition: color 0.25s ease;
}

.label-en {
  color: rgba(216, 227, 243, 0.34);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.18em;
  line-height: 1.3;
}

.body-label:hover .label-name,
.body-label.is-hovered .label-name {
  color: #fff;
}

.body-label:hover .label-anchor,
.body-label.is-hovered .label-anchor {
  transform: scale(1.8);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 1);
}

.body-label:hover .label-rule,
.body-label.is-hovered .label-rule {
  width: 23px;
}

.body-label.is-hidden {
  opacity: 0 !important;
  pointer-events: none;
}

.body-label.is-hidden .label-inner {
  pointer-events: none;
}

.labels-layer.is-focused .body-label {
  opacity: 0.27;
}

.labels-layer.is-focused .body-label.is-hovered {
  opacity: 0.8;
}

.labels-layer.is-focused .body-label.is-selected {
  opacity: 0;
  pointer-events: none;
}

.labels-layer.labels-hidden .body-label {
  opacity: 0 !important;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Focus reticle
   -------------------------------------------------------------------------- */

.focus-reticle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.focus-reticle.is-visible {
  opacity: 1;
}

.focus-reticle::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 50%;
  animation: reticleSpin 30s linear infinite;
}

.focus-reticle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.035), 0 0 40px rgba(var(--accent-rgb), 0.025);
}

@keyframes reticleSpin {
  to { transform: rotate(360deg); }
}

.reticle-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.reticle-corner.tl {
  top: 0;
  left: 0;
  border-top: 1px solid rgba(var(--accent-rgb), 0.65);
  border-left: 1px solid rgba(var(--accent-rgb), 0.65);
}

.reticle-corner.tr {
  top: 0;
  right: 0;
  border-top: 1px solid rgba(var(--accent-rgb), 0.65);
  border-right: 1px solid rgba(var(--accent-rgb), 0.65);
}

.reticle-corner.bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.65);
  border-left: 1px solid rgba(var(--accent-rgb), 0.65);
}

.reticle-corner.br {
  bottom: 0;
  right: 0;
  border-right: 1px solid rgba(var(--accent-rgb), 0.65);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.65);
}

.reticle-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.8);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.4);
}

.reticle-caption {
  position: absolute;
  top: -13px;
  left: 50%;
  color: rgba(230, 237, 246, 0.52);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   Info panel
   -------------------------------------------------------------------------- */

.info-panel {
  --accent: #e9b36a;
  --accent-rgb: 233, 179, 106;
  position: fixed;
  top: clamp(94px, 11vh, 120px);
  right: var(--page-x);
  bottom: auto;
  z-index: 32;
  display: flex;
  flex-direction: column;
  width: 399px;
  max-height: calc(100vh - 218px);
  padding: 22px 24px 20px;
  overflow: auto;
  border: 1px solid rgba(218, 228, 242, 0.13);
  border-radius: 17px;
  background:
    linear-gradient(155deg, rgba(17, 23, 34, 0.94), rgba(8, 12, 19, 0.91)),
    rgba(7, 11, 18, 0.9);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(26px) saturate(125%);
  backdrop-filter: blur(26px) saturate(125%);
  opacity: 0;
  visibility: hidden;
  transform: translateX(26px) scale(0.985);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s;
  scrollbar-width: thin;
  scrollbar-color: rgba(219, 229, 243, 0.18) transparent;
}

.info-panel::-webkit-scrollbar {
  width: 3px;
}

.info-panel::-webkit-scrollbar-thumb {
  border-radius: 9px;
  background: rgba(219, 229, 243, 0.18);
}

.info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.42;
}

body.is-focused .info-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.info-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  min-height: 26px;
  color: var(--faint);
  font-size: 6.5px;
  letter-spacing: 0.14em;
}

#infoIndex {
  color: var(--accent);
  opacity: 0.82;
}

.info-type-en {
  margin-left: auto;
  color: var(--faint);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.panel-close svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.panel-close:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(220, 232, 247, 0.06);
}

.info-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}

.info-type {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 7px;
  letter-spacing: 0.18em;
  opacity: 0.76;
}

.info-heading h2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.9;
}

.info-en {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.32em;
  line-height: 1;
}

.planet-glyph {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  margin: 5px 2px 0 0;
}

.glyph-sphere {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 25%, rgba(255, 255, 255, 0.8) 0%, transparent 11%),
    radial-gradient(circle at 35% 31%, var(--accent) 0%, color-mix(in srgb, var(--accent), #05070d 48%) 58%, #04060b 92%);
  box-shadow:
    inset -8px -7px 18px rgba(0, 0, 0, 0.7),
    inset 3px 2px 10px rgba(255, 255, 255, 0.13),
    0 0 24px rgba(var(--accent-rgb), 0.12);
}

.glyph-sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(4deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
  opacity: 0.65;
}

.glyph-ring {
  position: absolute;
  left: -6px;
  right: -6px;
  top: 27px;
  height: 13px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 50%;
  transform: rotate(-17deg) scaleY(0.44);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.15);
  display: none;
}

.planet-glyph.is-ringed .glyph-ring {
  display: block;
}

.is-sun .glyph-sphere {
  inset: 12px;
  background:
    radial-gradient(circle at 40% 35%, #fff9d9 0%, #ffd57c 25%, #f6a33f 58%, #c35c11 100%);
  box-shadow: 0 0 25px rgba(255, 177, 73, 0.44), 0 0 50px rgba(255, 132, 38, 0.16);
}

.planet-glyph.is-sun .glyph-ring {
  display: none;
}

.info-summary {
  margin: 21px 0 0;
  color: rgba(226, 232, 242, 0.72);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.92;
  line-break: strict;
  text-wrap: pretty;
}

.info-fact {
  margin-top: 19px;
  padding: 12px 14px 12px 15px;
  border-left: 1px solid rgba(var(--accent-rgb), 0.48);
  border-radius: 0 7px 7px 0;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.075), rgba(var(--accent-rgb), 0.012));
}

.fact-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  color: rgba(var(--accent-rgb), 0.76);
  font-size: 6px;
  letter-spacing: 0.16em;
}

.fact-kicker i {
  width: 3px;
  height: 3px;
  border: 1px solid rgba(var(--accent-rgb), 0.7);
  border-radius: 50%;
}

.info-fact p {
  margin: 0;
  color: rgba(228, 235, 245, 0.68);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.78;
  line-break: strict;
  text-wrap: pretty;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  margin: 19px 0 0;
  border-top: 1px solid var(--line-soft);
}

.stat {
  padding: 10px 0 11px;
  border-bottom: 1px solid var(--line-soft);
}

.stat dt {
  margin-bottom: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
}

.stat dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: rgba(241, 239, 231, 0.87);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.stat dd strong {
  font-weight: 300;
}

.stat dd em {
  color: rgba(222, 232, 244, 0.38);
  font-family: var(--mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.info-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.body-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: color 0.3s ease;
}

.body-step:hover {
  color: var(--ink);
}

.body-step--next {
  justify-content: flex-end;
  text-align: right;
}

.step-arrow {
  color: rgba(var(--accent-rgb), 0.5);
  font-family: var(--mono);
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}

.body-step:hover .step-arrow {
  transform: translateX(-2px);
}

.body-step--next:hover .step-arrow {
  transform: translateX(2px);
}

.step-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-copy em {
  color: var(--faint);
  font-size: 5.5px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.step-name {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.info-nav-rule {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

/* --------------------------------------------------------------------------
   Bottom control bar
   -------------------------------------------------------------------------- */

.bottom-ui {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(15px, env(safe-area-inset-bottom));
  z-index: 25;
  width: min(948px, calc(100vw - var(--page-x) * 2));
  margin-inline: auto;
}

.control-bar {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 66px;
  padding: 9px 13px;
  border: 1px solid rgba(220, 231, 245, 0.115);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(19, 26, 38, 0.74), rgba(8, 12, 19, 0.78)),
    rgba(8, 12, 19, 0.72);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
}

.time-control {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.play-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: #111720;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.play-btn:hover {
  background: var(--accent);
  transform: scale(1.04);
}

.play-icon {
  width: 10px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.play-icon::before,
.play-icon::after {
  content: "";
  display: block;
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.play-btn.is-paused .play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.play-btn.is-paused .play-icon::before,
.play-btn.is-paused .play-icon::after {
  display: none;
}

.date-readout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 91px;
}

.date-value {
  color: rgba(240, 238, 230, 0.88);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.date-label {
  color: var(--faint);
  font-size: 5.5px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.bar-divider {
  width: 1px;
  height: 30px;
  margin: 0 21px;
  flex: 0 0 1px;
  background: var(--line-soft);
}

.speed-control {
  flex: 0 0 220px;
  min-width: 0;
}

.speed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 6px;
  color: var(--faint);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.speed-head output {
  color: rgba(var(--accent-rgb), 0.82);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.speed-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(218, 230, 244, 0.06);
  border-radius: 7px;
  background: rgba(3, 6, 11, 0.28);
}

.speed-btn {
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease;
}

.speed-btn:hover {
  color: var(--ink);
}

.speed-btn.is-active {
  background: rgba(237, 233, 223, 0.92);
  color: #10151c;
}

.toggle-control {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.toggle-btn,
.reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 33px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.08em;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.toggle-btn:hover,
.reset-btn:hover {
  color: var(--ink-soft);
  background: rgba(222, 233, 248, 0.05);
}

.toggle-btn.is-active {
  color: rgba(234, 239, 246, 0.75);
}

.toggle-orbits {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.7;
  transform: scaleY(0.65) rotate(-22deg);
}

.toggle-orbits i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.toggle-labels {
  width: 13px;
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  line-height: 1;
  opacity: 0.74;
}

.reset-btn {
  margin-left: 4px;
  padding: 0 8px;
  border-color: var(--line-soft);
}

.reset-btn svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 5px 0;
  color: rgba(200, 213, 232, 0.26);
  font-size: 5.5px;
  letter-spacing: 0.14em;
}

.footer-center {
  color: rgba(200, 213, 232, 0.16);
}

/* --------------------------------------------------------------------------
   Focused state
   -------------------------------------------------------------------------- */

body.is-focused .hero {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  pointer-events: none;
}

body.is-focused .scale-note {
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 120px;
  z-index: 70;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(7, 11, 18, 0.9);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Help modal
   -------------------------------------------------------------------------- */

.help-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}

.help-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(2, 5, 10, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.help-modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: absolute;
  top: 50%;
  right: var(--page-x);
  width: min(506px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  overflow: auto;
  padding: 27px 30px 30px;
  border: 1px solid rgba(221, 231, 244, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(18, 24, 35, 0.98), rgba(7, 11, 17, 0.98)),
    #080c13;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  opacity: 0;
  transform: translateY(-47%) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: rgba(219, 229, 243, 0.18) transparent;
}

.help-modal.is-open .modal-panel {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.modal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 6.5px;
  letter-spacing: 0.16em;
}

.modal-panel h2 {
  margin: 27px 0 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.modal-lead {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.help-card {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.help-number {
  color: rgba(var(--accent-rgb), 0.6);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.help-card strong {
  display: block;
  margin: 11px 0 5px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.help-card p {
  margin: 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.7;
}

.shortcut-block {
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
}

.shortcut-title {
  display: block;
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 6px;
  letter-spacing: 0.16em;
}

.shortcut-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(220, 231, 245, 0.05);
}

.shortcut-row span:first-child {
  color: var(--ink-soft);
  font-size: 8.5px;
}

.shortcut-row span:last-child {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

kbd {
  display: inline-block;
  min-width: 20px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(215, 227, 243, 0.04);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 6.5px;
  text-align: center;
}

.modal-notes {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
}

.modal-notes p {
  margin: 0 0 8px;
  color: var(--faint);
  font-size: 9.2px;
  line-height: 1.8;
}

.modal-notes strong {
  color: var(--ink-soft);
  font-weight: 400;
}

.modal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 15px;
  padding: 12px 15px;
  border: 1px solid rgba(218, 230, 244, 0.16);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.modal-cta:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--ink);
}

.modal-cta span {
  color: rgba(var(--accent-rgb), 0.8);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Orientation gate 鈥?desktop is designed landscape, phones portrait
   -------------------------------------------------------------------------- */

.orientation-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(ellipse 55% 58% at 50% 38%, rgba(31, 49, 73, 0.6), transparent 72%),
    radial-gradient(ellipse 60% 50% at 50% 95%, rgba(125, 75, 43, 0.12), transparent 75%),
    #04070d;
  text-align: center;
  isolation: isolate;
}

.orientation-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.42), transparent),
    radial-gradient(1px 1px at 86% 22%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.4px 1.4px at 74% 84%, rgba(255, 255, 255, 0.32), transparent),
    radial-gradient(1px 1px at 24% 68%, rgba(255, 255, 255, 0.24), transparent),
    radial-gradient(1px 1px at 52% 9%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 93% 63%, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.orientation-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 48%, transparent 45%, rgba(0, 2, 5, 0.7) 100%);
}

.orientation-gate.is-forced:not(.is-dismissed) {
  display: flex;
}

.orientation-gate-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(340px, calc(100vw - 52px));
  animation: gateIn 0.6s var(--ease) both;
}

@keyframes gateIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.orientation-brand {
  margin-bottom: 42px;
  color: rgba(240, 238, 230, 0.82);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.4em;
  line-height: 1;
}

.rotate-device {
  position: relative;
  width: 86px;
  height: 86px;
  margin-bottom: 30px;
}

.rotate-device::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(219, 231, 246, 0.1);
  border-radius: 50%;
}

.rotate-device::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(var(--accent-rgb), 0.22);
  border-radius: 50%;
  animation: gateOrbit 16s linear infinite;
}

.rotate-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 31px;
  height: 51px;
  border: 1px solid rgba(231, 238, 247, 0.62);
  border-radius: 8px;
  transform: translate(-50%, -50%) rotate(-90deg);
  animation: phoneTurn 4s ease-in-out infinite;
}

.rotate-phone::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 9px;
  height: 1px;
  border-radius: 99px;
  background: rgba(231, 238, 247, 0.55);
  transform: translateX(-50%);
}

.rotate-arrow {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 11px;
  height: 11px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.75);
  border-right: 1px solid rgba(var(--accent-rgb), 0.75);
  border-radius: 0 4px 0 0;
  transform: rotate(35deg);
}

@keyframes phoneTurn {
  0%, 22% { transform: translate(-50%, -50%) rotate(-90deg); opacity: 0.68; }
  48%, 72% { transform: translate(-50%, -50%) rotate(0deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(-90deg); opacity: 0.68; }
}

@keyframes gateOrbit {
  to { transform: rotate(360deg); }
}

.orientation-eyebrow {
  margin: 0 0 16px;
  color: rgba(var(--accent-rgb), 0.72);
  justify-content: center;
}

.orientation-gate h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.orientation-copy {
  max-width: 320px;
  margin: 17px 0 0;
  color: rgba(225, 232, 242, 0.6);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
  line-break: strict;
  text-wrap: balance;
}

.orientation-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 27px 0 0;
  color: rgba(var(--accent-rgb), 0.7);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.orientation-hint span {
  font-size: 13px;
  line-height: 1;
}

.orientation-skip {
  margin-top: 24px;
  padding: 4px 2px;
  border: 0;
  border-bottom: 1px solid rgba(220, 231, 245, 0.18);
  background: transparent;
  color: rgba(216, 227, 243, 0.42);
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.orientation-skip:hover {
  color: var(--ink-soft);
  border-color: rgba(220, 231, 245, 0.38);
}

body.is-orientation-blocked {
  overflow: hidden;
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 1000px) and (hover: none) and (pointer: coarse) {
  .orientation-gate:not(.is-dismissed) {
    display: flex;
  }
}

@media (max-height: 500px) {
  .orientation-gate {
    padding: 16px;
  }

  .orientation-brand {
    margin-bottom: 20px;
  }

  .rotate-device {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .rotate-phone {
    width: 25px;
    height: 41px;
  }

  .orientation-gate h2 {
    font-size: 28px;
  }

  .orientation-copy {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.7;
  }

  .orientation-hint {
    margin-top: 14px;
  }

  .orientation-skip {
    margin-top: 12px;
  }
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 48% 44% at 50% 43%, rgba(37, 57, 87, 0.22), transparent 70%),
    #04070d;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(300px, calc(100vw - 60px));
}

.loader-orbit {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 31px;
}

.loader-sun {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.9), 0 0 40px rgba(var(--accent-rgb), 0.3);
  animation: sunBreathe 2.8s ease-in-out infinite;
}

@keyframes sunBreathe {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

.loader-path {
  position: absolute;
  border: 1px solid rgba(222, 232, 245, 0.17);
  border-radius: 50%;
  transform-origin: center;
}

.loader-path--one {
  inset: 18px 1px;
  transform: rotate(-28deg) scaleY(0.7);
  animation: orbitSpinOne 7s linear infinite;
}

.loader-path--two {
  inset: 1px 22px;
  transform: rotate(35deg) scaleY(0.75);
  animation: orbitSpinTwo 11s linear infinite reverse;
}

.loader-path i {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(231, 238, 247, 0.8);
  box-shadow: 0 0 7px rgba(220, 235, 255, 0.65);
}

.loader-path--two i {
  top: 4px;
  right: 50%;
  width: 3px;
  height: 3px;
  background: rgba(var(--accent-rgb), 0.8);
}

@keyframes orbitSpinOne {
  to { transform: rotate(332deg) scaleY(0.7); }
}

@keyframes orbitSpinTwo {
  to { transform: rotate(395deg) scaleY(0.75); }
}

.loader-brand {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.42em;
  line-height: 1;
}

.loader-sub {
  margin: 8px 0 0;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.loader-label {
  margin: 38px 0 0;
  color: rgba(229, 235, 244, 0.52);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-align: center;
}

.loader-track {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 14px;
  overflow: hidden;
  background: rgba(218, 229, 243, 0.12);
}

.loader-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.15), var(--accent));
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
  transition: width 0.3s ease;
}

.loader-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
  color: var(--faint);
  font-size: 6px;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Intro choreography
   -------------------------------------------------------------------------- */

.hero .eyebrow,
.hero-title,
.hero-copy,
.hero-actions,
.planet-index,
.scale-note,
.bottom-ui,
.topbar {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}

body.is-ready .hero .eyebrow,
body.is-ready .hero-title,
body.is-ready .hero-copy,
body.is-ready .hero-actions,
body.is-ready .planet-index,
body.is-ready .scale-note,
body.is-ready .bottom-ui,
body.is-ready .topbar {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .hero-title { transition-delay: 0.08s; }
body.is-ready .hero-copy { transition-delay: 0.16s; }
body.is-ready .hero-actions { transition-delay: 0.24s; }
body.is-ready .planet-index { transition-delay: 0.18s; }
body.is-ready .scale-note { transition-delay: 0.26s; }
body.is-ready .bottom-ui { transition-delay: 0.32s; }
body.is-ready .topbar { transition-delay: 0.05s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .topbar-note {
    display: none;
  }

  .planet-index {
    width: 170px;
  }

  .hero {
    width: 380px;
  }

  .hero-title {
    font-size: clamp(50px, 5.8vw, 70px);
  }

  .info-panel {
    width: 370px;
  }

  .bottom-ui {
    width: min(900px, calc(100vw - var(--page-x) * 2));
  }

  .bar-divider {
    margin: 0 15px;
  }

  .speed-control {
    flex-basis: 195px;
  }
}

@media (max-width: 980px) {
  .planet-index {
    top: 96px;
    width: 160px;
  }

  .index-item {
    min-height: 33px;
  }

  .hero {
    width: 330px;
    bottom: 130px;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .hero-hint {
    display: none;
  }

  .scale-note {
    display: none;
  }

  .info-panel {
    width: 345px;
    padding: 20px;
  }

  .top-actions .live-badge {
    display: none;
  }

  .toggle-btn span:last-child {
    display: none;
  }

  .toggle-btn {
    width: 33px;
    padding: 0;
  }

  .control-bar {
    gap: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --page-x: 20px;
  }

  .topbar {
    padding-top: 18px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    transform: scale(0.9);
    transform-origin: left center;
  }

  .brand-sun {
    top: 11px;
    left: 11px;
  }

  .brand-name {
    font-size: 11px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    top: 90px;
    bottom: auto;
    width: 270px;
  }

  .hero-title {
    font-size: 45px;
  }

  .hero-copy {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 15px;
  }

  .hero-cta {
    min-height: 35px;
    padding-left: 13px;
    font-size: 9px;
  }

  .cta-orb {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  .planet-index {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 123px;
    width: auto;
  }

  .index-heading,
  .index-foot {
    display: none;
  }

  .index-list {
    flex-direction: row;
    gap: 2px;
    padding: 4px;
    border: 1px solid rgba(220, 231, 245, 0.09);
    border-radius: 11px;
    background: rgba(8, 12, 19, 0.66);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .index-list::-webkit-scrollbar {
    display: none;
  }

  .index-item {
    display: flex;
    flex: 1 0 auto;
    justify-content: center;
    gap: 3px;
    width: auto;
    min-height: 30px;
    padding: 6px 3px;
    border: 0 !important;
    border-radius: 7px;
  }

  .index-item::before {
    display: none;
  }

  .index-item:hover,
  .index-item.is-active {
    padding-left: 3px;
    background: rgba(224, 234, 248, 0.06);
  }

  .idx-number {
    display: none;
  }

  .idx-name {
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }

  .idx-name > span {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .idx-name em {
    display: none;
  }

  .idx-dot {
    width: 3px;
    height: 3px;
  }

  .body-label {
    font-size: 9px;
  }

  .label-name {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .label-en {
    display: none;
  }

  .label-rule {
    width: 9px;
    flex-basis: 9px;
  }

  .label-inner {
    gap: 5px;
  }

  .bottom-ui {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
  }

  .control-bar {
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 13px;
  }

  .play-btn {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .play-icon {
    transform: scale(0.86);
  }

  .date-readout {
    min-width: 78px;
  }

  .date-value {
    font-size: 11px;
  }

  .bar-divider {
    margin: 0 11px;
    height: 26px;
  }

  .speed-control {
    flex-basis: 168px;
  }

  .speed-head {
    margin-bottom: 4px;
  }

  .speed-btn {
    height: 24px;
    font-size: 7.5px;
  }

  .toggle-control {
    gap: 1px;
  }

  .toggle-btn {
    width: 29px;
    height: 31px;
  }

  .reset-btn {
    width: 29px;
    height: 31px;
    margin-left: 1px;
    padding: 0;
  }

  .reset-btn span {
    display: none;
  }

  .footer-line {
    padding-top: 6px;
    font-size: 5px;
  }

  .footer-center {
    display: none;
  }

  .scale-note {
    display: none;
  }

  .info-panel {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-height: 60vh;
    padding: 16px 18px 17px;
    border-radius: 15px;
    transform: translateY(24px) scale(1);
  }

  body.is-focused .info-panel {
    transform: translateY(0) scale(1);
  }

  .info-heading {
    margin-top: 18px;
  }

  .info-heading h2 {
    font-size: 34px;
  }

  .planet-glyph {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .info-summary {
    margin-top: 15px;
    font-size: 11.5px;
    line-height: 1.8;
  }

  .info-fact {
    margin-top: 14px;
    padding: 10px 12px 10px 13px;
  }

  .stats {
    margin-top: 14px;
  }

  .stat {
    padding: 8px 0;
  }

  .stat dd {
    font-size: 14px;
  }

  .info-nav {
    padding-top: 14px;
  }

  body.is-focused .planet-index,
  body.is-focused .bottom-ui,
  body.is-focused .hero {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
  }

  .modal-panel {
    top: 18px;
    bottom: 18px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: none;
    padding: 23px 22px 25px;
    transform: translateY(12px) scale(0.99);
  }

  .help-modal.is-open .modal-panel {
    transform: translateY(0) scale(1);
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 20px;
  }

  .help-card {
    display: grid;
    grid-template-columns: 23px 1fr;
    column-gap: 5px;
    padding-top: 9px;
  }

  .help-card strong {
    margin: 0 0 3px;
  }

  .help-card p {
    grid-column: 2;
  }

  .shortcut-list {
    grid-template-columns: 1fr;
  }

  .toast {
    bottom: 148px;
  }
}

@media (max-width: 600px) {
  .top-actions {
    gap: 7px;
  }

  .icon-btn {
    width: 30px;
    height: 30px;
  }

  .icon-btn svg {
    width: 14px;
    height: 14px;
  }

  .hero {
    top: 79px;
    width: 230px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 6px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-title-en {
    margin-top: 10px;
    font-size: 6px;
  }

  .hero-copy {
    font-size: 11px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .hero-hint {
    display: none;
  }

  .hero-cta {
    gap: 8px;
    min-height: 32px;
    padding-left: 12px;
    font-size: 8px;
  }

  .cta-orb {
    width: 22px;
    height: 22px;
  }

  .planet-index {
    bottom: 128px;
  }

  .control-bar {
    flex-wrap: wrap;
    min-height: 0;
    padding: 8px;
    row-gap: 7px;
  }

  .time-control {
    flex: 1 1 auto;
    gap: 8px;
  }

  .play-btn {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .date-readout {
    min-width: 71px;
    gap: 3px;
  }

  .date-value {
    font-size: 10px;
  }

  .date-label {
    font-size: 5px;
    letter-spacing: 0.08em;
  }

  .bar-divider {
    display: none;
  }

  .toggle-control {
    flex: 0 0 auto;
    gap: 1px;
  }

  .toggle-btn,
  .reset-btn {
    width: auto;
    height: 29px;
    padding: 0 6px;
    gap: 4px;
  }

  .toggle-btn span:last-child,
  .reset-btn span {
    display: inline;
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .info-panel .panel-close {
    width: 38px;
    height: 38px;
  }

  .info-panel .panel-close svg {
    width: 14px;
    height: 14px;
  }

  .speed-control {
    order: 5;
    display: flex;
    align-items: center;
    flex: 1 0 100%;
    gap: 10px;
  }

  .speed-head {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
  }

  .speed-head > span {
    display: none;
  }

  .speed-head::before {
    content: "娴侀€?;
    margin-right: 5px;
    color: var(--faint);
    font-family: var(--sans);
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .speed-head output {
    font-size: 7px;
  }

  .speed-options {
    flex: 1;
  }

  .speed-btn {
    height: 26px;
  }

  .footer-line {
    display: none;
  }

  .index-item {
    padding-left: 3px;
    padding-right: 3px;
  }

  .index-item:hover,
  .index-item.is-active {
    padding-left: 3px;
  }

  .idx-name > span {
    font-size: 8.5px;
  }

  .body-label .label-inner {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .label-name {
    font-size: 9.5px;
  }

  .label-anchor {
    width: 3px;
    height: 3px;
    flex-basis: 3px;
  }

  .info-panel {
    max-height: 62vh;
  }

  .info-topline {
    font-size: 5.5px;
  }

  .info-type-en {
    display: none;
  }

  .info-heading h2 {
    font-size: 31px;
  }

  .planet-glyph {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .glyph-ring {
    top: 20px;
  }

  .info-summary {
    font-size: 12px;
  }

  .info-fact p {
    font-size: 11px;
  }

  .stat dd {
    font-size: 13px;
  }

  .stat dd em {
    font-size: 6px;
  }

  .info-nav {
    margin-top: 0;
  }

  .modal-panel h2 {
    font-size: 31px;
  }

  .modal-lead {
    font-size: 12.5px;
  }

  .loader-orbit {
    transform: scale(0.9);
  }
}

@media (max-height: 880px) and (min-width: 821px) {
  .planet-index {
    top: 88px;
  }

  .index-item {
    min-height: 29px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .index-heading {
    margin-bottom: 9px;
  }

  .index-foot {
    display: none;
  }

  .hero {
    bottom: 112px;
  }

  .hero-title {
    font-size: 50px;
  }

  .hero-copy {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .hero-hint {
    display: none;
  }

  .scale-note {
    bottom: 120px;
  }

  .info-panel {
    top: 78px;
    max-height: calc(100vh - 195px);
  }

  .info-heading {
    margin-top: 16px;
  }

  .info-summary {
    margin-top: 14px;
    line-height: 1.75;
  }

  .info-fact {
    margin-top: 13px;
  }

  .info-nav {
    padding-top: 12px;
  }
}

@media (max-height: 730px) and (min-width: 821px) {
  .hero {
    bottom: 102px;
  }

  .hero-copy {
    margin-top: 9px;
    font-size: 11.5px;
    line-height: 1.7;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .planet-index {
    top: 78px;
  }

  .index-item {
    min-height: 27px;
  }

  .control-bar {
    min-height: 60px;
  }

  .bottom-ui {
    bottom: 10px;
  }

  .footer-line {
    padding-top: 5px;
  }

  .info-panel {
    top: 70px;
    max-height: calc(100vh - 175px);
  }
}

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

  .grain {
    animation: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Known-worlds expansion                                                     */
/* -------------------------------------------------------------------------- */

.exo-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 0 11px;
  border: 1px solid rgba(229, 180, 119, 0.28);
  border-radius: 99px;
  color: rgba(239, 235, 226, 0.7);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.exo-link strong {
  color: var(--accent);
  font-size: 8px;
  font-weight: 400;
}

.exo-link:hover {
  border-color: rgba(var(--accent-rgb), 0.58);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--ink);
}

.index-list {
  max-height: clamp(190px, calc(100vh - 540px), 420px);
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: thin;
  scrollbar-color: rgba(218, 230, 244, 0.18) transparent;
}

.index-list::-webkit-scrollbar { width: 3px; }
.index-list::-webkit-scrollbar-thumb { background: rgba(218, 230, 244, 0.18); }

.index-group {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 12px 0 5px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.index-group span {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.hero-actions { flex-wrap: wrap; }

.hero-cta--exo {
  border-color: rgba(229, 180, 119, 0.26);
  background: rgba(229, 180, 119, 0.045);
  color: rgba(241, 232, 215, 0.82);
}

.hero-cta--exo:hover {
  border-color: rgba(var(--accent-rgb), 0.58);
  background: rgba(var(--accent-rgb), 0.1);
}

.hero-hint { margin-top: 13px; }

.moon-block {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.moon-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 7px;
  margin-top: 10px;
}

.moon-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 2px 8px 2px 6px;
  border: 1px solid rgba(216, 229, 243, 0.1);
  border-radius: 99px;
  color: rgba(233, 238, 244, 0.68);
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.moon-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--moon-color, var(--accent));
  box-shadow: 0 0 6px var(--moon-color, var(--accent));
}

.info-source {
  margin: 14px 0 2px;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

@media (max-width: 1200px) {
  .exo-link { display: none; }
}

@media (max-width: 820px) {
  .exo-link { display: none; }
  .index-list { max-height: calc(100vh - 320px); }
  .hero-actions { gap: 8px; }
  .hero-cta--exo { min-height: 33px; font-size: 8.5px; }
  .hero-hint { margin-top: 10px; }
  .moon-block { margin-top: 13px; padding-top: 11px; }
  .info-source { font-size: 7.5px; }
}

.modal-cta--link {
  margin-top: 9px;
  color: rgba(232, 226, 214, 0.78);
  font-size: 10px;
  text-decoration: none;
}

.modal-cta--link + .modal-cta { margin-top: 8px; }

@media (max-width: 880px) and (min-width: 821px) {
  .index-list { max-height: calc(100vh - 372px); }
}




@media (max-width: 820px) {
  .info-topline .panel-close { margin-left: auto; }
  .index-foot { display: none !important; }
}

