:root {
  --void: #020202;
  --ink: #f4efe6;
  --muted: #b8c0b8;
  --cyan: #73e8ff;
  --blue-hot: #d7fbff;
  --blue-core: #66d7ff;
  --blue-deep: #2d72ff;
  --copper: #dfa25b;
  --vermillion: #ff5544;
  --moss: #a6d46f;
  --line: rgba(244, 239, 230, 0.22);
  --panel: rgba(6, 7, 7, 0.58);
  --panel-deep: rgba(2, 2, 2, 0.74);
  --shadow: rgba(0, 0, 0, 0.58);
  --mx: 50%;
  --my: 50%;
  --mxn: 0;
  --myn: 0;
  --mxp-bg: 0px;
  --myp-bg: 0px;
  --mxp-crew: 0px;
  --myp-crew: 0px;
  --lock: 37%;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden;
  letter-spacing: 0;
}

button {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
video,
canvas {
  display: block;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
}

.experience {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--void);
}

.stage,
.overlay-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 66%, rgba(244, 252, 255, 0.82), rgba(115, 232, 255, 0.28) 11%, transparent 28%),
    radial-gradient(ellipse at 50% 82%, rgba(102, 215, 255, 0.34), transparent 38%),
    conic-gradient(from 188deg at 50% 70%, transparent 0 38%, rgba(115, 232, 255, 0.22) 45%, rgba(244, 252, 255, 0.42) 50%, rgba(115, 232, 255, 0.18) 55%, transparent 62% 100%);
  mix-blend-mode: screen;
}

.experience.poster-transitioning .stage::before {
  animation: posterBloom 1180ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.stage-video,
.stage-live-video,
.end-poster,
.three-field,
.signal-field,
.video-grade,
.scanline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stage-video {
  object-fit: cover;
  filter: saturate(1.02) contrast(1.08) brightness(0.74);
  transform: scale(1.045) translate(calc(var(--mxn) * -10px), calc(var(--myn) * -7px));
  transition: opacity 760ms ease, filter 820ms ease, transform 1180ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.stage-live-video {
  z-index: 0;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.12) contrast(1.08) brightness(0.5);
  transform: scale(1.015) translate(calc(var(--mxn) * -5px), calc(var(--myn) * -4px));
  transition: opacity 900ms ease, filter 900ms ease, transform 1300ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.end-poster {
  z-index: 2;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: none;
  transform: scale(1.045);
  will-change: transform, opacity;
  transition: opacity 520ms ease, filter 980ms ease, transform 320ms ease-out;
}

.experience.poster-locked .stage-video {
  opacity: 0;
  filter: saturate(0.8) contrast(1.12) brightness(1.18) blur(9px);
  transform: scale(1.085);
}

.experience.poster-locked .stage-live-video,
.experience.video-locked .stage-live-video,
.experience.command-ready .stage-live-video {
  opacity: 0;
  filter: saturate(1.18) contrast(1.08) brightness(0.58);
  transform: scale(1);
}

.experience.process-open .stage-live-video,
.experience.video-locked .stage-live-video,
.experience.command-ready .stage-live-video {
  opacity: 1;
}

.experience.poster-locked .end-poster {
  opacity: 1;
  filter: saturate(1.04) contrast(1.06) brightness(1);
  transform: scale(1.075) translate(calc(var(--mxn) * -34px), calc(var(--myn) * -20px));
}

.experience.process-open .end-poster,
.experience.booting .end-poster,
.experience.command-ready .end-poster {
  opacity: 0;
}

.experience.poster-locked:not(.booting) .video-grade {
  opacity: 0.48;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(215, 251, 255, 0.13), transparent 260px),
    radial-gradient(ellipse at 50% 88%, rgba(102, 215, 255, 0.28), transparent 360px),
    radial-gradient(ellipse at 50% 70%, rgba(45, 114, 255, 0.12), transparent 52%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 46%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.36), transparent 48%, rgba(0, 0, 0, 0.26));
}

.experience.poster-locked:not(.booting) .scanline {
  opacity: 0.16;
}

.process-feed {
  position: absolute;
  z-index: 14;
  right: clamp(28px, 5vw, 80px);
  bottom: clamp(46px, 7vh, 86px);
  width: min(520px, calc(100vw - 56px));
  border: 1px solid rgba(115, 232, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(115, 232, 255, 0.1), transparent 34%),
    rgba(2, 8, 13, 0.62);
  padding: clamp(20px, 2.8vw, 34px);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 80px rgba(115, 232, 255, 0.06),
    0 30px 90px rgba(0, 0, 0, 0.5);
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.experience.process-open .process-feed {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.process-feed p {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.process-feed h2 {
  margin: 0 0 24px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 0.9;
  font-weight: 400;
  color: #f7fbff;
  text-transform: uppercase;
}

.process-feed ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-feed li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 5px 14px;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
  padding: 12px 0 0;
}

.process-feed li span {
  grid-row: span 2;
  color: var(--copper);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.7rem;
}

.process-feed li b {
  color: #f4f9ff;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-feed li em {
  color: rgba(225, 238, 242, 0.68);
  font-size: 0.74rem;
  font-style: normal;
}

.crew-deck {
  position: absolute;
  inset: 72px 0 0;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition:
    opacity 620ms ease,
    transform 820ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.experience.poster-locked.crew-deck-open:not(.booting):not(.command-ready):not(.process-open) .crew-deck {
  opacity: 1;
  transform: none;
}

.experience.poster-transitioning .crew-deck {
  transition-delay: 540ms;
}

.experience.crew-detail-open .crew-deck {
  transform: scale(0.99);
  pointer-events: none;
}

.experience.process-open .crew-deck {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.99);
  transition-delay: 0ms;
}

.experience.process-open .crew-hit,
.experience.process-open .crew-detail-minimal {
  pointer-events: none;
}

.experience.process-open .process-feed {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.crew-deck::before,
.crew-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.crew-deck::before {
  opacity: 0.46;
  background:
    radial-gradient(circle at 50% 64%, rgba(215, 251, 255, 0.32), rgba(102, 215, 255, 0.14) 16%, transparent 42%),
    radial-gradient(circle at var(--mx) var(--my), rgba(115, 232, 255, 0.12), transparent 250px),
    repeating-linear-gradient(0deg, rgba(115, 232, 255, 0.07) 0 1px, transparent 1px 96px);
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center, black 0 58%, transparent 84%);
  animation: crewScanPulse 4.8s ease-in-out infinite;
}

.crew-deck::after {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(215, 251, 255, 0.14), transparent 220px),
    radial-gradient(ellipse at calc(50% + var(--mxp-bg)) calc(64% + var(--myp-bg)), rgba(102, 215, 255, 0.28), transparent 44%),
    radial-gradient(ellipse at 52% 86%, rgba(45, 114, 255, 0.18), transparent 46%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.2));
}

.crew-deck-frame {
  position: absolute;
  inset: clamp(12px, 3vh, 34px) clamp(18px, 3.2vw, 54px) clamp(82px, 8vh, 112px);
  z-index: 2;
  pointer-events: none;
}

.crew-deck-frame span {
  position: absolute;
  width: clamp(90px, 11vw, 180px);
  height: clamp(90px, 11vw, 180px);
  border-color: rgba(115, 232, 255, 0.62);
  border-style: solid;
  opacity: 0.82;
  filter: drop-shadow(0 0 18px rgba(102, 215, 255, 0.28));
}

.crew-deck-frame span:nth-child(1) {
  left: 0;
  top: 0;
  border-width: 1px 0 0 1px;
}

.crew-deck-frame span:nth-child(2) {
  right: 0;
  top: 0;
  border-width: 1px 1px 0 0;
}

.crew-deck-frame span:nth-child(3) {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

.crew-deck-frame span:nth-child(4) {
  left: 0;
  bottom: 0;
  border-width: 0 0 1px 1px;
}

.crew-deck-card {
  position: absolute;
  z-index: 3;
  bottom: -80px;
  height: min(980px, calc(100vh - 30px));
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  cursor: default;
  text-align: left;
  opacity: 0.44;
  transform-origin: center bottom;
  filter:
    brightness(0.62)
    saturate(0.86)
    drop-shadow(0 34px 70px rgba(0, 0, 0, 0.72));
  pointer-events: none;
  transition:
    opacity 540ms ease,
    filter 540ms ease,
    transform 760ms cubic-bezier(0.18, 0.86, 0.24, 1),
    left 760ms cubic-bezier(0.18, 0.86, 0.24, 1),
    right 760ms cubic-bezier(0.18, 0.86, 0.24, 1),
    width 760ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.crew-deck-card::before,
.crew-deck-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.crew-deck-card::before {
  left: 8%;
  right: 8%;
  bottom: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 114, 255, 0.24), rgba(215, 251, 255, 0.9), rgba(102, 215, 255, 0.38), transparent);
  box-shadow:
    0 0 22px rgba(102, 215, 255, 0.36),
    0 0 70px rgba(45, 114, 255, 0.2),
    0 -54px 0 rgba(115, 232, 255, 0.1);
}

.crew-deck-card::after {
  inset: 7% 5% 5%;
  border: 1px solid rgba(244, 239, 230, 0.08);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  opacity: 0.2;
}

.crew-deck-card.active {
  z-index: 5;
  opacity: 1;
  filter:
    brightness(1)
    saturate(1.05)
    contrast(1.02)
    drop-shadow(0 38px 82px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 42px rgba(102, 215, 255, 0.3))
    drop-shadow(0 0 90px rgba(45, 114, 255, 0.18));
}

.crew-deck-card:hover,
.crew-deck-card:focus-visible {
  opacity: 0.96;
  filter:
    brightness(0.98)
    saturate(1.04)
    drop-shadow(0 34px 80px rgba(0, 0, 0, 0.74))
    drop-shadow(0 0 30px rgba(115, 232, 255, 0.2));
  outline: none;
}

.crew-deck-alpha {
  left: -18vw;
  width: min(780px, 48vw);
  transform: translate(calc(var(--mxp-crew) * 0.28), calc(var(--myp-crew) * 0.28)) scale(0.66);
}

.crew-deck-alpha.active {
  left: clamp(-110px, -5vw, -34px);
  width: min(1680px, 100vw);
  transform: translate(calc(var(--mxp-crew) * 0.58), calc(var(--myp-crew) * 0.48)) scale(1.08);
}

.crew-deck-beta {
  right: -12vw;
  width: min(720px, 44vw);
  transform: translate(calc(var(--mxp-crew) * -0.18), calc(var(--myp-crew) * 0.22)) scale(0.68);
}

.crew-deck-beta.active {
  right: clamp(42px, 5vw, 110px);
  width: min(1500px, 90vw);
  transform: translate(calc(var(--mxp-crew) * -0.48), calc(var(--myp-crew) * 0.48)) scale(1.08);
}

.crew-stack {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.crew-stack-image img,
.crew-figure {
  position: absolute;
  bottom: 0;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}

.crew-stack-image img {
  right: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.64));
}

.crew-deck-alpha .crew-stack-image img {
  object-position: center bottom;
  transform: scale(1.2);
  transform-origin: center bottom;
}

.crew-deck-alpha.active .crew-stack-image img {
  width: 108%;
  height: 108%;
  right: -4%;
  transform: scale(1.2);
}

.crew-deck-beta.active .crew-stack-image img {
  width: 106%;
  height: 106%;
  right: -3%;
}

.crew-figure {
  height: 100%;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.54));
  transition: transform 760ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.crew-figure-hugh {
  left: -1%;
  z-index: 1;
  height: 94%;
  transform: translate(1%, 4%) rotate(-2deg);
}

.crew-figure-mn {
  left: 29%;
  z-index: 3;
  height: 114%;
  transform: translate(0, 1%);
}

.crew-figure-choa {
  right: 0;
  z-index: 2;
  height: 101%;
  transform: translate(0, 4%) rotate(1.5deg);
}

.crew-deck-alpha.active .crew-figure-hugh {
  transform: translate(0, 4%) rotate(-2deg);
}

