/* Originium visual grammar — derived from Arknights ops-terminal tokens,
   not a clone of Hypergryph chrome. Single accent, hard edges, no radius. */
:root {
  --ak-black: #000000;
  --ak-panel: #1d252e;
  --ak-cyan: #2ca6cf;
  --ak-white: #ffffff;
  --ak-grey: #8a9199;
  --ak-warn: #d7e022;
  --ink: var(--ak-white);
  --mute: var(--ak-grey);
  --nav-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html.deck,
html.deck body {
  height: 100%;
  overflow: hidden;
}
html.deck .nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
}
html.deck .tape {
  position: fixed;
  top: calc(var(--nav-h) + var(--safe-top)); left: 0; right: 0;
  z-index: 39;
}
html.deck .menu {
  position: fixed;
  top: calc(var(--nav-h) + var(--safe-top)); left: 0; right: 0;
  z-index: 41;
}
/* Full-bleed snaps. Tape is a 1px hairline — do not reserve 26px. */
html.deck .deck-root {
  margin-top: 0;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;
}
html.deck .deck-root .hero,
html.deck .deck-root .op-stage,
html.deck .deck-root .sec {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100%;
  height: 100%;
  max-height: none;
  box-sizing: border-box;
}
html.deck .deck-root .sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--safe-top) + 16px);
}
html.deck .deck-root .sec.notice {
  justify-content: stretch;
  padding-bottom: 0;
}
html.deck .deck-root .sec.world {
  justify-content: stretch;
  overflow: hidden;
}
html.deck .op-hud { top: calc(var(--nav-h) + var(--safe-top) + 16px); }
html.deck .op-file { padding-top: calc(var(--nav-h) + var(--safe-top) + 36px); }
html.deck #theater {
  justify-content: flex-start;
  overflow: hidden;
  padding-bottom: 12px;
}
html.deck #theater .lede { display: none; }
html.deck #theater .head { margin-bottom: 6px; }
html.deck .map-wrap {
  height: clamp(180px, 28dvh, 280px);
  aspect-ratio: auto;
  margin: 4px 0 8px;
}
html.deck .c-lab { font-size: 16px; }
html.deck .c-lab.client { font-size: 15px; }
html.deck .theaters { margin-top: 8px; }
html.deck .th { padding: 12px 14px; min-height: 0; }
html.deck .th dl { display: none; }
html.deck .clients article { padding: 8px 12px; }

body.booting { overflow: hidden; }
.boot {
  position: fixed; inset: 0; z-index: 90;
  background: #000; display: grid; place-items: center;
  transition: opacity .35s ease, visibility .35s ease;
}
.boot.off { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { text-align: center; width: min(420px, 86vw); }
.boot-mark { width: 72px; height: auto; margin: 0 auto 16px; opacity: .85; }
.boot-title { font-size: 42px; letter-spacing: .18em; }
.boot-line { margin-top: 10px; color: var(--ak-cyan); font-size: 12px; min-height: 1.4em; }
.boot-bar { margin: 18px auto 0; height: 3px; background: #161c22; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--ak-cyan); }
.boot-skip { margin-top: 12px; font-size: 10px; letter-spacing: .18em; color: var(--ak-grey); }
body {
  background: var(--ak-black);
  color: var(--ak-white);
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mono { font-family: "Share Tech Mono", ui-monospace, monospace; }
.en { font-family: Oswald, sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.zh { font-family: "Noto Sans SC", sans-serif; font-weight: 400; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: stretch; justify-content: space-between;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  background: #000;
  border-bottom: 1px solid #161c22;
}
.brand {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 28px; border-right: 1px solid #161c22; min-width: 200px;
}
.brand .en { font-size: 20px; line-height: 1; }
.brand .zh { font-size: 11px; color: var(--ak-grey); margin-top: 4px; }
.nav-items { display: flex; align-items: stretch; flex: 1; }
.nav-items a {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 22px; border-right: 1px solid rgba(22,28,34,.9); min-width: 108px;
  position: relative;
}
.nav-items a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: var(--ak-cyan);
}
.nav-items a .en { font-size: 13px; }
.nav-items a .zh { font-size: 10px; color: var(--ak-grey); margin-top: 3px; }
.nav-items a.active { background: transparent; }
.nav-items a.active .en { color: var(--ak-cyan); }
.nav-items a.active .zh { color: var(--ak-cyan); }
.nav-meta {
  display: flex; align-items: center; gap: 18px;
  padding: 0 24px; font-size: 11px; color: var(--ak-grey);
}
.menu-btn {
  display: none; background: transparent; border: 1px solid rgba(44,166,207,.4);
  color: var(--ak-cyan); padding: 6px 10px; cursor: pointer;
}
.menu {
  display: none; position: sticky; top: calc(var(--nav-h) + var(--safe-top)); z-index: 39;
  background: rgba(0,0,0,.88); border-bottom: 1px solid #161c22;
}
.menu a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 20px; border-top: 1px solid #161c22;
}
.menu a .en { font-size: 14px; }
.menu a .zh { font-size: 11px; color: var(--ak-grey); }
.menu:not([hidden]) { display: block; }
.nav-meta .live {
  color: var(--ak-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-meta .live i {
  width: 7px; height: 7px; background: var(--ak-cyan);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(44,166,207,.8);
  animation: live-ping 1.8s ease-out infinite;
}
@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(44,166,207,.7); }
  70% { box-shadow: 0 0 0 8px rgba(44,166,207,0); }
  100% { box-shadow: 0 0 0 0 rgba(44,166,207,0); }
}
#utc-clock { min-width: 17ch; text-align: right; }

.tape {
  height: 1px; overflow: hidden;
  border: 0;
  background: rgba(44,166,207,.35);
}
.tape.hairline { height: 1px; }
.tape-track { display: none; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 720px; height: 100vh;
  display: grid; grid-template-columns: 1fr 168px;
}
.hero-stage { position: relative; overflow: hidden; min-height: 0; background: #000; }
.hero-still {
  position: absolute; inset: 0; z-index: 0;
  background: #000; overflow: hidden;
}
.hero-still::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 72% 42%, rgba(44,166,207,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(20,28,40,.55) 0%, transparent 70%),
    linear-gradient(135deg, #06090f 0%, #0a0e16 55%, #06090f 100%);
}
.hero-still img {
  position: absolute;
  right: clamp(-24px, -1.25vw, -8px);
  bottom: 0;
  /* One dimension owns the scale. Avoid the old height + max-width conflict,
     which distorted the replaced-element box and made zoom levels drift. */
  height: min(96dvh, 66vw);
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(.92) contrast(1.04) drop-shadow(0 0 50px rgba(44,166,207,.12));
}
.hero-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0, rgba(0,0,0,.15) 28%, transparent 48%, rgba(0,0,0,.15) 100%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0, transparent 18%, transparent 72%, rgba(0,0,0,.5) 100%);
}
.fx {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; width: 100%; height: 100%;
}
.scanlines {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.028) 0,
    rgba(255,255,255,.028) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}
