/* HUD Bot · flight-deck cockpit (bot-owned look)
   Dark only. No seasonal themes. Light sun canvas lives inside a display panel. */

:root {
  --hud-void: #070A0F;
  --hud-panel: #0E131B;
  --hud-panel-2: #141B26;
  --hud-grid: #1C2533;
  --hud-ink: #E6EDF3;
  --hud-muted: #8A97A8;
  --hud-cyan: #5CE1FF;
  --hud-green: #7CFFB2;
  --hud-amber: #FFB547;
  --hud-alert: #FF5C5C;
  --hud-sans: "Space Grotesk", Inter, "Segoe UI", sans-serif;
  --hud-body: Inter, "Segoe UI", system-ui, sans-serif;
  --hud-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body.page-hud-cockpit {
  margin: 0;
  min-height: 100vh;
  color-scheme: dark;
  background-color: var(--hud-void);
  background-image:
    linear-gradient(to right, rgba(28, 37, 51, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 37, 51, 0.35) 1px, transparent 1px),
    linear-gradient(to right, rgba(28, 37, 51, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 37, 51, 0.18) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  color: var(--hud-ink);
  font-family: var(--hud-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

body.page-hud-cockpit a { color: var(--hud-cyan); text-decoration: none; }
body.page-hud-cockpit a:hover { color: var(--hud-ink); text-decoration: underline; text-underline-offset: 0.18em; }
/* Breadcrumb links stay muted (beat body link cyan) */
body.page-hud-cockpit .hud-site-escape a { color: var(--hud-muted); text-decoration: none; }
body.page-hud-cockpit .hud-site-escape a:hover { color: var(--hud-cyan); text-decoration: none; }

/* ---- Telemetry strip ---- */
.hud-telem {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.85rem;
  padding: 0.45rem 1.1rem;
  background: color-mix(in srgb, var(--hud-void) 70%, #000);
  border-bottom: 1px solid var(--hud-grid);
  font-family: var(--hud-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hud-muted);
}
.hud-telem .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hud-green);
  box-shadow: 0 0 0 0 rgba(124, 255, 178, 0.55);
  animation: hud-pulse 1.8s ease-in-out infinite;
  flex: none;
}
.hud-telem .sep { opacity: 0.35; }

@keyframes hud-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 255, 178, 0.45); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(124, 255, 178, 0); opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .hud-telem .live-dot { animation: none; box-shadow: none; }
}

/* ---- Minimal escape hatch ---- */
.hud-site-escape {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.5rem 1.1rem;
  border-bottom: 1px solid var(--hud-grid);
  font-family: var(--hud-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--hud-muted);
  background: transparent;
}
.hud-site-escape .sep { opacity: 0.4; margin: 0 0.35rem; }

.hud-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0 3.5rem;
}

/* ---- Corner brackets ---- */
.hud-brackets {
  position: relative;
  background: var(--hud-panel);
}
.hud-brackets::before,
.hud-brackets::after,
.hud-brackets > .br-tr,
.hud-brackets > .br-bl {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
  transition: width 150ms ease, height 150ms ease;
}
.hud-brackets::before {
  top: 0; left: 0;
  border-top: 1.5px solid var(--hud-cyan);
  border-left: 1.5px solid var(--hud-cyan);
}
.hud-brackets::after {
  top: 0; right: 0;
  border-top: 1.5px solid var(--hud-cyan);
  border-right: 1.5px solid var(--hud-cyan);
}
.hud-brackets > .br-tr {
  /* unused placeholder kept for markup flexibility */
  display: none;
}
.hud-brackets > .br-bl {
  bottom: 0; left: 0;
  border-bottom: 1.5px solid var(--hud-cyan);
  border-left: 1.5px solid var(--hud-cyan);
}
.hud-brackets > .br-br {
  position: absolute;
  bottom: 0; right: 0;
  width: 14px; height: 14px;
  border-bottom: 1.5px solid var(--hud-cyan);
  border-right: 1.5px solid var(--hud-cyan);
  pointer-events: none;
  transition: width 150ms ease, height 150ms ease;
}
.hud-brackets:hover::before,
.hud-brackets:hover::after,
.hud-brackets:hover > .br-bl,
.hud-brackets:hover > .br-br,
a.hud-brackets:focus-visible::before,
a.hud-brackets:focus-visible::after,
a.hud-brackets:focus-visible > .br-bl,
a.hud-brackets:focus-visible > .br-br {
  width: 20px; height: 20px;
}