.crew-deck-alpha.active .crew-figure-mn {
  transform: translate(calc(var(--mxn) * 7px), calc(var(--myn) * 4px));
}

.crew-deck-alpha.active .crew-figure-choa {
  transform: translate(calc(var(--mxn) * -5px), 5%) rotate(1.5deg);
}

.crew-deck-code,
.crew-deck-name {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(115, 232, 255, 0.38);
  background:
    linear-gradient(90deg, rgba(45, 114, 255, 0.18), rgba(115, 232, 255, 0.1)),
    rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  color: rgba(244, 239, 230, 0.84);
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.38);
}

.crew-deck-code {
  top: 10%;
  left: 8%;
  padding: 8px 13px;
  color: var(--cyan);
}

.crew-deck-name {
  left: 11%;
  bottom: 9%;
  padding: 8px 15px;
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.crew-deck-beta .crew-deck-code {
  left: auto;
  right: 10%;
}

.crew-deck-beta .crew-deck-name {
  left: auto;
  right: 10%;
}

.crew-hit {
  position: absolute;
  top: 28%;
  z-index: 11;
  width: clamp(96px, 14vw, 210px);
  height: 48vh;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  pointer-events: auto;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.crew-hit::before {
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(102, 215, 255, 0.96), rgba(215, 251, 255, 0.62), transparent);
  box-shadow:
    0 0 24px rgba(102, 215, 255, 0.34),
    0 0 70px rgba(45, 114, 255, 0.18);
}

.crew-hit::after {
  top: 50%;
  min-width: 116px;
  border: 1px solid rgba(115, 232, 255, 0.38);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(225, 248, 255, 0.8);
  padding: 9px 10px;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.crew-hit-alpha {
  left: clamp(16px, 2vw, 34px);
}

.crew-hit-alpha::before {
  left: 0;
}

.crew-hit-alpha::after {
  content: "01 / " attr(data-label);
  left: 12px;
}

.crew-hit-beta {
  right: clamp(16px, 2vw, 34px);
}

.crew-hit-beta::before {
  right: 0;
}

.crew-hit-beta::after {
  content: "02 / " attr(data-label);
  right: 12px;
  text-align: right;
}

.crew-hit.active {
  opacity: 0.22;
  /* 이미 활성인 deck 전환버튼은 클릭 불필요 → 인물 hotspot에 양보 */
  pointer-events: none;
}

.crew-hit:not(.active):hover,
.crew-hit:not(.active):focus-visible {
  opacity: 1;
  transform: translateX(var(--hit-shift, 0));
  outline: none;
}

.crew-hit-alpha:not(.active):hover,
.crew-hit-alpha:not(.active):focus-visible {
  --hit-shift: 4px;
}

.crew-hit-beta:not(.active):hover,
.crew-hit-beta:not(.active):focus-visible {
  --hit-shift: -4px;
}

/* 인물별 클릭 hotspot — 그룹 카드 이미지 위에 정렬, 활성 카드에서만 클릭 */
.crew-figure-hits {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
}

.crew-figure-hit {
  position: absolute;
  top: 7%;
  height: 84%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
}

/* 활성 카드의 hotspot만 클릭·hover 활성화 */
.crew-deck-card.active .crew-figure-hit {
  pointer-events: auto;
  opacity: 1;
}

/* alpha: 좌 HUGH · 중 MN · 우 CHOA (crew-figure 좌표 기준) */
.crew-figure-hit--hugh { left: 3%;  width: 27%; }
.crew-figure-hit--mn   { left: 34%; width: 32%; }
.crew-figure-hit--choa { left: 68%; width: 29%; }

/* beta: 좌 L-DAN · 중 Willey · 우 ROAD */
.crew-figure-hit--dan    { left: 6%;  width: 28%; }
.crew-figure-hit--willey { left: 36%; width: 30%; }
.crew-figure-hit--road   { left: 66%; width: 28%; }

/* HUD 라인 — 이름 칩 위(인물 머리 쪽)으로 뻗음. 칩은 topbar 아래(인물 얼굴 높이)에 배치 */
.crew-figure-line {
  position: absolute;
  left: 50%;
  top: 13%;
  width: 1px;
  height: 0;
  transform: translate(-50%, -100%);
  transform-origin: bottom;
  background: linear-gradient(to top, rgba(102, 215, 255, 0.95), rgba(215, 251, 255, 0.55));
  box-shadow: 0 0 14px rgba(102, 215, 255, 0.5);
  opacity: 0;
  pointer-events: none;
  transition:
    height 300ms cubic-bezier(0.18, 0.86, 0.24, 1),
    opacity 220ms ease;
}

/* 이름 칩 — 인물 얼굴 높이에 fade-in (topbar 72px 아래) */
.crew-figure-tag {
  position: absolute;
  left: 50%;
  top: 13%;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 88px;
  border: 1px solid rgba(115, 232, 255, 0.5);
  background:
    linear-gradient(120deg, rgba(4, 16, 22, 0.88), rgba(1, 5, 7, 0.6)),
    rgba(0, 0, 0, 0.42);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  padding: 8px 15px 9px;
  text-align: left;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 22px rgba(45, 114, 255, 0.1),
    0 16px 42px rgba(0, 0, 0, 0.44);
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.crew-figure-tag small {
  color: rgba(115, 232, 255, 0.86);
  font-size: 0.54rem;
  line-height: 1;
  letter-spacing: 0.2em;
}

.crew-figure-tag b {
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #f7fcff;
}

.crew-figure-tag em {
  font-style: normal;
  font-size: 0.56rem;
  line-height: 1.05;
  letter-spacing: 0.1em;
  color: rgba(180, 224, 240, 0.8);
}

/* hover/focus → 라인 머리 쪽으로 자라고 이름 칩 떠오름 */
.crew-deck-card.active .crew-figure-hit:hover .crew-figure-line,
.crew-deck-card.active .crew-figure-hit:focus-visible .crew-figure-line {
  height: 30px;
  opacity: 1;
}

.crew-deck-card.active .crew-figure-hit:hover .crew-figure-tag,
.crew-deck-card.active .crew-figure-hit:focus-visible .crew-figure-tag {
  opacity: 1;
  transform: translate(-50%, 0);
}

.crew-deck-card.active .crew-figure-hit:focus-visible {
  outline: none;
}

.crew-deck-hud {
  position: absolute;
  z-index: 9;
  left: clamp(32px, 5.8vw, 96px);
  bottom: clamp(74px, 7.8vh, 104px);
  width: min(820px, 52vw);
  min-height: 168px;
  border: 0;
  border-left: 1px solid rgba(115, 232, 255, 0.62);
  border-bottom: 1px solid rgba(115, 232, 255, 0.38);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.3) 52%, transparent),
    linear-gradient(0deg, rgba(45, 114, 255, 0.12), transparent 46%);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  padding: 18px 178px 18px 24px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: auto;
  backdrop-filter: blur(8px);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(102, 215, 255, 0.12);
  transition:
    opacity 460ms ease 160ms,
    transform 640ms cubic-bezier(0.18, 0.86, 0.24, 1) 160ms,
    border-color 280ms ease;
}

.experience.poster-locked.crew-deck-open:not(.process-open):not(.booting):not(.command-ready) .crew-deck-hud {
  opacity: 1;
  transform: none;
}

.crew-deck-hud::before,
.crew-deck-hud::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.crew-deck-hud::before {
  left: 0;
  right: 34px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 251, 255, 0.9), rgba(115, 232, 255, 0.54), transparent);
}

.crew-deck-hud::after {
  left: 0;
  top: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(115, 232, 255, 0.08), transparent);
  mix-blend-mode: screen;
  animation: crewHudPulse 3.8s ease-in-out infinite;
}

.crew-deck-hud p {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.crew-deck-hud h2 {
  margin: 0 0 10px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.55rem, 3.6vw, 4.55rem);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f4fbff;
  text-shadow:
    0 12px 36px rgba(0, 0, 0, 0.8),
    0 0 24px rgba(102, 215, 255, 0.28);
}

.crew-deck-hud strong {
  display: block;
  margin: 0 0 7px;
  color: #dff7ff;
  font-family: "Inter", "IBM Plex Mono", sans-serif;
  font-size: clamp(1.08rem, 1.52vw, 1.6rem);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: 0;
  word-break: keep-all;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.92),
    0 0 14px rgba(102, 215, 255, 0.24);
}

.crew-deck-hud > span {
  display: block;
  color: rgba(244, 239, 230, 0.72);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.86rem;
  line-height: 1.3;
}

.crew-deck-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.crew-deck-tags i {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(115, 232, 255, 0.2);
  background: rgba(3, 12, 16, 0.54);
  padding: 6px 9px;
  color: rgba(222, 241, 244, 0.78);
  font-size: 0.64rem;
  line-height: 1;
  font-style: normal;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.crew-detail-trigger {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 3px;
  min-width: 132px;
  min-height: 56px;
  border: 1px solid rgba(115, 232, 255, 0.68);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(45, 114, 255, 0.22), rgba(115, 232, 255, 0.1)),
    rgba(0, 0, 0, 0.54);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  color: var(--ink);
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.crew-detail-trigger small {
  color: var(--cyan);
  font-size: 0.58rem;
  line-height: 1;
}

.crew-detail-trigger span {
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 1.04rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.crew-detail-trigger:hover,
.crew-detail-trigger:focus-visible {
  border-color: var(--moss);
  color: var(--moss);
  background:
    linear-gradient(90deg, rgba(166, 212, 111, 0.22), rgba(115, 232, 255, 0.1)),
    rgba(4, 14, 15, 0.68);
  transform: translateY(-2px);
  outline: none;
}

.crew-detail-minimal {
  right: clamp(34px, 4.8vw, 82px);
  bottom: clamp(70px, 7.4vh, 104px);
  z-index: 12;
  min-width: 156px;
  min-height: 48px;
  border-color: rgba(115, 232, 255, 0.48);
  background:
    linear-gradient(90deg, rgba(45, 114, 255, 0.18), rgba(115, 232, 255, 0.06)),
    rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 32px rgba(102, 215, 255, 0.14);
}

.three-field {
  z-index: 2;
  opacity: 0.82;
  mix-blend-mode: screen;
}

.signal-field {
  z-index: 3;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.experience:not(.booting):not(.command-ready) .three-field,
.experience:not(.booting):not(.command-ready) .signal-field {
  opacity: 0;
}

.experience.poster-locked:not(.booting) .three-field,
.experience.poster-locked:not(.booting) .signal-field {
  opacity: 0;
}

.crew-arrival {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
}

.crew-split,
.crew-silhouette {
  position: absolute;
  left: 50%;
  bottom: -6vh;
  width: min(1416px, 112.8vw);
  height: min(912px, 100.8vh);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.64)) saturate(1.04) contrast(1.04);
}

.crew-split-left {
  clip-path: inset(0 52% 0 0);
  opacity: 0;
  transform: translateX(-78%) translateY(24px);
}

.crew-split-right {
  clip-path: inset(0 0 0 48%);
  opacity: 0;
  transform: translateX(-22%) translateY(24px);
}

.crew-silhouette {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}

.experience.crew-arrived .crew-arrival {
  opacity: 1;
}

.experience.crew-arrived .crew-split-left {
  animation: crewEnterLeft 1100ms cubic-bezier(0.17, 0.86, 0.28, 1) forwards;
}

.experience.crew-arrived .crew-split-right {
  animation: crewEnterRight 1100ms cubic-bezier(0.17, 0.86, 0.28, 1) 120ms forwards;
}

.experience.crew-arrived .crew-silhouette {
  animation: crewUnify 900ms ease 760ms forwards;
}

.experience.crew-arrived .stage-video {
  filter: saturate(0.85) contrast(1.1) brightness(0.46);
}

.video-grade {
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(115, 232, 255, 0.22), transparent 210px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.48)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 34%, transparent 70%, rgba(0, 0, 0, 0.72));
}

