:root {
  --bg: #071018;
  --ink: #eef7ff;
  --dim: #b7c9d6;
  --faint: #7f97a8;
  --line: #23485c;
  --panel: #10202c;
  --copper: #3ee0ff;
  --copper-ink: #041820;
  --notice: #f4ecdf;
  --notice-ink: #241c14;
  --frame: min(1120px, calc(100% - 64px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  --min-font-size: 12px;
  --sans: "Noto Sans SC", "等线", "Microsoft YaHei UI", "微软雅黑", "PingFang SC", sans-serif;
  --serif: "Noto Serif SC Medium", "Noto Serif SC", "Source Han Serif SC", "宋体", serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "Noto Sans SC", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #060910;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
.stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #060910;
  pointer-events: none;
}
.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.bg-still { display: none; }
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.62) 0%, rgba(4, 12, 22, 0.12) 48%, rgba(4, 10, 18, 0.34) 100%),
    linear-gradient(180deg, rgba(4, 10, 18, 0.16) 0%, rgba(4, 12, 22, 0.02) 38%, rgba(4, 8, 16, 0.62) 100%);
}
a { color: var(--copper); }
a:hover { color: #bff6ff; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--copper-ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--copper);
  color: var(--copper-ink);
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(6, 14, 22, 0.78);
  border-bottom: 1px solid rgba(62, 224, 255, 0.28);
  backdrop-filter: blur(16px);
}
.bar-inner, .wrap, .frame { width: var(--frame); margin: 0 auto; }
.bar-inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.install {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--copper);
  background: transparent;
  color: var(--copper);
  cursor: pointer;
}
.install:hover { background: var(--copper); color: var(--copper-ink); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.brand::before {
  content: "";
  width: 36px;
  height: 36px;
  background: url("/favicon.svg?v=2") center / cover;
  flex: none;
}
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.12em;
  padding: 8px 12px;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: #123042; }
.nav-toggle { display: none; }

.wrap {
  margin-top: 22px;
  margin-bottom: 28px;
  padding: 8px 28px 64px;
  background: rgba(6, 14, 22, 0.74);
  border: 1px solid rgba(62, 224, 255, 0.22);
  backdrop-filter: blur(10px);
}
.hero { background: transparent; border: 0; }
.hero-grid {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: calc(100svh - 220px);
  padding: 48px 0 64px;
}
.mark { width: 56px; height: 56px; display: block; margin-bottom: 20px; }
.kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 13px;
  letter-spacing: 0.28em;
}
.hero h1,
.page-head h1,
.hall-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(64px, 8vw, 108px);
  line-height: 1.12;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.page-head h1 {
  margin: 0 0 14px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.15;
}
.lead {
  margin: 0;
  max-width: 28em;
  font-size: 20px;
  line-height: 1.75;
  color: #e7f6ff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.hero .lead + p { margin: 12px 0 0; max-width: 36em; color: var(--dim); }

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 28px;
}
.door {
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 26px 28px 22px;
  background: rgba(8, 18, 28, 0.72);
  border: 1px solid rgba(62, 224, 255, 0.32);
  backdrop-filter: blur(14px);
}
.door h2 { margin: 0; color: var(--copper); font-size: 14px; font-weight: 500; letter-spacing: 0.16em; }
.code {
  margin: 18px 0 10px;
  font-family: var(--mono);
  font-size: 40px;
  line-height: 1.2;
  color: var(--ink);
}
.door-note { margin: 0; color: var(--dim); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; padding-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  background: var(--copper);
  color: var(--copper-ink);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #9af6ff; color: var(--copper-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: #3d6478; }
.btn.ghost:hover { border-color: var(--copper); color: var(--copper); }
.btn[disabled] { opacity: 0.55; cursor: wait; }

.fine {
  grid-column: 1 / -1;
  padding: 26px 28px 10px;
  background: rgba(8, 18, 28, 0.76);
  border: 1px solid rgba(62, 224, 255, 0.32);
  backdrop-filter: blur(14px);
}
.fine h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0.06em; }
.fine-lead { margin: 0 0 16px; color: var(--dim); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.facts h3 { margin: 0 0 8px; padding-top: 10px; border-top: 2px solid var(--copper); font-size: 16px; font-weight: 500; letter-spacing: 0.08em; }
.facts p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.75; }
.fine-link { margin: 16px 0 12px; }

.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.routes a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 24px 26px;
  background: rgba(8, 18, 28, 0.72);
  border: 1px solid rgba(62, 224, 255, 0.32);
  backdrop-filter: blur(14px);
  color: var(--ink);
  text-decoration: none;
}
.routes a:hover { border-color: var(--copper); }
.routes strong { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 0.06em; }
.routes span { color: var(--dim); font-size: 16px; line-height: 1.7; }

