:root {
  --bg: #07090e;
  --panel: rgba(16, 22, 32, 0.78);
  --ink: #e8eef8;
  --muted: #8b98ae;
  --gold: #d4b46a;
  --gold-dim: rgba(212, 180, 106, 0.22);
  --line: rgba(212, 180, 106, 0.22);
  --ok: #7dcea0;
  --btn: #1a2433;
}
body.onion-tcp:not([data-easy="open"]) .rail,
body.onion-tcp:not([data-easy="open"]) .top,
body.onion-tcp:not([data-easy="open"]) #trinity-guide,
body.onion-tcp:not([data-easy="open"]) #doors,
body.onion-tcp:not([data-easy="open"]) .room {
  display: none;
}
body.onion-tcp:not([data-easy="open"]) .shell {
  width: 100%;
}
.easy {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  width: min(640px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0 48px;
  text-align: center;
}
.easy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.easy-card {
  width: min(420px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
}
.easy-card .kicker,
.easy > .kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
#easy-line {
  margin: 8px 0 0;
  font-size: 1.2rem;
  line-height: 1.35;
}
#onion-trades {
  margin: 10px 0 0;
  color: var(--ink);
}
.easy .primary {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1408;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.easy .primary:disabled {
  opacity: 0.55;
  cursor: default;
}
.easy-how {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.easy .fine a { color: var(--gold); }
body.onion-tcp[data-easy="open"] .easy {
  min-height: 0;
  padding-bottom: 8px;
}
body.onion-tcp {
  display: flex;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(212, 180, 106, 0.08), transparent 55%),
    radial-gradient(800px 500px at 0% 100%, rgba(40, 70, 50, 0.18), transparent 50%),
    linear-gradient(180deg, #0a0d14 0%, #07090e 40%, #05070b 100%);
  color: var(--ink);
  font: 15px/1.45 "Segoe UI", Inter, system-ui, sans-serif;
}
body.onion-tcp::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(212, 180, 106, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 180, 106, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.45;
}
.rail, .shell { position: relative; z-index: 1; }
.rail {
  width: 220px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(8, 11, 17, 0.92));
  border-right: 1px solid var(--line);
  box-shadow: inset -40px 0 80px rgba(0, 0, 0, 0.35);
  padding: 18px 12px 22px;
}
.brand {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.brand-gate,
a.gate-home {
  color: #1a1408;
  background: var(--gold);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
}
.brand-gate {
  grid-column: 1 / -1;
  justify-self: stretch;
}
.brand-seal {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--gold);
  box-shadow: 0 0 24px var(--gold-dim);
}
.eyebrow { margin: 0; color: var(--gold); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.brand h1 { margin: 4px 0 0; font-size: 16px; letter-spacing: 0.04em; font-family: "Segoe UI", Inter, sans-serif; }
.brand .sub { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.rail nav { display: flex; flex-direction: column; gap: 4px; }
.rail nav a {
  text-align: left;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding: 8px 10px;
}
.rail nav a.on, .rail nav a:hover {
  background: linear-gradient(90deg, rgba(212, 180, 106, 0.12), transparent);
  color: var(--gold);
  border-left-color: var(--gold);
}
.shell { flex: 1; min-width: 0; }
.top {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
  flex-wrap: wrap;
}
.health, .market-chip {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 13px;
}
.health { flex: 1; min-width: 180px; white-space: pre-wrap; }
.market-chip {
  min-width: 140px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  color: var(--gold);
}
button.primary, button.ghost, button.bubble {
  background: var(--btn);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 9px 14px;
  cursor: pointer;
  font: inherit;
}
button.primary { background: var(--gold); color: #1a1408; border-color: var(--gold); font-weight: 600; }
button.ghost { font-size: 13px; }
button.bubble.on, button.bubble[aria-pressed="true"] {
  background: linear-gradient(90deg, rgba(212, 180, 106, 0.16), transparent);
  color: var(--gold);
  border-color: var(--gold);
}
button:disabled { opacity: 0.45; cursor: not-allowed; }
main { padding: 18px 24px 48px; max-width: 1100px; }
h2 { margin: 8px 0; font-size: 20px; font-family: "Segoe UI", Inter, sans-serif; font-weight: 500; }
.kicker { margin: 18px 0 4px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
#tcp-panel { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tcp-body .card span,
#tcp-panel .card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
#tcp-panel .tcp-note { grid-column: 1 / -1; margin: 0; }
.tcp-switch {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 4px 0 12px;
  padding-bottom: 4px;
}
.tcp-switch button {
  flex: 0 0 auto;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.tcp-switch button.on {
  color: #1a1408;
  background: var(--gold);
  border-color: var(--gold);
}
.tcp-body { margin: 0 0 18px; }
.tcp-body form, .tcp-body .brain-form { display: grid; gap: 10px; max-width: 560px; }
.tcp-body label { display: grid; gap: 4px; color: var(--muted); font-size: 13px; }
.tcp-body input, .tcp-body textarea, .tcp-body select {
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid var(--line);
  background: #07090e;
  color: var(--ink);
  font: inherit;
}
.tcp-body pre {
  white-space: pre-wrap;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 12px;
}
.tcp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; align-items: center; }
.tcp-actions input { flex: 1 1 180px; }
.tcp-map .kicker { margin-top: 12px; }
.bubble-maps { display: grid; gap: 18px; margin: 0 0 18px; }
.bubble-card { margin: 0; }
.bubble-card .kicker { margin: 0 0 4px; }
.bubble-map {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 8px 0;
  border: 1px solid var(--line);
  background: #05090c;
}
.bubble-card a { color: var(--gold); }
.fleet-ships {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.fleet-ships figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: #080c0b;
}
.fleet-ships img { display: block; width: 100%; height: auto; }
.fleet-ships figcaption { margin-top: 6px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.fleet-ships p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.fleet-ships figure.is-aboard { border-color: var(--gold); }
.fleet-ships figure.is-away { opacity: 0.45; }
.fleet-coins { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 8px 0 16px; }
.fleet-coins article { padding: 12px; border: 1px solid var(--line); background: rgba(7, 9, 14, 0.6); }
.fleet-coins small { display: block; color: var(--gold); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.fleet-coins strong { display: block; margin-top: 4px; font-size: 22px; }
.fleet-coins em { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-style: normal; }
.fleet-duty { margin: 0 0 14px; color: var(--gold); }
.fleet-ships figure { cursor: pointer; }
.fleet-ships figure:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.fleet-ships .enter-hint { color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.ship-deck { display: grid; gap: 8px; }
.ship-deck img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 180, 106, 0.2), transparent 42%),
    #05070b;
  border: 1px solid var(--line);
}
.ship-deck h2 { margin-bottom: 0; }
.ship-deck p { margin: 0; }
.card {
  background: linear-gradient(165deg, rgba(28, 36, 50, 0.9), rgba(12, 16, 24, 0.88));
  border: 1px solid var(--line);
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(212, 180, 106, 0.08);
}
.card b, .path article b {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card strong, .path article strong { display: block; font-size: 20px; font-weight: 600; }
.fine { color: var(--muted); font-size: 13px; }
.moves { display: grid; gap: 8px; margin: 12px 0 8px; }
button.bubble {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 4px 8px;
  text-align: left;
  width: 100%;
}
button.bubble .swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  grid-row: 1 / span 2;
  align-self: center;
}
button.bubble strong { grid-column: 2; font-size: 15px; }
button.bubble span { grid-column: 2; color: var(--muted); font-size: 13px; }
button.bubble.on span { color: var(--ink); }
.visual { display: grid; gap: 8px; margin: 8px 0 4px; }
.house-chart { display: grid; gap: 8px; margin: 0 0 12px; }
.house-chart svg { width: 100%; height: auto; background: #07090e; border: 1px solid var(--line); }
.house-chart figcaption { font-size: 16px; line-height: 1.45; }
.onion-chart, .small-onion {
  width: 100%;
  height: auto;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--line);
}
.small-onion { max-width: 280px; }
.preview {
  border: 1px solid var(--gold);
  background: rgba(212, 180, 106, 0.08);
  padding: 12px 14px;
  margin: 0 0 8px;
}
.preview b {
  display: block;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}
.preview p { margin: 4px 0; }
.how {
  border: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.55);
  padding: 10px 14px;
  margin: 8px 0 16px;
}
.nav-box { margin: 8px 0 16px; padding: 12px 14px; border: 1px solid var(--line); background: rgba(8, 12, 18, 0.55); }
.nav-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 10px 0; }
.nav-form label { display: grid; gap: 4px; color: var(--muted); font-size: 12px; }
.nav-form select, .nav-form input {
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0f16;
  color: var(--ink);
  font: inherit;
}
.nav-form button { min-height: 36px; }
#delegate-form { display: grid; align-items: stretch; gap: 14px; }
#delegate-form .name { color: var(--ink); font-size: 14px; }
#delegate-form .hint { max-width: 68ch; line-height: 1.45; }
#delegate-form input { max-width: 16rem; }
#delegate-form .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.how summary { cursor: pointer; color: var(--gold); }
.how ol { margin: 10px 0 4px; padding-left: 18px; color: var(--ink); }
.how li { margin: 6px 0; }
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.path article { border: 1px solid var(--line); background: #0b0f16; padding: 10px 12px; }
.path article.next { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.path article.done b { color: var(--ok); }
.foyer .fine { max-width: 62ch; }
.offer { margin: 18px 0 8px; max-width: 78ch; }
.offer-facts { margin: 8px 0 0; padding-left: 18px; color: var(--ink); }
.offer-facts li { margin: 8px 0; line-height: 1.45; }
.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 12px;
}
.door {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(22, 28, 40, 0.96), rgba(8, 12, 18, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.door:hover, .door:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
  outline: none;
}
.door-art, .picture svg {
  display: block;
  width: 100%;
  height: auto;
  background: #07090e;
}
.door-art { border-bottom: 1px solid var(--line); pointer-events: none; overflow: hidden; }
.door-art .bar,
.picture .bar,
.door-art .step,
.picture .step,
.door-art .split,
.picture .split {
  transform-box: fill-box;
}
.door-art .bar, .picture .bar {
  transform-origin: center bottom;
  animation: bar-grow 2.6s ease-in-out infinite;
}
.door-art .bars .bar:nth-child(2), .picture .bars .bar:nth-child(2) { animation-delay: 0.12s; }
.door-art .bars .bar:nth-child(3), .picture .bars .bar:nth-child(3) { animation-delay: 0.24s; }
.door-art .bars .bar:nth-child(4), .picture .bars .bar:nth-child(4) { animation-delay: 0.36s; }
.door-art .bars .bar:nth-child(5), .picture .bars .bar:nth-child(5) { animation-delay: 0.48s; }
.door-art .trace, .picture .trace {
  stroke-dasharray: 8 6;
  animation: trace-flow 1.4s linear infinite;
}
.door-art .split, .picture .split {
  transform-origin: left center;
  animation: split-breathe 2.2s ease-in-out infinite;
}
.door-art .split.sun, .picture .split.sun { animation-delay: 0.2s; }
.door-art .split.keep, .picture .split.keep { animation-delay: 0.4s; }
.door-art .step, .picture .step {
  transform-origin: center bottom;
  animation: step-rise 2.4s ease-in-out infinite;
}
.door-art .steps .step:nth-child(2), .picture .steps .step:nth-child(2) { animation-delay: 0.18s; }
.door-art .steps .step:nth-child(3), .picture .steps .step:nth-child(3) { animation-delay: 0.36s; }
.door-art .steps .step:nth-child(4), .picture .steps .step:nth-child(4) { animation-delay: 0.54s; }
.room:not([hidden]) { animation: room-in 0.45s ease; }
.verify {
  flex: 1 1 100%;
  border: 1px solid var(--gold);
  background: rgba(212, 180, 106, 0.08);
  padding: 14px;
}
.verify[data-state="confirmed"] {
  border-color: var(--ok);
  background: rgba(125, 206, 160, 0.12);
}
.verify[data-state="failed"] {
  border-color: #c46b6b;
  background: rgba(196, 107, 107, 0.1);
}
.verify[data-state="signing"],
.verify[data-state="confirming"],
.verify[data-state="sent"] {
  animation: verify-wait 1.4s ease-in-out infinite;
}
.verify-track {
  display: none;
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(212, 180, 106, 0.18);
}
.verify[data-state="signing"] .verify-track,
.verify[data-state="confirming"] .verify-track,
.verify[data-state="sent"] .verify-track { display: block; }
.verify-track span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--gold);
  animation: verify-slide 1.15s ease-in-out infinite;
}
.verify-kicker {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}
.verify[data-state="confirmed"] .verify-kicker { color: var(--ok); }
.verify-main {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}
.verify-meters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.verify-meters div {
  border: 1px solid var(--line);
  background: rgba(7, 9, 14, 0.55);
  padding: 8px 10px;
}
.verify-meters span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.verify-meters strong { display: block; margin-top: 4px; font-size: 18px; }
.stair {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 72px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.stair li {
  flex: 1;
  height: calc(8px + var(--i, 1) * 4px);
  background: rgba(212, 180, 106, 0.08);
  border: 1px solid rgba(212, 180, 106, 0.28);
  transform-origin: center bottom;
}
.stair li:nth-child(1) { --i: 1; }
.stair li:nth-child(2) { --i: 2; }
.stair li:nth-child(3) { --i: 3; }
.stair li:nth-child(4) { --i: 4; }
.stair li:nth-child(5) { --i: 5; }
.stair li:nth-child(6) { --i: 6; }
.stair li:nth-child(7) { --i: 7; }
.stair li:nth-child(8) { --i: 8; }
.stair li:nth-child(9) { --i: 9; }
.stair li:nth-child(10) { --i: 10; }
.stair li:nth-child(11) { --i: 11; }
.stair li:nth-child(12) { --i: 12; }
.stair li:nth-child(13) { --i: 13; }
.stair li.cash {
  background: rgba(125, 206, 160, 0.45);
  border-color: var(--ok);
  animation: step-rise 1.2s ease-in-out infinite;
}
.targets {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 4px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.targets li {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
}
.targets li.on { color: #e8eef8; }
.stair li.on {
  background: rgba(212, 180, 106, 0.72);
  border-color: var(--gold);
  animation: step-land 0.55s ease;
}
.verify-sig { margin: 10px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.verify-sig a { color: var(--gold); }
#jup-verify .verify-meters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@keyframes bar-grow {
  0%, 100% { transform: scaleY(0.78); }
  50% { transform: scaleY(1); }
}
@keyframes trace-flow { to { stroke-dashoffset: -28; } }
@keyframes split-breathe {
  0%, 100% { transform: scaleX(0.94); }
  50% { transform: scaleX(1); }
}
@keyframes step-rise {
  0%, 100% { transform: translateY(5px); opacity: 0.55; }
  50% { transform: translateY(0); opacity: 1; }
}
@keyframes step-land {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}
@keyframes room-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes verify-wait {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(212, 180, 106, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(212, 180, 106, 0.65); }
}
@keyframes verify-slide {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(340%); }
}
@media (prefers-reduced-motion: reduce) {
  .door-art .bar, .picture .bar,
  .door-art .trace, .picture .trace,
  .door-art .split, .picture .split,
  .door-art .step, .picture .step,
  .room:not([hidden]),
  .verify,
  .verify-track span,
  .stair li { animation: none; }
}
.room:target { display: block !important; }
body:has(.room:target) #doors,
body:has(.room:target) .room:not(:target) { display: none !important; }
#doors:target { display: block !important; }
body:has(#doors:target) .room { display: none !important; }
.door-copy { display: grid; gap: 8px; padding: 14px 14px 16px; }
.door-kicker {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}
.door-title { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.door-line { color: var(--muted); font-size: 14px; line-height: 1.45; }
.door-facts { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.door-facts li {
  position: relative;
  padding-left: 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}
.door-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}
.door-live { color: var(--ok); font-size: 12px; line-height: 1.4; min-height: 2.6em; }
.fleet-list { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.fleet-list li { border-top: 1px solid var(--line); padding-top: 8px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.fleet-list a { color: var(--gold); }
.doors-also { max-width: 70ch; }
.doors-also a, .room-back { color: var(--gold); }
.room-nav { margin: 4px 0 8px; }
.room-back {
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.room-back:hover, .doors-also a:hover { text-decoration: underline; }
.room[hidden], #doors[hidden] { display: none !important; }
.picture { margin: 4px 0 16px; }
.picture figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.picture svg { border: 1px solid var(--line); }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
}
.legend li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.legend i { display: inline-block; width: 28px; }
.legend-solid { border-top: 2px solid var(--gold); }
.legend-dash { border-top: 2px dashed var(--ok); }
.legend-band { height: 8px; background: rgba(212, 180, 106, 0.28); border: 1px solid var(--gold); }
.guide {
  position: relative;
  z-index: 4;
  margin: 0 0 18px;
  padding: 16px 16px 14px;
  background: rgba(10, 14, 22, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.guide-slim { display: none; gap: 12px; align-items: center; justify-content: space-between; }
.guide-slim p { margin: 0; color: var(--muted); }
body[data-guide="all"] .guide-slim { display: flex; }
body[data-guide="all"] .guide-talk { display: none; }
.guide-video {
  display: block;
  width: 100%;
  max-height: 46vh;
  margin: 0 0 12px;
  background: #07090e;
  border: 1px solid var(--line);
  object-fit: contain;
}
.guide-video[hidden] { display: none !important; }
.guide-who {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.guide-ask h2 { margin: 6px 0 8px; font-size: 26px; line-height: 1.2; }
.guide-ask p { margin: 0; max-width: 68ch; color: var(--ink); }
.guide-log { margin: 8px 0; max-height: 4.8rem; overflow: auto; }
.guide-turn { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.guide-turn span {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.guide-choices { display: grid; gap: 8px; margin: 14px 0 10px; }
.guide-choice {
  display: grid;
  gap: 2px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: var(--btn);
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
}
.guide-choice strong { font-size: 16px; }
.guide-choice span { color: var(--muted); font-size: 13px; }
.guide-choice:hover, .guide-choice:focus-visible { border-color: var(--gold); }
.guide-focus {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(212, 180, 106, 0.16);
}
.guide-dim .nav-form > label,
.guide-dim .actions > button,
.guide-dim > .fine {
  opacity: 0.38;
}
.guide-dim label:has(.guide-focus),
.guide-dim .guide-focus {
  opacity: 1;
}
body[data-guide="talk"] #doors > .kicker,
body[data-guide="talk"] #doors > .fine,
body[data-guide="talk"] #doors > h2,
body[data-guide="talk"] #doors .offer,
body[data-guide="talk"] #doors .doors-grid,
body[data-guide="talk"] #doors .doors-also,
body[data-guide="talk"] #doors #fleet-box { display: none; }
@media (max-width: 980px) {
  .doors-grid { grid-template-columns: 1fr; }
  .door-live { min-height: 0; }
  .verify-meters, #jup-verify .verify-meters { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  body.onion-tcp { display: block; }
  .rail { width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .brand { grid-template-columns: 52px minmax(0, 1fr); }
  .brand-gate { display: none; }
  a.gate-home { flex: 0 0 auto; align-self: center; }
  .rail nav { flex-direction: row; overflow-x: auto; }
  .rail nav a { flex: 0 0 auto; white-space: nowrap; }
  .top, main { padding-left: 14px; padding-right: 14px; }
}