.scanline {
  z-index: 7;
  pointer-events: none;
  opacity: 0.2;
  background: linear-gradient(180deg, transparent 0 50%, rgba(115, 232, 255, 0.16) 50% 51%, transparent 51%);
  background-size: 100% 8px;
  animation: scanDrift 7s linear infinite;
}

.video-ops {
  position: absolute;
  z-index: 12;
  left: clamp(28px, 4.4vw, 72px);
  top: 50%;
  width: min(340px, 28vw);
  translate: 0 -45%;
  border-left: 1px solid rgba(115, 232, 255, 0.34);
  padding: 0 0 0 18px;
  color: rgba(244, 249, 255, 0.82);
  pointer-events: none;
  opacity: 0.84;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.54));
  transition: opacity 420ms ease, transform 420ms ease;
}

.experience.poster-locked .video-ops,
.experience.booting .video-ops,
.experience.command-ready .video-ops {
  opacity: 0;
  transform: translateX(-18px);
}

.ops-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.ops-header span {
  grid-row: 1 / 3;
  align-self: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 18px var(--moss);
}

.ops-header b {
  color: #f7fbff;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.ops-header small {
  color: rgba(115, 232, 255, 0.74);
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.18em;
}

.ops-window {
  height: 232px;
  overflow: hidden;
  mask-image: linear-gradient(transparent 0, black 12%, black 88%, transparent 100%);
}

.ops-stream {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  animation: opsStreamRise 18s linear infinite;
}

.ops-stream li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(244, 249, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(115, 232, 255, 0.08), transparent 72%),
    rgba(2, 8, 11, 0.34);
  padding: 8px 10px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  animation: opsPulse 4.8s ease-in-out infinite;
}

.ops-stream li:nth-child(2) { animation-delay: 0.35s; }
.ops-stream li:nth-child(3) { animation-delay: 0.7s; }
.ops-stream li:nth-child(4) { animation-delay: 1.05s; }
.ops-stream li:nth-child(5) { animation-delay: 1.4s; }
.ops-stream li:nth-child(6) { animation-delay: 1.75s; }
.ops-stream li:nth-child(7) { animation-delay: 2.1s; }
.ops-stream li:nth-child(8) { animation-delay: 2.45s; }
.ops-stream li:nth-child(9) { animation-delay: 2.8s; }
.ops-stream li:nth-child(10) { animation-delay: 3.15s; }
.ops-stream li:nth-child(11) { animation-delay: 3.5s; }
.ops-stream li:nth-child(12) { animation-delay: 3.85s; }
.ops-stream li:nth-child(13) { animation-delay: 4.2s; }
.ops-stream li:nth-child(14) { animation-delay: 4.55s; }
.ops-stream li:nth-child(15) { animation-delay: 4.9s; }
.ops-stream li:nth-child(16) { animation-delay: 5.25s; }
.ops-stream li:nth-child(17) { animation-delay: 5.6s; }
.ops-stream li:nth-child(18) { animation-delay: 5.95s; }
.ops-stream li:nth-child(19) { animation-delay: 6.3s; }
.ops-stream li:nth-child(20) { animation-delay: 6.65s; }

.ops-stream em {
  color: rgba(115, 232, 255, 0.78);
  font-size: 0.62rem;
  line-height: 1;
  font-style: normal;
}

.ops-stream span {
  color: rgba(244, 249, 255, 0.78);
  font-size: 0.66rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.ops-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 14px;
}

.ops-matrix span {
  height: 3px;
  background: linear-gradient(90deg, rgba(115, 232, 255, 0.08), rgba(115, 232, 255, 0.7), rgba(223, 162, 91, 0.3));
  animation: opsMeter 2.8s ease-in-out infinite;
}

.ops-matrix span:nth-child(2) { animation-delay: 0.25s; }
.ops-matrix span:nth-child(3) { animation-delay: 0.5s; }
.ops-matrix span:nth-child(4) { animation-delay: 0.75s; }

.intro-skip {
  position: absolute;
  z-index: 16;
  right: clamp(28px, 4.2vw, 72px);
  bottom: clamp(34px, 5.6vh, 58px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  width: min(318px, calc(100vw - 56px));
  max-width: calc(100vw - 56px);
  min-height: 72px;
  border: 1px solid rgba(115, 232, 255, 0.42);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(115, 232, 255, 0.12), rgba(223, 162, 91, 0.08) 58%, transparent),
    linear-gradient(180deg, rgba(6, 14, 18, 0.92), rgba(1, 4, 5, 0.76));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  color: var(--ink);
  padding: 14px 54px 18px 18px;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 34px rgba(115, 232, 255, 0.07),
    0 0 34px rgba(115, 232, 255, 0.08),
    0 22px 68px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 240ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.experience:not(.poster-locked):not(.booting):not(.command-ready) .intro-skip {
  opacity: 1;
  pointer-events: auto;
}

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

.intro-skip::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(115, 232, 255, 0.95), rgba(244, 252, 255, 0.74), rgba(223, 162, 91, 0.2));
  box-shadow:
    0 0 14px rgba(115, 232, 255, 0.44),
    0 -18px 0 rgba(115, 232, 255, 0.035);
  animation: introSkipCharge 9s linear forwards;
}

.intro-skip::after {
  right: 24px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 0;
  border-left: 0;
  border-right: 2px solid rgba(182, 244, 255, 0.96);
  border-bottom: 2px solid rgba(115, 232, 255, 0.96);
  transform: translateY(-50%) rotate(-45deg);
  filter: drop-shadow(0 0 9px rgba(115, 232, 255, 0.48));
}

.intro-skip span {
  grid-column: 1 / 2;
  color: rgba(115, 232, 255, 0.9);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6rem;
  line-height: 1.15;
  letter-spacing: 0.24em;
}

.intro-skip b {
  grid-column: 1 / 2;
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 1.34rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f7fbff;
}

.intro-skip em {
  grid-column: 1 / 2;
  color: rgba(244, 239, 230, 0.62);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.16em;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  border-color: rgba(244, 252, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(115, 232, 255, 0.2), rgba(223, 162, 91, 0.1) 58%, transparent),
    linear-gradient(180deg, rgba(8, 18, 23, 0.96), rgba(2, 7, 8, 0.86));
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 42px rgba(115, 232, 255, 0.1),
    0 0 42px rgba(115, 232, 255, 0.18),
    0 24px 74px rgba(0, 0, 0, 0.54);
  outline: none;
}

.command-awakening,
.command-interface {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.command-awakening {
  z-index: 18;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 420ms ease, transform 600ms ease;
}

.awakening-frame {
  position: absolute;
  inset: clamp(28px, 6vh, 78px) clamp(18px, 5vw, 72px);
  opacity: 0.72;
}

.awakening-frame span {
  position: absolute;
  width: 86px;
  height: 86px;
  border-color: rgba(223, 162, 91, 0.66);
  border-style: solid;
}

.awakening-frame span:nth-child(1) {
  left: 0;
  top: 0;
  border-width: 1px 0 0 1px;
}

.awakening-frame span:nth-child(2) {
  right: 0;
  top: 0;
  border-width: 1px 1px 0 0;
}

.awakening-frame span:nth-child(3) {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

.awakening-frame span:nth-child(4) {
  left: 0;
  bottom: 0;
  border-width: 0 0 1px 1px;
}

.sigil-assembly {
  position: relative;
  display: grid;
  place-items: center;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.68) rotateX(18deg);
  transition: opacity 520ms ease, transform 860ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.sigil-rings,
.sigil-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.sigil-rings {
  border: 1px solid rgba(244, 239, 230, 0.2);
  box-shadow:
    inset 0 0 54px rgba(115, 232, 255, 0.12),
    0 0 92px rgba(115, 232, 255, 0.16);
}

.sigil-rings i {
  border: 1px solid rgba(115, 232, 255, 0.28);
  transform: rotateX(64deg) rotateZ(18deg);
  animation: orbitalSweep 9s linear infinite;
}

.sigil-rings i:nth-child(2) {
  inset: 14%;
  border-color: rgba(223, 162, 91, 0.36);
  transform: rotateX(58deg) rotateY(34deg) rotateZ(58deg);
  animation-duration: 7s;
  animation-direction: reverse;
}

.sigil-rings i:nth-child(3) {
  inset: 29%;
  border-color: rgba(166, 212, 111, 0.3);
  transform: rotateX(72deg) rotateY(-26deg);
  animation-duration: 5.8s;
}

.sigil-mark {
  display: grid;
  place-items: center;
  width: min(210px, 38vw);
  aspect-ratio: 1;
  border: 1px solid rgba(223, 162, 91, 0.72);
  background:
    linear-gradient(135deg, rgba(223, 162, 91, 0.2), transparent 42%),
    rgba(2, 8, 10, 0.72);
  color: var(--ink);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 6.8rem;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow:
    0 0 0 9px rgba(223, 162, 91, 0.045),
    0 34px 110px rgba(0, 0, 0, 0.68),
    0 0 90px rgba(223, 162, 91, 0.2);
}

.boot-copy {
  position: absolute;
  left: 50%;
  bottom: 11vh;
  width: min(760px, calc(100vw - 40px));
  translate: -50% 0;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease 420ms, transform 520ms ease 420ms;
}

.boot-copy p,
.mission-brief p {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.boot-copy h2 {
  margin: 8px 0 18px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 4.8rem;
  line-height: 0.9;
  font-weight: 400;
  text-transform: uppercase;
}

.boot-lines {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.boot-lines span {
  border: 1px solid rgba(244, 239, 230, 0.18);
  background: rgba(5, 12, 14, 0.62);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.72rem;
}

.command-interface {
  z-index: 14;
  opacity: 0;
  transform: scale(0.98) translateY(24px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.command-backdrop,
.tactical-grid,
.vector-ring {
  position: absolute;
  inset: 0;
}

.command-backdrop {
  opacity: 0.94;
  background:
    radial-gradient(ellipse at 53% 48%, rgba(115, 232, 255, 0.18), transparent 34%),
    radial-gradient(ellipse at 50% 56%, rgba(223, 162, 91, 0.1), transparent 46%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.84));
}

.tactical-grid {
  opacity: 0.24;
  background:
    linear-gradient(rgba(115, 232, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 232, 255, 0.11) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black, transparent 72%);
}

.vector-ring {
  left: 50%;
  top: 50%;
  width: min(880px, 76vw);
  height: min(880px, 76vw);
  translate: -50% -50%;
  border: 1px solid rgba(244, 239, 230, 0.2);
  border-radius: 50%;
  animation: slowSpin 44s linear infinite;
}

.vector-ring-two {
  width: min(650px, 58vw);
  height: min(650px, 58vw);
  border-color: rgba(115, 232, 255, 0.3);
  transform: rotateX(68deg) rotateZ(22deg);
  animation-duration: 28s;
}

.vector-ring-three {
  width: min(1080px, 88vw);
  height: min(520px, 46vw);
  border-color: rgba(223, 162, 91, 0.3);
  transform: rotate(-18deg);
  animation-duration: 36s;
  animation-direction: reverse;
}

.command-map {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(790px, 70vw);
  aspect-ratio: 1;
  translate: -50% -48%;
}

.command-map::before,
.command-map::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  translate: -50% -50%;
}

.command-map::before {
  width: 88%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115, 232, 255, 0.4), rgba(223, 162, 91, 0.34), transparent);
  box-shadow: 0 132px 0 rgba(115, 232, 255, 0.12), 0 -132px 0 rgba(223, 162, 91, 0.12);
}

.command-map::after {
  width: 1px;
  height: 88%;
  background: linear-gradient(180deg, transparent, rgba(115, 232, 255, 0.34), rgba(223, 162, 91, 0.28), transparent);
  box-shadow: 132px 0 0 rgba(115, 232, 255, 0.1), -132px 0 0 rgba(223, 162, 91, 0.1);
}

.command-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 300px;
  max-width: 34vw;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid rgba(223, 162, 91, 0.72);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(223, 162, 91, 0.28), rgba(115, 232, 255, 0.08) 48%, rgba(166, 212, 111, 0.06)),
    linear-gradient(180deg, rgba(3, 10, 12, 0.86), rgba(0, 0, 0, 0.62));
  box-shadow:
    inset 0 0 80px rgba(115, 232, 255, 0.1),
    inset 0 0 0 12px rgba(244, 239, 230, 0.03),
    0 0 120px rgba(223, 162, 91, 0.24),
    0 28px 80px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.command-core::before,
.command-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.command-core::before {
  inset: -34px;
  border: 1px dashed rgba(115, 232, 255, 0.34);
  animation: reverseSpin 18s linear infinite;
}

.command-core::after {
  inset: 26px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  clip-path: polygon(11% 0, 89% 0, 100% 11%, 100% 89%, 89% 100%, 11% 100%, 0 89%, 0 11%);
}

.core-status {
  color: var(--moss);
  font-size: 0.72rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.core-label {
  font-family: "Antonio", Impact, sans-serif;
  font-size: 5.9rem;
  line-height: 0.76;
  font-weight: 700;
}

.command-core strong {
  max-width: 178px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.initiate-command {
  position: absolute;
  left: 50%;
  bottom: -72px;
  display: grid;
  gap: 3px;
  min-width: 260px;
  min-height: 58px;
  translate: -50% 0;
  border: 1px solid rgba(223, 162, 91, 0.82);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(223, 162, 91, 0.34), rgba(115, 232, 255, 0.1)),
    rgba(4, 10, 12, 0.86);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 0 54px rgba(223, 162, 91, 0.28);
}

.initiate-command small {
  color: var(--cyan);
  font-size: 0.6rem;
  line-height: 1;
}

.initiate-command span {
  display: block;
  transform: translateY(1px);
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.initiate-command:hover {
  background:
    linear-gradient(90deg, rgba(223, 162, 91, 0.34), rgba(115, 232, 255, 0.12)),
    rgba(7, 14, 15, 0.88);
  transform: translateY(-2px);
}

.command-node {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  min-width: 176px;
  min-height: 74px;
  border: 1px solid rgba(244, 239, 230, 0.24);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(115, 232, 255, 0.08), rgba(223, 162, 91, 0.06)),
    rgba(3, 8, 10, 0.74);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  color: var(--ink);
  padding: 12px 15px 13px;
  cursor: pointer;
  text-align: left;
  box-shadow:
    inset 0 0 30px rgba(115, 232, 255, 0.04),
    0 18px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.command-node::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -34px;
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(115, 232, 255, 0.8), transparent);
}

.command-node::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), rgba(115, 232, 255, 0.4), transparent);
  opacity: 0.78;
}