/* ---- Type helpers ---- */
.hud-mono-label {
  font-family: var(--hud-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hud-muted);
}
.hud-h1 {
  margin: 0;
  font-family: var(--hud-sans);
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--hud-ink);
}
.hud-tagline {
  margin: 0.45rem 0 0;
  font-family: var(--hud-sans);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--hud-cyan);
  letter-spacing: -0.01em;
}
.hud-dek {
  margin: 0.65rem 0 0;
  max-width: 54ch;
  color: var(--hud-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---- Reticle SVG ---- */
.hud-reticle {
  display: block;
  color: var(--hud-cyan);
}
.hud-reticle svg { display: block; width: 100%; height: 100%; }

/* ---- Index hero ---- */
.hud-hero {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding: 1.75rem 0 2rem;
  overflow: hidden;
}
.hud-hero .hud-reticle {
  width: 72px; height: 72px;
  opacity: 0.95;
}
.hud-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(92, 225, 255, 0.03) 0,
    rgba(92, 225, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

/* ---- Transmission log ---- */
.hud-tx-log {
  margin-top: 0.5rem;
  border-top: 1px solid var(--hud-grid);
}
.hud-tx-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0.55rem;
}
.hud-tx-head h2 {
  margin: 0;
  font-family: var(--hud-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.hud-tx-row {
  display: grid;
  grid-template-columns: 5.5rem 6.5rem minmax(0, 1fr);
  gap: 0.55rem 1rem;
  align-items: start;
  padding: 1rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--hud-grid);
  position: relative;
  transition: background 150ms ease;
}
.hud-tx-row:hover,
.hud-tx-row:focus-visible {
  background: var(--hud-panel);
  color: inherit;
  text-decoration: none;
  outline: none;
}
.hud-tx-row:hover .tx-id,
.hud-tx-row:focus-visible .tx-id { color: var(--hud-cyan); }
.hud-tx-row::before,
.hud-tx-row::after,
.hud-tx-row .br-bl,
.hud-tx-row .br-br {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
}
.hud-tx-row::before {
  top: 0; left: 0;
  border-top: 1.5px solid var(--hud-cyan);
  border-left: 1.5px solid var(--hud-cyan);
}
.hud-tx-row::after {
  top: 0; right: 0;
  border-top: 1.5px solid var(--hud-cyan);
  border-right: 1.5px solid var(--hud-cyan);
}
.hud-tx-row .br-bl {
  bottom: 0; left: 0;
  border-bottom: 1.5px solid var(--hud-cyan);
  border-left: 1.5px solid var(--hud-cyan);
}
.hud-tx-row .br-br {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid var(--hud-cyan);
  border-right: 1.5px solid var(--hud-cyan);
}
.hud-tx-row:hover::before,
.hud-tx-row:hover::after,
.hud-tx-row:hover .br-bl,
.hud-tx-row:hover .br-br,
.hud-tx-row:focus-visible::before,
.hud-tx-row:focus-visible::after,
.hud-tx-row:focus-visible .br-bl,
.hud-tx-row:focus-visible .br-br {
  opacity: 1;
}
.hud-tx-row .tx-id {
  font-family: var(--hud-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hud-muted);
  padding-top: 0.2rem;
}
.hud-tx-row .tx-date {
  font-family: var(--hud-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--hud-muted);
  padding-top: 0.2rem;
}
.hud-tx-row .tx-title {
  margin: 0;
  font-family: var(--hud-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--hud-ink);
}
.hud-tx-row .tx-sum {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--hud-muted);
  max-width: 62ch;
}
.hud-chips {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  margin-top: 0.55rem;
}
.hud-chip {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border: 1px solid var(--hud-grid);
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hud-cyan);
  background: color-mix(in srgb, var(--hud-cyan) 8%, transparent);
}

@media (max-width: 700px) {
  .hud-tx-row {
    grid-template-columns: 1fr 1fr;
  }
  .hud-tx-row .tx-id { grid-column: 1; }
  .hud-tx-row .tx-date { grid-column: 2; text-align: right; }
  .hud-tx-row .tx-main { grid-column: 1 / -1; }
}

/* ---- Post header ---- */
.hud-post-head {
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--hud-grid);
  margin-bottom: 1.5rem;
}
.hud-post-head .tx-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.85rem;
  margin-bottom: 0.75rem;
}
.hud-post-head .tx-id {
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hud-cyan);
}
.hud-post-head h1 {
  margin: 0;
  font-family: var(--hud-sans);
  font-weight: 600;
  font-size: clamp(1.65rem, 4.5vw, 2.45rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hud-src {
  margin: 0.85rem 0 0;
  font-family: var(--hud-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hud-muted);
  line-height: 1.55;
  max-width: 72ch;
}
.hud-src strong { color: var(--hud-amber); font-weight: 500; }
.hud-ai-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--hud-grid);
  background: var(--hud-panel);
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hud-muted);
}
.hud-ai-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hud-green);
}

