:root {
  color-scheme: dark;
  --night-0: #020611;
  --night-1: #061128;
  --night-2: #0a1a39;
  --ink: #f4f6ff;
  --muted: #aab6d0;
  --dim: #697996;
  --line: rgba(175, 205, 255, .18);
  --line-bright: rgba(190, 218, 255, .38);
  --glass: rgba(7, 18, 40, .68);
  --purple: #b293ff;
  --blue: #7facff;
  --mint: #65dfb1;
  --gold: #efd889;
  --pink: #e99dc9;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--night-0);
  font-family: Inter, ui-sans-serif, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 1px solid #dbe8ff; outline-offset: 4px; }

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 62%, rgba(67, 101, 174, .22), transparent 34%),
    radial-gradient(circle at 12% 28%, rgba(89, 69, 157, .17), transparent 31%),
    linear-gradient(148deg, #02050e 0%, #051026 47%, #091a39 100%);
}
.cosmos::before, .cosmos::after {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: .7;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(174,205,255,.86) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(255,224,150,.72) 0 1px, transparent 1.3px);
  background-position: 0 0, 43px 71px, 113px 29px;
  background-size: 127px 127px, 181px 181px, 239px 239px;
  animation: sky-drift 150s linear infinite;
}
.cosmos::after { opacity: .3; transform: scale(1.32); animation-duration: 220s; animation-direction: reverse; }
.nebula { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .2; }
.nebula-one { width: 40vw; height: 40vw; left: -18vw; top: 18vh; background: #526fd7; }
.nebula-two { width: 35vw; height: 35vw; right: -5vw; bottom: -14vw; background: #5e4caa; }
.starfield { position: absolute; inset: 0; }
.star {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--size); height: var(--size);
  border-radius: 50%;
  opacity: var(--opacity);
  background: hsl(var(--hue) 90% 92%);
  box-shadow: 0 0 calc(var(--size) * 3) hsl(var(--hue) 90% 80% / .7);
  animation: twinkle var(--duration) ease-in-out var(--delay) infinite;
}
.star.cross::before, .star.cross::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(235,244,255,.78); transform: translate(-50%,-50%); }
.star.cross::before { width: calc(var(--size) * 5); height: 1px; }
.star.cross::after { width: 1px; height: calc(var(--size) * 5); }
.shooting-star { position: absolute; width: 140px; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, #fff); transform: rotate(35deg); filter: drop-shadow(0 0 5px #a7c8ff); animation: shooting 15s ease-in-out infinite; }
.shooting-star::after { content: ""; position: absolute; right: 0; top: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.shooting-star-one { left: 8%; top: 18%; animation-delay: 1s; }
.shooting-star-two { left: 68%; top: 9%; animation-delay: 8s; animation-duration: 19s; }
.horizon { position: absolute; inset: auto 0 0; height: 25vh; opacity: .45; background: linear-gradient(166deg, transparent 0 53%, rgba(2,9,22,.86) 53.2% 100%), linear-gradient(194deg, transparent 0 62%, rgba(1,6,16,.92) 62.2% 100%); mask-image: linear-gradient(to bottom, transparent, #000 48%); }

.screen-shell {
  position: relative;
  width: calc(100% - 34px);
  height: calc(100dvh - 34px);
  max-width: 1600px;
  margin: 17px auto;
  overflow: hidden;
  border: 1px solid rgba(177,205,255,.2);
  background:
    linear-gradient(rgba(129,169,226,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,169,226,.018) 1px, transparent 1px),
    linear-gradient(145deg, rgba(5,15,35,.78), rgba(3,10,25,.65));
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: 0 25px 90px rgba(0,0,0,.35), inset 0 0 90px rgba(103,145,220,.03);
  backdrop-filter: blur(15px) saturate(115%);
}
.screen-shell::before {
  content: ""; position: absolute; inset: 0; z-index: 20; pointer-events: none;
  opacity: .16; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(157,193,255,.055) 4px);
  mix-blend-mode: screen;
}
.corner { position: absolute; z-index: 22; width: 24px; height: 24px; pointer-events: none; }
.corner::before, .corner::after { content: ""; position: absolute; background: rgba(199,222,255,.65); }
.corner::before { width: 24px; height: 1px; }
.corner::after { width: 1px; height: 24px; }
.corner-tl { left: 7px; top: 7px; }.corner-tr { right: 7px; top: 7px; transform: rotate(90deg); }.corner-br { right: 7px; bottom: 7px; transform: rotate(180deg); }.corner-bl { left: 7px; bottom: 7px; transform: rotate(270deg); }

.system-bar {
  height: 58px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5,14,32,.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}
.system-id, .system-status, .jump-links { display: flex; align-items: center; }
.system-id { gap: 11px; min-width: 0; }
.system-mark { color: var(--gold); text-shadow: 0 0 12px rgba(239,216,137,.7); }
.system-id strong { font-size: 11px; font-weight: 600; white-space: nowrap; }
.system-id small { padding-left: 10px; border-left: 1px solid var(--line); color: var(--dim); font-size: 8px; white-space: nowrap; }
.system-status { gap: 22px; color: #a8b7d2; font-size: 8px; }
.system-status span { display: flex; align-items: center; gap: 7px; }
.system-status i, .screen-footer i { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: pulse 2.5s ease-in-out infinite; }
.system-status time { color: #dae5f8; font-size: 10px; }
.jump-links { justify-content: flex-end; gap: 6px; }
.jump-links a { padding: 7px 5px; border: 1px solid transparent; color: #8f9db7; font-size: 9px; transition: .25s ease; }
.jump-links a span { color: #bcd1f5; }
.jump-links a:hover { border-color: var(--line); color: #eef4ff; background: rgba(124,163,229,.07); }

.hub-viewport {
  height: calc(100% - 88px);
  min-height: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(520px, 1.75fr) minmax(250px, .73fr);
  grid-template-rows: minmax(340px, 1fr) auto;
  grid-template-areas: "identity map rail" "mission mission rail";
  gap: 18px 22px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(159,190,239,.3) transparent;
}

.identity-beacon { grid-area: identity; position: relative; min-width: 0; padding: 12px 0 0 8px; align-self: center; }
.identity-beacon::before { content: ""; position: absolute; left: -24px; top: 19%; width: 65%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-bright)); transform: rotate(-17deg); transform-origin: left; }
.greeting { width: max-content; max-width: 100%; margin: 0 0 11px 32%; padding: 7px 11px; border: 1px solid var(--line); border-radius: 12px 12px 12px 2px; color: #d8d1ff; background: rgba(12,25,54,.75); font-size: 10px; }
.greeting span:first-child { margin-right: 6px; color: var(--gold); }
.identity-core { display: grid; grid-template-columns: minmax(105px, 42%) 1fr; align-items: center; gap: 14px; }
.avatar-system { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.avatar-system img { width: 68%; aspect-ratio: 1; display: block; object-fit: cover; border: 1px solid rgba(225,237,255,.8); border-radius: 50%; box-shadow: 0 0 0 7px rgba(121,158,225,.07), 0 0 28px rgba(125,170,255,.25); }
.avatar-orbit { position: absolute; inset: 4%; border: 1px solid rgba(151,187,250,.27); border-radius: 50%; }
.avatar-orbit::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #c9dcff; box-shadow: 0 0 9px #9cc1ff; }
.orbit-a { border-left-color: transparent; transform: rotate(-12deg); animation: orbit 18s linear infinite; }.orbit-a::before { top: 17%; right: 8%; }
.orbit-b { inset: 15%; border-right-color: transparent; transform: rotate(25deg); animation: orbit 12s linear infinite reverse; }.orbit-b::before { bottom: 6%; left: 20%; background: var(--gold); }
.orbit-label { position: absolute; left: -1px; bottom: 13%; padding: 3px 5px; color: var(--dim); background: #071128; font: 7px ui-monospace, monospace; letter-spacing: .1em; }
.identity-copy { min-width: 0; }
.micro-label, .map-heading > span, .mission-heading span, .rail-label { color: #71829f; font: 7px ui-monospace, monospace; letter-spacing: .18em; }
.identity-copy h1 { margin: 4px 0 0; font: 300 clamp(36px, 4vw, 66px)/.95 Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.identity-copy h1 sup { margin-left: 5px; color: var(--gold); font: 12px sans-serif; }
.identity-copy p { margin: 8px 0 12px; color: var(--muted); font-size: 11px; }
.location { color: #6f82a2; font: 7px ui-monospace, monospace; letter-spacing: .11em; }
.tags { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { padding: 5px 8px; border: 1px solid rgba(175,205,255,.12); color: #97a5be; background: rgba(12,26,53,.45); font-size: 8px; }
.tags .hot { color: #d1b8ff; border-color: rgba(178,147,255,.25); }
.contacts { margin-top: 12px; display: flex; align-items: center; gap: 5px; }
.contact-link { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); color: #9aabc8; background: rgba(8,19,41,.45); font: 10px ui-monospace, monospace; transition: .25s ease; }
.contact-link:hover { color: #fff; border-color: var(--line-bright); transform: translateY(-2px); }

.navigation-map { grid-area: map; position: relative; min-height: 370px; overflow: hidden; border: 1px solid rgba(175,205,255,.11); background: radial-gradient(circle at 50% 52%, rgba(94,125,194,.1), transparent 33%), rgba(3,11,27,.22); }
.navigation-map::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(175,205,255,.045); pointer-events: none; }
.map-heading { position: absolute; z-index: 4; left: 25px; top: 20px; }
.map-heading h2 { margin: 5px 0 3px; font: 400 19px Georgia, "Noto Serif SC", serif; letter-spacing: .03em; }
.map-heading p { margin: 0; color: #8594ad; font-size: 9px; }
.route-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-lines path { fill: none; stroke: rgba(138,178,240,.22); stroke-width: 1; stroke-dasharray: 5 8; animation: route-flow 18s linear infinite; }
.route-lines path.route-ghost { opacity: .23; }
.route-lines circle { fill: #dce9ff; filter: drop-shadow(0 0 6px #a7c7ff); }
.hub-core { position: absolute; z-index: 3; left: 50%; top: 50%; width: 66px; height: 66px; display: grid; place-items: center; transform: translate(-50%,-50%); }
.hub-core i { position: absolute; inset: 0; border: 1px solid rgba(166,201,255,.25); border-radius: 50%; animation: orbit 16s linear infinite; }
.hub-core i:nth-child(2) { inset: 9px; border-style: dashed; animation-duration: 10s; animation-direction: reverse; }
.hub-core i:nth-child(3) { inset: 25px; border: 0; background: #dbe8ff; box-shadow: 0 0 15px #8eb7ff; }
.hub-core span { position: absolute; top: calc(100% + 6px); color: #7184a3; font: 7px ui-monospace, monospace; letter-spacing: .2em; }
.site-node { --accent: #8eb7ff; position: absolute; z-index: 5; width: min(235px, 31%); min-width: 180px; padding: 12px 13px 11px; border: 1px solid rgba(175,205,255,.17); background: linear-gradient(135deg, rgba(13,29,60,.84), rgba(5,15,35,.72)); box-shadow: 0 14px 35px rgba(0,0,0,.2); transition: transform .28s ease, border-color .28s ease, background .28s ease; }
.site-node::before { content: ""; position: absolute; left: -1px; top: -1px; width: 30%; height: 1px; background: var(--accent); box-shadow: 0 0 9px color-mix(in srgb, var(--accent), transparent 35%); }
.site-node::after { content: ""; position: absolute; right: 7px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.site-node:hover { z-index: 7; border-color: color-mix(in srgb, var(--accent), white 15%); background: linear-gradient(135deg, rgba(19,40,78,.93), rgba(6,18,41,.87)); transform: translateY(-5px); }
.node-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.node-index { color: var(--accent); font: 8px ui-monospace, monospace; letter-spacing: .15em; }
.node-arrow { color: #92a3bf; font-size: 12px; transition: transform .25s ease; }.site-node:hover .node-arrow { transform: translate(3px,-3px); }
.site-node strong { margin-top: 8px; display: block; font-size: 13px; font-weight: 520; }
.site-node small { margin-top: 4px; display: block; overflow: hidden; color: #8896af; font-size: 8px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.maintenance { position: absolute; z-index: 5; right: 18px; bottom: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; max-width: 250px; padding: 8px 10px; border: 1px solid rgba(175,205,255,.12); background: rgba(4,13,31,.75); transition: border-color .2s ease; }
.maintenance:hover { border-color: var(--line-bright); }
.maintenance-pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.maintenance span:nth-child(2) { min-width: 0; }.maintenance small, .maintenance strong { display: block; }.maintenance small { color: #657590; font: 6px ui-monospace, monospace; letter-spacing: .12em; }.maintenance strong { margin-top: 2px; overflow: hidden; color: #aebbd0; font-size: 7px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }.maintenance time { color: #7485a2; font: 7px ui-monospace, monospace; white-space: nowrap; }

.utility-rail { grid-area: rail; min-width: 0; padding-left: 17px; border-left: 1px solid rgba(175,205,255,.1); display: flex; flex-direction: column; gap: 12px; }
.rail-label { display: block; margin: 1px 0 2px; }
.sound-module, .support-module { border: 1px solid rgba(175,205,255,.14); background: rgba(7,18,40,.47); }
.sound-module { padding: 14px; }
.sound-module > header { display: flex; align-items: center; gap: 9px; }
.sound-module > header > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(178,147,255,.26); color: var(--purple); font-size: 11px; }
.sound-module header div { min-width: 0; }.sound-module header small, .sound-module header strong { display: block; }.sound-module header small { color: #6d7e99; font: 6px ui-monospace, monospace; letter-spacing: .14em; }.sound-module header strong { margin-top: 2px; font: 400 12px Georgia, serif; }
.equalizer { margin-left: auto; height: 17px; display: flex; align-items: flex-end; gap: 2px; }.equalizer b { width: 2px; height: 45%; background: var(--purple); animation: equalize .85s ease-in-out infinite alternate; }.equalizer b:nth-child(2) { height: 90%; animation-delay: -.25s; }.equalizer b:nth-child(3) { height: 65%; animation-delay: -.5s; }.equalizer b:nth-child(4) { height: 35%; animation-delay: -.7s; }
#playlist-card { margin-top: 8px; padding: 10px 0 8px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; border-top: 1px solid rgba(175,205,255,.1); }
.record { width: 35px; height: 35px; position: relative; display: grid; place-items: center; padding: 0; border: 1px solid rgba(178,147,255,.3); border-radius: 50%; color: #f1eaff; background: repeating-radial-gradient(circle, #111b35 0 2px, #070e20 3px 4px); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.record::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 8px var(--purple); }.record i { position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; animation: spin 9s linear infinite; animation-play-state: paused; }.record b { position: absolute; z-index: 1; font: 8px ui-monospace, monospace; text-shadow: 0 0 7px #080f24; }.record:hover { border-color: rgba(193,169,255,.65); box-shadow: 0 0 15px rgba(178,147,255,.17); transform: scale(1.05); }.sound-module.is-playing .record i { animation-play-state: running; }
.playlist-copy { min-width: 0; }.playlist-copy small, .playlist-copy strong, .playlist-copy em { display: block; }.playlist-copy small { color: #64738e; font: 5px ui-monospace, monospace; letter-spacing: .11em; }.playlist-copy strong { margin-top: 3px; overflow: hidden; font-size: 9px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }.playlist-copy em { margin-top: 2px; overflow: hidden; color: #7889a6; font-size: 7px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.playlist-shuffle { width: 29px; height: 33px; display: grid; place-items: center; padding: 2px 0 0; border: 1px solid rgba(175,205,255,.13); color: #8fa1bd; background: rgba(9,23,49,.55); cursor: pointer; transition: .2s ease; }.playlist-shuffle span, .playlist-shuffle small { display: block; line-height: 1; }.playlist-shuffle span { font-size: 12px; }.playlist-shuffle small { margin-top: -2px; font: 5px ui-monospace, monospace; letter-spacing: .08em; }.playlist-shuffle:hover { color: #e8ddff; border-color: rgba(178,147,255,.42); background: rgba(26,38,74,.72); }.playlist-shuffle:hover span { transform: rotate(90deg); transition: transform .25s ease; }
.playlist-progress { position: relative; height: 1px; overflow: hidden; background: rgba(175,205,255,.1); }.playlist-progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--blue), var(--purple)); box-shadow: 0 0 8px var(--purple); transition: width .2s linear; }
.playlist-readout { min-height: 18px; display: flex; align-items: center; gap: 8px; color: #667995; font: 5px ui-monospace, monospace; letter-spacing: .06em; }.playlist-readout span:first-child { display: flex; align-items: center; gap: 4px; }.playlist-readout span:first-child i { width: 3px; height: 3px; border-radius: 50%; background: #70839e; box-shadow: 0 0 5px currentColor; }.sound-module.is-playing .playlist-readout span:first-child i { color: var(--mint); background: var(--mint); }.playlist-readout b { font-weight: 400; }.playlist-readout > span:nth-child(2) { margin-left: auto; white-space: nowrap; }
.playlist-readout a { display: block; color: #8aa5ca; white-space: nowrap; }
.sound-module.is-playing .equalizer b, .sound-module.is-loading .equalizer b { animation-play-state: running; }.sound-module:not(.is-playing):not(.is-loading) .equalizer b { animation-play-state: paused; opacity: .42; }
.sound-module > p { margin: 10px 0 0; color: #63738f; font-size: 7px; line-height: 1.7; }
.support-module { width: 100%; padding: 13px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; text-align: left; cursor: pointer; transition: .25s ease; }
.support-module:hover { border-color: rgba(121,172,255,.38); background: rgba(13,30,59,.66); transform: translateY(-2px); }
.support-heart { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(121,172,255,.25); color: var(--blue); font-size: 15px; }
.support-module small, .support-module strong { display: block; }.support-module small { color: #657692; font: 6px ui-monospace, monospace; letter-spacing: .12em; }.support-module strong { margin-top: 3px; font-size: 8px; font-weight: 450; }.support-module > i { color: #7083a1; font: 6px ui-monospace, monospace; font-style: normal; }
.utility-rail blockquote { position: relative; margin: auto 0 0; padding: 18px 5px 13px 19px; border-left: 1px solid rgba(239,216,137,.28); color: #9eaac0; }
.utility-rail blockquote span { position: absolute; left: 8px; top: -7px; color: rgba(239,216,137,.45); font: 34px Georgia, serif; }.utility-rail blockquote p { margin: 0; font: 10px/1.8 Georgia, "Noto Serif SC", serif; }

.mission-deck { grid-area: mission; min-width: 0; display: grid; grid-template-columns: minmax(155px, .42fr) 1.58fr; grid-template-rows: auto auto; gap: 10px 18px; }
.mission-heading { padding: 12px 0 0 8px; }.mission-heading h2 { margin: 4px 0 0; font: 400 18px Georgia, serif; }.mission-heading p { margin: 9px 0 0; color: #7b8aa5; font-size: 8px; }.mission-heading p i { width: 35px; height: 1px; margin-left: 8px; display: inline-block; vertical-align: middle; background: linear-gradient(90deg, var(--line-bright), transparent); }
.mission-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mission-card { --accent: #8eb7ff; min-width: 0; position: relative; padding: 11px 12px 10px; border: 1px solid rgba(175,205,255,.13); background: linear-gradient(135deg, rgba(10,24,51,.62), rgba(5,15,34,.45)); transition: transform .25s ease, border-color .25s ease; }
.mission-card:nth-child(2) { transform: translateY(6px); }.mission-card:nth-child(2):hover { transform: translateY(2px); }.mission-card:hover { border-color: color-mix(in srgb, var(--accent), transparent 45%); transform: translateY(-4px); }
.mission-card::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: linear-gradient(var(--accent), transparent); opacity: .75; }
.mission-meta { display: flex; justify-content: space-between; gap: 8px; color: #657590; font: 6px ui-monospace, monospace; letter-spacing: .1em; }.mission-meta i { color: var(--accent); font-style: normal; }
.mission-card strong { margin-top: 8px; display: block; overflow: hidden; font-size: 10px; font-weight: 520; white-space: nowrap; text-overflow: ellipsis; }.mission-card p { margin: 4px 0 8px; height: 2.8em; overflow: hidden; color: #7c8ba5; font-size: 7px; line-height: 1.45; }.mission-card > span:last-child { color: #7283a0; font: 7px ui-monospace, monospace; }
.journey-log { grid-column: 1 / -1; border-top: 1px solid rgba(175,205,255,.1); }
.journey-log summary { padding: 7px 8px; display: flex; align-items: center; gap: 9px; list-style: none; cursor: pointer; }.journey-log summary::-webkit-details-marker { display: none; }.journey-log summary > span { color: var(--gold); }.journey-log summary small { color: #687995; font: 6px ui-monospace, monospace; letter-spacing: .14em; }.journey-log summary strong { font-size: 8px; font-weight: 450; }.journey-log summary i { margin-left: auto; color: #61728f; font: 6px ui-monospace, monospace; font-style: normal; }
.journey-list { padding: 8px 8px 14px; display: grid; grid-template-columns: repeat(6, minmax(130px,1fr)); gap: 7px; overflow-x: auto; }.journey-item { --accent: #8eb7ff; min-width: 130px; padding: 9px; border: 1px solid rgba(175,205,255,.1); background: rgba(5,15,34,.5); }.journey-item time { color: var(--accent); font: 7px ui-monospace, monospace; }.journey-item strong { margin-top: 5px; display: block; font-size: 8px; }.journey-item p { margin: 3px 0 0; color: #75849e; font-size: 7px; line-height: 1.55; }.journey-log footer { padding: 0 8px 11px; color: #74849f; font-size: 7px; }

.screen-footer { position: absolute; inset: auto 0 0; height: 30px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #53637e; background: rgba(4,12,28,.72); font: 6px ui-monospace, monospace; letter-spacing: .11em; }.screen-footer span:last-child { display: flex; align-items: center; gap: 7px; }

.support-dialog { width: min(490px, calc(100% - 28px)); padding: 0; border: 0; color: var(--ink); background: transparent; }.support-dialog::backdrop { background: rgba(1,5,15,.78); backdrop-filter: blur(8px); }.support-dialog-card { position: relative; padding: 24px; overflow: hidden; border: 1px solid rgba(178,205,255,.28); background: linear-gradient(145deg, rgba(13,29,60,.97), rgba(4,13,31,.97)); box-shadow: 0 30px 90px rgba(0,0,0,.5); }.support-dialog-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(178,205,255,.07); pointer-events: none; }.dialog-close { position: absolute; z-index: 2; right: 14px; top: 12px; width: 28px; height: 28px; border: 1px solid var(--line); color: #9dacC4; background: rgba(4,12,29,.6); cursor: pointer; }.support-dialog header > span { color: var(--gold); font: 7px ui-monospace, monospace; letter-spacing: .17em; }.support-dialog h2 { margin: 8px 0 4px; font: 400 23px Georgia, "Noto Serif SC", serif; }.support-dialog header p { margin: 0; color: #8e9bb2; font-size: 9px; }
.method-switch { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.method-button { padding: 10px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); color: #94a2ba; background: rgba(7,18,39,.55); text-align: left; cursor: pointer; }.method-button.is-active { color: #fff; border-color: rgba(108,172,255,.48); background: rgba(30,76,139,.2); }.method-button > i { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid currentColor; font-size: 10px; font-style: normal; }.method-button strong, .method-button small { display: block; }.method-button strong { font-size: 9px; }.method-button small { margin-top: 2px; color: #6d7c96; font: 5px ui-monospace, monospace; letter-spacing: .1em; }
.qr-stage { margin: 18px auto 0; width: 210px; position: relative; text-align: center; }.qr-stage img { width: 180px; height: 180px; padding: 6px; display: block; margin: auto; object-fit: cover; border: 1px solid rgba(187,215,255,.25); background: #fff; animation: image-in .28s ease; }.qr-stage > span { position: absolute; width: 22px; height: 22px; border-color: #8eb7ff; }.qr-stage > span:first-child { left: 0; top: -8px; border-left: 1px solid; border-top: 1px solid; }.qr-stage > span:nth-of-type(2) { right: 0; bottom: 16px; border-right: 1px solid; border-bottom: 1px solid; }.qr-stage p { margin: 10px 0 0; color: #6f7e98; font-size: 9px; }

@keyframes sky-drift { to { transform: translate3d(4%,3%,0); } }
@keyframes twinkle { 0%,100% { opacity: calc(var(--opacity) * .4); transform: scale(.75); } 50% { opacity: var(--opacity); transform: scale(1.2); } }
@keyframes shooting { 0%, 81% { opacity: 0; transform: translate3d(-70px,-45px,0) rotate(35deg); } 84% { opacity: 1; } 91%,100% { opacity: 0; transform: translate3d(280px,180px,0) rotate(35deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes route-flow { to { stroke-dashoffset: -130; } }
@keyframes pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes equalize { to { height: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes image-in { from { opacity: 0; transform: scale(.97); } }

@media (max-width: 1180px) {
  body { overflow: auto; }
  .screen-shell { height: auto; min-height: calc(100dvh - 24px); margin: 12px auto; }
  .hub-viewport { height: auto; min-height: calc(100dvh - 88px); grid-template-columns: minmax(220px,.7fr) minmax(500px,1.5fr); grid-template-rows: auto auto auto; grid-template-areas: "identity map" "mission mission" "rail rail"; padding-bottom: 54px; }
  .utility-rail { padding: 15px 0 0; border-left: 0; border-top: 1px solid rgba(175,205,255,.1); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; }.rail-label { grid-column: 1/-1; }.utility-rail blockquote { margin: 0; }
  .screen-footer { position: absolute; }
}

@media (max-width: 820px) {
  .screen-shell { width: calc(100% - 16px); margin: 8px; }
  .system-bar { height: auto; min-height: 54px; padding: 10px 16px; grid-template-columns: 1fr auto; }.system-status { display: none; }.jump-links { gap: 0; }.system-id small { display: none; }
  .hub-viewport { grid-template-columns: 1fr; grid-template-areas: "identity" "map" "mission" "rail"; padding: 16px; }
  .identity-beacon { max-width: 430px; padding-left: 0; }.identity-core { grid-template-columns: 140px 1fr; }
  .navigation-map { min-height: 460px; }
  .mission-deck { grid-template-columns: 1fr; }.mission-heading { padding-left: 0; }.mission-list { grid-template-columns: 1fr; }.mission-card:nth-child(2) { transform: none; }.journey-log { grid-column: auto; }
  .utility-rail { grid-template-columns: 1fr 1fr; }.utility-rail blockquote { grid-column: 1/-1; }
  .screen-footer span:nth-child(2) { display: none; }
}

@media (max-width: 560px) {
  .screen-shell { width: 100%; min-height: 100dvh; margin: 0; border-left: 0; border-right: 0; }
  .system-id strong { font-size: 9px; }.jump-links a { padding-inline: 7px; font-size: 8px; }
  .hub-viewport { padding: 13px; gap: 16px; }
  .identity-core { grid-template-columns: 116px 1fr; }.identity-copy h1 { font-size: 43px; }.greeting { margin-left: 26%; }
  .navigation-map { min-height: 530px; overflow: visible; }.map-heading { left: 16px; top: 16px; }.route-lines, .hub-core { display: none; }.site-nodes { padding: 95px 12px 75px; display: grid; gap: 9px; }.site-node, .site-node:nth-child(n) { position: relative; inset: auto; width: 100%; min-width: 0; }.maintenance { left: 12px; right: 12px; bottom: 13px; max-width: none; }
  .utility-rail { grid-template-columns: 1fr; }.utility-rail blockquote { grid-column: auto; }
  .screen-footer { padding: 0 14px; }.screen-footer span:first-child { display: none; }.screen-footer { justify-content: flex-end; }
  .support-dialog-card { padding: 22px 16px; }.method-switch { grid-template-columns: 1fr; }.qr-stage { width: 195px; }
}

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

/* Spatial terminal v2 ----------------------------------------------------- */

.screen-shell {
  width: calc(100% - 16px);
  height: calc(100dvh - 16px);
  max-width: none;
  margin: 8px;
}

.spatial-stage {
  --focus-shift: 0px;
  --parallax-x: 0px;
  --parallax-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  height: calc(100% - 88px);
  min-height: 580px;
  overflow: hidden;
  perspective: 1500px;
  perspective-origin: 50% 48%;
  isolation: isolate;
}

.spatial-stage::before,
.spatial-stage::after {
  content: "";
  position: absolute;
  z-index: 8;
  pointer-events: none;
}

.spatial-stage::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, .73), transparent 9% 91%, rgba(2, 8, 20, .73)),
    linear-gradient(180deg, rgba(2, 8, 20, .4), transparent 11% 88%, rgba(2, 8, 20, .45));
}

.spatial-stage::after {
  left: 50%;
  top: 18px;
  width: 1px;
  height: 18px;
  background: rgba(193, 218, 255, .35);
  box-shadow: 0 calc(100dvh - 145px) 0 rgba(193, 218, 255, .35);
}

.depth-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .4;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 21%, rgba(131, 173, 236, .06) 21.2% 21.4%, transparent 21.7%),
    linear-gradient(rgba(112, 155, 218, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 155, 218, .025) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  transform: translate3d(calc(var(--parallax-x) * -.15), calc(var(--parallax-y) * -.15), 0) scale(1.08);
  will-change: transform;
}

.spatial-stage[data-focus="left"] { --focus-shift: 25vw; }
.spatial-stage[data-focus="right"] { --focus-shift: -22vw; }

.camera-rig {
  position: absolute;
  left: -25%;
  top: 0;
  width: 150%;
  height: 100%;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--focus-shift) + var(--parallax-x)), var(--parallax-y), 0)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x));
  transition: none;
  will-change: transform;
}

.spatial-zone {
  position: absolute;
  top: 0;
  height: 100%;
  min-height: 0;
  opacity: .28;
  pointer-events: none;
  transform-style: preserve-3d;
  transition:
    opacity 650ms ease,
    transform 900ms cubic-bezier(.18, .78, .16, 1);
  will-change: transform, opacity;
}

.zone-coordinate {
  position: absolute;
  left: 2px;
  top: 11%;
  color: #61728d;
  font: 7px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

/* Left: operator beacon */

.identity-zone {
  left: 0;
  width: 32%;
  padding: 8vh 3.2vw 5vh 4.4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translate3d(-2vw, 0, -110px) rotateY(8deg) scale(.82);
  transform-origin: 30% 50%;
}

.spatial-stage[data-focus="left"] .identity-zone {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(1.8vw, 0, 70px) rotateY(0) scale(1.1);
}

.identity-halo {
  position: absolute;
  left: 3.8vw;
  top: 50%;
  width: min(31vw, 440px);
  aspect-ratio: 1;
  opacity: .3;
  transform: translateY(-50%);
  pointer-events: none;
}

.identity-halo i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(152, 190, 247, .13);
  border-radius: 50%;
}

.identity-halo i:nth-child(2) { inset: 13%; border-style: dashed; animation: orbit 50s linear infinite; }
.identity-halo i:nth-child(3) { inset: 29%; border-color: rgba(239, 216, 137, .12); }

.identity-zone .greeting {
  position: absolute;
  left: 42%;
  top: 18%;
  z-index: 3;
  margin: 0;
  padding: 9px 14px;
  font-size: 11px;
  transform: translateY(12px);
  opacity: .2;
  transition: opacity .5s ease .15s, transform .6s ease .15s;
}

.spatial-stage[data-focus="left"] .identity-zone .greeting { opacity: 1; transform: none; }

.identity-zone .identity-core {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(185px, 47%) 1fr;
  gap: clamp(18px, 2vw, 36px);
}

.identity-zone .avatar-system { min-width: 185px; }

.identity-zone .avatar-system img {
  width: 82%;
  box-shadow:
    0 0 0 8px rgba(121, 158, 225, .06),
    0 0 0 17px rgba(121, 158, 225, .025),
    0 0 52px rgba(125, 170, 255, .29);
}

.avatar-scan {
  position: absolute;
  z-index: 4;
  left: 16%;
  top: 20%;
  width: 68%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(191, 224, 255, .85), transparent);
  box-shadow: 0 0 8px rgba(118, 189, 255, .65);
}

.spatial-stage[data-focus="left"] .avatar-scan {
  opacity: .7;
  animation: avatar-scan 4.8s ease-in-out infinite;
}

.identity-zone .orbit-label { left: 5%; bottom: 12%; font-size: 8px; }
.identity-zone .micro-label { font-size: 8px; }

.identity-zone .identity-copy h1 {
  margin-top: 7px;
  font-size: clamp(62px, 7vw, 108px);
  line-height: .83;
}

.identity-zone .identity-copy h1 sup { font-size: 16px; }
.identity-zone .identity-copy p { margin: 15px 0 16px; font-size: 13px; }
.identity-zone .location { font-size: 8px; }

.identity-details {
  position: relative;
  z-index: 2;
  width: 88%;
  margin: 28px 0 0 7%;
  opacity: .15;
  transform: translate3d(-18px, 0, 0);
  transition: opacity .5s ease .18s, transform .7s ease .18s;
}

.spatial-stage[data-focus="left"] .identity-details { opacity: 1; transform: none; }

.identity-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #6c7d98;
  font: 7px ui-monospace, monospace;
  letter-spacing: .14em;
}

.identity-line i { height: 1px; background: linear-gradient(90deg, rgba(159, 193, 242, .35), transparent); }
.identity-line strong { color: var(--mint); font-size: 7px; font-weight: 400; }
.identity-zone .tags { margin-top: 13px; gap: 6px; }
.identity-zone .tags span { padding: 6px 10px; font-size: 9px; }
.identity-zone .contacts { margin-top: 13px; }
.identity-zone .contact-link { width: 36px; height: 36px; font-size: 10px; }

.identity-readout {
  position: absolute;
  right: 6%;
  bottom: 11%;
  width: 128px;
  padding: 10px;
  border-right: 1px solid rgba(174, 205, 255, .18);
  text-align: right;
  opacity: .15;
  transform: translateX(-10px);
  transition: opacity .45s ease .32s, transform .6s ease .32s;
}

.spatial-stage[data-focus="left"] .identity-readout { opacity: 1; transform: none; }
.identity-readout span, .identity-readout small { display: block; color: #60718c; font: 6px ui-monospace, monospace; letter-spacing: .12em; }
.identity-readout strong { display: block; margin: 4px 0; color: #dce9ff; font: 20px Georgia, serif; font-weight: 400; }
.identity-readout i { display: block; height: 2px; margin: 6px 0; background: linear-gradient(90deg, transparent, var(--mint)); }

/* Center: world map */

.universe-zone {
  left: 29%;
  width: 42%;
  border: 1px solid rgba(175, 205, 255, .08);
  background: radial-gradient(circle at 50% 51%, rgba(90, 129, 202, .1), transparent 38%);
  transform: translate3d(0, 0, -60px) scale(.92);
}

.universe-zone::before,
.universe-zone::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.universe-zone::before { inset: 13px; border: 1px solid rgba(175, 205, 255, .045); }
.universe-zone::after { inset: 8% 7%; border-radius: 50%; border: 1px solid rgba(136, 177, 241, .055); }

.spatial-stage[data-focus="center"] .universe-zone {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 65px) scale(1.04);
}

.universe-zone .map-heading { left: 5%; top: 6%; }
.universe-zone .map-heading > span { font-size: 8px; }
.universe-zone .map-heading h2 { margin-top: 8px; font-size: clamp(26px, 2.4vw, 40px); }
.universe-zone .map-heading p { margin-top: 5px; font-size: 10px; }

.universe-sphere {
  position: absolute;
  left: 50%;
  top: 51%;
  width: min(42vw, 610px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .38;
}

.universe-sphere i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(141, 181, 242, .11);
  border-radius: 50%;
}

.universe-sphere i:nth-child(1) { transform: rotateX(70deg); }
.universe-sphere i:nth-child(2) { transform: rotateY(72deg); }
.universe-sphere i:nth-child(3) { inset: 15%; border-style: dashed; animation: orbit 80s linear infinite; }
.universe-sphere b { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle, rgba(122, 167, 240, .1), transparent 68%); box-shadow: 0 0 70px rgba(87, 133, 216, .14); }

.universe-zone .route-lines { inset: 0; }
.universe-zone .hub-core { width: 94px; height: 94px; }
.universe-zone .hub-core i:nth-child(2) { inset: 13px; }
.universe-zone .hub-core i:nth-child(3) { inset: 36px; }
.universe-zone .hub-core span { top: calc(100% + 12px); width: 130px; text-align: center; line-height: 1.7; }

.universe-zone .site-node {
  width: min(270px, 31%);
  min-width: 190px;
  padding: 15px 16px 14px;
}

.universe-zone .site-node strong { margin-top: 10px; font-size: 15px; }
.universe-zone .site-node small { margin-top: 6px; font-size: 9px; }
.universe-zone .node-index { font-size: 8px; }
.universe-zone .maintenance { right: 4%; bottom: 3%; max-width: 270px; }\\

.map-scale {
  position: absolute;
  left: 5%;
  bottom: 3%;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #53657f;
  font: 6px ui-monospace, monospace;
  letter-spacing: .1em;
}

.map-scale i { width: 80px; height: 4px; border-left: 1px solid #7185a3; border-right: 1px solid #7185a3; background: linear-gradient(180deg, transparent 1px, rgba(128, 160, 207, .25) 1px 2px, transparent 2px); }

/* Right: loose holographic panels */

.channels-zone {
  right: 0;
  width: 33%;
  padding: 5vh 3.6vw 5vh 2.4vw;
  transform: translate3d(2vw, 0, -120px) rotateY(-9deg) scale(.82);
  transform-origin: 72% 50%;
}

.spatial-stage[data-focus="right"] .channels-zone {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-1.5vw, 0, 65px) rotateY(0) scale(1.08);
}

.channels-heading { position: absolute; left: 8%; top: 5%; z-index: 5; }
.channels-heading > span { color: #667892; font: 7px ui-monospace, monospace; letter-spacing: .17em; }
.channels-heading h2 { margin: 7px 0 4px; font: 400 clamp(22px, 2vw, 32px) Georgia, "Noto Serif SC", serif; }
.channels-heading p { margin: 0; color: #7888a2; font-size: 9px; }

.holo-card {
  --float-x: 0px;
  --float-y: 0px;
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(161, 206, 255, .18);
  background:
    linear-gradient(115deg, rgba(80, 150, 220, .055), transparent 35%),
    rgba(6, 20, 44, .58);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22), inset 0 0 30px rgba(108, 172, 255, .018);
  backdrop-filter: blur(10px) saturate(120%);
  transition: border-color .25s ease, background .25s ease, opacity .45s ease;
  will-change: transform;
}

.holo-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 34%;
  height: 1px;
  background: #7fb9ff;
  box-shadow: 0 0 10px rgba(105, 179, 255, .7);
}

.holo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background: repeating-linear-gradient(180deg, transparent 0 4px, rgba(140, 205, 255, .07) 5px);
}

.holo-card:hover { border-color: rgba(163, 211, 255, .4); background-color: rgba(11, 32, 66, .78); }

.channels-zone .sound-module {
  left: 2%;
  top: 20%;
  width: 43%;
  padding: 15px;
  transform: translate3d(var(--float-x), var(--float-y), 25px) rotateY(5deg) rotateZ(-.6deg);
}

.channels-zone .sound-module > header > span { width: 32px; height: 32px; }
.channels-zone #playlist-card { grid-template-columns: 42px 1fr auto; }
.channels-zone .record { width: 40px; height: 40px; }

.mission-module {
  left: 24%;
  top: 40%;
  width: 66%;
  padding: 15px;
  transform: translate3d(var(--float-x), var(--float-y), 55px) rotateY(-4deg) rotateZ(.35deg);
}

.mission-module > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.mission-module > header span { color: #657792; font: 6px ui-monospace, monospace; letter-spacing: .13em; }
.mission-module > header h2 { margin: 4px 0 0; font: 400 17px Georgia, serif; }
.mission-module > header > i { color: var(--mint); font: 6px ui-monospace, monospace; font-style: normal; }
.mission-module .mission-list { margin-top: 10px; display: grid; grid-template-columns: 1fr; gap: 5px; }
.mission-module .mission-card { padding: 9px 10px 8px; }
.mission-module .mission-card:nth-child(2) { transform: none; }
.mission-module .mission-card:hover, .mission-module .mission-card:nth-child(2):hover { transform: translateX(3px); }
.mission-module .mission-card p { height: auto; margin-bottom: 4px; }
.mission-module .mission-card > span:last-child { display: none; }

.channels-zone .support-module {
  right: 4%;
  top: 16%;
  width: 36%;
  padding: 14px;
  transform: translate3d(var(--float-x), var(--float-y), 90px) rotateY(-7deg) rotateZ(.9deg);
}

.channels-zone .journey-log {
  left: 0;
  bottom: 7%;
  z-index: 3;
  width: 44%;
  transform: translate3d(var(--float-x), var(--float-y), 5px) rotateY(5deg) rotateZ(.45deg);
}

.channels-zone .journey-log[open] { z-index: 9; width: 82%; }

.channels-zone .journey-log summary { padding: 13px; }
.channels-zone .journey-list { grid-template-columns: repeat(6, minmax(140px, 1fr)); max-height: 210px; }

.holo-quote {
  --float-x: 0px;
  --float-y: 0px;
  position: absolute;
  right: 3%;
  bottom: 8%;
  width: 33%;
  margin: 0;
  padding: 21px 12px 18px 27px;
  border-left: 1px solid rgba(239, 216, 137, .32);
  color: #a9b4c7;
  background: linear-gradient(90deg, rgba(239, 216, 137, .035), transparent);
  transform: translate3d(var(--float-x), var(--float-y), 42px) rotateY(-4deg);
  will-change: transform;
}

.holo-quote span { position: absolute; left: 9px; top: -4px; color: rgba(239, 216, 137, .55); font: 34px Georgia, serif; }
.holo-quote p { margin: 0; font: 11px/1.8 Georgia, "Noto Serif SC", serif; }

/* Focus navigator */

.focus-dock {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(174, 205, 255, .13);
  background: rgba(4, 13, 31, .8);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.focus-dock button {
  min-width: 104px;
  padding: 8px 11px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6c7c96;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}

.focus-dock button:hover { color: #cddbf1; }
.focus-dock button.is-active { color: #f1f6ff; background: rgba(104, 155, 226, .1); }
.focus-dock button i { color: #7589aa; font: 6px ui-monospace, monospace; font-style: normal; }
.focus-dock button.is-active i { color: var(--gold); }

.focus-hint {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 12px;
  color: #53647e;
  font: 6px ui-monospace, monospace;
  letter-spacing: .16em;
  transform: translateX(-50%);
  transition: opacity .5s ease;
}

.focus-hint span { margin: 0 5px; color: #8194b2; }
.spatial-stage.has-moved .focus-hint { opacity: 0; }

@keyframes avatar-scan {
  0%, 100% { top: 20%; opacity: 0; }
  12% { opacity: .72; }
  80% { opacity: .4; }
  90% { top: 78%; opacity: 0; }
}

@media (max-width: 1120px) and (min-width: 821px) {
  .identity-zone { width: 34%; padding-left: 3.5vw; }
  .identity-zone .identity-core { grid-template-columns: minmax(150px, 46%) 1fr; }
  .identity-zone .avatar-system { min-width: 150px; }
  .identity-zone .identity-copy h1 { font-size: 68px; }
  .identity-zone .identity-copy p { font-size: 10px; }
  .identity-readout { display: none; }
  .universe-zone { left: 30%; width: 40%; }
  .universe-zone .site-node { min-width: 165px; padding: 11px; }
  .channels-zone { width: 36%; }
  .channels-zone .sound-module { width: 47%; }
  .channels-zone .support-module { width: 41%; }
  .mission-module { left: 18%; width: 76%; }
}

.cockpit-stage .universe-zone .site-node:nth-child(1) { left: 5%; top: 35%; }
.cockpit-stage .universe-zone .site-node:nth-child(2) { right: 4%; top: 29%; }
.cockpit-stage .universe-zone .site-node:nth-child(3) { left: 14%; bottom: 9%; }

@media (max-width: 820px) {
  body { overflow: hidden; }
  .screen-shell { width: 100%; height: 100dvh; min-height: 0; margin: 0; }
  .spatial-stage { height: calc(100% - 84px); min-height: 0; perspective: none; }
  .spatial-stage[data-focus="left"], .spatial-stage[data-focus="right"] { --focus-shift: 0px; }
  .camera-rig { left: 0; width: 100%; transform: none !important; transition: none; }
  .spatial-zone { inset: 0; width: 100%; height: 100%; padding: 54px 20px 76px; opacity: 0; visibility: hidden; overflow-y: auto; transform: translate3d(20px, 0, 0) scale(.98) !important; transition: opacity .35s ease, transform .45s ease, visibility .35s; }
  .spatial-stage[data-focus="left"] .identity-zone,
  .spatial-stage[data-focus="center"] .universe-zone,
  .spatial-stage[data-focus="right"] .channels-zone { opacity: 1; visibility: visible; pointer-events: auto; transform: none !important; }
  .zone-coordinate { display: none; }
  .focus-hint { display: none; }
  .focus-dock { bottom: 10px; width: calc(100% - 24px); justify-content: stretch; }
  .focus-dock button { min-width: 0; flex: 1; justify-content: center; padding: 9px 5px; }
  .focus-dock button span { font-size: 8px; }

  .identity-zone { display: block; }
  .identity-halo { left: 50%; top: 45%; width: min(92vw, 490px); transform: translate(-50%, -50%); }
  .identity-zone .greeting { left: 50%; top: 8%; opacity: 1; transform: translateX(-50%); }
  .identity-zone .identity-core { max-width: 520px; margin: 6vh auto 0; grid-template-columns: minmax(160px, 45%) 1fr; }
  .identity-zone .identity-copy h1 { font-size: clamp(58px, 16vw, 86px); }
  .identity-details { max-width: 460px; margin: 25px auto 0; opacity: 1; transform: none; }
  .identity-readout { display: none; }

  .universe-zone { border: 0; background: radial-gradient(circle at 50% 50%, rgba(90,129,202,.12), transparent 42%); }
  .universe-zone::before { inset: 14px; }
  .universe-zone .map-heading { left: 20px; top: 22px; }
  .universe-zone .map-heading h2 { font-size: 28px; }
  .universe-zone .universe-sphere { width: min(92vw, 580px); }
  .universe-zone .route-lines { display: block; }
  .universe-zone .hub-core { display: grid; }
  .universe-zone .site-nodes { position: absolute; inset: 0; padding: 0; display: block; }
  .universe-zone .site-node { position: absolute; width: min(245px, 44%); min-width: 150px; }
  .universe-zone .site-node:nth-child(1) { left: 4%; top: 25%; }
  .universe-zone .site-node:nth-child(2) { right: 4%; top: 41%; }
  .universe-zone .site-node:nth-child(3) { left: 14% !important; bottom: 28% !important; }
  .universe-zone .maintenance { left: auto; right: 4%; bottom: 12%; max-width: 240px; }
  .universe-zone .map-scale { display: none; }

  .channels-zone { display: block; padding-top: 86px; }
  .channels-heading { left: 20px; top: 25px; }
  .channels-heading h2 { font-size: 25px; }
  .holo-card, .channels-zone .sound-module, .channels-zone .support-module, .channels-zone .journey-log, .mission-module, .holo-quote { position: relative; inset: auto; width: 100%; margin: 0 0 12px; transform: none !important; }
  .channels-zone .sound-module { padding: 15px; }
  .mission-module { padding: 15px; }
  .channels-zone .journey-list { max-height: none; }
  .holo-quote { padding: 20px 16px 18px 30px; }
  .screen-footer { height: 30px; }
}

@media (max-width: 520px) {
  .system-bar { min-height: 54px; }
  .jump-links a span { display: none; }
  .identity-zone .identity-core { grid-template-columns: 125px 1fr; gap: 12px; }
  .identity-zone .avatar-system { min-width: 125px; }
  .identity-zone .identity-copy h1 { font-size: 54px; }
  .identity-zone .identity-copy p { font-size: 10px; }
  .identity-zone .tags span { padding: 5px 7px; font-size: 8px; }
  .universe-zone .site-node { width: 46%; min-width: 135px; padding: 10px; }
  .universe-zone .site-node strong { font-size: 12px; }
  .universe-zone .site-node small { font-size: 7px; }
  .universe-zone .maintenance { left: 8%; right: 8%; bottom: 11%; max-width: none; }
  .focus-dock button { gap: 5px; }
  .focus-dock button i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .camera-rig, .spatial-zone { transition: none !important; }
  .avatar-scan { display: none; }
}

/* Spatial dashboard v3: fixed cockpit + lockable holograms ---------------- */

.cockpit-stage {
  --far-x: 0px;
  --far-y: 0px;
  --mid-x: 0px;
  --mid-y: 0px;
  --near-x: 0px;
  --near-y: 0px;
  min-height: 560px;
  perspective: none;
}

.cockpit-stage .depth-grid {
  z-index: 0;
  opacity: .55;
  transform: translate3d(var(--far-x), var(--far-y), 0) scale(1.04);
  transition: transform 180ms linear;
}

.cockpit-stage .camera-rig {
  left: 0;
  width: 100%;
  transform: none;
  transition: none;
  will-change: auto;
}

.cockpit-stage .spatial-zone {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: filter .38s ease, opacity .38s ease, transform .18s linear;
}

.cockpit-stage .identity-zone {
  z-index: 6;
  left: 4.5%;
  top: 50%;
  width: 39%;
  height: 76%;
  padding: 4vh 2.5vw 3vh;
  justify-content: center;
  border-left: 1px solid rgba(174, 205, 255, .1);
  background:
    radial-gradient(circle at 35% 48%, rgba(93, 132, 207, .11), transparent 42%),
    linear-gradient(90deg, rgba(6, 19, 43, .38), transparent 86%);
  transform: translate3d(var(--near-x), calc(-50% + var(--near-y)), 0);
  transform-origin: center;
}

.cockpit-stage .identity-zone::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 1px;
  height: 76%;
  background: linear-gradient(transparent, rgba(179, 209, 255, .5), transparent);
  box-shadow: 0 0 11px rgba(121, 172, 255, .22);
}

.cockpit-stage .identity-zone .zone-coordinate { left: -18px; top: 12%; }

.cockpit-stage .identity-halo {
  left: -2%;
  top: 46%;
  width: min(35vw, 500px);
  opacity: .45;
}

.cockpit-stage .identity-zone .greeting {
  left: 44%;
  top: 5%;
  opacity: 1;
  transform: none;
}

.cockpit-stage .identity-zone .identity-core {
  grid-template-columns: minmax(240px, 58%) 1fr;
  gap: clamp(12px, 1.5vw, 25px);
}

.cockpit-stage .identity-zone .avatar-system { min-width: 240px; }
.cockpit-stage .identity-zone .avatar-system img { width: 86%; }

.cockpit-stage .identity-zone .avatar-scan {
  left: 12%;
  width: 76%;
  opacity: .7;
  animation: avatar-scan 5.4s ease-in-out infinite;
}

.cockpit-stage .identity-zone .identity-copy h1 {
  font-size: clamp(70px, 7vw, 116px);
  text-shadow: 0 0 34px rgba(170, 200, 255, .1);
}

.cockpit-stage .identity-zone .identity-copy p { font-size: 12px; }
.cockpit-stage .identity-details { width: 91%; margin: 22px 0 0 2%; opacity: 1; transform: none; }
.cockpit-stage .identity-zone .tags span { padding: 6px 9px; font-size: 8px; }
.cockpit-stage .identity-readout { right: 2%; bottom: 5%; opacity: .75; transform: none; }

.cockpit-stage .universe-zone {
  z-index: 5;
  left: auto;
  right: 3.5%;
  top: 50%;
  width: 56%;
  height: 84%;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(175, 205, 255, .13);
  background:
    linear-gradient(rgba(112, 155, 218, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 155, 218, .022) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(90, 129, 202, .13), transparent 40%),
    rgba(3, 12, 29, .29);
  background-size: 42px 42px, 42px 42px, auto, auto;
  transform: translate3d(var(--mid-x), calc(-50% + var(--mid-y)), 0);
}

.cockpit-stage .universe-zone .map-heading { left: 5%; top: 6%; }
.cockpit-stage .universe-zone .map-heading h2 { font-size: clamp(28px, 2.8vw, 43px); }
.cockpit-stage .universe-zone .universe-sphere { width: min(47vw, 650px); opacity: .48; }
.cockpit-stage .universe-zone .hub-core { width: 106px; height: 106px; }
.cockpit-stage .universe-zone .hub-core i:nth-child(2) { inset: 15px; }
.cockpit-stage .universe-zone .hub-core i:nth-child(3) { inset: 41px; }

.cockpit-stage .universe-zone .site-node {
  width: min(285px, 32%);
  padding: 16px 17px 15px;
  border-color: rgba(175, 205, 255, .24);
  background: linear-gradient(135deg, rgba(14, 32, 66, .92), rgba(5, 16, 37, .84));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.cockpit-stage .universe-zone .site-node strong { font-size: 16px; }
.cockpit-stage .universe-zone .site-node small { font-size: 9px; }
.cockpit-stage .universe-zone .maintenance { right: 4%; bottom: 3.5%; }

.cockpit-stage .channels-zone {
  z-index: 8;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.cockpit-stage .channels-heading { display: none; }

.cockpit-stage .holo-card,
.cockpit-stage .holo-quote {
  opacity: .62;
  pointer-events: auto;
  filter: saturate(.72) brightness(.82);
  transition:
    opacity .28s ease,
    filter .28s ease,
    border-color .28s ease,
    background .28s ease,
    transform .3s cubic-bezier(.2, .78, .18, 1),
    width .3s cubic-bezier(.2, .78, .18, 1);
}

.cockpit-stage .holo-card:hover,
.cockpit-stage .holo-card:focus-within,
.cockpit-stage .holo-quote:hover {
  z-index: 9;
  opacity: 1;
  filter: none;
}

.cockpit-stage .channels-zone .sound-module {
  left: 2.1%;
  top: 2.4%;
  width: min(290px, 22vw);
  padding: 13px 13px 5px;
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(-.3deg);
}

.cockpit-stage .sound-module > p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}

.cockpit-stage .mission-module {
  left: auto;
  right: 1.8%;
  top: auto;
  bottom: 2.6%;
  width: min(350px, 26vw);
  padding: 13px;
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(.25deg);
}

.cockpit-stage .mission-module .mission-card p,
.cockpit-stage .mission-module .mission-card > span:last-child { display: none; }
.cockpit-stage .mission-module.is-expanded .mission-card p,
.cockpit-stage .mission-module.is-expanded .mission-card > span:last-child { display: block; }

.cockpit-stage .channels-zone .support-module {
  left: 43.5%;
  right: auto;
  top: auto;
  bottom: 1.5%;
  width: min(260px, 20vw);
  padding: 12px;
  opacity: .72;
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(-.3deg);
}

.cockpit-stage .channels-zone .journey-log {
  left: auto;
  right: 2.3%;
  top: 2.7%;
  bottom: auto;
  z-index: 3;
  width: min(270px, 21vw);
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(.35deg);
}

.cockpit-stage .channels-zone .journey-log[open] {
  width: min(270px, 21vw);
}

.cockpit-stage .journey-log:not(.is-expanded) .journey-list,
.cockpit-stage .journey-log:not(.is-expanded) footer { display: none; }

.cockpit-stage .holo-quote {
  left: 2.6%;
  right: auto;
  bottom: 2.5%;
  width: min(250px, 20vw);
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(-.2deg);
}

.holo-pin {
  position: relative;
  z-index: 3;
  margin-left: 7px;
  padding: 5px 7px;
  border: 1px solid rgba(161, 202, 255, .17);
  color: #7186a5;
  background: rgba(3, 13, 31, .55);
  font: 5px ui-monospace, monospace;
  letter-spacing: .08em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.holo-pin:hover,
.holo-pin:focus-visible { color: #eaf3ff; border-color: rgba(161, 202, 255, .45); background: rgba(38, 83, 143, .18); }

.cockpit-stage.has-open-panel .identity-zone,
.cockpit-stage.has-open-panel .universe-zone {
  opacity: .24;
  filter: blur(2px) saturate(.6);
  pointer-events: none;
}

.cockpit-stage.has-open-panel .channels-zone { z-index: 30; }
.cockpit-stage.has-open-panel .holo-card:not(.is-expanded),
.cockpit-stage.has-open-panel .holo-quote { opacity: .16; pointer-events: none; }

.cockpit-stage .holo-card.is-expanded {
  position: absolute;
  z-index: 42;
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: min(760px, calc(100vw - 100px));
  max-height: min(72vh, 650px);
  padding: 22px;
  overflow: auto;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  color: #dce9ff;
  border-color: rgba(174, 211, 255, .55);
  background:
    linear-gradient(120deg, rgba(74, 142, 218, .08), transparent 38%),
    rgba(6, 20, 46, .98);
  box-shadow: 0 35px 100px rgba(0,0,0,.56), 0 0 34px rgba(95, 160, 255, .08), inset 0 0 55px rgba(106, 178, 255, .04);
}

.cockpit-stage .holo-card.is-expanded header small,
.cockpit-stage .holo-card.is-expanded header span { color: #9cb2d3; }
.cockpit-stage .holo-card.is-expanded header strong,
.cockpit-stage .holo-card.is-expanded header h2 { color: #f1f6ff; }
.cockpit-stage .holo-card.is-expanded .mission-card,
.cockpit-stage .holo-card.is-expanded #playlist-card {
  border-color: rgba(166, 203, 255, .22);
  background: rgba(14, 35, 72, .72);
}
.cockpit-stage .holo-card.is-expanded .mission-card strong,
.cockpit-stage .holo-card.is-expanded #playlist-card strong { color: #eef5ff; }
.cockpit-stage .holo-card.is-expanded .mission-card p,
.cockpit-stage .holo-card.is-expanded #playlist-card em,
.cockpit-stage .holo-card.is-expanded > p { color: #9fb0c9; }

.cockpit-stage .channels-zone .journey-log.is-expanded,
.cockpit-stage .channels-zone .journey-log.is-expanded[open] { width: min(760px, calc(100vw - 100px)); }
.cockpit-stage .mission-module.is-expanded .mission-list { grid-template-columns: repeat(3, 1fr); gap: 9px; }
.cockpit-stage .mission-module.is-expanded .mission-card { padding: 14px; }
.cockpit-stage .mission-module.is-expanded .mission-card p { margin: 7px 0 12px; font-size: 9px; line-height: 1.6; }
.cockpit-stage .journey-log.is-expanded .journey-list { display: grid; grid-template-columns: repeat(3, 1fr); max-height: none; margin-top: 10px; overflow: visible; }
.cockpit-stage .journey-log.is-expanded footer { display: block; }

.panel-scrim {
  position: absolute;
  z-index: 25;
  inset: 0;
  display: block;
  border: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(1, 6, 17, .66);
  backdrop-filter: blur(6px);
  cursor: default;
  transition: opacity .28s ease, visibility .28s;
}

.cockpit-stage.has-open-panel .panel-scrim { opacity: 1; visibility: visible; }

.panel-close {
  position: absolute;
  z-index: 45;
  left: calc(50% + min(380px, calc(50vw - 50px)) - 42px);
  top: calc(6% + 8px);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(174, 205, 255, .2);
  color: #8fa1bc;
  background: rgba(5, 17, 39, .88);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity .25s ease, visibility .25s, color .2s ease;
}

.panel-close span { font-size: 15px; line-height: 1; }
.panel-close small { font: 5px ui-monospace, monospace; letter-spacing: .1em; }
.panel-close:hover { color: #fff; }
.cockpit-stage.has-open-panel .panel-close { opacity: 1; visibility: visible; }

.depth-hint {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4f6079;
  font: 5px ui-monospace, monospace;
  letter-spacing: .14em;
  transform: translateX(-50%);
  pointer-events: none;
}

.depth-hint i { width: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(134, 168, 218, .3)); }
.depth-hint i:last-child { transform: rotate(180deg); }
.focus-dock, .focus-hint { display: none !important; }

@media (max-width: 1120px) and (min-width: 821px) {
  .cockpit-stage .identity-zone { left: 3%; width: 41%; padding-inline: 1.8vw; }
  .cockpit-stage .identity-zone .identity-core { grid-template-columns: minmax(190px, 56%) 1fr; }
  .cockpit-stage .identity-zone .avatar-system { min-width: 190px; }
  .cockpit-stage .identity-zone .identity-copy h1 { font-size: 64px; }
  .cockpit-stage .identity-readout { display: none; }
  .cockpit-stage .universe-zone { right: 2%; width: 57%; }
  .cockpit-stage .universe-zone .site-node { min-width: 160px; padding: 11px; }
  .cockpit-stage .channels-zone .sound-module { width: 230px; }
  .cockpit-stage .mission-module { width: 290px; }
  .cockpit-stage .channels-zone .journey-log { width: 220px; }
}

@media (max-width: 820px) {
  .cockpit-stage { overflow-y: auto; overflow-x: hidden; }
  .cockpit-stage .camera-rig { position: relative; height: auto; min-height: 100%; padding: 48px 14px 78px; }
  .cockpit-stage .spatial-zone { position: relative; inset: auto; width: 100%; height: auto; padding: 0; opacity: 1; visibility: visible; overflow: visible; transform: none !important; }
  .cockpit-stage .identity-zone { min-height: 440px; margin-bottom: 18px; display: flex; }
  .cockpit-stage .identity-zone .identity-core { max-width: 620px; width: 100%; margin: auto; grid-template-columns: minmax(150px, 46%) 1fr; }
  .cockpit-stage .identity-zone .avatar-system { min-width: 150px; }
  .cockpit-stage .identity-zone .identity-copy h1 { font-size: clamp(54px, 15vw, 82px); }
  .cockpit-stage .identity-halo { left: 2%; top: 45%; width: min(68vw, 430px); transform: translateY(-50%); }
  .cockpit-stage .identity-zone .greeting { left: 45%; top: 7%; }
  .cockpit-stage .identity-details { max-width: 560px; margin-inline: auto; }
  .cockpit-stage .identity-readout { display: none; }

  .cockpit-stage .universe-zone { min-height: 620px; margin-bottom: 18px; border: 1px solid rgba(175,205,255,.13); }
  .cockpit-stage .universe-zone .site-node { width: 43%; min-width: 145px; }
  .cockpit-stage .universe-zone .maintenance { left: 8%; right: 8%; bottom: 8%; max-width: none; }

  .cockpit-stage .channels-zone { display: grid; grid-template-columns: 1fr; gap: 10px; pointer-events: auto; }
  .cockpit-stage .holo-card,
  .cockpit-stage .channels-zone .sound-module,
  .cockpit-stage .mission-module,
  .cockpit-stage .channels-zone .support-module,
  .cockpit-stage .channels-zone .journey-log,
  .cockpit-stage .holo-quote { position: relative; inset: auto; width: 100%; margin: 0; opacity: .9; filter: none; transform: none !important; }
  .cockpit-stage .channels-zone .journey-log[open] { width: 100%; }
  .cockpit-stage .holo-quote { order: 5; }
  .depth-hint { display: none; }
  .cockpit-stage .holo-card.is-expanded { position: fixed; left: 50%; top: 50%; width: calc(100vw - 28px); max-height: calc(100dvh - 110px); transform: translate(-50%, -50%) !important; }
  .cockpit-stage .channels-zone .journey-log.is-expanded[open] { width: calc(100vw - 28px); }
  .panel-close { position: fixed; left: auto; right: 22px; top: 68px; }
}

@media (max-width: 520px) {
  .cockpit-stage .camera-rig { padding-inline: 10px; }
  .cockpit-stage .identity-zone { min-height: 0; }
  .cockpit-stage .identity-zone .identity-core { grid-template-columns: 50% 1fr; gap: 10px; }
  .cockpit-stage .identity-zone .avatar-system { min-width: 126px; }
  .cockpit-stage .identity-zone .identity-copy h1 { font-size: 50px; }
  .cockpit-stage .identity-zone .identity-copy p { font-size: 9px; }
  .cockpit-stage .identity-details { margin-top: 10px; }
  .cockpit-stage .identity-zone .tags span { padding: 5px 6px; font-size: 7px; }
  .cockpit-stage .universe-zone { min-height: 560px; }
  .cockpit-stage .universe-zone .map-heading h2 { font-size: 25px; }
  .cockpit-stage .universe-zone .site-node { width: 45%; min-width: 130px; padding: 9px; }
  .cockpit-stage .universe-zone .site-node strong { font-size: 12px; }
  .cockpit-stage .universe-zone .site-node small { font-size: 7px; }
  .cockpit-stage .mission-module.is-expanded .mission-list,
  .cockpit-stage .journey-log.is-expanded .journey-list { grid-template-columns: 1fr; }
  .cockpit-stage .identity-zone .greeting { left: 50%; top: 0; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .cockpit-stage .depth-grid,
  .cockpit-stage .holo-card,
  .cockpit-stage .holo-quote { transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 821px) {
  .cockpit-stage .identity-zone,
  .cockpit-stage .universe-zone { transform: translateY(-50%) !important; transition: none !important; }
}

/* HUB boot sequence + light composited parallax */
:root {
  --sky-x: 0px;
  --sky-y: 0px;
  --nebula-x: 0px;
  --nebula-y: 0px;
  --nebula-two-x: 0px;
  --nebula-two-y: 0px;
}

.boot-sequence {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #cfe5ff;
  background:
    radial-gradient(circle at 50% 47%, rgba(69, 112, 176, .13), transparent 34%),
    #03060d;
  opacity: 1;
  clip-path: inset(0);
  transition: opacity .55s ease, clip-path .7s cubic-bezier(.7, 0, .3, 1);
}

.boot-sequence::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(153, 200, 255, .018) 4px);
  pointer-events: none;
}

.boot-sequence::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(143, 198, 255, .07), transparent);
  animation: boot-scan 1.7s linear infinite;
  pointer-events: none;
}

.boot-sequence.is-complete {
  opacity: 0;
  clip-path: inset(49.7% 0);
  pointer-events: none;
}
.boot-sequence[hidden] { display: none; }

.boot-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(124, 166, 218, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 166, 218, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0 36%, transparent 73%);
  transform: perspective(800px) rotateX(63deg) translateY(29%);
  transform-origin: center bottom;
}

.boot-console {
  position: relative;
  width: min(520px, calc(100vw - 44px));
  text-align: center;
}

.boot-reticle {
  position: relative;
  width: 148px;
  aspect-ratio: 1;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 205, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(67, 135, 220, .09), inset 0 0 26px rgba(67, 135, 220, .06);
}

.boot-reticle::before,
.boot-reticle::after,
.boot-reticle i,
.boot-reticle b {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(157, 209, 255, .28);
  border-radius: 50%;
}

.boot-reticle::after { inset: 31px; border-style: solid; border-color: rgba(216, 184, 113, .28); }
.boot-reticle i { animation: boot-orbit 4s linear infinite; }
.boot-reticle b { inset: -7px; border-style: solid; border-color: rgba(141, 188, 239, .08); transform: scaleX(.72); }
.boot-reticle span { color: #f1cc79; font-size: 20px; text-shadow: 0 0 16px rgba(241, 204, 121, .58); }

.boot-kicker,
.boot-console h1,
.boot-status-line,
.boot-log,
.boot-coordinate {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.boot-kicker { margin: 0 0 7px; color: #667b99; font-size: 8px; letter-spacing: .34em; }
.boot-console h1 { margin: 0 0 24px; color: #e4f1ff; font-size: clamp(17px, 3vw, 25px); font-weight: 500; letter-spacing: .22em; }

.boot-status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #7692b5;
  font-size: 8px;
  letter-spacing: .14em;
}

.boot-status-line strong { color: #d6eaff; font-size: 9px; font-weight: 500; }
.boot-progress { height: 2px; overflow: hidden; background: rgba(156, 198, 245, .1); }
.boot-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #6e94c4, #d9efff 76%, #f0cb78); box-shadow: 0 0 12px rgba(179, 220, 255, .65); }

.boot-log {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  color: #34455c;
  font-size: 6px;
  letter-spacing: .08em;
  transition: color .2s ease;
}

.boot-log li::before { content: "○ "; color: #405675; }
.boot-sequence[data-step="1"] .boot-log li:nth-child(1),
.boot-sequence[data-step="2"] .boot-log li:nth-child(-n+2),
.boot-sequence[data-step="3"] .boot-log li,
.boot-sequence[data-step="4"] .boot-log li { color: #8ba9cc; }
.boot-sequence[data-step="1"] .boot-log li:nth-child(1)::before,
.boot-sequence[data-step="2"] .boot-log li:nth-child(-n+2)::before,
.boot-sequence[data-step="3"] .boot-log li::before,
.boot-sequence[data-step="4"] .boot-log li::before { content: "● "; color: #efcb79; }

.boot-coordinate { position: absolute; right: 24px; bottom: 19px; color: #33435a; font-size: 6px; letter-spacing: .18em; }
.boot-corner { position: absolute; width: 32px; height: 32px; border-color: rgba(137, 181, 233, .18); }
.boot-corner-tl { left: 20px; top: 20px; border-left: 1px solid; border-top: 1px solid; }
.boot-corner-tr { right: 20px; top: 20px; border-right: 1px solid; border-top: 1px solid; }
.boot-corner-bl { left: 20px; bottom: 20px; border-left: 1px solid; border-bottom: 1px solid; }
.boot-corner-br { right: 20px; bottom: 20px; border-right: 1px solid; border-bottom: 1px solid; }

.screen-shell { transition: opacity .65s ease, transform .85s cubic-bezier(.2, .8, .2, 1); }
body.is-booting .screen-shell { opacity: .18; transform: scale(.982); }
body.is-booted .screen-shell { opacity: 1; transform: none; }

.starfield {
  transform: translate3d(var(--sky-x), var(--sky-y), 0) scale(1.035);
  will-change: transform;
}

.nebula-one { transform: translate3d(var(--nebula-x), var(--nebula-y), 0); }
.nebula-two { transform: translate3d(var(--nebula-two-x), var(--nebula-two-y), 0); }
.cockpit-stage { perspective: 1700px; perspective-origin: 50% 50%; }
.cockpit-stage .identity-zone {
  transform: translate3d(var(--near-x), calc(-50% + var(--near-y)), 0) rotateX(var(--identity-rx, 0deg)) rotateY(var(--identity-ry, 0deg));
}
.cockpit-stage .universe-zone {
  transform: translate3d(var(--mid-x), calc(-50% + var(--mid-y)), 0) rotateX(var(--universe-rx, 0deg)) rotateY(var(--universe-ry, 0deg));
}

@keyframes boot-orbit { to { transform: rotate(360deg); } }
@keyframes boot-scan { to { transform: translateY(680%); } }

@media (max-width: 820px), (hover: none), (pointer: coarse) {
  .starfield, .nebula-one, .nebula-two { transform: none; will-change: auto; }
}

@media (max-width: 520px) {
  .boot-reticle { width: 122px; margin-bottom: 20px; }
  .boot-console h1 { letter-spacing: .13em; }
  .boot-log { gap: 4px; font-size: 5px; }
  .boot-coordinate { right: 14px; bottom: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .boot-sequence,
  .screen-shell { transition-duration: .08s !important; }
  .boot-sequence::after,
  .boot-reticle i { animation: none; }
  .starfield, .nebula-one, .nebula-two { transform: none; will-change: auto; }
}

/* Readability pass: crisp expanded channels + less miniature desktop type */
.cockpit-stage { isolation: isolate; }

.cockpit-stage.has-open-panel .identity-zone,
.cockpit-stage.has-open-panel .universe-zone {
  opacity: .2;
  filter: saturate(.52) brightness(.58);
}

.panel-scrim {
  background:
    radial-gradient(circle at 50% 50%, rgba(18, 43, 81, .12) 0 24%, transparent 48%),
    rgba(1, 6, 17, .76);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.cockpit-stage .holo-card.is-expanded {
  width: min(820px, calc(100vw - 88px));
  max-height: min(78vh, 700px);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}

.cockpit-stage .channels-zone .journey-log.is-expanded,
.cockpit-stage .channels-zone .journey-log.is-expanded[open] {
  width: min(820px, calc(100vw - 88px));
}

.cockpit-stage .journey-log.is-expanded .journey-list {
  gap: 10px;
}

.cockpit-stage .journey-log.is-expanded .journey-item {
  padding: 13px;
  background: rgba(12, 31, 64, .66);
}

@media (min-width: 821px) {
  .system-id strong { font-size: 12px; }
  .system-id small { font-size: 9px; }
  .system-status { font-size: 9px; }
  .system-status time { font-size: 11px; }
  .jump-links a { font-size: 10px; }

  .cockpit-stage .identity-zone .greeting { font-size: 12px; }
  .cockpit-stage .identity-zone .micro-label,
  .cockpit-stage .identity-zone .location { font-size: 9px; }
  .cockpit-stage .identity-zone .identity-copy p { font-size: 13px; line-height: 1.7; }
  .cockpit-stage .identity-line,
  .cockpit-stage .identity-line strong { font-size: 8px; }
  .cockpit-stage .identity-zone .tags span { font-size: 9px; }
  .cockpit-stage .identity-readout span,
  .cockpit-stage .identity-readout small { font-size: 7px; }

  .cockpit-stage .universe-zone .map-heading > span { font-size: 9px; }
  .cockpit-stage .universe-zone .map-heading p { font-size: 11px; }
  .cockpit-stage .universe-zone .node-index { font-size: 9px; }
  .cockpit-stage .universe-zone .site-node strong { font-size: 17px; }
  .cockpit-stage .universe-zone .site-node small { font-size: 10.5px; line-height: 1.65; }
  .cockpit-stage .maintenance small { font-size: 7px; }
  .cockpit-stage .maintenance strong { font-size: 9px; }
  .cockpit-stage .maintenance time { font-size: 8px; }

  .cockpit-stage .holo-pin { font-size: 7px; }
  .cockpit-stage .sound-module header small { font-size: 7px; }
  .cockpit-stage .sound-module header strong { font-size: 13px; }
  .cockpit-stage #playlist-card small { font-size: 7px; }
  .cockpit-stage #playlist-card strong { font-size: 11px; }
  .cockpit-stage #playlist-card em { font-size: 9px; }
  .cockpit-stage .playlist-readout { font-size: 7px; }
  .cockpit-stage .sound-module > p { font-size: 9px; line-height: 1.75; }

  .cockpit-stage .support-module small { font-size: 7px; }
  .cockpit-stage .support-module strong { font-size: 10px; line-height: 1.45; }
  .cockpit-stage .support-module > i { font-size: 7px; }

  .cockpit-stage .mission-module > header span,
  .cockpit-stage .mission-module > header > i,
  .cockpit-stage .mission-meta { font-size: 7px; }
  .cockpit-stage .mission-card strong { font-size: 11px; }
  .cockpit-stage .mission-card p { font-size: 9px; line-height: 1.58; }
  .cockpit-stage .mission-card > span:last-child { font-size: 8px; }

  .cockpit-stage .journey-log summary small { font-size: 8px; }
  .cockpit-stage .journey-log summary strong { font-size: 10px; }
  .cockpit-stage .journey-log summary i { font-size: 8px; }
  .cockpit-stage .journey-item time { font-size: 8px; }
  .cockpit-stage .journey-item strong { font-size: 10px; line-height: 1.45; }
  .cockpit-stage .journey-item p { font-size: 9px; line-height: 1.65; }
  .cockpit-stage .journey-log footer { font-size: 9px; }
  .cockpit-stage .holo-quote p { font-size: 12px; }

  .panel-close small,
  .depth-hint,
  .screen-footer { font-size: 7px; }
}

@media (max-width: 820px) {
  .cockpit-stage .holo-card.is-expanded,
  .cockpit-stage .channels-zone .journey-log.is-expanded,
  .cockpit-stage .channels-zone .journey-log.is-expanded[open] {
    width: calc(100vw - 28px);
  }
}

/* Interaction repair: decorative 3D planes must not steal real controls */
.cockpit-stage .camera-rig,
.cockpit-stage .spatial-zone {
  pointer-events: none;
}

.cockpit-stage .identity-zone a,
.cockpit-stage .identity-zone button,
.cockpit-stage .universe-zone a,
.cockpit-stage .universe-zone button,
.cockpit-stage .channels-zone .holo-card,
.cockpit-stage .channels-zone .holo-card a,
.cockpit-stage .channels-zone .holo-card button,
.cockpit-stage .channels-zone .holo-card summary {
  pointer-events: auto;
}

.cockpit-stage .holo-card {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background:
    linear-gradient(115deg, rgba(80, 150, 220, .07), transparent 35%),
    rgba(6, 20, 44, .86);
}

.cockpit-stage .holo-card,
.cockpit-stage .holo-quote {
  filter: none;
}

.screen-shell {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background:
    linear-gradient(rgba(129,169,226,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,169,226,.018) 1px, transparent 1px),
    linear-gradient(145deg, rgba(5,15,35,.94), rgba(3,10,25,.9));
}

.cockpit-stage .depth-grid { transition: none; }
.cockpit-stage .spatial-zone { transition: filter .28s ease, opacity .28s ease; }
.cockpit-stage .holo-card,
.cockpit-stage .holo-quote {
  transition-property: opacity, filter, border-color, background, width;
}

.star { animation: none; }
.star:nth-child(5n) { animation: twinkle var(--duration) ease-in-out var(--delay) infinite; }

.cockpit-stage.is-pointer-locked .holo-card,
.cockpit-stage.is-pointer-locked .holo-quote,
.cockpit-stage.is-pointer-locked .identity-zone,
.cockpit-stage.is-pointer-locked .universe-zone {
  transition-duration: .16s;
}

/* Scalable journey timeline */
.cockpit-stage .journey-log.is-expanded .journey-list {
  position: relative;
  display: block;
  max-height: min(52vh, 470px);
  margin-top: 12px;
  padding: 8px 12px 10px 7px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(143, 186, 245, .32) transparent;
}

.cockpit-stage .journey-log.is-expanded .journey-item {
  position: relative;
  min-width: 0;
  padding: 11px 10px 11px 0;
  display: grid;
  grid-template-columns: 68px 28px minmax(0, 1fr);
  align-items: start;
  border: 0;
  background: transparent;
}

.cockpit-stage .journey-log.is-expanded .journey-item + .journey-item {
  border-top: 1px solid rgba(166, 202, 251, .065);
}

.cockpit-stage .journey-log.is-expanded .journey-item time {
  padding-top: 5px;
  color: var(--accent);
  text-align: right;
  letter-spacing: .08em;
}

.journey-point {
  position: relative;
  min-height: 42px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.journey-point::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  bottom: -11px;
  width: 1px;
  background: rgba(146, 190, 249, .28);
  box-shadow: 0 0 10px rgba(106, 169, 255, .1);
  transform: translateX(-50%);
}

.journey-item:first-child .journey-point::before {
  top: 7px;
  background: linear-gradient(transparent, rgba(146, 190, 249, .28) 22%);
}

.journey-item:last-child .journey-point::before {
  bottom: calc(100% - 11px);
}

.journey-point i {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  display: block;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: #08142d;
  box-shadow: 0 0 9px color-mix(in srgb, var(--accent), transparent 38%);
}

.cockpit-stage .journey-log.is-expanded .journey-item > div {
  min-width: 0;
  padding: 0 13px 0 10px;
}

.cockpit-stage .journey-log.is-expanded .journey-item strong {
  margin: 0;
  color: #e8f1ff;
  font-size: 12px;
  font-weight: 520;
}

.cockpit-stage .journey-log.is-expanded .journey-item p {
  max-width: 580px;
  margin: 5px 0 0;
  color: #91a3bf;
  font-size: 10px;
  line-height: 1.7;
}

@media (max-width: 520px) {
  .cockpit-stage .journey-log.is-expanded .journey-item { grid-template-columns: 48px 24px minmax(0, 1fr); }
  .cockpit-stage .journey-log.is-expanded .journey-item > div { padding-right: 3px; }
}