.command-node em {
  grid-row: 1 / 3;
  align-self: start;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(115, 232, 255, 0.3);
  color: var(--cyan);
  font-size: 0.62rem;
  line-height: 1;
  font-style: normal;
  text-transform: uppercase;
}

.command-node b {
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.command-node span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
}

.command-node:hover,
.command-node:focus-visible {
  border-color: var(--copper);
  background:
    linear-gradient(90deg, rgba(223, 162, 91, 0.18), rgba(115, 232, 255, 0.12)),
    rgba(5, 14, 16, 0.88);
  box-shadow:
    inset 0 0 34px rgba(223, 162, 91, 0.08),
    0 24px 74px rgba(0, 0, 0, 0.48),
    0 0 42px rgba(223, 162, 91, 0.18);
  transform: translateY(-3px);
  outline: none;
}

.node-data { left: 50%; top: 9%; translate: -50% 0; }
.node-plan { right: -2%; top: 28%; }
.node-auto { right: 8%; bottom: 9%; }
.node-risk { left: 8%; bottom: 9%; }
.node-crew { left: -2%; top: 28%; }

.mission-brief {
  position: absolute;
  z-index: 3;
  right: 46px;
  bottom: 56px;
  width: min(410px, calc(100vw - 92px));
  border: 1px solid rgba(223, 162, 91, 0.38);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(223, 162, 91, 0.12), rgba(115, 232, 255, 0.06)),
    rgba(0, 0, 0, 0.46);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: 18px;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 520ms ease 360ms, transform 520ms ease 360ms;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.mission-brief h2 {
  margin: 8px 0 10px;
  font-family: "Antonio", Impact, sans-serif;
  font-size: 2.7rem;
  line-height: 0.96;
  font-weight: 700;
  text-transform: uppercase;
}

.mission-call {
  display: block;
  margin: 0 0 13px;
  color: #e6ddd0;
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.mission-progress {
  height: 8px;
  margin: 0 0 14px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(0, 0, 0, 0.34);
}

.mission-progress span {
  display: block;
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--moss));
  box-shadow: 0 0 24px rgba(166, 212, 111, 0.22);
}

.mission-brief dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.mission-brief div {
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(0, 0, 0, 0.28);
  padding: 9px 10px;
}

.mission-brief dt,
.mission-brief dd {
  margin: 0;
}

.mission-brief dt {
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.mission-brief dd {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.82rem;
}

.experience.video-locked .stage-video {
  filter: saturate(0.72) contrast(1.18) brightness(0.5);
  transform: scale(1.075);
}

.experience.booting .command-awakening {
  opacity: 1;
  transform: scale(1);
}

.experience.booting .sigil-assembly,
.experience.booting .boot-copy {
  opacity: 1;
  transform: none;
}

.experience.booting .stage-grid {
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
}

.experience.booting .intro-skip,
.experience.command-ready .intro-skip {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.experience.booting:not(.command-ready) .topnav,
.experience.booting:not(.command-ready) .system-toggle {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.experience.logo-locked .sigil-mark {
  animation: sigilLock 760ms ease forwards;
}

.experience.command-ready .command-awakening {
  opacity: 0;
  transform: scale(0.96);
}

.experience.command-ready .command-interface {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.experience.command-ready .mission-brief {
  opacity: 1;
  transform: none;
}

.experience.command-engaged .command-node {
  border-color: rgba(115, 232, 255, 0.34);
}

.experience.command-engaged .initiate-command {
  border-color: rgba(166, 212, 111, 0.7);
  color: var(--moss);
}

.topbar {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  background:
    linear-gradient(rgba(1, 7, 11, 0.38), rgba(1, 7, 11, 0.02)),
    linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.08), transparent);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.brand-lockup,
.topnav,
.system-toggle {
  pointer-events: auto;
}

.experience.command-ready .topbar {
  background:
    linear-gradient(rgba(1, 7, 11, 0.86), rgba(1, 7, 11, 0.18)),
    linear-gradient(90deg, rgba(223, 162, 91, 0.08), transparent 36%, rgba(115, 232, 255, 0.06));
}

.experience.poster-locked .topbar {
  background:
    linear-gradient(rgba(1, 7, 11, 0.9), rgba(1, 7, 11, 0.24)),
    linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.08), transparent);
}

.brand-lockup {
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 3px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-lockup:focus,
.brand-lockup:focus-visible {
  outline: none;
}

.brand-lockup:focus-visible .brand-symbol::after {
  border-color: rgba(115, 232, 255, 0.38);
  box-shadow:
    inset 0 0 16px rgba(115, 232, 255, 0.1),
    0 0 18px rgba(115, 232, 255, 0.16);
}

.brand-symbol {
  position: relative;
  width: 48px;
  height: 48px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 2px;
  isolation: isolate;
}

.brand-symbol::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(223, 162, 91, 0.18);
  box-shadow:
    inset 0 0 16px rgba(223, 162, 91, 0.1),
    0 0 20px rgba(115, 232, 255, 0.08);
  pointer-events: none;
}

.brand-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.95;
  filter:
    saturate(1.08)
    contrast(1.08)
    drop-shadow(0 0 10px rgba(223, 162, 91, 0.24))
    drop-shadow(0 0 18px rgba(115, 232, 255, 0.08));
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.35vw, 1.36rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.16em;
  text-shadow:
    0 0 18px rgba(115, 232, 255, 0.1),
    0 0 14px rgba(223, 162, 91, 0.08);
}

.brand-copy small {
  color: rgba(244, 239, 230, 0.68);
  font-size: clamp(0.46rem, 0.58vw, 0.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.map-copy p:first-child,
.room-copy p:first-child,
.terminal p,
.kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.topnav,
.room-strip,
.log-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav {
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  color: var(--muted);
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 260ms ease, transform 260ms ease;
}

.experience.command-ready .topnav {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.topnav button,
.room-strip button,
.log-buttons button,
.close-panel {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(3, 5, 5, 0.42);
  color: var(--ink);
  padding: 10px 14px;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.topnav button {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  backdrop-filter: none;
  opacity: 0.74;
}

.topnav button:hover,
.room-strip button:hover,
.log-buttons button:hover,
.close-panel:hover,
.room-strip button.active,
.log-buttons button.active {
  border-color: var(--copper);
  color: var(--copper);
  background: rgba(223, 162, 91, 0.1);
}

.topnav button:hover {
  border-color: transparent;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

.system-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(6, 19, 28, 0.32);
  color: var(--muted);
  padding: 9px 12px;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 260ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.experience.command-ready .system-toggle {
  opacity: 1;
  pointer-events: auto;
}

.system-toggle span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 20px var(--moss);
}

.system-toggle[aria-pressed="true"] {
  border-color: var(--copper);
  color: var(--copper);
  background: rgba(223, 162, 91, 0.11);
}

.stage-grid {
  position: relative;
  z-index: 10;
  height: 100%;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 120px 7vw 78px;
  opacity: 0;
  pointer-events: none;
}

.experience.poster-locked .stage-grid {
  opacity: 0;
}

.experience.poster-locked.booting .stage-grid,
.experience.command-ready .stage-grid {
  opacity: 0;
  animation: none;
}

.experience.poster-transitioning .stage-grid { animation: none; }

.hero-copy {
  position: relative;
  width: min(640px, 78vw);
  max-width: none;
  padding: 0;
  border-left: 0;
  text-align: center;
  transform: translateY(calc(var(--myn) * -12px));
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: min(520px, 76vw);
  height: 1px;
  translate: -50% 0;
  background:
    linear-gradient(90deg, transparent, rgba(115, 232, 255, 0.24) 18%, rgba(244, 249, 255, 0.9) 50%, rgba(115, 232, 255, 0.24) 82%, transparent),
    linear-gradient(90deg, transparent, rgba(115, 232, 255, 0.9), transparent);
  box-shadow:
    0 0 10px rgba(225, 248, 255, 0.7),
    0 0 34px rgba(115, 232, 255, 0.62),
    0 0 92px rgba(115, 232, 255, 0.34);
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 27px;
  width: min(330px, 54vw);
  height: 54px;
  translate: -50% 0;
  background:
    radial-gradient(ellipse at center, rgba(244, 252, 255, 0.82), rgba(115, 232, 255, 0.42) 18%, transparent 68%),
    radial-gradient(ellipse at center, rgba(115, 232, 255, 0.36), transparent 74%);
  filter: blur(11px);
  pointer-events: none;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 5.1vw, 5.55rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #fffaf0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 10px 36px rgba(0, 0, 0, 0.92),
    0 0 18px rgba(238, 250, 255, 0.36),
    0 0 42px rgba(115, 232, 255, 0.22);
}

.mission-line {
  max-width: none;
  margin: 21px 0 0;
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.72rem;
  line-height: 1.25;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  text-shadow:
    0 12px 34px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(115, 232, 255, 0.34);
}

.apolo-title {
  isolation: isolate;
}

.apolo-title::before,
.apolo-title::after {
  display: none;
}

.apolo-title h1 {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 400;
  line-height: 0.86;
}

.apolo-title h1 span {
  display: block;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #dce8f6 36%,
    #8594a9 54%,
    #fbfdff 72%,
    #7d899b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.58),
    0 0 20px rgba(122, 188, 255, 0.4),
    0 0 48px rgba(64, 149, 255, 0.32);
}

.apolo-title h1 span:first-child {
  font-size: clamp(64px, 6.2vw, 104px);
  letter-spacing: 0.26em;
  padding-left: 0.26em;
}

.apolo-title h1 span:last-child {
  font-size: clamp(70px, 6.7vw, 116px);
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}

.apolo-title .mission-line {
  margin-top: 16px;
  font-family: "Inter", "IBM Plex Mono", ui-monospace, sans-serif;
  font-size: 13px;
  letter-spacing: 0.55em;
  color: rgba(230, 240, 255, 0.72);
  text-shadow:
    0 0 8px rgba(120, 180, 255, 0.5),
    0 0 20px rgba(60, 130, 255, 0.35);
}

.apolo-title .flare {
  position: absolute;
  left: 50%;
  top: 66%;
  z-index: -1;
  width: min(540px, 80vw);
  height: 116px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(100, 190, 255, 0.75) 4%,
      rgba(50, 140, 255, 0.35) 12%,
      rgba(20, 70, 140, 0.12) 32%,
      transparent 70%
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(90, 170, 255, 0.15) 20%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(90, 170, 255, 0.15) 80%,
      transparent 100%
    );
  filter: blur(0.5px);
  mix-blend-mode: screen;
}

.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(116px, 1fr));
  gap: 8px;
  width: min(680px, calc(100vw - 14vw - 22px));
}

.hero-telemetry span {
  display: grid;
  gap: 5px;
  min-height: 62px;
  border: 1px solid rgba(244, 239, 230, 0.18);
  background:
    linear-gradient(135deg, rgba(115, 232, 255, 0.08), rgba(223, 162, 91, 0.06)),
    rgba(0, 0, 0, 0.34);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  padding: 10px 11px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.hero-telemetry b,
.hero-telemetry strong {
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
}

.hero-telemetry b {
  color: var(--muted);
  font-weight: 500;
}

.hero-telemetry strong {
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 700;
}

.experience[data-phase="breach"] .stage-video {
  filter: saturate(1.24) contrast(1.16) brightness(0.86) hue-rotate(-8deg);
}

.experience[data-phase="orbit"] .stage-video {
  filter: saturate(1.08) contrast(1.08) brightness(0.9) hue-rotate(10deg);
}

.experience[data-phase="breach"] .video-grade {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 85, 68, 0.15), transparent 280px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.24) 44%, rgba(0, 0, 0, 0.72)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 30%, transparent 66%, rgba(0, 0, 0, 0.7));
}