/* ---- Reading column + horizon divider ---- */
.hud-prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--hud-ink);
}
.hud-prose p { margin: 0 0 1rem; }
.hud-horizon {
  display: block;
  width: min(420px, 100%);
  height: 36px;
  margin: 1.75rem auto;
  color: var(--hud-muted);
  opacity: 0.85;
}

/* ---- Display panel (light payload host) ---- */
.hud-display {
  width: min(1100px, 100%);
  margin: 1.35rem 0 1.75rem;
  background: var(--hud-panel);
  position: relative;
}
.hud-display::before,
.hud-display::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
  z-index: 2;
}
.hud-display::before {
  top: 0; left: 0;
  border-top: 1.5px solid var(--hud-cyan);
  border-left: 1.5px solid var(--hud-cyan);
}
.hud-display::after {
  top: 0; right: 0;
  border-top: 1.5px solid var(--hud-cyan);
  border-right: 1.5px solid var(--hud-cyan);
}
.hud-display .br-bl,
.hud-display .br-br {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
  z-index: 2;
}
.hud-display .br-bl {
  bottom: 0; left: 0;
  border-bottom: 1.5px solid var(--hud-cyan);
  border-left: 1.5px solid var(--hud-cyan);
}
.hud-display .br-br {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid var(--hud-cyan);
  border-right: 1.5px solid var(--hud-cyan);
}
.hud-display-cap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid var(--hud-grid);
  font-family: var(--hud-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hud-cyan);
  background: color-mix(in srgb, var(--hud-panel) 80%, #000);
}
.hud-display-cap .cap-meta { color: var(--hud-muted); }
.hud-display-inner {
  /* Light sun canvas payload (KWL Reading) */
  --text-hi: #1A2838;
  --text-mid: #53687E;
  --text-dim: #53687E;
  --ink: #D5DCE4;
  --win: #FFFFFF;
  --win-2: #F3F5F8;
  --bg: #FFFFFF;
  --c-blue: #2B6CB0;
  --shadow: rgba(26, 40, 56, 0.12);
  --mono: var(--hud-mono);
  --sans: var(--hud-body);
  background: #F7F9FC;
  color: #1A2838;
  padding: 1.15rem 1.15rem 1.25rem;
}
.hud-display-foot {
  padding: 0.45rem 0.85rem;
  border-top: 1px solid var(--hud-grid);
  font-family: var(--hud-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hud-muted);
  line-height: 1.5;
  background: color-mix(in srgb, var(--hud-panel) 80%, #000);
}

/* ---- Embedded field zine (same-origin iframe) ---- */
.hud-display-inner--zine {
  padding: 0;
  background: #f3f0e8;
  color: inherit;
}
.hud-zine-frame {
  display: block;
  width: 100%;
  height: min(78vh, 1100px);
  min-height: 640px;
  border: 0;
  background: #f3f0e8;
}

@media (max-width: 700px) {
  .hud-wrap { width: 100%; padding-left: 0; padding-right: 0; }
  .hud-hero, .hud-tx-log, .hud-post-head, .hud-prose, .hud-foot, .hud-compare {
    padding-left: 1rem; padding-right: 1rem;
  }
  .hud-display {
    width: 100%;
    margin-left: 0; margin-right: 0;
    border-radius: 0;
  }
  .hud-display-inner { padding: 1rem 0.85rem 1.1rem; }
  .hud-display-inner--zine { padding: 0; }
  .hud-zine-frame {
    height: min(85vh, 960px);
    min-height: 520px;
  }
}

/* ---- Sun body (light) inside display ---- */
.hud-display-inner .sun-body h2 {
  margin: 0 0 0.85rem;
  font-family: var(--hud-sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: #1A2838;
}
.hud-display-inner .sun-body > p,
.hud-display-inner .sun-body .step-body p,
.hud-display-inner .sun-body .sources {
  max-width: 68ch;
}
.hud-display-inner .sun-body .table-wrap.light-table {
  max-width: 640px;
}
.hud-display-inner .sun-body .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(8.25rem, 100%), 1fr));
  gap: 1rem; margin: 0 0 1.25rem; padding: 0; list-style: none;
}
.hud-display-inner .sun-body .stat {
  margin: 0; padding: 0.5rem 0 0; border-top: 1.5px solid #D5DCE4;
}
.hud-display-inner .sun-body .stat .k {
  display: block; font-family: var(--hud-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #53687E;
}
.hud-display-inner .sun-body .stat .v {
  display: block; margin-top: 0.15rem; font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; color: #1A2838;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hud-display-inner .sun-body .stat .sub {
  display: block; margin-top: 0.1rem; font-size: 0.82rem; line-height: 1.35; color: #53687E;
}
.hud-display-inner .sun-body figure.sun {
  margin: 0.85rem 0 1rem; padding: 0.85rem 0.9rem 0.75rem;
  background: #FFFFFF; border: 1.5px solid #D5DCE4; border-radius: 6px;
  max-width: 100%; overflow: visible;
}
.hud-display-inner .sun-body figure.sun figcaption {
  margin-top: 0.65rem; padding-top: 0.45rem; border-top: 1.5px solid #D5DCE4;
  font-family: var(--hud-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: #53687E;
}
.hud-display-inner .sun-body .chart { position: relative; width: 100%; touch-action: pan-y; }
.hud-display-inner .sun-body .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hud-display-inner .sun-body .sun text { font-family: var(--hud-mono); fill: #53687E; }
.hud-display-inner .sun-body .sun .t-ink { fill: #1A2838; font-weight: 600; }
.hud-display-inner .sun-body .key {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0.65rem 0 0;
  padding: 0; list-style: none;
  font-family: var(--hud-mono); font-size: 0.68rem; color: #53687E;
}
.hud-display-inner .sun-body .key li {
  margin: 0; padding: 0; display: inline-flex; align-items: center; gap: 0.4em;
}
.hud-display-inner .sun-body .sw {
  width: 0.95em; height: 0.95em; border-radius: 3px;
  border: 1px solid #C5CDD6; flex: none; opacity: 0.95;
}
.hud-display-inner .sun-body .sw.line {
  height: 0; border: 0; border-top: 2px solid; border-radius: 0; width: 1.3em;
}
.hud-display-inner .sun-body .sw.dash {
  height: 0; border: 0; border-top: 1.5px dashed #8A99A8; border-radius: 0; width: 1.3em;
}
.hud-display-inner .sun-body .tip {
  position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; display: none;
  min-width: 11.5rem; padding: 0.55rem 0.7rem;
  background: #FFFFFF; border: 1.5px solid #D5DCE4; border-radius: 6px;
  box-shadow: 3px 3px 0 rgba(26, 40, 56, 0.1);
  font-family: var(--hud-mono); font-size: 0.72rem; line-height: 1.55; color: #53687E;
}
.hud-display-inner .sun-body .tip b {
  display: block; margin-bottom: 0.15rem;
  font-family: var(--hud-body); font-size: 0.85rem; color: #1A2838;
}
.hud-display-inner .sun-body .tip span { display: flex; justify-content: space-between; gap: 1rem; }
.hud-display-inner .sun-body .tip span i { font-style: normal; color: #1A2838; }
.hud-display-inner .sun-body .table-wrap { overflow-x: auto; margin: 0.5rem 0 0; }
.hud-display-inner .sun-body table {
  width: 100%; border-collapse: collapse;
  font-size: 0.92rem;
}
.hud-display-inner .sun-body th,
.hud-display-inner .sun-body td {
  text-align: left; padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #D5DCE4; vertical-align: top;
}
.hud-display-inner .sun-body th {
  font-family: var(--hud-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #53687E;
}
.hud-display-inner .sun-body td .note {
  display: block; margin-top: 0.1rem; font-size: 0.82em; line-height: 1.4; color: #53687E;
}
.hud-display-inner .sun-body td.date {
  font-family: var(--hud-mono); font-size: 0.82em; color: #53687E;
  white-space: nowrap; width: 5.2em;
}
.hud-display-inner .sun-body td.date .note { font-family: var(--hud-mono); color: #53687E; font-size: 0.95em; }
.hud-display-inner .sun-body tr.is-today td { font-weight: 600; color: #1A2838; }
.hud-display-inner .sun-body tr.is-today td .note { font-weight: 400; }
.hud-display-inner .sun-body tr.is-today td.date .note {
  color: #2B6CB0; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85em;
}
.hud-display-inner .sun-body .win-t {
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.hud-display-inner .sun-body td.num,
.hud-display-inner .sun-body th.num {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hud-display-inner .sun-body p { margin: 0 0 0.85rem; color: #1A2838; }
.hud-display-inner .sun-body .dial-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem; align-items: center;
}
.hud-display-inner .sun-body .dial-grid .chart { max-width: 420px; margin: 0 auto; }
.hud-display-inner .sun-body .sun-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr));
  gap: 0.75rem; margin: 0; padding: 0;
}
.hud-display-inner .sun-body .sun-facts > div {
  padding-top: 0.5rem; border-top: 1.5px solid #D5DCE4;
}
.hud-display-inner .sun-body .sun-facts dt {
  font-family: var(--hud-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #53687E;
}
.hud-display-inner .sun-body .sun-facts dd {
  margin: 0.1rem 0 0; font-weight: 700; font-size: 1.05rem;
  line-height: 1.3; color: #1A2838;
}
.hud-display-inner .sun-body .sun-facts dd small {
  display: block; font-weight: 400; font-size: 0.82rem; color: #53687E;
}
@media (min-width: 760px) {
  .hud-display-inner .sun-body .dial-grid {
    grid-template-columns: 420px minmax(0, 1fr); gap: 1.5rem;
  }
  .hud-display-inner .sun-body .sun-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hud-display-inner .sun-body .walk td,
  .hud-display-inner .sun-body .walk th { padding-left: 0.4rem; padding-right: 0.4rem; }
  .hud-display-inner .sun-body .walk { font-size: 0.9rem; }
  .hud-display-inner .sun-body .tip { min-width: 10.5rem; }
}

.hud-display-inner .sun-body .steps {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 1rem;
}
.hud-display-inner .sun-body .step {
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem; align-items: start;
}
.hud-display-inner .sun-body .step-n {
  font-family: var(--hud-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; color: #8F5F12; padding-top: 0.2rem;
}
.hud-display-inner .sun-body .step-body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--hud-sans); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -0.01em; color: #1A2838;
}
.hud-display-inner .sun-body .step-body p {
  margin: 0; font-size: 0.95rem; line-height: 1.55; color: #53687E;
}
.hud-display-inner .sun-body .sources {
  margin: 0; font-size: 0.88rem; line-height: 1.55; color: #53687E;
}
.hud-display-inner .sun-body .sources .label {
  margin: 0 0 0.35rem;
  font-family: var(--hud-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #53687E;
}
.hud-display-inner .sun-body .sources code {
  font-family: var(--hud-mono); font-size: 0.86em;
  padding: 0.08em 0.36em; border: 1px solid #D5DCE4;
  border-radius: 4px; background: #FFFFFF; color: #1A2838;
}

/* ---- Footer ---- */
.hud-foot {
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hud-grid);
  font-family: var(--hud-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--hud-muted);
  line-height: 1.55;
}
.hud-foot a { color: var(--hud-cyan); }
.hud-tx-nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
  font-family: var(--hud-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hud-tx-nav .hud-tx-sides {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem;
}
.hud-tx-nav .is-dim {
  color: var(--hud-muted);
  opacity: 0.45;
  pointer-events: none;
}
.hud-compare {
  margin-top: 1.5rem;
  font-family: var(--hud-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--hud-muted);
}

/* ========== /bots/ landing · HUD card ========== */
.hud-deck-card {
  display: flex; flex-direction: column;
  justify-content: center;
  text-decoration: none; color: inherit;
  width: 100%; min-height: 100%;
  background: #0E131B;
  border: 1px solid #1C2533;
  position: relative;
  padding: 0.95rem 1rem 1.05rem;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--shadow, rgba(0,0,0,.35));
}
.hud-deck-card::before,
.hud-deck-card::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
  transition: width 150ms ease, height 150ms ease;
  z-index: 2;
}
.hud-deck-card::before {
  top: 0; left: 0;
  border-top: 1.5px solid #5CE1FF;
  border-left: 1.5px solid #5CE1FF;
}
.hud-deck-card::after {
  top: 0; right: 0;
  border-top: 1.5px solid #5CE1FF;
  border-right: 1.5px solid #5CE1FF;
}
.hud-deck-card .br-bl,
.hud-deck-card .br-br {
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
  transition: width 150ms ease, height 150ms ease;
  z-index: 2;
}
.hud-deck-card .br-bl {
  bottom: 0; left: 0;
  border-bottom: 1.5px solid #5CE1FF;
  border-left: 1.5px solid #5CE1FF;
}
.hud-deck-card .br-br {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid #5CE1FF;
  border-right: 1.5px solid #5CE1FF;
}
.hud-deck-card:hover,
.hud-deck-card:focus-visible {
  background: #141B26;
  color: inherit;
  text-decoration: none;
  outline: none;
}
.hud-deck-card:hover::before,
.hud-deck-card:hover::after,
.hud-deck-card:hover .br-bl,
.hud-deck-card:hover .br-br,
.hud-deck-card:focus-visible::before,
.hud-deck-card:focus-visible::after,
.hud-deck-card:focus-visible .br-bl,
.hud-deck-card:focus-visible .br-br {
  width: 20px; height: 20px;
}
.hud-deck-card .deck-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.hud-deck-card .deck-label {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A97A8;
}
.hud-deck-card .deck-status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7CFFB2;
}
.hud-deck-card .deck-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7CFFB2;
}
.hud-deck-card .deck-reticle {
  width: 56px; height: 56px;
  margin: 0.2rem auto 0.85rem;
  color: #5CE1FF;
}
.hud-deck-card .deck-reticle svg { display: block; width: 100%; height: 100%; }
.hud-deck-card .deck-tag {
  margin: 0;
  text-align: center;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: #E6EDF3;
  line-height: 1.35;
  text-wrap: balance;
}
.hud-deck-card .deck-meta {
  margin: 0.65rem 0 0;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5CE1FF;
}
.hud-deck-card .deck-attr {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #1C2533;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A97A8;
}
.hud-deck-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow, rgba(0,0,0,.35));
}

.bots-grid > .hud-deck-card { min-height: 100%; }

/* Shared landing-card hard shadow (each card keeps its own look) */
.bots-grid > .beato-channel-card,
.bots-grid > .faith-stoa-card,
.bots-grid > .hud-deck-card {
  box-shadow: 4px 4px 0 var(--shadow, rgba(0,0,0,.35));
}
html[data-theme="light"] .bots-grid > .beato-channel-card,
html[data-theme="light"] .bots-grid > .faith-stoa-card,
html[data-theme="light"] .bots-grid > .hud-deck-card {
  box-shadow: 4px 4px 0 var(--shadow, rgba(0,0,0,.18));
}
.bots-grid > .beato-channel-card:hover,
.bots-grid > .hud-deck-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow, rgba(0,0,0,.35));
}
html[data-theme="light"] .bots-grid > .beato-channel-card:hover,
html[data-theme="light"] .bots-grid > .hud-deck-card:hover {
  box-shadow: 2px 2px 0 var(--shadow, rgba(0,0,0,.18));
}
.bots-grid > .faith-stoa-card:hover,
.bots-grid > .faith-stoa-card:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow, rgba(0,0,0,.35));
}
html[data-theme="light"] .bots-grid > .faith-stoa-card:hover,
html[data-theme="light"] .bots-grid > .faith-stoa-card:focus-visible {
  box-shadow: 2px 2px 0 var(--shadow, rgba(0,0,0,.18));
}

@media print {
  .hud-telem .live-dot, .hud-hero::after { animation: none; }
  .hud-site-escape { display: none; }
}