.shots-block { padding: 32px 0 8px; }
.shots-block h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: 0.06em; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots a { color: var(--dim); text-decoration: none; font-size: 15px; line-height: 1.6; }
.shots img { display: block; width: 100%; height: 160px; object-fit: cover; background: #000; margin-bottom: 6px; }

.member-warn {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid #ff5d8f;
  background: rgba(255, 93, 143, 0.12);
  color: #ffd0de;
  font-size: 16px;
}
.page-head { padding-top: 56px; }
.page-head p { color: var(--dim); max-width: 38em; font-size: 18px; line-height: 1.75; }

.manual { display: grid; grid-template-columns: 180px 1fr; gap: 36px; padding-top: 8px; }
.toc { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 6px; }
.toc a { color: var(--dim); text-decoration: none; }
.toc a[aria-current="true"], .toc a:hover { color: var(--ink); }
.chapter { padding: 32px 0 28px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.chapter h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: 0.04em; }
.chapter p { margin: 0 0 14px; font-size: 17px; line-height: 1.85; }

.hour { list-style: none; margin: 8px 0 12px; padding: 0; border-top: 1px solid var(--line); }
.hour li { border-bottom: 1px solid var(--line); }
.hour label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.hour input, .check input, .consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--copper); flex: none; }
.hour label:has(input:checked) span { color: var(--faint); text-decoration: line-through; }
.progress { color: var(--copper); }