.experience[data-phase="orbit"] .video-grade {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(166, 212, 111, 0.13), transparent 300px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.2) 44%, rgba(0, 0, 0, 0.7)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.72));
}

.crew-scan-detail {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  overflow: hidden;
  background: rgba(1, 4, 6, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.crew-scan-detail.open {
  opacity: 1;
  pointer-events: auto;
}

.crew-scan-frame {
  position: relative;
  aspect-ratio: 1672 / 941;
  width: min(1100px, 92vw, calc((100vh - 120px) * 1672 / 941));
  max-width: 100%;
  border: 1px solid rgba(115, 232, 255, 0.26);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(115, 232, 255, 0.08),
    0 0 64px rgba(35, 120, 150, 0.18);
  transform: scale(0.955);
  transition: transform 460ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.crew-scan-detail.open .crew-scan-frame {
  transform: scale(1);
}

.crew-scan-detail-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transform: scale(1.004);
  transition:
    opacity 220ms ease,
    transform 820ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.crew-scan-detail.open .crew-scan-detail-image {
  transform: scale(1);
}

.crew-scan-detail.switching .crew-scan-detail-image {
  opacity: 0;
  transform: scale(1.008);
}

/* 하단 셀렉터 클릭 hotspot — 이미지에 그려진 셀렉터바(6칸) 위에 정렬 */
.crew-scan-select {
  position: absolute;
  left: 3.1%;
  right: 4%;
  bottom: 6.6%;
  height: 6.6%;
  z-index: 4;
  display: flex;
  gap: 1.45%;
}

/* crew detail 진입 시 사이트 UI(상단바) 숨김 — 완성 이미지에 로고/HUD 포함 */
.crew-detail-open .topbar {
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.crew-scan-select button {
  flex: 1;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* 이미지에 강조 디자인이 이미 그려져 있으므로 hover/focus/active 모두 완전 투명 */
.crew-scan-select button:hover,
.crew-scan-select button:focus-visible,
.crew-scan-select button.active {
  outline: none;
  background: transparent;
  box-shadow: none;
}

.crew-scan-select button.active {
  cursor: default;
}

/* 닫기 — X 아이콘 (모달 카드 우상단 anchor) */
.crew-scan-close {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(115, 232, 255, 0.32);
  border-radius: 50%;
  background: rgba(3, 8, 12, 0.42);
  color: rgba(225, 248, 255, 0.82);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.crew-scan-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
}

.crew-scan-close:hover,
.crew-scan-close:focus-visible {
  outline: none;
  border-color: rgba(115, 232, 255, 0.85);
  color: #f7fcff;
  background: rgba(8, 20, 28, 0.62);
  transform: rotate(90deg);
}

.overlay-panel {
  z-index: 48;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity 360ms ease, transform 360ms ease;
  background: #050505;
}

.overlay-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.08);
}

.panel-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.2) 54%, rgba(0, 0, 0, 0.76)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 42%, rgba(0, 0, 0, 0.64));
}

.map-panel .panel-image {
  filter: brightness(0.68) saturate(1.18) contrast(1.08);
  transform: scale(1.012);
  transform-origin: 62% 48%;
}

.map-panel .panel-shade {
  background:
    radial-gradient(ellipse at 74% 58%, rgba(115, 232, 255, 0.13), transparent 35%),
    radial-gradient(ellipse at 90% 22%, rgba(223, 162, 91, 0.1), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.26) 48%, rgba(0, 0, 0, 0.56)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 46%, rgba(0, 0, 0, 0.58));
}

.close-panel {
  position: absolute;
  z-index: 12;
  top: 86px;
  right: 28px;
  min-width: 88px;
}

.map-copy,
.room-copy {
  position: absolute;
  z-index: 8;
  left: 46px;
  bottom: 72px;
  width: min(520px, calc(100vw - 90px));
}

.map-copy {
  z-index: 12;
  left: clamp(38px, 4vw, 70px);
  bottom: clamp(82px, 10vh, 120px);
  width: min(610px, 36vw);
  padding: 0 0 0 22px;
}

.map-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 4px;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(223, 162, 91, 0.82) 16%, rgba(115, 232, 255, 0.48) 72%, transparent);
  box-shadow: 0 0 24px rgba(223, 162, 91, 0.34);
}

.map-copy > p:first-child {
  margin: 0;
  color: var(--copper);
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.map-copy h2,
.room-copy h2,
.terminal h2 {
  margin: 8px 0 12px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 4.2rem;
  line-height: 0.92;
  font-weight: 400;
  text-transform: uppercase;
}

.map-copy p:last-child,
.room-copy p:last-child {
  margin: 0;
  color: #e1ded5;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.24rem;
  line-height: 1.5;
}

.map-copy h2 {
  margin: 10px 0 16px;
  color: #fff7ee;
  font-family: "Antonio", "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4.4rem, 6.3vw, 7rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 24px rgba(115, 232, 255, 0.16),
    0 22px 70px rgba(0, 0, 0, 0.92);
}

.map-copy p:last-child {
  max-width: 560px;
  color: rgba(244, 239, 230, 0.84);
  font-size: clamp(0.98rem, 1.1vw, 1.18rem);
  line-height: 1.72;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.88);
}

.world-orbit {
  --atlas-accent: #73e8ff;
  --atlas-secondary: #dfa25b;
  position: absolute;
  z-index: 9;
  left: clamp(360px, 30vw, 520px);
  right: clamp(22px, 2.4vw, 46px);
  top: 84px;
  bottom: 50px;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 32px 90px rgba(0, 0, 0, 0.72));
  pointer-events: none;
  transform: translate(calc(var(--mxp-bg) * -0.16), calc(var(--myp-bg) * 0.12));
}

.world-orbit[data-active-world="meeting"] {
  --atlas-accent: #dfa25b;
  --atlas-secondary: #73e8ff;
}

.world-orbit[data-active-world="coffee"] {
  --atlas-accent: #9b7cff;
  --atlas-secondary: #73e8ff;
}

.world-orbit[data-active-world="bug"] {
  --atlas-accent: #ff8068;
  --atlas-secondary: #dfa25b;
}

.world-orbit[data-active-world="emotion"] {
  --atlas-accent: #73e8ff;
  --atlas-secondary: #9b7cff;
}

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

.world-orbit::before {
  inset: 2px;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 28px);
  background:
    linear-gradient(90deg, rgba(115, 232, 255, 0.24), transparent 18%) left top / 180px 1px no-repeat,
    linear-gradient(180deg, rgba(115, 232, 255, 0.24), transparent 18%) left top / 1px 160px no-repeat,
    linear-gradient(270deg, rgba(223, 162, 91, 0.24), transparent 18%) right bottom / 190px 1px no-repeat,
    linear-gradient(0deg, rgba(223, 162, 91, 0.24), transparent 18%) right bottom / 1px 170px no-repeat;
  opacity: 0.64;
}

.world-orbit::after {
  display: none;
}

.world-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.network-constellations path,
.network-grid path,
.network-rings ellipse,
.network-route {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.network-grid path {
  stroke: rgba(244, 239, 230, 0.08);
  stroke-width: 0.8;
  stroke-dasharray: 1 18;
}

.network-constellations path {
  stroke: rgba(115, 232, 255, 0.24);
  stroke-width: 1.25;
  stroke-dasharray: 4 13;
  filter: url("#worldRouteGlow");
}

.network-rings {
  transform-box: fill-box;
  transform-origin: center;
  animation: worldOrbitSweep 38s linear infinite;
}

.network-rings ellipse {
  stroke: rgba(244, 239, 230, 0.14);
  stroke-width: 1;
  stroke-dasharray: 7 14;
}

.network-route {
  stroke: url("#worldRouteCyan");
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 9 18;
  opacity: 0.28;
  filter: url("#worldRouteGlow");
}

.network-datapoints circle {
  fill: var(--atlas-accent);
  opacity: 0.62;
  filter: url("#worldRouteGlow");
  animation: dataBlink 4.4s ease-in-out infinite;
}

.network-datapoints circle:nth-child(2n) {
  animation-delay: -1.4s;
}

.network-datapoints circle:nth-child(3n) {
  animation-delay: -2.6s;
}

.network-nexus {
  fill: url("#worldNexusGlow");
  opacity: 0.72;
  transform-box: fill-box;
  transform-origin: center;
  animation: worldCorePulse 3.8s ease-in-out infinite;
}

.world-orbit[data-active-world="design"] .route-design,
.world-orbit[data-active-world="meeting"] .route-meeting,
.world-orbit[data-active-world="coffee"] .route-coffee,
.world-orbit[data-active-world="bug"] .route-bug,
.world-orbit[data-active-world="emotion"] .route-emotion {
  stroke-width: 3.2;
  stroke-dasharray: 12 18;
  opacity: 1;
  animation: routeFlow 2.6s linear infinite;
}

.world-orbit.route-arming .network-nexus {
  animation: routeLock 740ms cubic-bezier(0.18, 0.86, 0.24, 1) both, worldCorePulse 3.8s ease-in-out 740ms infinite;
}

.atlas-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: clamp(260px, 21vw, 350px);
  min-height: 174px;
  padding: 22px 24px 24px;
  color: #fff8ea;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 18px);
  background:
    linear-gradient(135deg, rgba(4, 11, 13, 0.88), rgba(2, 3, 4, 0.46)),
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--atlas-accent) 24%, transparent), transparent 48%),
    radial-gradient(circle at 82% 84%, color-mix(in srgb, var(--atlas-secondary) 22%, transparent), transparent 46%);
  border: 1px solid color-mix(in srgb, var(--atlas-accent) 46%, rgba(244, 239, 230, 0.16));
  box-shadow:
    0 30px 96px rgba(0, 0, 0, 0.72),
    0 0 72px color-mix(in srgb, var(--atlas-accent) 20%, transparent),
    inset 0 0 0 1px rgba(244, 239, 230, 0.08);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

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