.scanlines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(44,166,207,.07), transparent);
  animation: sweep 7.5s linear infinite;
}
@keyframes sweep {
  from { top: -20%; }
  to { top: 110%; }
}
.mega {
  position: absolute; left: -6vw; bottom: 8%;
  font-size: clamp(160px, 28vw, 420px);
  line-height: .72; color: rgba(255,255,255,.10);
  white-space: nowrap; letter-spacing: -.04em;
  pointer-events: none; user-select: none; z-index: 2;
  will-change: transform;
}
.hero-copy {
  position: absolute; left: 36px; bottom: 56px; z-index: 4; max-width: 460px;
}
.hero-lockup .en {
  font-size: clamp(42px, 6vw, 72px); line-height: .86; letter-spacing: .08em;
}
.hero-lockup .zh {
  font-size: 14px; color: var(--ak-grey); margin-top: 8px; letter-spacing: .28em;
}
.hero-copy .kicker {
  font-size: 12px; color: var(--ak-cyan); margin: 14px 0 8px;
}
.hero-copy .sub {
  margin-top: 8px; font-size: 13px; color: var(--ak-grey); max-width: 380px;
}
.cyan-slash {
  position: absolute; right: 0; top: 0; bottom: 0; width: clamp(18px, 2vw, 38px);
  background: var(--ak-cyan); z-index: 2; overflow: hidden;
}
.slash-beam {
  position: absolute; left: 0; right: 0; height: 28%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.45), transparent);
  animation: slash 3.6s ease-in-out infinite;
}
@keyframes slash {
  0%, 100% { top: -30%; }
  50% { top: 90%; }
}
.grid-tex {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(44,166,207,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,166,207,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 70%, #000 20%, transparent 70%);
}
.rail {
  background: #0a0d11;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 88px 10px 28px; gap: 10px;
}
.rail-top { font-size: 11px; color: var(--ak-grey); }
.rail-top .en { color: #fff; font-size: 16px; display: block; margin-bottom: 6px; }
.rail-top dl { margin-top: 14px; }
.rail-top dt { font-family: "Share Tech Mono", monospace; font-size: 10px; color: var(--ak-cyan); }
.rail-top dd { margin: 0 0 10px; font-size: 12px; }
.rail-btns { display: flex; flex-direction: column; gap: 10px; }
.btn {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 14px;
  background: #141a20; color: #fff; border: 0;
  font: 700 13px Oswald, sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
.btn i {
  width: 18px; height: 18px; display: grid; place-items: center;
  font-style: normal; font-family: "Share Tech Mono", monospace; font-size: 12px;
  color: var(--ak-cyan);
}
.btn.cyan { background: var(--ak-cyan); color: #000; }
.btn.cyan i { color: #000; }
.btn.warn { background: var(--ak-warn); color: #000; }
.btn.warn i { color: #000; }
.btn:hover { filter: brightness(1.12); }

/* pointer hover — hard-edge lift, no glow */
@media (hover: hover) and (pointer: fine) {
  .cell, .th, .clients article, .lex, .panel, .notice-tile, .btn, .op-thumb, .pager {
    transition: transform .18s ease, filter .18s ease, background .18s ease, outline-color .18s ease;
  }
  .nav-items a {
    transition: background .16s ease, color .16s ease;
  }
  .nav-items a::after { transition: height .16s ease; }
  .nav-items a:hover:not(.active) {
    background: transparent;
  }
  .nav-items a:hover:not(.active) .en { color: var(--ak-cyan); }
  .world-term:hover .zh { color: #fff; }
  .op-thumb:hover:not(.active) { background: #0d141a; transform: none; }
  .nav-items a:hover:not(.active)::after { height: 3px; }
  .cell:hover, .th:hover, .clients article:hover, .lex:hover, .panel:hover, .notice-tile:hover {
    transform: translateY(-7px);
    outline: 1px solid var(--ak-cyan);
    z-index: 2;
  }
  .cell.span:hover { outline-color: #000; }
  .notice-tile.warn:hover, .lex.warn:hover { outline-color: var(--ak-warn); }
  .btn:hover { transform: translateY(-3px); }
  .op-thumb:hover:not(.active) { background: #0d141a; transform: translateY(-2px); }
  .op-tab:hover:not(.on) { background: rgba(44,166,207,.14); color: #fff; }
  .pager:hover { transform: translateY(-4px); }
  .pager-dot:hover { background: #fff; }
  .menu a:hover { background: rgba(44,166,207,.14); }
}

.scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .28em; color: var(--ak-grey); z-index: 4;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: .55; }
  50% { transform: translate(-50%, 5px); opacity: 1; }
}
.pulse-ok { color: var(--ak-cyan); font-style: normal; }
.pulse-wait { color: var(--ak-warn); font-style: normal; }
.kicker { min-height: 1.2em; }
.kicker::after {
  content: "▌"; color: var(--ak-cyan);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* sections */
.sec { position: relative; padding: 72px 180px 80px 36px; }
.sec + .sec { border-top: 1px solid #161c22; }
.idx {
  position: absolute; right: 24px; top: 16px;
  font-size: 96px; font-family: Oswald, sans-serif; font-weight: 700;
  color: rgba(255,255,255,.06); line-height: 1; pointer-events: none;
}
.head { margin-bottom: 28px; }
.head .hud {
  font-size: 12px; color: var(--ak-cyan); margin-bottom: 6px;
}
.head h2 {
  font-family: Oswald, sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: .06em; text-transform: uppercase;
}
.head .zh-ann { font-size: 13px; color: var(--ak-grey); margin-top: 6px; }

.lede { max-width: 68ch; color: #c5cbd1; font-size: 15px; font-weight: 300; }

/* constructivist capability board — unequal blocks, not 3 equal cards */
.board {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}
.cell {
  position: relative; background: var(--ak-panel); padding: 22px 22px 20px;
  min-height: 160px;
}
.cell.span { grid-row: 1 / span 2; background: var(--ak-cyan); color: #000; }
.cell.span .code, .cell.span p, .cell.span .zh-ann { color: #04222c; }
.cell .code {
  font-family: Oswald, sans-serif; font-weight: 700;
  font-size: 28px; letter-spacing: .06em; text-transform: uppercase;
}
.cell .zh-ann { display: block; font-size: 12px; color: var(--ak-grey); margin: 4px 0 12px; }
.cell p { font-size: 13px; color: #c5cbd1; font-weight: 300; }
.tick { position: absolute; top: 8px; left: 8px; width: 10px; height: 10px;
  border-top: 2px solid var(--ak-cyan); border-left: 2px solid var(--ak-cyan); }
.cell.span .tick { border-color: #000; }

html.js [data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js [data-reveal].in { opacity: 1; transform: none; }

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 360;
  height: auto;
  flex: 0 0 auto;
  margin: 8px 0 16px;
  background: #05080b;
  overflow: hidden;
}
.map-scroller {
  width: 100%; height: 100%;
  overflow: hidden;
}
.map-legend {
  position: absolute; left: 12px; bottom: 8px; z-index: 2;
  font-size: 10px; letter-spacing: .2em; color: var(--ak-grey);
}
.constellation {
  display: block; width: 100%; height: 100%;
}
.c-link {
  stroke: var(--ak-cyan); stroke-width: 1.25; fill: none;
  stroke-dasharray: 8 6;
  animation: dash 8s linear infinite;
}
.c-ring { fill: none; stroke-width: 1.4; }
.c-ring.live { stroke: var(--ak-cyan); }
.c-ring.wait { stroke: var(--ak-warn); opacity: .55; }
.c-pulse {
  fill: none; stroke: var(--ak-cyan); stroke-width: 1.2;
  transform-box: fill-box; transform-origin: center;
  animation: pulse-scale 2.4s ease-out infinite;
}
.c-dot.live { fill: var(--ak-cyan); }
.c-dot.wait { fill: var(--ak-warn); }
.c-lab {
  fill: var(--ak-grey); font-size: 12px;
  font-family: "Share Tech Mono", monospace;
  text-anchor: middle;
}
.c-link.client { stroke-width: 1; opacity: .55; }
.c-client { fill: var(--ak-cyan); }
.c-lab.client { font-size: 11px; fill: #c5cbd1; }
.c-pulse.client { stroke-width: 1; }
@keyframes dash { to { stroke-dashoffset: -56; } }
@keyframes pulse-scale {
  0% { transform: scale(1); opacity: .85; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* theater */
.theaters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px;
}
.clients {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 8px;
}
.clients article {
  background: #0a0d11; border: 1px solid #161c22; padding: 14px 16px;
}
.clients .code { font-family: Oswald, sans-serif; font-size: 20px; letter-spacing: .08em; margin-top: 6px; }
.clients .zh-ann { font-size: 12px; color: var(--ak-grey); margin-top: 2px; }
.th {
  background: var(--ak-panel); padding: 22px; min-height: 180px; position: relative;
}
.th .code { font-family: Oswald, sans-serif; font-size: 32px; letter-spacing: .08em; }
.th .zh-ann { font-size: 12px; color: var(--ak-grey); margin: 4px 0 16px; }
.pill {
  display: inline-block; font-family: "Share Tech Mono", monospace;
  font-size: 11px; padding: 3px 8px; background: #000; color: var(--ak-cyan);
}
.pill.wait { color: var(--ak-warn); }
.th dl { margin-top: 16px; font-size: 12px; color: #c5cbd1; }
.th dt { font-family: "Share Tech Mono", monospace; color: var(--ak-grey); font-size: 10px; }
.th dd { margin: 0 0 8px; }

/* table */
.table-scroll {
  width: 100%; max-width: 100%; overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
  scrollbar-width: thin;
}
.table-scroll:focus-visible { outline: 1px solid var(--ak-cyan); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; margin-top: 0; font-size: 13px; }
th {
  text-align: left; font-family: "Share Tech Mono", monospace; font-weight: 400;
  font-size: 11px; color: var(--ak-cyan); border-bottom: 1px solid #2a333c;
  padding: 8px 10px;
}
td { padding: 9px 10px; border-bottom: 1px solid #161c22; color: #d5dbe0; font-weight: 300; }
td .en { font-size: 13px; }

/* boundary */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.panel { background: var(--ak-panel); padding: 24px; position: relative; }
.panel h3 {
  font-family: Oswald, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  font-size: 18px; margin-bottom: 10px;
}
.panel ul { padding-left: 0; list-style: none; }
.panel li { font-size: 13px; color: #c5cbd1; font-weight: 300; padding: 6px 0; border-bottom: 1px solid #161c22; }
.panel li::before { content: "// "; color: var(--ak-cyan); font-family: "Share Tech Mono", monospace; }

/* footer */
footer {
  border-top: 1px solid #161c22; padding: 22px 36px 28px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 11px; color: var(--ak-grey);
}
footer a:hover { color: #fff; }

.sign {
  margin-top: 28px; display: flex; justify-content: space-between; align-items: flex-end;
}
.sign .who { font-family: Oswald, sans-serif; font-size: 28px; letter-spacing: .12em; }
.sign .meta { font-size: 11px; color: var(--ak-grey); text-align: right; }

.notice {
  overflow: hidden;
}
.notice-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.notice-board {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 8px 0 18px;
}
.notice-tile {
  position: relative;
  background: rgba(29,37,46,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px 20px 16px;
  min-height: 148px;
}
.notice-tile .code {
  font-family: Oswald, sans-serif; font-weight: 700;
  font-size: 24px; letter-spacing: .06em;
}
.notice-tile .zh-ann { display: block; font-size: 12px; color: var(--ak-grey); margin: 4px 0 10px; }
.notice-tile p { font-size: 13px; color: #c5cbd1; font-weight: 300; }
.notice-tile.warn { background: rgba(215,224,34,.92); color: #000; }
.notice-tile.warn .zh-ann, .notice-tile.warn p { color: #2a2e08; }
.notice-tile.warn .tick { border-color: #000; }
.notice-warn { margin-top: 14px; }
.notice footer { margin-top: auto; }

.warn-line {
  display: inline-block; background: var(--ak-warn); color: #000;
  font-family: "Share Tech Mono", monospace; font-size: 11px; padding: 3px 8px;
}

/* operator dossier — official left FILE + center figure */
.op-stage {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  grid-template-rows: 1fr 148px;
  background: #05080b;
  border-bottom: 1px solid #161c22;
}
.op-hud {
  position: absolute; left: 28px; top: 18px; z-index: 6;
  font-size: 12px; letter-spacing: .22em; color: var(--ak-cyan);
  display: flex; align-items: center; gap: 10px;
}
.op-mark { height: 22px; width: auto; display: block; }
.op-mega {
  position: absolute; left: 18%; top: 18%; right: 0; z-index: 1;
  font-size: clamp(96px, 16vw, 240px); line-height: .78;
  color: rgba(255,255,255,.08); letter-spacing: -.03em;
  pointer-events: none; white-space: nowrap;
}
.op-file {
  position: relative; z-index: 4; grid-column: 1; grid-row: 1;
  padding: 88px 22px 16px 28px;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 92%, transparent);
}
.op-art {
  position: relative; z-index: 3; grid-column: 2; grid-row: 1;
  display: grid; place-items: end center;
  min-height: 0; margin: 0;
}
.op-art img {
  height: min(82vh, 720px); width: auto; max-width: none;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.45));
}
.op-en { font-size: clamp(32px, 3.4vw, 48px); line-height: .9; }
.op-cn { font-size: 16px; color: var(--ak-grey); margin-top: 6px; }
.op-faction {
  margin-top: 14px; font-size: 11px; letter-spacing: .18em; color: var(--ak-cyan);
  border-top: 1px solid #2a333c; padding-top: 10px;
}
.op-tabs { display: flex; gap: 0; margin-top: 14px; }
.op-tab {
  flex: 1; height: 44px; border: 1px solid #161c22; background: transparent;
  color: var(--ak-grey); font: 700 12px Oswald, sans-serif; letter-spacing: .12em;
  cursor: pointer;
}
.op-tab.on { background: var(--ak-cyan); color: #000; border-color: var(--ak-cyan); }
.op-pane[hidden] { display: none; }
.op-file-note { margin-top: 10px; font-size: 11px; color: var(--ak-grey); letter-spacing: .08em; }
.op-stats { margin-top: 16px; }
.op-stats dt {
  font-family: "Share Tech Mono", monospace; font-size: 10px; color: var(--ak-cyan);
}
.op-stats dd { font-size: 13px; color: #d5dbe0; margin: 0 0 10px; font-weight: 300; }
.op-voice {
  display: flex; justify-content: space-between; align-items: center;
  margin: 18px 0 10px; font-size: 11px; letter-spacing: .16em; color: var(--ak-grey);
}
.op-voice b { color: var(--ak-cyan); font-weight: 400; }
.op-bio {
  font-size: 13px; font-weight: 300; color: #c5cbd1; line-height: 1.7;
  white-space: pre-line;
}
.op-strip {
  grid-column: 1 / -1; grid-row: 2; z-index: 5;
  display: flex; flex-direction: column; background: #000;
  border-top: 1px solid #161c22;
}
.op-thumbs {
  display: flex; flex: 1; min-height: 0;
}
.op-thumb {
  flex: 0 0 168px; display: flex; flex-direction: column;
  padding: 0; background: transparent; border: 0; border-right: 1px solid #161c22;
  color: inherit; cursor: pointer; text-align: left;
}
.op-thumb img {
  height: 88px; width: 100%; object-fit: cover; object-position: 50% 12%;
  background: #0a0d11;
}
.op-thumb span { padding: 6px 10px 8px; }
.op-thumb .t-en { font-family: Oswald, sans-serif; font-size: 14px; letter-spacing: .08em; }
.op-thumb .t-zh { font-size: 11px; color: var(--ak-grey); }
.op-thumb.active { outline: 1px solid #fff; outline-offset: -1px; }
.op-bar {
  height: 3px; background: #161c22; position: relative; z-index: 2;
}
.op-bar i {
  display: block; height: 100%; width: 33.333%; background: #fff;
  transition: width .25s ease, margin-left .25s ease;
}

.planes {
  margin-top: 28px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 8px;
}
.plane { background: var(--ak-panel); padding: 22px; position: relative; }
.plane.cyan { background: var(--ak-cyan); color: #000; }
.plane .code {
  font-family: Oswald, sans-serif; font-size: 28px; letter-spacing: .08em;
}
.plane .zh-ann { font-size: 12px; color: var(--ak-grey); margin: 4px 0 12px; }
.plane.cyan .zh-ann, .plane.cyan p { color: #04222c; }
.plane p { font-size: 13px; color: #c5cbd1; font-weight: 300; }
.arch-flow {
  margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .12em; color: var(--ak-grey);
}
.arch-flow div {
  background: #0a0d11; border: 1px solid #161c22; padding: 10px 14px; min-width: 120px;
}
.arch-flow span { display: block; color: var(--ak-cyan); margin-top: 4px; font-size: 10px; }
.arch-flow i { font-style: normal; color: var(--ak-cyan); }
.subh {
  margin: 32px 0 10px;
  font-family: Oswald, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  font-size: 18px;
}

#reticle {
  display: none; position: fixed; top: 0; left: 0; z-index: 80;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  pointer-events: none; border: 1px solid var(--ak-cyan);
}
#reticle::before, #reticle::after {
  content: ""; position: absolute; background: var(--ak-cyan);
}
#reticle::before { left: 50%; top: -4px; bottom: -4px; width: 1px; transform: translateX(-50%); }
#reticle::after { top: 50%; left: -4px; right: -4px; height: 1px; transform: translateY(-50%); }
body.has-reticle { cursor: none; }
body.has-reticle a, body.has-reticle button { cursor: none; }
#reticle.on { display: block; }

.glass-veil {
  pointer-events: none; position: fixed; inset: 0; z-index: 3;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), transparent 18%, transparent 82%, rgba(0,0,0,.28)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.015) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}
.pager {
  position: fixed; right: 24px; top: 88px; z-index: 45;
  width: auto; padding: 0;
  background: transparent;
  border: 0;
  text-align: right;
  pointer-events: none;
}
.pager-frac { font-size: 12px; color: var(--ak-cyan); }
.pager-name .en { display: block; font-size: 18px; margin-top: 4px; letter-spacing: .12em; }
.pager-name .zh { font-size: 11px; color: var(--ak-grey); }
.pager-dots {
  display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px;
  pointer-events: auto;
}
.pager-dot {
  width: 7px; height: 7px; background: #2a333c; border: 0; padding: 0; cursor: pointer;
}
.pager-dot.on { background: var(--ak-cyan); }

.glass {
  background: rgba(13,18,24,.46);
  border: 1px solid rgba(44,166,207,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cell, .th, .panel, .clients article {
  background: rgba(29,37,46,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cell.span { background: rgba(44,166,207,.92); }
.cell, .th, .clients article { cursor: pointer; }
.cell.is-on { outline: 1px solid var(--ak-cyan); }
.th.is-on, .clients article.is-on { outline: 1px solid var(--ak-cyan); }

.mod-console { margin-top: 12px; padding: 14px 16px 12px; }
.mod-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--ak-grey); }
.mod-head span:last-child { color: var(--ak-cyan); }
.spark { display: block; width: 100%; height: 88px; margin-top: 8px; }
.mod-note { font-size: 13px; color: #c5cbd1; font-weight: 300; margin-top: 8px; }

.map-card {
  position: absolute; right: 12px; top: 12px; z-index: 4;
  width: min(240px, 42%); padding: 12px 14px;
}
.map-card[hidden] { display: none; }
.map-card .mono { font-size: 16px; color: var(--ak-cyan); }
.map-card p { font-size: 12px; color: #c5cbd1; font-weight: 300; margin-top: 8px; }

.plane-viz { margin: 8px 0 18px; padding: 8px 10px 6px; }
.plane-viz svg { display: block; width: 100%; height: 160px; }
.plane-legend { font-size: 10px; letter-spacing: .16em; color: var(--ak-grey); padding: 4px 6px 6px; }
.c-hit { cursor: pointer; }

.lexicon { display: none; }
.world {
  position: relative;
}
.world-mega {
  position: absolute; left: -2vw; bottom: 4%;
  font-size: clamp(96px, 18vw, 260px); line-height: .78;
  color: rgba(255,255,255,.07); letter-spacing: -.03em;
  pointer-events: none; z-index: 0;
}
.world-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(44,166,207,.28) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent 8%, #000 38%, #000 78%, transparent);
  opacity: .55;
}
.world-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  gap: 40px;
  align-items: center;
  min-height: 0;
  flex: 1;
}
.world-list { display: flex; flex-direction: column; }
.world-term {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding: 14px 4px;
  background: transparent; border: 0; border-bottom: 1px solid #161c22;
  color: inherit; cursor: pointer; text-align: left;
}
.world-term .zh { font-size: 22px; font-weight: 400; }
.world-term .en {
  font-size: 12px; color: var(--ak-grey); letter-spacing: .14em;
}
.world-term.on .zh,
.world-term.on .en { color: var(--ak-cyan); }
.world-pane { position: relative; min-height: 280px; padding-left: 12px; }
.world-mark {
  width: min(280px, 46%);
  margin: 0 0 28px auto;
  opacity: .78;
  filter: grayscale(1) brightness(1.4);
}
.world-mark img { width: 100%; height: auto; }
.world-kicker { font-size: 12px; color: var(--ak-cyan); margin-bottom: 8px; }
.world-pane h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: .06em; }
.world-pane .zh-ann { margin-top: 8px; }
.world-pane .lede { margin-top: 16px; max-width: 46ch; }
.lex {
  text-align: left; padding: 16px 18px; cursor: pointer;
  background: rgba(13,18,24,.46); border: 1px solid rgba(44,166,207,.28);
  color: inherit;
}
.lex .en { display: block; font-size: 20px; }
.lex .zh { display: block; font-size: 12px; color: var(--ak-grey); margin-top: 4px; }
.lex.warn { border-color: var(--ak-warn); }
.lex.warn .en { color: var(--ak-warn); }
.overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,.62);
  display: grid; place-items: center; padding: 24px;
}
.overlay[hidden] { display: none; }
.overlay-card { width: min(520px, 92vw); padding: 28px 28px 22px; }
.overlay-kicker { font-size: 11px; color: var(--ak-cyan); }
.overlay-card h3 { font-size: 32px; margin: 8px 0 6px; }
.overlay-card p { font-size: 14px; font-weight: 300; color: #c5cbd1; margin-top: 10px; }
.overlay-card .btn { margin-top: 18px; width: max-content; }

/* Compact desktop / browser zoom: preserve the snap deck but reclaim chrome. */
@media (min-width: 961px) and (max-width: 1180px) {
  #utc-clock { display: none; }
  .brand { min-width: 168px; padding-inline: 20px; }
  .nav-items a { min-width: 88px; padding-inline: 14px; }
  .nav-meta { padding-inline: 14px; }
  .hero { grid-template-columns: 1fr 144px; }
  .cyan-slash { right: 0; }
  .rail { padding-inline: 8px; }
  .sec { padding-right: 148px; }
}

/* Flow mode: tablets, phones, landscape devices, and heavily zoomed windows. */
@media (max-width: 960px), (max-height: 680px), (pointer: coarse), (hover: none) {
  :root { --nav-h: 64px; }
  html {
    scroll-padding-top: calc(var(--nav-h) + var(--safe-top) + 12px);
  }

  html.deck,
  html.deck body { height: auto; overflow: visible; }
  html.deck .nav { position: sticky; }
  html.deck .tape { position: static; }
  html.deck .menu {
    position: fixed;
    top: calc(var(--nav-h) + var(--safe-top));
  }
  html.deck .deck-root {
    margin-top: 0;
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }
  html.deck .deck-root .hero,
  html.deck .deck-root .op-stage,
  html.deck .deck-root .sec {
    min-height: 0;
    height: auto;
    max-height: none;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  html.deck .deck-root .sec,
  html.deck .deck-root .sec.notice,
  html.deck .deck-root .sec.world {
    display: block;
    justify-content: initial;
    overflow: visible;
    padding-top: 64px;
  }
  html.deck #theater { overflow: visible; }

  .nav-items { display: none; }
  #utc-clock { display: none; }
  .brand {
    min-width: 0;
    padding-inline: 20px;
    flex: 0 1 auto;
  }
  .nav-meta {
    margin-left: auto;
    padding-inline: 16px;
    gap: 10px;
    min-width: 0;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    touch-action: manipulation;
  }
  .menu {
    position: fixed;
    top: calc(var(--nav-h) + var(--safe-top));
    z-index: 41;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--nav-h) - var(--safe-top));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: var(--safe-bottom);
    background: rgba(0,0,0,.96);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
  }
  .menu a {
    min-height: 50px;
    padding-inline: max(20px, var(--safe-left));
    touch-action: manipulation;
  }
  body.menu-open,
  html.deck body.menu-open { overflow: hidden !important; }

  .tape, .pager, .glass-veil { display: none; }
  body.has-reticle,
  body.has-reticle a,
  body.has-reticle button { cursor: auto; }
  #reticle { display: none !important; }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
  }
  .hero-stage {
    height: clamp(600px, 78svh, 780px);
    min-height: 600px;
  }
  .prospectus .hero-stage {
    height: clamp(360px, 52svh, 480px);
    min-height: 360px;
  }
  .prospectus .mega { left: 12px; }
  .hero-still img {
    height: clamp(520px, 70svh, 700px);
    width: auto;
    max-width: none;
    right: clamp(-180px, -12vw, -72px);
    bottom: 0;
  }
  .hero-wash {
    background:
      linear-gradient(90deg, rgba(0,0,0,.56) 0, rgba(0,0,0,.12) 42%, transparent 72%),
      linear-gradient(180deg, rgba(0,0,0,.38) 0, transparent 34%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.88) 100%);
  }
  .hero-copy { left: 24px; right: 24px; bottom: 34px; max-width: 460px; }
  .hero-lockup .en { font-size: clamp(50px, 9vw, 76px); }
  .mega { left: -4vw; bottom: 170px; font-size: clamp(108px, 24vw, 220px); }
  .cyan-slash { display: none; }
  .scroll { display: none; }
  .rail {
    display: block;
    padding: 1px 0 0;
    background: #070a0e;
  }
  .prospectus .rail-top {
    padding: 16px 24px 14px;
  }
  .prospectus .rail-top .en { margin-bottom: 0; }
  .prospectus .rail-top dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 3px 18px;
    margin-top: 8px;
  }
  .prospectus .rail-top dd { margin: 0; }
  .rail-btns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
  }
  .rail .btn {
    min-width: 0;
    height: 54px;
    justify-content: center;
    padding-inline: 10px;
    touch-action: manipulation;
  }

  .sec { padding: 64px 24px 72px; }
  .idx { top: 24px; right: 16px; font-size: 72px; }
  .head { margin-bottom: 22px; }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    margin-top: 28px;
  }
  .cell.span { grid-row: auto; grid-column: 1 / -1; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theaters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .th { min-height: 0; }

  .op-stage {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(460px, 72svh) auto;
  }
  .op-hud { top: 22px !important; left: 24px; }
  .op-file {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    padding: 66px 24px 20px !important;
    background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.92) 82%, rgba(0,0,0,.2) 100%);
  }
  .op-art {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 460px;
    overflow: hidden;
  }
  .op-art img {
    height: min(72svh, 680px);
    width: auto;
    max-width: none;
  }
  .op-mega { top: auto; bottom: 164px; left: 16px; font-size: clamp(72px, 18vw, 150px); }
  .op-strip { grid-column: 1; grid-row: 3; width: 100%; min-width: 0; }
  .op-thumbs {
    flex-wrap: nowrap;
    height: 128px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .op-thumb { flex: 0 0 180px; scroll-snap-align: start; }

  .world-layout { grid-template-columns: 1fr; gap: 30px; }
  .world-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .world-term {
    flex: 0 0 170px;
    min-height: 72px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 12px 10px;
    border-right: 1px solid #161c22;
    scroll-snap-align: start;
  }
  .world-pane { min-height: 260px; padding-left: 0; }
  .world-mark { width: min(210px, 38%); margin-bottom: 18px; }

  .table-scroll table { min-width: 620px; }

  .sign { flex-wrap: wrap; gap: 20px; }
}

/* Phone layout: a vertical reading flow with large touch targets. */
@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  .brand { padding-inline: 16px; }
  .brand .en { font-size: 17px; }
  .brand .zh { font-size: 10px; margin-top: 3px; }
  .nav-meta { padding-inline: 10px; }
  .nav-meta .live { display: none; }
  .menu-btn { min-width: 72px; padding-inline: 10px; }

  .hero-stage {
    height: clamp(390px, calc(100svh - var(--nav-h) - var(--safe-top) - 114px), 720px);
    min-height: 390px;
  }
  .hero-still img {
    height: clamp(500px, 74svh, 660px);
    right: clamp(-100px, -20vw, -64px);
  }
  .hero-still::before {
    background:
      radial-gradient(ellipse 88% 66% at 64% 38%, rgba(44,166,207,.12) 0%, transparent 65%),
      linear-gradient(155deg, #06090f 0%, #0a0e16 62%, #05070a 100%);
  }
  .hero-wash {
    background:
      linear-gradient(180deg, rgba(0,0,0,.32) 0, transparent 32%, rgba(0,0,0,.2) 56%, rgba(0,0,0,.92) 100%);
  }
  .hero-copy { left: 16px; right: 16px; bottom: 24px; max-width: none; }
  .hero-lockup .en { font-size: clamp(44px, 15vw, 64px); letter-spacing: .05em; }
  .hero-lockup .zh { font-size: 12px; }
  .hero-copy .kicker { font-size: 10px; margin-top: 11px; }
  .hero-copy .sub { max-width: 34ch; font-size: 12px; line-height: 1.65; text-wrap: pretty; }
  .mega { left: -6vw; bottom: 168px; font-size: clamp(90px, 31vw, 132px); }
  .rail-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prospectus .rail-top { padding: 14px 16px 12px; }
  .prospectus .rail-top dl { gap-inline: 8px; }
  .prospectus .rail-top dd { font-size: 10px; overflow-wrap: anywhere; }
  .rail .btn { height: 56px; }

  .sec,
  html.deck .deck-root .sec,
  html.deck .deck-root .sec.notice,
  html.deck .deck-root .sec.world {
    padding: 52px 16px 64px;
  }
  .idx { top: 16px; right: 10px; font-size: 58px; }
  .head h2 { font-size: clamp(30px, 10vw, 42px); line-height: 1; }
  .lede { font-size: 14px; }
  .board,
  .split,
  .planes,
  .clients,
  .theaters,
  .notice-board { grid-template-columns: 1fr; }
  .cell.span { grid-column: auto; }
  .cell, .panel, .plane, .notice-tile { min-height: 0; padding: 18px; }
  .cell .code, .plane .code { font-size: 25px; }
  .clients article { padding: 12px 14px; }

  .map-wrap {
    width: 100%;
    height: 252px;
    margin-left: 0;
    aspect-ratio: auto;
    overflow: hidden;
  }
  .map-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    touch-action: pan-x;
  }
  .map-wrap::after {
    content: "DRAG MAP  ↔";
    position: absolute; left: 12px; top: 10px; z-index: 5;
    padding: 3px 7px;
    background: rgba(0,0,0,.72); color: var(--ak-cyan);
    font: 10px "Share Tech Mono", monospace;
    letter-spacing: .12em;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .map-wrap.is-panned::after { opacity: 0; }
  .constellation {
    width: 720px;
    min-width: 720px;
    height: 252px;
  }
  .c-lab { font-size: 16px; }
  .c-lab.client { font-size: 15px; }
  .map-legend {
    position: absolute;
    left: 12px;
    width: max-content;
    max-width: calc(100vw - 32px);
    letter-spacing: .08em;
  }
  .map-card { width: min(230px, calc(100vw - 32px)); }

  .op-stage { grid-template-rows: auto minmax(430px, 68svh) auto; }
  .op-hud { left: 16px; font-size: 10px; letter-spacing: .13em; }
  .op-file { padding: 62px 16px 18px !important; }
  .op-art { min-height: 430px; }
  .op-art img { height: min(68svh, 600px); max-width: none; }
  .op-en { font-size: clamp(34px, 12vw, 46px); }
  .op-mega { bottom: 150px; left: 8px; font-size: clamp(70px, 22vw, 104px); }
  .op-thumb { flex-basis: 46vw; }

  .world-list {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .world-term { flex-basis: 148px; }
  .world-term .zh { font-size: 19px; }
  .world-pane { min-height: 240px; }
  .world-mark { width: 118px; margin: 0 0 14px auto; }
  .world-pane h2 { font-size: clamp(38px, 15vw, 58px); }
  .world-mega { font-size: 38vw; }

  .table-scroll table { min-width: 560px; }
  th, td { padding-inline: 8px; }

  .warn-line { max-width: 100%; white-space: normal; line-height: 1.45; }
  .sign { align-items: flex-start; flex-direction: column; }
  .sign .meta { text-align: left; }
  footer { padding: 20px 16px calc(24px + var(--safe-bottom)); flex-direction: column; gap: 10px; }
  .overlay { padding: 16px; padding-bottom: calc(16px + var(--safe-bottom)); }
  .overlay-card { padding: 22px 20px 18px; }
  .world { overflow-x: clip !important; }
}

@media (max-width: 360px) {
  .prospectus .hero-stage { height: 300px; min-height: 300px; }
}

/* Short landscape / zoomed windows keep the action rail inside the first view. */
@media (max-height: 680px) and (orientation: landscape) and (min-width: 600px) {
  :root { --nav-h: 56px; }
  .hero-stage {
    height: max(280px, calc(100svh - var(--nav-h) - var(--safe-top) - 51px));
    min-height: 280px;
  }
  .prospectus .hero-stage {
    height: max(210px, calc(100svh - var(--nav-h) - var(--safe-top) - 101px));
    min-height: 210px;
  }
  .hero-still img { height: min(100%, 480px); right: 0; }
  .hero-copy { bottom: 14px; }
  .hero-lockup .en { font-size: 38px; }
  .hero-copy .sub { display: none; }
  .hero-copy .kicker { margin-block: 6px 0; }
  .mega { bottom: 64px; font-size: 78px; }
  .rail-btns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail .btn { height: 50px; }
  .prospectus .rail-top {
    min-height: 50px;
    padding: 5px 12px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }
  .prospectus .rail-top dl { margin: 0; gap: 1px 8px; }
  .prospectus .rail-top dt { font-size: 8px; }
  .prospectus .rail-top dd { font-size: 9px; line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .scanlines::after, .slash-beam { display: none; }
}
@media print {
  .nav-items { display: flex; }
  .cyan-slash { display: block; }
  .hero { height: 240mm; max-height: none; grid-template-columns: 1fr 62mm; }
  .board { grid-template-columns: 1.4fr 1fr 1fr; }
  .theaters { grid-template-columns: 2fr 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
}