h2 { font-weight: 500; line-height: 1.35; }
.split { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.split .door + p { margin: 14px 0 0; color: var(--dim); }
#order { padding: 8px 22px 18px; background: rgba(8, 18, 28, 0.55); border: 1px solid rgba(62, 224, 255, 0.32); }
.fields { display: grid; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; color: var(--dim); font-size: 16px; }
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0b1520;
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { color: var(--dim); font-size: 16px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check {
  flex-direction: row;
  align-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 10px;
}
.check:has(input:checked) { border-color: var(--copper); }
.consent { flex-direction: row; align-items: flex-start; color: var(--dim); }
.form-error { color: #e08a72; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ticket { font-family: var(--mono); font-size: 28px; margin: 8px 0; }

.bay { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.drop {
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 12px;
  border: 1px dashed var(--line);
  background: #0b1520 center / cover no-repeat;
  cursor: pointer;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop small, .meta { color: var(--faint); font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.filters button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--copper); color: var(--copper-ink); border-color: var(--copper); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plate {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}
.sprocket { display: none; }
.plate img, .plate svg { display: block; width: 100%; height: 190px; object-fit: cover; background: #000; }
.plate-meta { padding-top: 8px; font-size: 15px; line-height: 1.6; }
.plate-meta span, .plate-meta small { color: var(--faint); }
.retract { margin-top: 4px; padding: 0; border: 0; background: transparent; color: #e08a72; cursor: pointer; }
.empty { color: var(--dim); }
.banner { padding: 10px 0; color: var(--copper); }

dialog { width: min(920px, calc(100% - 24px)); padding: 0; border: 1px solid var(--line); background: #0b1520; color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.light-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.light-bar button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
#light-body img, #light-body svg { display: block; width: 100%; max-height: 74vh; object-fit: contain; background: #000; }

.colophon { width: var(--frame); margin: 28px auto 0; padding: 18px 0 42px; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; line-height: 1.7; }
.colophon p { margin: 8px 0; }

@media (min-width: 760px) and (max-width: 1099px) {
  .hero-grid { min-height: calc(100svh - 240px); padding-bottom: 40px; }
  .mark { width: 48px; height: 48px; }
  .hero h1 { font-size: 72px; }
  .lead { font-size: 18px; }
  .code { font-size: 30px; }
  .door { min-height: 0; padding: 20px; }
  .facts, .split, .manual { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .bay { grid-template-columns: 220px 1fr; }
}

@media (max-width: 759px) {
  :root { --frame: min(1120px, calc(100% - 28px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
  .hero h1 { font-size: 52px; letter-spacing: 0.06em; }
  .page-head h1 { font-size: 40px; }
  .hero-grid { min-height: 62svh; padding: 28px 0 32px; }
  .mark { width: 44px; height: 44px; }
  .lead { font-size: 17px; }
  .code { font-size: 32px; }
  .door { min-height: 0; padding: 18px; }
  .doors, .facts, .routes, .manual, .split, .bay, .grid, .shots, .checks { grid-template-columns: 1fr; }
  .wrap { padding: 4px 16px 48px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
  .nav-toggle { display: inline-flex; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); white-space: nowrap; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 8px 14px 14px;
    flex-direction: column;
    background: rgba(6, 14, 22, 0.96);
    border: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; padding: 8px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-motion { display: none; }
  .bg-still { display: block; }
}

body[data-page="home"] .airlock { --seal: 0; --grind: 0; height: 200svh; }
body[data-page="home"] .deck-out {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
body[data-page="home"] .hero-grid {
  position: relative;
  z-index: 2;
  min-height: 100%;
  justify-content: flex-end;
  padding: 96px 0 64px;
}
body[data-page="home"] .hero h1 { font-size: clamp(56px, 7vw, 92px); }
.bezel {
  position: absolute;
  z-index: 3;
  inset: 88px 28px 22px;
  pointer-events: none;
  background:
    linear-gradient(rgba(214, 222, 230, 0.42), rgba(214, 222, 230, 0.42)) left top / 42px 1px no-repeat,
    linear-gradient(rgba(214, 222, 230, 0.42), rgba(214, 222, 230, 0.42)) left top / 1px 42px no-repeat,
    linear-gradient(rgba(214, 222, 230, 0.42), rgba(214, 222, 230, 0.42)) right top / 42px 1px no-repeat,
    linear-gradient(rgba(214, 222, 230, 0.42), rgba(214, 222, 230, 0.42)) right top / 1px 42px no-repeat,
    linear-gradient(rgba(214, 222, 230, 0.28), rgba(214, 222, 230, 0.28)) left bottom / 42px 1px no-repeat,
    linear-gradient(rgba(214, 222, 230, 0.28), rgba(214, 222, 230, 0.28)) left bottom / 1px 42px no-repeat,
    linear-gradient(rgba(214, 222, 230, 0.28), rgba(214, 222, 230, 0.28)) right bottom / 42px 1px no-repeat,
    linear-gradient(rgba(214, 222, 230, 0.28), rgba(214, 222, 230, 0.28)) right bottom / 1px 42px no-repeat;
}
.plunge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: #3ee0ff;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-decoration: none;
}
.plunge i {
  width: 1px;
  height: 46px;
  background: linear-gradient(#3ee0ff, transparent);
}
.seal {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}
.seal-shade,
.seal-grain {
  position: absolute;
  pointer-events: none;
}
.seal-shade {
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
  opacity: calc(var(--seal) * 0.4);
}
.seal-sparks {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.seal-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: calc(50% + 14px);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 31%, rgba(0, 0, 0, 0.7) 0 2.4px, rgba(92, 98, 106, 0.28) 2.8px 3.6px, transparent 4px),
    radial-gradient(circle at 21% 74%, rgba(0, 0, 0, 0.65) 0 2px, rgba(80, 86, 94, 0.22) 2.4px 3.2px, transparent 3.6px),
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)) 0 27% / 100% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)) 0 calc(27% + 2px) / 100% 1px no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)) 0 64% / 100% 2px no-repeat,
    linear-gradient(180deg, #242a32 0%, #171b21 22%, #101318 58%, #0b0d11 100%);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.28);
}
.seal-left {
  left: 0;
  transform: translate3d(calc((var(--seal) - 1) * 100%), 0, 0);
}
.seal-right {
  right: 0;
  transform: translate3d(calc((1 - var(--seal)) * 100%), 0, 0);
  background:
    radial-gradient(circle at 84% 36%, rgba(0, 0, 0, 0.7) 0 2.4px, rgba(92, 98, 106, 0.28) 2.8px 3.6px, transparent 4px),
    radial-gradient(circle at 79% 78%, rgba(0, 0, 0, 0.65) 0 2px, rgba(80, 86, 94, 0.22) 2.4px 3.2px, transparent 3.6px),
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)) 0 41% / 100% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)) 0 calc(41% + 2px) / 100% 1px no-repeat,
    linear-gradient(180deg, #242a32 0%, #171b21 22%, #101318 58%, #0b0d11 100%);
}
.seal-leaf { background-repeat: no-repeat; }
.seal-lip {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34px;
}
.seal-left .seal-lip { right: 0; }
.seal-right .seal-lip { left: 0; }
.seal-left .seal-lip {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 46%, #1a1e24 74%, #8b939c 94%, #090b0e 100%);
}
.seal-right .seal-lip {
  background: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.4) 46%, #1a1e24 74%, #8b939c 94%, #090b0e 100%);
}
.seal-grain {
  inset: 0;
  z-index: 4;
  opacity: 0.1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.62 0 0 0 0 0.64 0 0 0 0 0.66 0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.deck-in {
  position: relative;
  z-index: 1;
  scroll-margin-top: 72px;
  background:
    linear-gradient(180deg, rgba(255, 43, 214, 0.09), transparent 140px),
    repeating-linear-gradient(90deg, rgba(62, 224, 255, 0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(62, 224, 255, 0.04) 0 1px, transparent 1px 80px),
    #08090d;
  padding-bottom: 36px;
}
.threshold {
  height: 18px;
  background:
    linear-gradient(#07080b, #07080b) 0 0 / 100% 7px no-repeat,
    linear-gradient(90deg, #120f0b, #8a7044 18%, #d7c09a 50%, #8a7044 82%, #120f0b) 0 8px / 100% 2px no-repeat,
    linear-gradient(180deg, #101318, #050608);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
}
.dock-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 18px 0 12px;
}
.dock-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: 0.12em;
}
body[data-page="home"] .routes { margin-top: 0; }
body[data-page="home"] .routes a,
body[data-page="home"] .door,
body[data-page="home"] .fine,
body[data-page="home"] .shots-block {
  background: #10141c;
  border: 1px solid #314155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: none;
}
body[data-page="home"] .routes { counter-reset: bay; }
body[data-page="home"] .routes a {
  position: relative;
  min-height: 0;
  gap: 6px;
  padding: 16px 18px 18px;
}
body[data-page="home"] .routes a::before {
  content: "0" counter(bay);
  counter-increment: bay;
  color: #ff7ae8;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
}
body[data-page="home"] .routes a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 2px;
  background: #3ee0ff;
}
body[data-page="home"] .routes a:hover { border-color: #ff2bd6; }
body[data-page="home"] .routes strong { font-size: 24px; }
body[data-page="home"] .routes span { font-size: 16px; line-height: 1.6; }
body[data-page="home"] .doors { padding-top: 14px; gap: 12px; }
body[data-page="home"] .door { min-height: 0; padding: 18px 20px 16px; }
body[data-page="home"] .code { margin: 10px 0 8px; font-size: 34px; }
body[data-page="home"] .fine { margin-top: 12px; padding: 18px 20px 8px; }
body[data-page="home"] .fine h2 { font-size: 24px; }
body[data-page="home"] .facts h3 { font-size: 16px; }
body[data-page="home"] .shots-block { margin-top: 14px; padding: 0 0 12px; }
body[data-page="home"] .shots-block h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #314155;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.16em;
}
.rec { color: #ff2bd6; font-size: 13px; letter-spacing: 0.2em; }
body[data-page="home"] .shots {
  padding: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
body[data-page="home"] .shots img { height: 128px; }
body[data-page="home"] #shot-empty { margin: 0; padding: 16px; }
body[data-page="home"] .colophon {
  position: relative;
  z-index: 1;
  width: auto;
  margin: 0;
  padding: 22px max(32px, calc((100% - 1120px) / 2 + 32px)) 48px;
  background: #08090d;
  border-top-color: #314155;
}
body.in-dock .bar {
  background: rgba(8, 8, 12, 0.9);
  border-bottom-color: rgba(255, 43, 214, 0.6);
}
body.dock-open .deck-in .routes a,
body.dock-open .deck-in .door,
body.dock-open .deck-in .fine,
body.dock-open .deck-in .shots-block {
  animation: deck-rise 0.55s ease both;
}
body.dock-open .deck-in .routes a:nth-child(2) { animation-delay: 0.05s; }
body.dock-open .deck-in .routes a:nth-child(3) { animation-delay: 0.1s; }
body.dock-open .deck-in .door:nth-of-type(2) { animation-delay: 0.08s; }
body.dock-open .deck-in .fine { animation-delay: 0.12s; }
body.dock-open .deck-in .shots-block { animation-delay: 0.16s; }
@keyframes deck-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 759px) {
  body[data-page="home"] .airlock { height: 168svh; }
  body[data-page="home"] .hero h1 { font-size: 48px; }
  .bezel { inset: 78px 12px 12px; }
  .dock-head { padding-top: 16px; }
  body[data-page="home"] .colophon { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .airlock { height: auto; }
  body[data-page="home"] .deck-out {
    position: relative;
    height: auto;
    min-height: calc(100svh - 72px);
  }
  .seal { display: none; }
  body.dock-open .deck-in .routes a,
  body.dock-open .deck-in .door,
  body.dock-open .deck-in .fine,
  body.dock-open .deck-in .shots-block { animation: none; }
}

small { font-size: 13px; }