.atlas-core::before {
  inset: -34px;
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, transparent, color-mix(in srgb, var(--atlas-accent) 72%, transparent), transparent 34%, color-mix(in srgb, var(--atlas-secondary) 52%, transparent), transparent 68%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 18px), #000 calc(100% - 10px), transparent calc(100% - 9px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 18px), #000 calc(100% - 10px), transparent calc(100% - 9px));
  opacity: 0.8;
  animation: worldOrbitSweep 18s linear infinite;
}

.atlas-core::after {
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--atlas-accent) 72%, transparent), transparent);
  box-shadow: 0 -54px 0 rgba(244, 239, 230, 0.06), 0 -108px 0 rgba(244, 239, 230, 0.04);
}

.atlas-core small,
.atlas-core span {
  display: block;
  position: relative;
  z-index: 1;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.atlas-core small {
  color: var(--atlas-accent);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.atlas-core strong {
  display: block;
  position: relative;
  z-index: 1;
  margin: 12px 0 10px;
  max-width: 10ch;
  font-family: "Antonio", "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.25rem, 3.15vw, 3.55rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 30px color-mix(in srgb, var(--atlas-accent) 36%, transparent);
}

.atlas-core span {
  color: rgba(244, 239, 230, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.atlas-readout {
  position: absolute;
  z-index: 4;
  left: 43%;
  top: 6%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: min(470px, 43vw);
  pointer-events: none;
}

.atlas-readout span {
  min-height: 50px;
  padding: 8px 10px;
  border-top: 1px solid color-mix(in srgb, var(--atlas-accent) 42%, transparent);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.64), rgba(2, 5, 6, 0.1)),
    radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--atlas-accent) 18%, transparent), transparent 42px);
  color: rgba(244, 239, 230, 0.68);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.atlas-readout b {
  display: block;
  color: #fff8ea;
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 1.42rem;
  letter-spacing: 0.06em;
}

.ontology-chip {
  position: absolute;
  z-index: 2;
  min-width: 122px;
  padding: 8px 10px 9px;
  border-left: 1px solid color-mix(in srgb, var(--atlas-accent) 46%, transparent);
  background:
    linear-gradient(90deg, rgba(3, 7, 8, 0.64), rgba(3, 7, 8, 0.08)),
    linear-gradient(180deg, rgba(244, 239, 230, 0.07), transparent);
  color: rgba(244, 239, 230, 0.72);
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
}

.ontology-chip b {
  display: block;
  margin-top: 3px;
  color: var(--atlas-accent);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.chip-source { left: 5%; top: 43%; }
.chip-evidence { left: 42%; top: 29%; }
.chip-owner { left: 66%; top: 51%; }
.chip-policy { left: 74%; top: 36%; }
.chip-kpi { left: 51%; top: 16%; }
.chip-route { left: 34%; top: 73%; }

.world-point {
  position: absolute;
  left: var(--world-x);
  top: var(--world-y);
  z-index: 3;
  width: 220px;
  height: 100px;
  border: 0;
  border-radius: 0;
  clip-path: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: filter 180ms ease, transform 180ms ease;
}

/* 닫힌 패널 안의 world-point는 클릭을 가로채지 않음 (crew hotspot 가림 방지) */
.overlay-panel:not(.open) .world-point {
  pointer-events: none;
}

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

.world-point::before {
  left: 12px;
  top: 13px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 247, 232, 0.94) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 54%, var(--world-accent, rgba(115, 232, 255, 0.9)) 0 7px, transparent 8px),
    radial-gradient(circle, rgba(1, 5, 8, 0.88), rgba(2, 3, 4, 0.92) 66%, transparent 67%),
    conic-gradient(from 18deg, transparent, var(--world-accent, rgba(115, 232, 255, 0.68)), transparent 34%);
  border: 1px solid rgba(244, 239, 230, 0.24);
  box-shadow:
    0 0 24px color-mix(in srgb, var(--world-accent, #73e8ff) 58%, transparent),
    inset 0 0 22px rgba(255, 255, 255, 0.08);
}

.world-point::after {
  left: 0;
  top: 1px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--world-accent, #73e8ff) 44%, transparent);
  transform: rotateX(66deg) rotateZ(-18deg);
  box-shadow: 0 0 18px color-mix(in srgb, var(--world-accent, #73e8ff) 26%, transparent);
  opacity: 0.9;
}

.world-point span {
  display: flex;
  align-items: center;
  position: absolute;
  left: 54px;
  top: 18px;
  min-width: 96px;
  height: 34px;
  padding: 0 13px 0 16px;
  border: 1px solid rgba(244, 239, 230, 0.18);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 10px) 100%, 0 100%, 0 8px);
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.82), rgba(5, 9, 10, 0.42)),
    radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--world-accent, #73e8ff) 34%, transparent), transparent 28px);
  color: inherit;
  font-family: "Antonio", "IBM Plex Mono", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 18px color-mix(in srgb, var(--world-accent, #73e8ff) 44%, transparent);
}

.world-point b {
  position: absolute;
  left: 58px;
  top: 53px;
  color: color-mix(in srgb, var(--world-accent) 72%, rgba(244, 239, 230, 0.48));
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.world-point small {
  position: absolute;
  left: 58px;
  top: 3px;
  color: var(--world-accent, var(--cyan));
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  opacity: 0.86;
  white-space: nowrap;
}

.world-point:hover {
  filter: brightness(1.18);
  transform: translate(-50%, -50%) scale(1.04);
}

.world-point.active {
  color: #fff7e8;
}

.world-point.active::before {
  border-color: color-mix(in srgb, var(--world-accent, #dfa25b) 78%, #fff);
  box-shadow:
    0 0 34px color-mix(in srgb, var(--world-accent, #dfa25b) 78%, transparent),
    0 0 90px color-mix(in srgb, var(--world-accent, #dfa25b) 38%, transparent),
    inset 0 0 24px rgba(255, 255, 255, 0.14);
  animation: planetLock 980ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.world-point.active::after {
  opacity: 1;
  animation: worldOrbitSweep 8s linear infinite;
}

.world-point-design { --world-x: 29%; --world-y: 46%; --world-accent: #73e8ff; }
.world-point-meeting { --world-x: 81%; --world-y: 18%; --world-accent: #dfa25b; }
.world-point-coffee { --world-x: 18%; --world-y: 76%; --world-accent: #9b7cff; }
.world-point-bug { --world-x: 82%; --world-y: 62%; --world-accent: #ff8068; }
.world-point-emotion { --world-x: 17%; --world-y: 20%; --world-accent: #73e8ff; }

.world-point-meeting span,
.world-point-bug span {
  left: auto;
  right: 54px;
  justify-content: flex-end;
  padding: 0 16px 0 13px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 10px 100%, 0 0);
}

.world-point-meeting small,
.world-point-bug small {
  left: auto;
  right: 58px;
}

.world-point-meeting b,
.world-point-bug b {
  left: auto;
  right: 58px;
  text-align: right;
}

.world-preview {
  position: absolute;
  z-index: 7;
  right: clamp(42px, 5vw, 86px);
  bottom: clamp(74px, 8vh, 104px);
  width: min(360px, 24vw);
  height: min(190px, 22vh);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 0;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 22px);
  background: rgba(2, 3, 4, 0.36);
  opacity: 0.58;
  mix-blend-mode: screen;
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.7),
    0 0 54px rgba(115, 232, 255, 0.12),
    inset 0 0 0 1px rgba(244, 239, 230, 0.08);
}

.world-preview::before,
.world-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.world-preview::before {
  border: 1px solid rgba(244, 239, 230, 0.22);
  box-shadow:
    inset 0 0 48px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(115, 232, 255, 0.07);
}

.world-preview::after {
  opacity: 0.45;
  mix-blend-mode: screen;
  background:
    linear-gradient(90deg, transparent, rgba(115, 232, 255, 0.2), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(223, 162, 91, 0.16), transparent 26%, rgba(115, 232, 255, 0.14));
  background-size: 180% 100%, auto, auto;
  animation: worldPreviewSignal 4.8s ease-in-out infinite;
}

.world-preview img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: opacity 220ms ease, transform 520ms cubic-bezier(0.18, 0.86, 0.24, 1), filter 520ms ease;
}

.world-preview.switching img,
.ship-panel.switching .panel-image {
  opacity: 0.32;
  transform: scale(1.055);
  filter: saturate(1.35) brightness(1.12);
}

.room-strip {
  position: absolute;
  z-index: 9;
  right: 40px;
  bottom: 76px;
  width: min(620px, calc(100vw - 80px));
  justify-content: flex-end;
  flex-wrap: wrap;
}

.log-panel {
  background:
    linear-gradient(90deg, #070807, #10120f 44%, #070807),
    radial-gradient(circle at 38% 55%, rgba(115, 232, 255, 0.08), transparent 420px);
}

.log-layout {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(260px, 36vw) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 84px 7vw 64px;
}

.log-layout > img {
  width: min(440px, 100%);
  max-height: 70vh;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.58));
}

.terminal {
  min-height: 560px;
  border: 1px solid rgba(244, 239, 230, 0.2);
  border-radius: 8px;
  padding: 26px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 90px rgba(115, 232, 255, 0.05);
  backdrop-filter: blur(16px);
}

.terminal pre {
  min-height: 300px;
  margin: 0 0 20px;
  white-space: pre-wrap;
  color: #cff5ff;
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.75;
}

@keyframes scanDrift {
  to {
    background-position: 0 160px;
  }
}

@keyframes introSkipCharge {
  from {
    transform: scaleX(0.12);
    opacity: 0.62;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes posterBloom {
  0% {
    opacity: 0;
    filter: blur(24px);
    transform: scale(0.98);
  }
  18% {
    opacity: 0.9;
    filter: blur(18px);
    transform: scale(1);
  }
  46% {
    opacity: 0.48;
    filter: blur(10px);
  }
  100% {
    opacity: 0;
    filter: blur(28px);
    transform: scale(1.08);
  }
}

@keyframes opsPulse {
  0%,
  100% {
    border-color: rgba(244, 249, 255, 0.1);
    opacity: 0.72;
  }
  42% {
    border-color: rgba(115, 232, 255, 0.34);
    opacity: 1;
  }
}

@keyframes opsStreamRise {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes opsMeter {
  0%,
  100% {
    opacity: 0.32;
    transform: scaleX(0.45);
    transform-origin: left center;
  }
  48% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes crewDeckSweep {
  from {
    background-position: -42vw 0, 0 0;
  }
  to {
    background-position: 92vw 0, 120px 0;
  }
}

@keyframes crewScanPulse {
  0%,
  100% {
    opacity: 0.34;
    filter: blur(0);
    transform: scale(0.985);
  }
  48% {
    opacity: 0.58;
    filter: blur(1px);
    transform: scale(1.025);
  }
}

@keyframes crewHudPulse {
  0%,
  100% {
    opacity: 0.16;
    transform: scaleX(0.94);
    transform-origin: left center;
  }
  50% {
    opacity: 0.42;
    transform: scaleX(1);
  }
}

@keyframes crewDetailSweep {
  from {
    background-position: -55vw 0, 0 0;
  }
  to {
    background-position: 75vw 0, 0 120px;
  }
}

@keyframes logoResolve {
  0% {
    opacity: 0;
    filter: blur(18px);
    transform: translateY(18px) scale(0.98);
  }
  42% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes orbitalSweep {
  to {
    transform: rotateX(64deg) rotateZ(378deg);
  }
}

@keyframes sigilLock {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 9px rgba(223, 162, 91, 0.045),
      0 34px 110px rgba(0, 0, 0, 0.68),
      0 0 90px rgba(223, 162, 91, 0.2);
  }
  54% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 18px rgba(223, 162, 91, 0.06),
      0 34px 110px rgba(0, 0, 0, 0.68),
      0 0 130px rgba(223, 162, 91, 0.42);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 11px rgba(166, 212, 111, 0.06),
      0 34px 110px rgba(0, 0, 0, 0.68),
      0 0 110px rgba(166, 212, 111, 0.28);
  }
}

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

@keyframes worldCorePulse {
  0%,
  100% {
    opacity: 0.66;
    transform: scale(0.96);
  }
  48% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes worldPreviewSignal {
  0%,
  100% {
    background-position: -90% 0, 0 0, 0 0;
    opacity: 0.34;
  }
  48% {
    background-position: 120% 0, 0 0, 0 0;
    opacity: 0.52;
  }
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -60;
  }
}

@keyframes routeLock {
  0% {
    opacity: 0.24;
    transform: scale(0.74);
  }
  52% {
    opacity: 1;
    transform: scale(1.34);
  }
  100% {
    opacity: 0.76;
    transform: scale(1);
  }
}

@keyframes planetLock {
  0% {
    transform: scale(0.82);
    filter: brightness(0.7) blur(3px);
  }
  58% {
    transform: scale(1.18);
    filter: brightness(1.42) blur(0);
  }
  100% {
    transform: scale(1);
    filter: brightness(1) blur(0);
  }
}

@keyframes dataBlink {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.72);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.18);
  }
}

@keyframes crewEnterLeft {
  0% {
    opacity: 0;
    transform: translateX(-86%) translateY(28px);
    filter: blur(10px) drop-shadow(0 34px 60px rgba(0, 0, 0, 0.64));
  }
  100% {
    opacity: 0.94;
    transform: translateX(-50%) translateY(0);
    filter: blur(0) drop-shadow(0 34px 60px rgba(0, 0, 0, 0.64));
  }
}

@keyframes crewEnterRight {
  0% {
    opacity: 0;
    transform: translateX(-14%) translateY(28px);
    filter: blur(10px) drop-shadow(0 34px 60px rgba(0, 0, 0, 0.64));
  }
  100% {
    opacity: 0.94;
    transform: translateX(-50%) translateY(0);
    filter: blur(0) drop-shadow(0 34px 60px rgba(0, 0, 0, 0.64));
  }
}

@keyframes crewUnify {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes slowSpin {
  to {
    rotate: 360deg;
  }
}

@keyframes reverseSpin {
  to {
    rotate: -360deg;
  }
}

@media (max-width: 1100px) {
  .stage-grid {
    padding-right: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(3.3rem, 6vw, 4.8rem);
  }

  .hero-telemetry {
    width: min(620px, calc(100vw - 64px));
  }

  .command-map {
    width: min(640px, 78vw);
  }

  .command-core {
    width: 284px;
    max-width: 36vw;
  }

  .core-label {
    font-size: 5.4rem;
  }

  .command-node {
    min-width: 138px;
  }

  .mission-brief {
    width: 310px;
  }

  .crew-deck-alpha.active {
    left: -4vw;
    width: min(860px, 70vw);
  }

  .crew-deck-beta.active {
    right: -2vw;
    width: min(800px, 66vw);
  }

  .crew-deck-hud {
    width: min(620px, 58vw);
    padding-right: 160px;
  }

  .crew-deck-hud h2 {
    font-size: clamp(2.15rem, 3.3vw, 3.4rem);
  }

  .map-copy {
    width: min(430px, 44vw);
  }

  .map-copy h2 {
    font-size: clamp(3.1rem, 5.4vw, 4.6rem);
  }

  .map-copy p:last-child {
    font-size: 0.86rem;
  }

  .world-orbit {
    left: min(44vw, 390px);
    right: 18px;
    top: 84px;
    bottom: 56px;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
  }

  .world-preview {
    display: block;
    right: 28px;
    bottom: 70px;
    width: min(330px, 34vw);
    height: min(190px, 28vh);
  }

  .atlas-readout,
  .ontology-chip {
    display: none;
  }

  .atlas-core {
    width: 180px;
    min-height: 126px;
    padding: 16px 17px 18px;
  }

  .atlas-core small {
    font-size: 0.48rem;
    letter-spacing: 0.14em;
  }

  .atlas-core strong {
    margin: 8px 0 7px;
    font-size: 2rem;
  }

  .atlas-core span {
    font-size: 0.55rem;
  }

  .world-point {
    width: 126px;
    height: 68px;
  }

  .world-point::before {
    width: 40px;
    height: 40px;
  }

  .world-point::after {
    width: 60px;
    height: 60px;
  }

  .world-point span {
    left: 47px;
    min-width: 78px;
    height: 31px;
    font-size: 0.62rem;
  }

  .world-point b {
    display: none;
  }

  .world-point small {
    left: 50px;
    font-size: 0.48rem;
  }

  .world-point-meeting span,
  .world-point-bug span {
    right: 47px;
  }

  .world-point-meeting small,
  .world-point-bug small {
    right: 50px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow: auto;
  }

  .experience,
  .stage {
    min-height: 100vh;
    height: auto;
  }

  .stage {
    position: relative;
  }

  .topbar {
    height: 72px;
    padding: 0 16px;
    backdrop-filter: none;
  }

  .topnav {
    position: fixed;
    z-index: 55;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(244, 239, 230, 0.18);
    background: rgba(2, 5, 6, 0.76);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  }

  .experience:not(.command-ready):not(.poster-locked) .topnav {
    opacity: 0;
    pointer-events: none;
  }

  .topnav button {
    min-height: 38px;
    border: 1px solid rgba(244, 239, 230, 0.16);
    border-radius: 4px;
    background: rgba(6, 19, 28, 0.58);
    padding: 7px 3px;
    color: var(--ink);
    font-size: 0.52rem;
    line-height: 1.12;
    text-align: center;
  }

  .topnav button:hover {
    border-color: var(--copper);
    color: var(--copper);
    background: rgba(223, 162, 91, 0.1);
  }

  .system-toggle {
    font-size: 0.7rem;
  }

  .video-ops {
    display: none;
  }

  .intro-skip {
    left: 18px;
    right: 18px;
    bottom: 20px;
    width: auto;
    max-width: none;
    min-height: 64px;
    padding: 12px 48px 16px 15px;
  }

  .intro-skip span {
    font-size: 0.5rem;
  }

  .intro-skip b {
    font-size: 1.05rem;
  }

  .intro-skip em {
    font-size: 0.48rem;
  }

  .brand-lockup {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
    letter-spacing: 0.13em;
  }

  .brand-copy small {
    max-width: 118px;
    font-size: 0.42rem;
    line-height: 1.15;
    letter-spacing: 0.16em;
  }

  .stage-grid {
    min-height: 100vh;
    display: grid;
    align-items: end;
    justify-items: center;
    padding: 120px 18px 76px;
  }

  .end-poster {
    transform: scale(1);
    transform-origin: center bottom;
  }

  .experience.poster-locked .end-poster {
    filter: saturate(1.05) contrast(1.08) brightness(0.88);
    transform: scale(1.12) translate(calc(var(--mxn) * -18px), calc(var(--myn) * -10px));
  }

  .experience.poster-locked:not(.booting) .video-grade {
    opacity: 0;
  }

  .experience.poster-locked .stage-grid {
    z-index: 10;
    padding-bottom: 72px;
  }

  .process-feed {
    left: 14px;
    right: 14px;
    bottom: 96px;
    width: auto;
    padding: 18px;
  }

  .process-feed h2 {
    margin-bottom: 18px;
    font-size: 3rem;
  }

  .process-feed li {
    grid-template-columns: 34px 1fr;
    gap: 4px 10px;
    padding-top: 9px;
  }

  .process-feed li span {
    font-size: 1.35rem;
  }

  .process-feed li b,
  .process-feed li em {
    font-size: 0.62rem;
  }

  .crew-deck {
    position: fixed;
    inset: 72px 0 0;
  }

  .crew-deck::before {
    opacity: 0.28;
  }

  .crew-deck-frame {
    inset: 8px 13px 94px;
  }

  .crew-deck-frame span {
    width: 74px;
    height: 74px;
  }

  .crew-deck-card {
    bottom: 82px;
    height: min(630px, 72vh);
  }

  .crew-deck-alpha {
    left: -34vw;
    width: 78vw;
    transform: translateY(8px) scale(0.54);
  }

  .crew-deck-alpha.active {
    left: 50%;
    width: 238vw;
    transform: translateX(-50%) scale(1);
  }

  .crew-deck-beta {
    right: -34vw;
    width: 72vw;
    transform: translateY(8px) scale(0.56);
  }

  .crew-deck-beta.active {
    right: auto;
    left: 50%;
    width: 218vw;
    transform: translateX(-50%) scale(1);
  }

  .crew-deck-card::after {
    inset: 14% 7% 8%;
  }

  .crew-deck-code {
    top: 8%;
    left: 8%;
    min-height: 27px;
    padding: 6px 9px;
    font-size: 0.54rem;
  }

  .crew-deck-name {
    left: 8%;
    bottom: 7%;
    min-height: 28px;
    padding: 6px 10px;
    font-size: 0.74rem;
  }

  .crew-deck-beta .crew-deck-code,
  .crew-deck-beta .crew-deck-name {
    right: 8%;
  }

  .crew-figure-hugh {
    left: -5%;
    height: 82%;
  }

  .crew-figure-mn {
    left: 27%;
    height: 102%;
  }

  .crew-figure-choa {
    right: -4%;
    height: 86%;
  }

  .crew-deck-hud {
    left: 14px;
    right: 14px;
    bottom: 92px;
    width: auto;
    min-height: 0;
    padding: 16px;
  }

  .crew-deck-hud p {
    margin-bottom: 6px;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }

  .crew-deck-hud h2 {
    margin-bottom: 8px;
    font-size: 1.72rem;
    line-height: 0.94;
  }

  .crew-deck-hud strong {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .crew-deck-hud > span {
    font-size: 0.68rem;
  }

  .crew-deck-tags {
    gap: 5px;
    margin-top: 10px;
  }

  .crew-deck-tags i {
    min-height: 24px;
    padding: 5px 7px;
    font-size: 0.52rem;
  }

  .crew-detail-trigger {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 9px 12px;
  }

  .crew-detail-trigger span {
    font-size: 0.9rem;
  }

  .crew-detail-minimal {
    position: fixed;
    right: 14px;
    bottom: 92px;
    z-index: 56;
    width: auto;
    min-width: 126px;
    min-height: 42px;
    margin-top: 0;
    padding: 8px 10px;
  }

  .crew-scan-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .awakening-frame {
    inset: 86px 16px 24px;
  }

  .sigil-assembly {
    width: min(300px, 72vw);
  }

  .sigil-mark {
    width: min(150px, 38vw);
    font-size: 6.4rem;
  }

  .boot-copy {
    bottom: 13vh;
    max-width: 330px;
  }

  .boot-copy h2 {
    font-size: 2.8rem;
    line-height: 0.96;
  }

  .boot-lines {
    gap: 6px;
  }

  .boot-lines span {
    padding: 7px 8px;
    font-size: 0.62rem;
  }

  .command-interface {
    min-height: 100vh;
    overflow: auto;
    padding: 86px 14px 92px;
  }

  .command-map {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(390px, 100%);
    max-width: none;
    aspect-ratio: auto;
    margin: 0 auto;
    padding-top: 248px;
    translate: none;
  }

  .command-map::before {
    width: 1px;
    height: 224px;
    top: 12px;
    translate: -50% 0;
    box-shadow: none;
  }

  .command-map::after {
    width: 78%;
    height: 1px;
    top: 218px;
    translate: -50% 0;
    box-shadow: 0 74px 0 rgba(115, 232, 255, 0.1), 0 148px 0 rgba(223, 162, 91, 0.08);
  }

  .vector-ring {
    width: 340px;
    height: 340px;
  }

  .vector-ring-two {
    width: 260px;
    height: 260px;
  }

  .vector-ring-three {
    width: 430px;
    height: 230px;
  }

  .command-core {
    top: 0;
    width: 174px;
    max-width: none;
    translate: -50% 0;
  }

  .core-label {
    font-size: 3.6rem;
  }

  .core-status {
    font-size: 0.58rem;
  }

  .command-core strong {
    max-width: 116px;
    font-size: 0.56rem;
  }

  .initiate-command {
    bottom: -56px;
    min-width: 204px;
    min-height: 46px;
    font-size: 0.72rem;
  }

  .initiate-command span {
    font-size: 0.84rem;
  }

  .command-node {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    min-width: 0;
    min-height: 58px;
    padding: 9px 10px 11px;
    translate: none;
  }

  .command-node::before {
    display: none;
  }

  .command-node em {
    width: 34px;
    height: 34px;
    font-size: 0.52rem;
  }

  .command-node b {
    font-size: 0.66rem;
  }

  .command-node span {
    font-size: 0.58rem;
  }

  .node-data {
    grid-column: 1 / -1;
  }

  .mission-brief {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 16px auto 0;
    padding: 13px;
    transform: translateY(14px);
    max-width: 390px;
  }

  .mission-brief h2 {
    font-size: 1.65rem;
    margin-bottom: 8px;
  }

  .mission-call {
    margin-bottom: 10px;
    font-size: 0.64rem;
  }

  .mission-progress {
    height: 6px;
    margin-bottom: 10px;
  }

  .mission-brief dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .mission-brief div {
    padding: 7px 6px;
  }

  .mission-brief dt {
    font-size: 0.56rem;
  }

  .mission-brief dd {
    font-size: 0.66rem;
  }

  .crew-split,
  .crew-silhouette {
    width: 153.6vw;
    height: 69.6vh;
    bottom: 15vh;
  }

  .apolo-title h1 {
    gap: 2px;
  }

  .apolo-title h1 span:first-child {
    font-size: 4.2rem;
    letter-spacing: 0.16em;
    padding-left: 0.16em;
  }

  .apolo-title h1 span:last-child {
    font-size: 4.05rem;
    letter-spacing: 0.08em;
    padding-left: 0.08em;
  }

  .mission-line {
    margin: 14px 0 0;
    font-size: 0.5rem;
    line-height: 1.42;
    letter-spacing: 0.16em;
  }

  .apolo-title .mission-line {
    white-space: nowrap;
  }

  .hero-copy {
    width: min(330px, 86vw);
    padding-left: 0;
    transform: none;
  }

  .hero-telemetry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-telemetry span {
    min-height: 52px;
    padding: 8px 9px;
  }

  .overlay-panel {
    position: fixed;
    min-height: 100vh;
  }

  .close-panel {
    top: 136px;
    right: 18px;
    min-width: 66px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.74rem;
  }

  .map-copy,
  .room-copy {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .map-copy {
    top: 92px;
    bottom: auto;
    padding-left: 15px;
  }

  .room-copy {
    bottom: 150px;
  }

  .map-copy h2,
  .room-copy h2,
  .terminal h2 {
    font-size: 3.1rem;
  }

  .map-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
    max-width: calc(100% - 92px);
  }

  .map-copy p:last-child,
  .room-copy p:last-child {
    font-size: 1.08rem;
  }

  .map-copy p:last-child {
    max-width: 92vw;
    font-size: 0.8rem;
    line-height: 1.48;
  }

  .world-preview {
    display: block;
    left: 18px;
    right: 18px;
    top: 300px;
    bottom: auto;
    width: auto;
    height: min(190px, 27vh);
    opacity: 0.64;
  }

  .world-orbit {
    left: 12px;
    right: 12px;
    top: 498px;
    bottom: 92px;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 230px;
    translate: 0;
    transform: none;
  }

  .atlas-core,
  .atlas-readout,
  .ontology-chip {
    display: none;
  }

  .world-point-design { --world-x: 48%; --world-y: 50%; }
  .world-point-meeting { --world-x: 82%; --world-y: 18%; }
  .world-point-coffee { --world-x: 18%; --world-y: 82%; }
  .world-point-bug { --world-x: 82%; --world-y: 74%; }
  .world-point-emotion { --world-x: 18%; --world-y: 18%; }

  .world-point {
    width: 108px;
    height: 56px;
  }

  .world-point::before {
    left: 8px;
    top: 10px;
    width: 32px;
    height: 32px;
  }

  .world-point::after {
    left: 1px;
    top: 4px;
    width: 44px;
    height: 44px;
  }

  .world-point span {
    left: 36px;
    top: 14px;
    min-width: 70px;
    height: 26px;
    padding: 0 8px 0 10px;
    font-size: 0.46rem;
    letter-spacing: 0.08em;
  }

  .world-point b {
    display: none;
  }

  .world-point small {
    left: 38px;
    top: 2px;
    font-size: 0.42rem;
  }

  .world-point-meeting span,
  .world-point-bug span {
    right: 36px;
  }

  .world-point-meeting small,
  .world-point-bug small {
    right: 38px;
  }

  .room-strip {
    left: 20px;
    right: 20px;
    bottom: 28px;
    width: auto;
    justify-content: flex-start;
  }

  .log-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 86px 18px 28px;
  }

  .log-layout > img {
    max-height: 230px;
  }

  .terminal {
    min-height: 0;
  }
}

.map-panel {
  background:
    radial-gradient(circle at 32% 28%, rgba(82, 178, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #051015, #010405 72%);
}

.map-panel::before {
  content: "";
  display: none;
}

.map-panel-title {
  position: absolute;
  z-index: 75;
  left: clamp(28px, 3.2vw, 50px);
  top: clamp(94px, 10.4vh, 118px);
  margin: 0;
  color: #e6b56c;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.78rem, 1vw, 0.98rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding: 6px 0;
  text-shadow:
    0 0 18px rgba(223, 162, 91, 0.38),
    0 10px 30px rgba(0, 0, 0, 0.86);
}

.map-panel .panel-image {
  inset: clamp(130px, 15vh, 152px) clamp(24px, 2.8vw, 42px) clamp(44px, 6vh, 62px);
  width: auto;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(115, 232, 255, 0.18);
  filter: brightness(0.62) saturate(0.9) contrast(1.08);
  transform: none;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(244, 249, 255, 0.04);
}

.map-panel .panel-shade {
  inset: clamp(130px, 15vh, 152px) clamp(24px, 2.8vw, 42px) clamp(44px, 6vh, 62px);
  border: 1px solid rgba(244, 249, 255, 0.06);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(115, 232, 255, 0.12), transparent 250px),
    linear-gradient(90deg, rgba(1, 6, 9, 0.36), transparent 32%, rgba(1, 6, 9, 0.32)),
    linear-gradient(0deg, rgba(1, 6, 9, 0.54), transparent 24%, transparent 76%, rgba(1, 6, 9, 0.34));
  pointer-events: none;
}

.map-panel .close-panel {
  top: clamp(92px, 10vh, 118px);
  right: clamp(26px, 3vw, 48px);
}

.map-panel .map-copy {
  z-index: 16;
  left: auto;
  right: clamp(48px, 5.4vw, 86px);
  top: clamp(148px, 18vh, 178px);
  bottom: auto;
  width: min(440px, 32vw);
  min-height: 286px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid rgba(115, 232, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(7, 22, 31, 0.88), rgba(2, 7, 11, 0.78)),
    radial-gradient(circle at 16% 0, rgba(115, 232, 255, 0.1), transparent 48%);
  clip-path: none;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.52),
    inset 0 0 70px rgba(115, 232, 255, 0.035);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.map-panel .map-copy::before {
  display: none;
}

.map-panel .map-copy > p:first-child {
  color: rgba(244, 249, 255, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.42em;
}

.map-panel .map-copy h2 {
  margin: 22px 0 18px;
  color: #f6fbff;
  font-family: "Inter", "IBM Plex Mono", sans-serif;
  font-size: clamp(1.55rem, 2.35vw, 2.45rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow:
    0 14px 34px rgba(0, 0, 0, 0.84),
    0 0 24px rgba(115, 232, 255, 0.12);
}

.map-panel #worldText {
  max-width: none;
  color: rgba(229, 239, 244, 0.84);
  font-family: "Inter", "IBM Plex Mono", sans-serif;
  font-size: clamp(0.95rem, 1.06vw, 1.08rem);
  line-height: 1.72;
  margin: 0;
}

.map-signal {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  color: #ff7768;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.map-signal i {
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #ff7768, transparent);
  opacity: 0.72;
}

.map-panel .map-copy strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 20px;
  background: rgba(238, 248, 255, 0.94);
  padding: 0 15px;
  color: #061017;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-panel .world-orbit {
  left: clamp(24px, 2.8vw, 42px);
  right: clamp(24px, 2.8vw, 42px);
  top: clamp(130px, 15vh, 152px);
  bottom: clamp(44px, 6vh, 62px);
  z-index: 13;
  filter: none;
  transform: none;
  pointer-events: none;
}

.map-panel .world-network,
.map-panel .atlas-core,
.map-panel .atlas-readout,
.map-panel .ontology-chip,
.map-panel .world-preview {
  display: none;
}

.map-panel .world-orbit::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(115, 232, 255, 0.38), transparent 15%) left top / 190px 1px no-repeat,
    linear-gradient(180deg, rgba(115, 232, 255, 0.34), transparent 18%) left top / 1px 160px no-repeat,
    linear-gradient(270deg, rgba(115, 232, 255, 0.24), transparent 15%) right bottom / 190px 1px no-repeat,
    linear-gradient(0deg, rgba(115, 232, 255, 0.24), transparent 18%) right bottom / 1px 160px no-repeat;
  opacity: 0.76;
}

.map-panel .world-point {
  width: 86px;
  height: 86px;
  color: transparent;
  pointer-events: auto;
}

.map-panel .world-point span,
.map-panel .world-point small,
.map-panel .world-point b {
  opacity: 0;
  pointer-events: none;
}

.map-panel .world-point::before {
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(244, 252, 255, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle, var(--world-accent, rgba(115, 232, 255, 0.9)) 0 8px, transparent 9px),
    radial-gradient(circle, rgba(2, 8, 12, 0.92), rgba(2, 8, 12, 0.88) 62%, transparent 64%);
  border: 1px solid color-mix(in srgb, var(--world-accent, #73e8ff) 72%, #fff);
  box-shadow:
    0 0 22px color-mix(in srgb, var(--world-accent, #73e8ff) 66%, transparent),
    0 0 58px color-mix(in srgb, var(--world-accent, #73e8ff) 24%, transparent);
}

.map-panel .world-point::after {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-color: color-mix(in srgb, var(--world-accent, #73e8ff) 46%, transparent);
  opacity: 0.7;
}

.map-panel .world-point:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.map-panel .world-point.active::before {
  animation: planetLock 980ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.map-panel .world-point.active::after {
  border-color: color-mix(in srgb, var(--world-accent, #73e8ff) 78%, #fff);
  box-shadow:
    0 0 26px color-mix(in srgb, var(--world-accent, #73e8ff) 46%, transparent),
    inset 0 0 22px rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .map-panel-title {
    top: 92px;
    left: 18px;
  }

  .map-panel .panel-image,
  .map-panel .panel-shade,
  .map-panel .world-orbit {
    inset: 124px 14px 300px;
  }

  .map-panel .map-copy {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 88px;
    width: auto;
    min-height: 0;
    padding: 20px;
  }

  .map-panel .map-copy h2 {
    margin: 14px 0 10px;
    font-size: 1.7rem;
  }

  .map-panel #worldText {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .map-signal {
    margin-top: 14px;
    font-size: 0.58rem;
  }

  .map-panel .map-copy strong {
    min-height: 32px;
    margin-top: 12px;
    font-size: 0.55rem;
  }

  .map-panel .world-point {
    width: 54px;
    height: 54px;
  }

  .map-panel .world-point::before {
    width: 16px;
    height: 16px;
  }

  .map-panel .world-point::after {
    width: 42px;
    height: 42px;
  }
}

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

  .stage-video {
    transform: scale(1.045);
  }

  .ops-stream {
    animation: none;
  }
}
