/* ==========================================================================
   yandleyick.com/aim-theory — 23-Station 3D Lineup + Pentagon AUTOSHATTER
   Decluttered high-contrast glass chrome, crimson-obsidian + Matrix phosphor
   green palette, >= 14.5px body & >= 11.5px mono legibility, and Crowd Search.
   ========================================================================== */

:root {
  --aim-cyan: #22d3ee;
  --aim-cyan-soft: rgba(34, 211, 238, 0.14);
  --aim-gold: #fbbf24;
  --aim-gold-soft: rgba(251, 191, 36, 0.14);
  --aim-emerald: #34d399;
  --aim-matrix: #39ff14;
  --aim-matrix-bright: #86efac;
  --aim-matrix-soft: rgba(57, 255, 20, 0.14);
  --aim-matrix-border: rgba(57, 255, 20, 0.48);
  --aim-matrix-glass: rgba(4, 16, 9, 0.9);
  --aim-vangogh-gold: #facc15;
  --aim-vangogh-cobalt: #3b82f6;
  --aim-vangogh-violet: #a855f7;
  --aim-vangogh-border: rgba(250, 204, 21, 0.5);
  --aim-crimson: #ef4444;
  --aim-crimson-bright: #f87171;
  --aim-crimson-soft: rgba(239, 68, 68, 0.18);
  --aim-obsidian: #070306;
  --aim-glass: rgba(11, 6, 10, 0.92);
  --aim-glass-strong: rgba(9, 4, 8, 0.95);
  --aim-border: rgba(255, 255, 255, 0.14);
  --aim-border-strong: rgba(248, 113, 113, 0.34);

  --aim-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --aim-font-body: "Inter", system-ui, -apple-system, sans-serif;
  --aim-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --aim-hud-h: 60px;
  --aim-top-offset: calc(var(--header-h) + var(--aim-hud-h));
  --aim-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.aim-page-root {
  scroll-padding-top: 0;
  scroll-behavior: auto !important;
  overflow-anchor: none;
}

#prison-scene,
#tunnel-breakout,
#lineup,
#infographic {
  scroll-margin-top: calc(var(--aim-top-offset) + 12px);
}

#finale,
#sky-flight,
#pentagon-scene,
#pentagon-outer {
  scroll-margin-top: 0;
}

body.aim-page {
  background: var(--aim-obsidian);
  color: #f8fafc;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-anchor: none;
  --fg: rgba(255, 255, 255, 0.28);
  --bg: rgba(10, 5, 9, 0.92);
}

.aim-page .frame {
  isolation: isolate;
}
.aim-page .frame::before {
  z-index: -1;
}

@media (max-width: 980px) and (min-width: 801px) {
  .aim-page .tabs a {
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.13em;
  }
}

.aim-page .site-header {
  z-index: 70;
  background: rgba(6, 2, 5, 0.94);
  border-bottom-color: rgba(248, 113, 113, 0.18);
}

.aim-page .menu {
  z-index: 65;
}

/* ---------- Typography Scoping ---------- */

.aim-telemetry-bar,
.aim-orbit-banner,
.aim-toast,
.aim-media-drawer,
.aim-main {
  font-family: var(--aim-font-body);
}

.aim-kicker {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aim-crimson-bright);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.aim-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  flex: none;
}

/* ---------- 1. Sticky Full-Viewport 3D WebGL Stage ---------- */

.aim-scene-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 36%, #240710 0%, #0d0408 58%, #040204 100%);
}

.aim-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

body.is-orbit-mode .aim-scene-stage,
body.is-pure-3d .aim-scene-stage {
  z-index: 25;
  pointer-events: auto;
}

body.is-orbit-mode .aim-canvas-container {
  cursor: grab;
}
body.is-orbit-mode .aim-canvas-container:active {
  cursor: grabbing;
}

.aim-stage-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 60% 46%, transparent 56%, rgba(8, 2, 5, 0.56) 100%);
}

.aim-labels-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* ---------- 2. Persistent Top Telemetry HUD ---------- */

.aim-telemetry-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(10, 4, 8, 0.94);
  border-bottom: 1px solid rgba(248, 113, 113, 0.22);
}

.aim-telemetry-bar__inner {
  max-width: 1680px;
  margin: 0 auto;
  min-height: var(--aim-hud-h);
  padding: 6px clamp(10px, 1.3vw, 22px);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #71525a #150d10;
}

.aim-hud-cluster {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 0 auto;
}

.aim-hud-cluster--left,
.aim-hud-cluster--center,
.aim-hud-cluster--right {
  flex: 0 1 auto;
}

.aim-hud-cluster--left,
.aim-hud-cluster--center,
.aim-hud-cluster--right {
  flex: 0 1 auto;
}

.aim-hud-cluster--right {
  gap: 4px;
}

.aim-hud-cluster--right .aim-ctrl-btn {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 7px;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.02em;
  min-width: 0;
}

.aim-hud-cluster--right .aim-pentagon-dot,
.aim-hud-cluster--right .aim-vangogh-dot {
  width: 6px;
  height: 6px;
}

.aim-hud-readout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 9px;
  background: rgba(20, 8, 14, 0.92);
  border: 1px solid rgba(239, 68, 68, 0.42);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.aim-hud-pct {
  color: var(--aim-crimson-bright);
  font-weight: 700;
}

.aim-hud-sep {
  color: rgba(255, 255, 255, 0.35);
}

.aim-hud-phase {
  color: #f8fafc;
  min-width: 0;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aim-subj-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.aim-icon-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--aim-border);
  background: rgba(18, 9, 14, 0.92);
  color: #f8fafc;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.aim-icon-btn:hover,
.aim-icon-btn:focus-visible {
  border-color: var(--aim-crimson-bright);
  background: var(--aim-crimson-soft);
}
.aim-icon-btn svg {
  width: 16px;
  height: 16px;
}

.aim-subj-current {
  height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--aim-border);
  background: rgba(18, 9, 14, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.aim-subj-current:hover,
.aim-subj-current:focus-visible {
  border-color: var(--aim-crimson-bright);
  background: var(--aim-crimson-soft);
}
.aim-subj-current__rank {
  color: var(--aim-gold);
}
.aim-subj-current__name {
  color: #fff;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aim-subj-current__chev {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

/* Segmented Camera Switch */
.aim-seg-group {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(16, 7, 12, 0.95);
  border: 1px solid var(--aim-border);
  gap: 3px;
}

.aim-seg-btn {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.aim-seg-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.aim-seg-btn.is-active {
  background: #f8fafc;
  color: #070306;
}
#btn-cam-orbit.is-active {
  background: var(--aim-crimson);
  color: #fff;
}

/* Controls */
.aim-ctrl-btn {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--aim-border);
  background: rgba(18, 9, 14, 0.92);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.aim-ctrl-btn:hover,
.aim-ctrl-btn:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.aim-ctrl-btn--crimson {
  border-color: rgba(239, 68, 68, 0.58);
  background: rgba(69, 10, 18, 0.85);
  color: #fecaca;
}
.aim-ctrl-btn--crimson:hover,
.aim-ctrl-btn--crimson:focus-visible {
  background: var(--aim-crimson);
  border-color: var(--aim-crimson);
  color: #fff;
}

.aim-ctrl-btn--pure.is-active {
  background: var(--aim-gold);
  border-color: var(--aim-gold);
  color: #070306;
}

.aim-pure-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aim-gold);
}
.aim-ctrl-btn--pure.is-active .aim-pure-dot {
  background: #070306;
}

.aim-ctrl-btn--tour {
  border-color: rgba(56, 189, 248, 0.35);
  color: #94a3b8;
  min-width: 68px;
  justify-content: center;
}
#btn-guided-tour {
  max-width: 148px;
  overflow: hidden;
}
#guided-tour-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aim-ctrl-btn--tour.is-active {
  border-color: rgba(34, 211, 238, 0.72);
  background: rgba(8, 36, 52, 0.92);
  color: #67e8f9;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.22);
}
.aim-tour-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64748b;
  flex: none;
}
.aim-ctrl-btn--tour.is-active .aim-tour-dot {
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
}

.hud-btn-pentagon {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.56);
  background: linear-gradient(180deg, rgba(6, 36, 16, 0.9) 0%, rgba(3, 19, 9, 0.94) 100%);
  color: #bbf7d0;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.16), inset 0 1px 0 rgba(134, 239, 172, 0.2);
}
.hud-btn-pentagon:hover,
.hud-btn-pentagon:focus-visible,
.hud-btn-pentagon.is-active {
  border-color: var(--aim-matrix);
  background: rgba(22, 101, 52, 0.85);
  color: #f0fdf4;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.34);
}

.aim-pentagon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aim-matrix);
  box-shadow: 0 0 10px var(--aim-matrix);
  flex: none;
}

.hud-btn-vangogh {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.56);
  background: linear-gradient(135deg, rgba(23, 37, 84, 0.92) 0%, rgba(59, 7, 100, 0.9) 100%);
  color: #fef08a;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(250, 204, 21, 0.22);
}
.hud-btn-vangogh:hover,
.hud-btn-vangogh:focus-visible,
.hud-btn-vangogh.is-active {
  border-color: var(--aim-vangogh-gold);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(126, 34, 206, 0.92) 100%);
  color: #fffbeb;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.36);
}

.aim-vangogh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aim-vangogh-gold);
  box-shadow: 0 0 10px var(--aim-vangogh-gold);
  flex: none;
}

/* Quick-Jump 1..23 Popover */
.aim-roster-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: clamp(14px, 2.4vw, 32px);
  width: min(860px, calc(100vw - 28px));
  max-height: min(74vh, 560px);
  overflow-y: auto;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(10, 5, 9, 0.97);
  border: 1px solid rgba(239, 68, 68, 0.45);
  z-index: 75;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.88);
}
.aim-roster-popover[hidden] {
  display: none;
}
.aim-roster-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aim-crimson-bright);
}
.aim-popover-close {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
}
.aim-roster-popover__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 7px;
}
.aim-popover-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(22, 11, 18, 0.78);
  color: #fff;
  padding: 9px 11px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.aim-popover-item:hover,
.aim-popover-item.is-active {
  border-color: var(--aim-crimson-bright);
  background: rgba(239, 68, 68, 0.18);
}
.aim-popover-item__left {
  min-width: 0;
}
.aim-popover-item__rank {
  display: block;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  color: #94a3b8;
}
.aim-popover-item__name {
  display: block;
  font-family: var(--aim-font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.aim-popover-item__mass {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--aim-gold);
  white-space: nowrap;
}

/* Progress Rail: Cyan -> Crimson -> Gold (compositor transform-only for 60fps rails) */
.aim-hud-rail {
  height: 2.5px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.aim-hud-rail__fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  background: linear-gradient(90deg, #22d3ee 0%, #ef4444 52%, #fbbf24 100%);
}

@media (max-width: 1580px) {
  .aim-telemetry-bar__inner {
    padding: 6px 10px;
    gap: 4px;
  }
  .aim-hud-cluster {
    gap: 4px;
  }
  .aim-hud-cluster--right {
    gap: 3px;
    flex: 0 0 auto;
  }
  .aim-hud-cluster--right .aim-ctrl-btn {
    flex: 0 0 auto;
    height: 28px;
    padding: 0 6px;
    gap: 3px;
    font-size: 9.5px;
    letter-spacing: 0.01em;
    min-width: 0;
  }
  .aim-hud-readout {
    padding: 5px 7px;
    gap: 5px;
    font-size: 9.5px;
    letter-spacing: 0.04em;
  }
  .aim-hud-phase {
    max-width: 108px;
  }
  .aim-icon-btn {
    width: 28px;
    height: 30px;
  }
  .aim-subj-current {
    height: 30px;
    padding: 0 7px;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0.03em;
  }
  .aim-subj-current__name {
    max-width: 84px;
  }
  .aim-seg-group {
    padding: 2px;
    gap: 2px;
  }
  .aim-seg-btn {
    padding: 4px 7px;
    font-size: 9.5px;
    letter-spacing: 0.03em;
  }
  .aim-hud-cluster--center .aim-ctrl-btn {
    height: 28px;
    padding: 0 7px;
    gap: 5px;
    font-size: 9.5px;
    letter-spacing: 0.03em;
  }
  .aim-hud-cluster--center .aim-ctrl-btn--tour {
    min-width: 52px;
  }
  #btn-guided-tour {
    max-width: 114px;
  }
}

@media (max-width: 1280px) {
  :root {
    --aim-hud-h: 94px;
  }
  .aim-telemetry-bar__inner {
    flex-wrap: wrap;
    row-gap: 7px;
  }
  .aim-hud-cluster,
  .aim-hud-cluster--right {
    flex-wrap: wrap;
    flex: 0 1 auto;
  }
}

@media (max-width: 680px) {
  .aim-hud-phase {
    display: none;
  }
  .aim-subj-current__name {
    max-width: 110px;
  }
}

/* ---------- 3. Pure 3D View & Orbit Mode States ---------- */

.aim-main {
  position: relative;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.35s var(--aim-ease);
}

body.is-pure-3d .aim-main,
body.is-pure-3d .aim-main * {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.is-orbit-mode .aim-main {
  pointer-events: none;
}
body.is-orbit-mode .aim-main a,
body.is-orbit-mode .aim-main button,
body.is-orbit-mode .aim-main input,
body.is-orbit-mode .aim-main form,
body.is-orbit-mode .aim-infographic-band {
  pointer-events: auto;
}
body.is-orbit-cards-hidden .aim-hero__card,
body.is-orbit-cards-hidden .aim-prison-card,
body.is-orbit-cards-hidden .aim-tunnel-banner,
body.is-orbit-cards-hidden .aim-flyover-pill,
body.is-orbit-cards-hidden .aim-chapter__card,
body.is-orbit-cards-hidden .sky-flight-card,
body.is-orbit-cards-hidden .pentagon-card,
body.is-orbit-cards-hidden .vangogh-card {
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.aim-hero__card,
.aim-prison-card,
.aim-tunnel-banner,
.aim-flyover-pill,
.aim-chapter__card,
.aim-infographic-band,
.aim-finale-card,
.aim-finale-deck,
.aim-finale-stage-hint,
.aim-finale-dock__inner,
.sky-flight-card,
.pentagon-card,
.pentagon-stage-hint,
.vangogh-card,
.pentagon-outer-stage-hint,
.seam .chip {
  pointer-events: auto;
}

.aim-wrap--wide {
  width: 100%;
  max-width: min(1560px, 96vw);
}

/* ---------- 4. Shared High-Contrast Buttons & Badges ---------- */

.aim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--aim-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}
.aim-btn--compact {
  padding: 9px 14px;
  font-size: 11.5px;
}
.aim-btn:hover {
  transform: translateY(-1px);
}
.aim-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.aim-btn--primary {
  background: #f8fafc;
  color: #070306;
}
.aim-btn--primary:hover {
  background: var(--aim-crimson);
  color: #fff;
}

.aim-btn--cyan {
  background: var(--aim-cyan);
  color: #020617;
}
.aim-btn--cyan:hover {
  background: #67e8f9;
}

.aim-btn--crimson {
  background: var(--aim-crimson);
  color: #fff;
}
.aim-btn--crimson:hover {
  background: #dc2626;
}

.aim-btn--ghost {
  background: rgba(18, 9, 14, 0.8);
  border-color: var(--aim-border-strong);
  color: #f8fafc;
}
.aim-btn--ghost:hover {
  border-color: var(--aim-crimson-bright);
  background: rgba(239, 68, 68, 0.18);
}

.aim-btn--matrix {
  background: var(--aim-matrix);
  border-color: var(--aim-matrix);
  color: #031508;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.28);
}
.aim-btn--matrix:hover,
.aim-btn--matrix:focus-visible {
  background: #86efac;
  border-color: #86efac;
  color: #021206;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.44);
}

.aim-btn--matrix-ghost {
  background: rgba(5, 28, 13, 0.86);
  border-color: var(--aim-matrix-border);
  color: #bbf7d0;
}
.aim-btn--matrix-ghost:hover,
.aim-btn--matrix-ghost:focus-visible {
  border-color: var(--aim-matrix);
  background: rgba(22, 101, 52, 0.52);
  color: #f0fdf4;
}

.aim-btn--vangogh {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  border-color: #fde047;
  color: #0b1120;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.3);
}
.aim-btn--vangogh:hover,
.aim-btn--vangogh:focus-visible {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
  border-color: #fef08a;
  color: #020617;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.46);
}

.aim-mini-btn {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 9, 14, 0.92);
  color: #f8fafc;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.aim-mini-btn:hover,
.aim-mini-btn:focus-visible {
  border-color: var(--aim-crimson-bright);
  background: rgba(239, 68, 68, 0.18);
}
.aim-mini-btn--primary,
.aim-mini-btn.is-active {
  background: var(--aim-cyan);
  border-color: var(--aim-cyan);
  color: #020617;
}
.aim-mini-btn--primary:hover,
.aim-mini-btn.is-active:hover {
  background: #67e8f9;
  color: #020617;
}
.aim-mini-btn--crimson {
  background: var(--aim-crimson);
  border-color: var(--aim-crimson);
  color: #fff;
}
.aim-mini-btn--crimson:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.aim-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}
.aim-badge--crimson {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.52);
  color: #fecaca;
}
.aim-badge--outline {
  background: rgba(18, 9, 14, 0.75);
  border: 1px solid var(--aim-border);
  color: #e2e8f0;
}

/* ---------- 5. Floating Orbit Banner ---------- */

.aim-orbit-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 62;
  width: min(820px, calc(100vw - 28px));
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(12, 5, 9, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14.5px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}
.aim-orbit-banner[hidden] {
  display: none;
}
.aim-orbit-banner__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
}
.aim-orbit-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aim-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aim-cyan);
  box-shadow: 0 0 10px var(--aim-cyan);
  flex: none;
}
.aim-live-dot--crimson {
  background: var(--aim-crimson);
  box-shadow: 0 0 12px var(--aim-crimson);
}

/* ---------- 6. Act I: Hero ---------- */

.aim-preface {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--aim-top-offset) + 2rem) clamp(1.25rem, 5vw, 4rem) 3rem;
  background: #09090d;
  color: #f1f0ec;
}
.aim-preface__text {
  max-width: 62ch;
  font: 400 clamp(1rem, 1.4vw, 1.2rem)/1.57 var(--aim-font-body);
  pointer-events: auto;
}
.aim-preface h2 {
  margin: 0 0 1.2rem;
  font: 700 clamp(1.85rem, 4vw, 3.1rem)/1.1 "Plus Jakarta Sans", sans-serif;
}
.aim-preface p { margin: 0 0 1em; }
.aim-preface__continue {
  display: inline-block;
  padding: .5em 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.aim-opening-credit {
  box-sizing: border-box;
  min-height: 100svh;
  padding: calc(var(--aim-top-offset) + 2rem) 1.5rem 3rem;
  display: grid;
  place-items: center;
  background: #09090d;
  color: #f1f0ec;
  text-align: center;
}
.aim-opening-credit p {
  max-width: 36ch;
  margin: 0;
  font: 500 clamp(1.25rem, 3vw, 2.65rem)/1.38 "Plus Jakarta Sans", sans-serif;
  text-wrap: balance;
}

.aim-hero {
  min-height: 96svh;
  padding: calc(var(--aim-top-offset) + 24px) clamp(20px, 4.5vw, 64px) 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}

.aim-hero__card {
  width: min(490px, 100%);
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 16px;
  background: var(--aim-glass);
  border: 1px solid var(--aim-border-strong);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.78);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.aim-hero__card h1 {
  font-family: var(--aim-font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}

.aim-hero__subtitle {
  display: block;
  margin-top: 6px;
  font-family: var(--aim-font-display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--aim-cyan);
}

.aim-hero__sub {
  font-size: 15.5px;
  line-height: 1.5;
  color: #e2e8f0;
}

.aim-hero__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 540px) {
  .aim-hero__chips {
    grid-template-columns: 1fr;
  }
}

.aim-chip-stat {
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(20, 10, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.aim-chip-stat--crimson {
  border-color: rgba(239, 68, 68, 0.48);
}
.aim-chip-stat--gold {
  border-color: rgba(251, 191, 36, 0.45);
}
.aim-chip-stat__label {
  display: block;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.aim-chip-stat__val {
  display: block;
  margin-top: 3px;
  font-family: var(--aim-font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
}
.aim-chip-stat--crimson .aim-chip-stat__val {
  color: var(--aim-crimson-bright);
}
.aim-chip-stat--gold .aim-chip-stat__val {
  color: var(--aim-gold);
}

.aim-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ---------- 7. Act I.5: Prison Booking Face-Off ---------- */

.aim-prison-scene {
  min-height: 92vh;
  padding: calc(var(--aim-top-offset) + 24px) clamp(20px, 4.5vw, 64px) 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.aim-prison-card {
  width: min(460px, 100%);
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 16px;
  background: var(--aim-glass);
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aim-prison-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.aim-prison-card h2 {
  font-family: var(--aim-font-display);
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.aim-faceoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 540px) {
  .aim-faceoff-grid {
    grid-template-columns: 1fr;
  }
}

.aim-faceoff-col {
  padding: 10px 11px;
  border-radius: 11px;
  background: rgba(20, 10, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aim-faceoff-col--cyan {
  border-top: 3px solid var(--aim-cyan);
}
.aim-faceoff-col--gold {
  border-top: 3px solid var(--aim-gold);
}

.aim-faceoff-pill {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--aim-cyan);
  line-height: 1.3;
}
.aim-faceoff-col--gold .aim-faceoff-pill {
  color: var(--aim-gold);
}

.aim-faceoff-copy {
  font-size: 14.5px;
  line-height: 1.45;
  color: #e2e8f0;
}

.aim-prison-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 8. Act I.8: Tunnel Breakout ---------- */

.aim-tunnel-breakout {
  min-height: 82vh;
  padding: calc(var(--aim-top-offset) + 20px) clamp(20px, 4.5vw, 64px) 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.aim-tunnel-banner {
  width: min(700px, 100%);
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(12, 5, 9, 0.93);
  border: 1px solid rgba(239, 68, 68, 0.48);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.78);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.aim-tunnel-banner__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.aim-tunnel-banner__title {
  flex: 1;
  font-family: var(--aim-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8fafc;
}

.aim-tunnel-banner__pct {
  font-family: var(--aim-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--aim-crimson-bright);
}

.aim-tunnel-track {
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.aim-tunnel-track__fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  background: linear-gradient(90deg, #22d3ee 0%, #ef4444 55%, #fbbf24 100%);
}

/* ---------- 8B. Act I.9: 10-Second Superdome Aerial Fly-Around Loop ---------- */

.aim-stadium-flyover {
  position: relative;
  min-height: 220vh;
  padding: 24px clamp(20px, 4.5vw, 64px);
  pointer-events: none;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aim-flyover-pill {
  position: sticky;
  top: calc(100vh - 76px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(10, 4, 8, 0.88);
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.72);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f8fafc;
}

.aim-flyover-pill__pct {
  color: var(--aim-crimson-bright);
}

/* ---------- 9. Act II: 23 Alternating Lineup Chapters ---------- */

.aim-lineup {
  position: relative;
  padding: 20px clamp(20px, 4.5vw, 64px) 52px;
}

.aim-chapters-track {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aim-chapter {
  min-height: 100vh;
  scroll-margin-top: 0;
  display: flex;
  align-items: center;
  padding: calc(var(--aim-top-offset) + 16px) 0 40px;
  position: relative;
  contain: layout style;
}

.aim-chapter--left {
  justify-content: flex-start;
}

.aim-chapter--right {
  justify-content: flex-end;
}

.aim-chapter__card {
  position: relative;
  width: min(410px, 100%);
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--aim-glass);
  border: 1px solid var(--aim-border);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 11px;
  contain: layout style;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.aim-chapter.is-active .aim-chapter__card {
  border-color: var(--subj-accent, var(--aim-crimson-bright));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.84), 0 0 0 1px color-mix(in srgb, var(--subj-accent, #ef4444) 32%, transparent);
}

.aim-chapter--butterbean.is-active .aim-chapter__card {
  border-color: var(--aim-gold);
}

.aim-chapter__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.aim-rank-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--subj-accent, #ef4444);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8fafc;
}

.aim-cat-pill {
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
}

.aim-chapter__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.aim-chapter__name {
  font-family: var(--aim-font-display);
  font-size: clamp(25px, 2.7vw, 33px);
  font-weight: 800;
  line-height: 1.04;
  color: #fff;
}

.aim-chapter__role {
  margin-top: 3px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--subj-accent, var(--aim-cyan));
}

.aim-subrole-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(57, 255, 20, 0.13);
  border: 1px solid rgba(57, 255, 20, 0.46);
  font-family: var(--aim-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #bbf7d0;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.28);
}

.aim-twitch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.55);
  background: rgba(88, 28, 135, 0.44);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #f3e8ff;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.aim-twitch-btn:hover,
.aim-twitch-btn:focus-visible {
  background: #a855f7;
  border-color: #c084fc;
  color: #fff;
}
.aim-twitch-btn svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.aim-x-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(57, 255, 20, 0.45);
  background: rgba(5, 28, 13, 0.72);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #bbf7d0;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.aim-x-btn:hover,
.aim-x-btn:focus-visible {
  background: var(--aim-matrix);
  border-color: var(--aim-matrix);
  color: #031508;
}

.aim-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.58);
  background: rgba(127, 29, 29, 0.46);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #fecaca;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.aim-yt-btn:hover,
.aim-yt-btn:focus-visible {
  background: #dc2626;
  border-color: #f87171;
  color: #fff;
}
.aim-yt-btn svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.aim-twitlonger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, 0.58);
  background: rgba(113, 63, 18, 0.48);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #fef08a;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.aim-twitlonger-btn:hover,
.aim-twitlonger-btn:focus-visible {
  background: #eab308;
  border-color: #fde047;
  color: #1c1104;
}

.aim-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
}
.aim-social-row .aim-twitch-btn,
.aim-social-row .aim-x-btn,
.aim-social-row .aim-yt-btn,
.aim-social-row .aim-twitlonger-btn {
  padding: 5px 9px;
  font-size: 11px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact 3-Column Stat Bar */
.aim-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.aim-stat-cell {
  padding: 8px 9px;
  border-radius: 9px;
  background: rgba(20, 10, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.aim-stat-cell__label {
  display: block;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.aim-stat-cell__val {
  display: block;
  margin-top: 2px;
  font-family: var(--aim-font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.aim-chapter__summary {
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
  overflow-wrap: anywhere;
}

.aim-chapter__summary--mystery {
  font-family: var(--aim-font-mono);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: #c4b5fd;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.4);
}

.aim-clean-list {
  margin: 0;
  padding-left: 17px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #f1f5f9;
}
.aim-clean-list li + li {
  margin-top: 4px;
}

.aim-chapter__footer {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

@media (max-width: 879px) {
  .aim-chapter {
    min-height: 88vh;
    align-items: flex-end;
    justify-content: center;
  }
  .aim-chapter__card {
    width: 100%;
    padding: 18px;
  }
}

/* ---------- 10. Act III: Infographic Band ---------- */

.aim-infographic-band {
  --bg: #0b060a;
  --fg: #fff;
  z-index: 20;
  min-height: 210vh;
  padding: 0 var(--gutter);
  overflow: visible;
  clip-path: none;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.88);
}

.aim-infographic-band > .ghost {
  right: 0;
}

.aim-infographic-sticky {
  position: sticky;
  top: var(--aim-top-offset);
  min-height: calc(100vh - var(--aim-top-offset));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0 14px;
}

.aim-band-header {
  text-align: center;
  margin-bottom: clamp(18px, 2.8vw, 30px);
}
.aim-band-header .aim-kicker {
  margin-bottom: 8px;
}
.aim-section-heading {
  font-family: var(--aim-font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  color: #fff;
}

.aim-infographic-band .aim-band-header {
  margin-bottom: 10px;
}
.aim-infographic-band .aim-band-header .aim-kicker {
  margin-bottom: 4px;
}
.aim-infographic-band .aim-section-heading {
  font-size: clamp(22px, 2.6vw, 34px);
}

.aim-infographic-mount {
  position: relative;
  z-index: 2;
}

/* ---------- 11. Act IV: yandleyick.com Panorama & Follower Search ---------- */

.aim-finale-coliseum {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--aim-top-offset) + 12px) clamp(16px, 3.6vw, 48px) 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.aim-finale-card {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 15;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 5, 11, 0.90) 0%, rgba(7, 3, 7, 0.95) 100%);
  border: 1px solid rgba(248, 113, 113, 0.36);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(239, 68, 68, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aim-finale-coliseum__hud,
.aim-finale-dock {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 15;
}

.aim-finale-deck {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.aim-finale-deck__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.aim-finale-deck h2 {
  margin-top: 1px;
  font-family: var(--aim-font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.06;
  color: #fff;
}

.aim-finale-deck__meta {
  margin-top: 2px;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #fecaca;
}

.aim-finale-deck__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.aim-finale-deck__cta .aim-btn--compact {
  padding: 7px 12px;
}

.aim-finale-controls-row {
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

/* Follower Crowd Search */
.aim-follower-search {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 300px;
  max-width: 460px;
}

.aim-follower-input {
  flex: 1 1 auto;
  min-width: 160px;
  height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  background: rgba(6, 3, 5, 0.92);
  border: 1px solid rgba(248, 113, 113, 0.42);
  color: #fff;
  font-family: var(--aim-font-body);
  font-size: 14px;
}
.aim-follower-input::placeholder {
  color: #94a3b8;
}
.aim-follower-input:focus {
  outline: none;
  border-color: var(--aim-crimson-bright);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.22);
}

/* Single-Card Spotlighted Follower Badge */
.aim-follower-spotlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(69, 10, 18, 0.72) 0%, rgba(16, 8, 14, 0.92) 100%);
  border: 1px solid rgba(248, 113, 113, 0.55);
}
.aim-follower-spotlight[hidden] {
  display: none;
}

.aim-follower-spotlight__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.aim-follower-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  border: 2px solid var(--aim-gold);
  background-color: #1a0a10;
  background-repeat: no-repeat;
  flex: none;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--aim-font-mono);
  font-weight: 700;
  font-size: 13px;
  color: #fecaca;
}
.aim-follower-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aim-follower-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aim-follower-eyebrow {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aim-gold);
}
.aim-follower-name {
  font-family: var(--aim-font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aim-follower-handle {
  font-family: var(--aim-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--aim-cyan);
  text-decoration: none;
}
.aim-follower-handle:hover {
  text-decoration: underline;
  color: #fff;
}

.aim-follower-spotlight__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aim-finale-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.aim-filter-tab {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--aim-border);
  background: rgba(18, 9, 14, 0.92);
  color: #e2e8f0;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.aim-filter-tab:hover,
.aim-filter-tab:focus-visible {
  border-color: #fff;
  color: #fff;
}
.aim-filter-tab.is-active {
  background: #fff;
  border-color: #fff;
  color: #070306;
}

/* Open Panoramic 3D Window (keeps 4K Halo Jumbotron & Blood Moon unobstructed) */
.aim-finale-stage-window {
  flex: 1 1 auto;
  min-height: 46vh;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.aim-finale-stage-hint {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 5, 9, 0.82);
  border: 1px solid rgba(239, 68, 68, 0.42);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e2e8f0;
  text-align: center;
}

.aim-finale-dock__inner {
  padding: 8px 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aim-finale-dock__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.aim-finale-dock__head .aim-mini-btn {
  padding: 4px 10px;
}

.aim-finale-dock__buttons {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  max-height: 196px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 2px;
}

@media (min-width: 900px) {
  #finale,
  .aim-finale-coliseum {
    min-height: 100vh;
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: calc(var(--aim-top-offset) + 12px);
    padding-bottom: 24px;
  }
  .aim-finale-stage-window {
    min-height: 48vh;
  }
  .aim-finale-card {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
  }
}

@media (max-width: 1020px) {
  .aim-finale-dock__buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .aim-finale-dock__buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.aim-dock-btn {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 2.5px solid var(--subj-accent, #ef4444);
  border-radius: 8px;
  background: rgba(18, 9, 14, 0.9);
  color: #fff;
  padding: 4px 8px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name stats"
    "rank rank";
  align-items: baseline;
  column-gap: 6px;
  row-gap: 1px;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.aim-dock-btn:hover,
.aim-dock-btn.is-active {
  background: rgba(239, 68, 68, 0.22);
  border-color: var(--aim-crimson-bright);
  transform: translateY(-1px);
}
.aim-dock-btn.is-dimmed {
  opacity: 0.28;
}
.aim-dock-btn__rank {
  grid-area: rank;
  display: block;
  font-family: var(--aim-font-mono);
  font-size: 11px;
  line-height: 1.15;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aim-dock-btn__name {
  grid-area: name;
  display: block;
  font-family: var(--aim-font-display);
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aim-dock-btn__stats {
  grid-area: stats;
  display: block;
  font-family: var(--aim-font-mono);
  font-size: 11px;
  line-height: 1.15;
  color: #cbd5e1;
  white-space: nowrap;
}

/* 1-Row Horizontal Twitch Pill Strip */
.aim-twitch-strip {
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.aim-twitch-strip__label {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c084fc;
  flex: none;
}

.aim-twitch-strip__pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 1px;
}

.aim-twitch-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(59, 17, 94, 0.45);
  color: #f3e8ff;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.aim-twitch-pill:hover,
.aim-twitch-pill:focus-visible {
  background: #9333ea;
  border-color: #d8b4fe;
  color: #fff;
}
.aim-twitch-pill svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.aim-site-footer,
.aim-footer-seam {
  position: relative;
  z-index: 20;
}

/* ---------- 12. Media Bay Drawer, Drop Overlay & Toast ---------- */

.aim-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(0, 0, 0, 0.72);
}
.aim-drawer-backdrop[hidden] {
  display: none;
}

.aim-media-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: min(460px, 100vw);
  background: #090408;
  border-right: 1px solid rgba(239, 68, 68, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.28s var(--aim-ease);
  box-shadow: 24px 0 64px rgba(0, 0, 0, 0.88);
}
.aim-media-drawer.is-open {
  transform: translateX(0);
}

.aim-media-drawer__head {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #050204;
}
.aim-media-drawer__head h2 {
  margin-top: 3px;
  font-family: var(--aim-font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}


.aim-media-drawer__body {
  padding: 16px 18px 28px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aim-bay-slot {
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(20, 10, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.aim-bay-slot--cyan {
  border-color: rgba(34, 211, 238, 0.5);
}
.aim-bay-slot--gold {
  border-color: rgba(251, 191, 36, 0.45);
}
.aim-bay-slot--matrix {
  border-color: var(--aim-matrix-border);
  background: linear-gradient(180deg, rgba(6, 26, 13, 0.92) 0%, rgba(3, 14, 7, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(134, 239, 172, 0.12);
}

.aim-bay-slot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
}
.aim-bay-slot__top a {
  color: var(--aim-gold);
}
.aim-bay-slot__desc {
  font-size: 14.5px;
  line-height: 1.45;
  color: #e2e8f0;
}
.aim-bay-slot__status {
  padding: 7px 10px;
  border-radius: 8px;
  background: #040204;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  color: var(--aim-cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aim-trim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
}
.aim-trim-grid label {
  display: block;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 4px;
}
.aim-input {
  width: 100%;
  border-radius: 8px;
  background: #040204;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 7px 10px;
  font-family: var(--aim-font-body);
  font-size: 14.5px;
}
.aim-pick-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px dashed var(--aim-cyan);
  background: rgba(34, 211, 238, 0.12);
  color: #e0f2fe;
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}
.aim-pick-btn:hover {
  background: rgba(34, 211, 238, 0.24);
}
.aim-pick-btn--gold {
  border-color: var(--aim-gold);
  background: rgba(251, 191, 36, 0.12);
  color: #fef3c7;
}
.aim-bay-media-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 6px;
  border-radius: 9px;
  background: rgba(6, 4, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.aim-bay-thumb {
  width: 112px;
  height: 63px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  background: #0e0b14;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.aim-bay-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aim-bay-clip-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aim-bay-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--aim-font-mono);
  font-size: 10.5px;
}
.aim-bay-link {
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(88, 28, 135, 0.25);
  color: #e9d5ff;
  text-decoration: none;
}
.aim-bay-link--yt {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(153, 27, 27, 0.28);
  color: #fecaca;
}
.aim-bay-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}


.aim-toast {
  position: fixed;
  top: calc(var(--aim-top-offset) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 85;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(12, 5, 9, 0.96);
  border: 1px solid var(--aim-crimson-bright);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--aim-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fecaca;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.78);
}
.aim-toast[hidden] {
  display: none;
}

/* ---------- 13. Act V & VI: 1.00-Mile Sky Transit & Pentagon AUTOSHATTER ---------- */

.sky-flight-chapter {
  position: relative;
  min-height: 360vh;
  padding: calc(var(--aim-top-offset) + 28px) clamp(20px, 4.5vw, 64px) 52px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.sky-flight-card {
  width: min(560px, 100%);
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(16, 6, 12, 0.92) 0%, rgba(4, 18, 10, 0.95) 100%);
  border: 1px solid rgba(248, 113, 113, 0.42);
  border-left: 3px solid var(--aim-matrix);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.84), 0 0 28px rgba(57, 255, 20, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sky-flight-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sky-flight-card h2 {
  font-family: var(--aim-font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
}

.sky-flight-card__copy {
  font-size: 14.5px;
  line-height: 1.52;
  color: #e2e8f0;
}

.sky-flight-card__copy code {
  font-family: var(--aim-font-mono);
  font-size: 12.5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(57, 255, 20, 0.14);
  border: 1px solid rgba(57, 255, 20, 0.32);
  color: #bbf7d0;
}

.sky-flight-waypoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

@media (max-width: 600px) {
  .sky-flight-waypoints {
    grid-template-columns: 1fr;
  }
}

.sky-flight-wp {
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(14, 7, 12, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  line-height: 1.35;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sky-flight-wp strong {
  color: var(--aim-crimson-bright);
  font-weight: 700;
}

.sky-flight-wp--target {
  border-color: var(--aim-matrix-border);
  background: rgba(4, 24, 11, 0.88);
  color: #dcfce7;
}

.sky-flight-wp--target strong {
  color: var(--aim-matrix);
}

.sky-flight-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Pentagon Chapter — Operation AUTOSHATTER Neon-Green Matrix Terminal */

.pentagon-chapter {
  position: relative;
  min-height: 108vh;
  padding: calc(var(--aim-top-offset) + 12px) clamp(16px, 3.6vw, 48px) 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.pentagon-stage-window {
  flex: 1 1 auto;
  min-height: 44vh;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pentagon-stage-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(3, 16, 8, 0.86);
  border: 1px solid var(--aim-matrix-border);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bbf7d0;
  text-align: center;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.16);
}

.pentagon-stage-hint strong {
  color: var(--aim-matrix);
}

.pentagon-card {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px 18px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(57, 255, 20, 0.03) 0px,
      rgba(57, 255, 20, 0.03) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(180deg, rgba(4, 20, 10, 0.92) 0%, rgba(2, 11, 6, 0.96) 100%);
  border: 1px solid var(--aim-matrix-border);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.86),
    inset 0 1px 0 rgba(134, 239, 172, 0.18),
    0 0 32px rgba(57, 255, 20, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pentagon-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(57, 255, 20, 0.22);
}

.pentagon-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.pentagon-card h2 {
  font-family: var(--aim-font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 800;
  line-height: 1.12;
  color: #f0fdf4;
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.22);
}

.pentagon-card h2 code {
  font-family: var(--aim-font-mono);
  font-size: 0.92em;
  color: var(--aim-matrix);
  background: rgba(57, 255, 20, 0.12);
  border: 1px solid rgba(57, 255, 20, 0.36);
  border-radius: 6px;
  padding: 1px 7px;
}

.matrix-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(57, 255, 20, 0.16);
  border: 1px solid rgba(57, 255, 20, 0.56);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aim-matrix);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.35);
}

.matrix-badge--dim {
  background: rgba(4, 24, 11, 0.85);
  border-color: rgba(134, 239, 172, 0.32);
  color: #bbf7d0;
  text-shadow: none;
}

.pentagon-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pentagon-roster-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(0, 0.92fr) minmax(0, 0.95fr);
  gap: 10px;
}

@media (max-width: 1120px) {
  .pentagon-roster-grid {
    grid-template-columns: 1fr;
  }
}

.pentagon-panel {
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(2, 14, 7, 0.86);
  border: 1px solid rgba(57, 255, 20, 0.24);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pentagon-panel--spec {
  border-color: rgba(57, 255, 20, 0.44);
  background: linear-gradient(155deg, rgba(6, 30, 14, 0.9) 0%, rgba(2, 14, 7, 0.92) 100%);
}

.pentagon-panel__title {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aim-matrix);
}

.pentagon-roster-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pentagon-roster-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(57, 255, 20, 0.16);
  font-size: 14px;
  line-height: 1.35;
}

.pentagon-roster-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pentagon-roster-list strong {
  font-family: var(--aim-font-display);
  font-weight: 800;
  color: #f0fdf4;
}

.pentagon-roster-meta {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  color: #86efac;
}

.pentagon-roster-meta a {
  color: var(--aim-matrix);
  text-decoration: none;
  font-weight: 700;
}

.pentagon-roster-meta a:hover,
.pentagon-roster-meta a:focus-visible {
  text-decoration: underline;
  color: #f0fdf4;
}

.pentagon-titan-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.pentagon-titan-tags li {
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(5, 26, 12, 0.85);
  border: 1px solid rgba(57, 255, 20, 0.28);
  font-family: var(--aim-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #dcfce7;
  text-align: center;
}

.pentagon-spec-copy {
  font-size: 14.5px;
  line-height: 1.5;
  color: #dcfce7;
}

.pentagon-spec-copy code {
  font-family: var(--aim-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(57, 255, 20, 0.16);
  border: 1px solid rgba(57, 255, 20, 0.42);
  color: var(--aim-matrix);
}

.pentagon-roster-list--six,
.pentagon-roster-list--twelve {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 10px;
}
@media (max-width: 900px) {
  .pentagon-roster-list--six,
  .pentagon-roster-list--twelve {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .pentagon-roster-list--six,
  .pentagon-roster-list--twelve {
    grid-template-columns: 1fr;
  }
}
.pentagon-roster-list--six li,
.pentagon-roster-list--twelve li {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 5px 7px;
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 7px;
  background: rgba(4, 22, 11, 0.56);
  font-size: 12.5px;
  line-height: 1.25;
}
.pentagon-roster-list--twelve li:last-child {
  padding: 5px 7px;
  border-bottom: 1px solid rgba(57, 255, 20, 0.16);
}
.pentagon-roster-list--twelve .matrix-subrole {
  font-size: 9.5px;
  padding: 1.5px 5px;
  letter-spacing: 0.03em;
}
.pentagon-roster-list--twelve .pentagon-roster-meta {
  font-size: 10.5px;
  line-height: 1.25;
}

.pentagon-roster-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  max-width: 100%;
}

.pentagon-card,
.vangogh-card {
  transition: opacity 280ms ease, transform 280ms ease;
}

body.is-pentagon-reveal-focus .pentagon-card,
body.is-pentagon-reveal-focus .vangogh-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}

body.is-pentagon-reveal-focus .pentagon-stage-pill,
body.is-pentagon-reveal-focus .pentagon-stage-hint {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pentagon-roster-list li[data-pentagon-member] {
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.pentagon-roster-list li[data-pentagon-member]:hover {
  border-color: rgba(57, 255, 20, 0.55);
  background: rgba(6, 34, 16, 0.78);
}

.pentagon-roster-list li.is-revealed {
  border-color: rgba(57, 255, 20, 0.92);
  background: rgba(12, 46, 22, 0.92);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.28);
}

.aim-pentagon-reveal {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 62;
  width: min(880px, calc(100vw - 32px));
  max-width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - var(--aim-top-offset) - 36px);
  overflow-y: auto;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 22, 12, 0.94) 0%, rgba(2, 11, 7, 0.97) 100%);
  border: 1px solid rgba(57, 255, 20, 0.58);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(57, 255, 20, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
}

.aim-pentagon-reveal[hidden] {
  display: none !important;
}

.aim-pentagon-reveal.is-outer {
  border-color: rgba(250, 204, 21, 0.62);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(250, 204, 21, 0.2);
}

.aim-pentagon-reveal__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 360px;
  min-width: 0;
}

.aim-pentagon-reveal__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.aim-pentagon-reveal strong {
  font-family: var(--aim-font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f0fdf4;
  line-height: 1.1;
}

.aim-pentagon-reveal__role {
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  color: #86efac;
}

.aim-pentagon-reveal.is-outer .aim-pentagon-reveal__role {
  color: #fde68a;
}

.aim-pentagon-reveal__desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.48;
  color: #e2e8f0;
  max-width: 68ch;
}

.aim-pentagon-reveal__desc[hidden] {
  display: none;
}

.aim-pentagon-reveal__highlights {
  margin: 6px 0 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  line-height: 1.4;
  color: #bbf7d0;
}

.aim-pentagon-reveal__highlights[hidden] {
  display: none;
}

.aim-pentagon-reveal.is-outer .aim-pentagon-reveal__highlights {
  color: #fde68a;
}

.aim-pentagon-reveal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
}

@media (max-width: 640px) {
  .aim-pentagon-reveal {
    bottom: 12px;
    padding: 10px 12px;
  }
  .aim-pentagon-reveal strong {
    font-size: 17px;
  }
}

.pentagon-mini-link {
  display: inline-flex;
  align-items: center;
  padding: 1.5px 6px;
  border-radius: 5px;
  font-family: var(--aim-font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.pentagon-mini-link--tw {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(88, 28, 135, 0.42);
  color: #f3e8ff;
}
.pentagon-mini-link--tw:hover,
.pentagon-mini-link--tw:focus-visible {
  background: #9333ea;
  border-color: #d8b4fe;
  color: #fff;
}
.pentagon-mini-link--x {
  border-color: rgba(57, 255, 20, 0.48);
  background: rgba(5, 32, 14, 0.72);
  color: #bbf7d0;
}
.pentagon-mini-link--x:hover,
.pentagon-mini-link--x:focus-visible {
  background: var(--aim-matrix);
  border-color: var(--aim-matrix);
  color: #031508;
}
.pentagon-mini-link--yt {
  border-color: rgba(239, 68, 68, 0.54);
  background: rgba(127, 29, 29, 0.46);
  color: #fecaca;
}
.pentagon-mini-link--yt:hover,
.pentagon-mini-link--yt:focus-visible {
  background: #dc2626;
  border-color: #f87171;
  color: #fff;
}
.pentagon-mini-link--clip {
  cursor: pointer;
  border-color: rgba(34, 211, 238, 0.56);
  background: rgba(8, 51, 68, 0.72);
  color: #cffafe;
}
.pentagon-mini-link--clip:hover,
.pentagon-mini-link--clip:focus-visible {
  background: #06b6d4;
  border-color: #67e8f9;
  color: #02131d;
}

.pentagon-roster-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
}

.matrix-subrole {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(57, 255, 20, 0.14);
  border: 1px solid rgba(57, 255, 20, 0.46);
  font-family: var(--aim-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: #bef264;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.25);
}

.matrix-subrole--inventor {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.52);
  color: #fef08a;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.25);
}

.pentagon-crew-credit {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid rgba(57, 255, 20, 0.24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 13px;
}
.pentagon-crew-credit strong {
  font-family: var(--aim-font-display);
  font-weight: 800;
  color: #f0fdf4;
}

.pentagon-panel--layer2 {
  border-color: rgba(250, 204, 21, 0.38);
  background: linear-gradient(155deg, rgba(23, 37, 84, 0.72) 0%, rgba(30, 10, 56, 0.84) 100%);
  justify-content: space-between;
}
.pentagon-panel--layer2 .pentagon-panel__title {
  color: var(--aim-vangogh-gold);
}
.pentagon-layer2-copy {
  font-size: 13.5px;
  line-height: 1.45;
  color: #e2e8f0;
}
.pentagon-layer2-copy code {
  font-family: var(--aim-font-mono);
  font-size: 12px;
  color: var(--aim-matrix);
  background: rgba(57, 255, 20, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
}

#btn-goto-outer-pentagon {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

/* ---------- 14. Act VII: Outer Pentagon — Operation Van Gogh // Clone Yandleyick ---------- */

.pentagon-outer-chapter {
  position: relative;
  min-height: 108vh;
  padding: calc(var(--aim-top-offset) + 8px) clamp(16px, 3.6vw, 48px) 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.pentagon-outer-stage-window {
  flex: 1 1 auto;
  min-height: 64vh;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pentagon-outer-stage-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(12, 16, 38, 0.86);
  border: 1px solid rgba(250, 204, 21, 0.45);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e0e7ff;
  text-align: center;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.24);
}
.pentagon-outer-stage-hint strong {
  color: var(--aim-vangogh-gold);
}

.vangogh-card {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 86% 0%, rgba(168, 85, 247, 0.22) 0%, transparent 52%),
    linear-gradient(180deg, rgba(11, 15, 36, 0.92) 0%, rgba(8, 6, 20, 0.96) 100%);
  border: 1px solid var(--aim-vangogh-border);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.86),
    inset 0 1px 0 rgba(250, 204, 21, 0.22),
    0 0 32px rgba(168, 85, 247, 0.16);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vangogh-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(250, 204, 21, 0.22);
}

.vangogh-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.vangogh-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.52);
  font-family: var(--aim-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fef08a;
}

.vangogh-badge--violet {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(192, 132, 252, 0.45);
  color: #e9d5ff;
}

.vangogh-card h2 {
  font-family: var(--aim-font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.1;
  color: #fffbeb;
}

.vangogh-card h2 code {
  font-family: var(--aim-font-mono);
  font-size: 0.9em;
  color: var(--aim-vangogh-gold);
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.36);
  border-radius: 5px;
  padding: 1px 6px;
}

.vangogh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.vangogh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px;
}

@media (max-width: 960px) {
  .vangogh-grid {
    grid-template-columns: 1fr;
  }
}

.vangogh-panel {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(8, 12, 28, 0.84);
  border: 1px solid rgba(96, 165, 250, 0.28);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vangogh-panel__title {
  font-family: var(--aim-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aim-vangogh-gold);
}

.vangogh-copy {
  font-size: 13.5px;
  line-height: 1.45;
  color: #e2e8f0;
}

.vangogh-copy code {
  font-family: var(--aim-font-mono);
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.34);
  color: #a5f3fc;
}

.vangogh-titan-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

@media (max-width: 600px) {
  .vangogh-titan-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vangogh-titan-tags li {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(30, 27, 75, 0.82);
  border: 1px solid rgba(250, 204, 21, 0.32);
  font-family: var(--aim-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #fef3c7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 6px;
  min-width: 0;
}
.vangogh-titan-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vangogh-titan-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

/* ===== Data Collector Subrole Badge, Gold HUD Button, Filing Cabinet Closeup, Lightbox & Heavens 2mi ===== */
.matrix-subrole--collector {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
}

.hud-btn-gold {
  border-color: rgba(246, 226, 122, 0.42);
  color: #f6e27a;
}
.hud-btn-gold:hover {
  background: rgba(246, 226, 122, 0.14);
  border-color: rgba(246, 226, 122, 0.72);
}

.aim-cabinet-section {
  position: relative;
  min-height: 220vh;
  padding: 6vh clamp(16px, 3vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: start;
  gap: 24px;
  pointer-events: none;
}

.aim-cabinet-stage {
  min-height: 70vh;
}

.aim-cabinet-card {
  position: sticky;
  top: calc(var(--aim-top-offset) + 12px);
  max-height: calc(100vh - var(--aim-top-offset) - 24px);
  overflow-y: auto;
  pointer-events: auto;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(7, 13, 10, 0.93);
  border: 1px solid rgba(34, 197, 94, 0.38);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65);
  color: #ecfdf5;
}

.aim-cabinet-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.aim-cabinet-card h2 {
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #f6e27a;
}

.aim-cabinet-story-note {
  font-size: 13px;
  line-height: 1.48;
  color: #cbd5e1;
  margin: 0 0 12px;
}

.aim-cabinet-active-meta {
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(15, 25, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.aim-cabinet-active-meta strong {
  font-size: 13px;
  color: #f8fafc;
}

.aim-cabinet-active-meta span {
  font-family: var(--aim-font-mono);
  font-size: 11px;
  color: #86efac;
}

.aim-cabinet-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.aim-cabinet-drawers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.aim-cabinet-drawer-btn {
  padding: 7px 8px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(12, 20, 26, 0.86);
  color: #cbd5e1;
  font-family: var(--aim-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.aim-cabinet-drawer-btn:hover {
  border-color: rgba(74, 222, 128, 0.55);
  color: #f8fafc;
}

.aim-cabinet-drawer-btn.is-active {
  background: rgba(22, 101, 52, 0.34);
  border-color: #4ade80;
  color: #f6e27a;
}

.aim-cabinet-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.aim-cabinet-filter-bar[hidden] {
  display: none !important;
}

.aim-cabinet-select {
  flex: 1 1 130px;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(9, 17, 14, 0.94);
  color: #ecfdf5;
  font-family: var(--aim-font-mono);
  font-size: 11px;
}

.aim-cabinet-select[hidden] {
  display: none !important;
}

.aim-cabinet-empty {
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: 6px;
  border: 1px dashed rgba(148, 163, 184, 0.32);
  color: #94a3b8;
  font-family: var(--aim-font-mono);
  font-size: 11px;
  text-align: center;
}

.aim-cabinet-pager {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.aim-cabinet-page-label {
  font-family: var(--aim-font-mono);
  font-size: 11px;
  color: #86efac;
  min-width: 58px;
  text-align: center;
}

.aim-cabinet-tabs {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  max-height: 180px;
  overflow-y: auto;
}

.aim-cabinet-tab {
  padding: 5px 2px;
  font-family: var(--aim-font-mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 32, 0.78);
  color: #cbd5e1;
  cursor: pointer;
}

.aim-cabinet-tab.is-active {
  background: rgba(34, 197, 94, 0.24);
  border-color: #4ade80;
  color: #f6e27a;
}

.aim-evidence-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.aim-evidence-lightbox[hidden] {
  display: none !important;
}
.aim-evidence-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 8, 0.88);
}
.aim-evidence-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 95vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #080d0b;
  border: 1px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.aim-evidence-lightbox__head,
.aim-evidence-lightbox__foot {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(10, 16, 14, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.aim-evidence-lightbox__foot {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: none;
  flex-wrap: wrap;
}
.aim-evidence-lightbox__head h3 {
  margin: 4px 0 0;
  font-size: 16px;
  color: #f8fafc;
}
.aim-evidence-lightbox__img-wrap {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040706;
  overflow: hidden;
  flex: 1 1 auto;
}
.aim-evidence-lightbox__img-wrap img,
.aim-evidence-lightbox__img-wrap video {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 6px;
}
.aim-evidence-lightbox__img-wrap video {
  background: #05070c;
}
.aim-evidence-lightbox__img-wrap [hidden],
.aim-evidence-lightbox__img-wrap img[hidden],
.aim-evidence-lightbox__img-wrap video[hidden] {
  display: none !important;
}
.aim-evidence-lightbox__foot p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
  flex: 1 1 320px;
}
.aim-lightbox-link-card {
  width: min(760px, 100%);
  padding: 22px 24px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(8, 15, 22, 0.96), rgba(5, 9, 14, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aim-lightbox-link-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--aim-font-mono);
  font-size: 12px;
}
.aim-lightbox-link-card__author {
  color: #f6e27a;
}
.aim-lightbox-link-card__time {
  color: #94a3b8;
  margin-left: auto;
}
.aim-lightbox-link-card__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #f8fafc;
  word-break: break-word;
}
.aim-lightbox-link-card__url {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 36, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.24);
  font-family: var(--aim-font-mono);
  font-size: 12px;
  color: #7dd3fc;
  word-break: break-all;
}
.aim-lightbox-external-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aim-lightbox-external-bar[hidden] {
  display: none !important;
}
.aim-evidence-lightbox__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--aim-font-mono);
  font-size: 12px;
  color: #86efac;
}

/* Fullscreen Field Video Clip Theater */
.aim-clip-fs {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.aim-clip-fs[hidden] {
  display: none !important;
}
.aim-clip-fs__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.94);
}
.aim-clip-fs__dialog {
  position: relative;
  z-index: 1;
  width: min(1240px, 96vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #060911;
  border: 1px solid rgba(56, 189, 248, 0.52);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.aim-clip-fs__head {
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.aim-clip-fs__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.aim-clip-fs__title-wrap h3 {
  margin: 0;
  font-size: 15px;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aim-clip-fs__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aim-clip-fs__stage {
  padding: 12px 16px;
  background: #020408;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 240px;
}
.aim-clip-fs__stage video {
  width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  background: #000;
  object-fit: contain;
}
.aim-clip-fs__foot {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(8, 13, 24, 0.96);
}
.aim-clip-fs__pills {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0;
}
.aim-clip-fs__pill {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
  font-family: var(--aim-font-mono);
  font-size: 11px;
  cursor: pointer;
}
.aim-clip-fs__pill.is-active {
  border-color: #22d3ee;
  background: rgba(8, 51, 68, 0.95);
  color: #67e8f9;
}

.aim-heavens-ascent {
  position: relative;
  min-height: 460vh;
  padding: 10vh clamp(16px, 4vw, 48px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
}
.aim-heavens-card {
  position: sticky;
  top: calc(var(--aim-top-offset) + 14px);
  max-width: 440px;
  pointer-events: auto;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(10, 12, 22, 0.91);
  border: 1px solid rgba(246, 226, 122, 0.48);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65);
  color: #f8fafc;
}
.aim-heavens-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.aim-heavens-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #f6e27a;
}
.aim-heavens-copy {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #e2e8f0;
}
.aim-heavens-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .aim-cabinet-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .aim-cabinet-tabs {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.hud-btn-saw {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}
.hud-btn-saw:hover {
  border-color: rgba(125, 211, 252, 0.85);
  background: rgba(14, 116, 144, 0.25);
}

.overwatch-saw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.65);
  background: linear-gradient(135deg, rgba(12, 34, 56, 0.92), rgba(8, 22, 38, 0.96));
  color: #bae6fd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.overwatch-saw-cta:hover {
  transform: translateY(-1px);
  border-color: #7dd3fc;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.28);
}

.aim-saw-room {
  position: relative;
  min-height: 155vh;
  padding: 12vh clamp(16px, 4vw, 48px) 12vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}
.aim-saw-card {
  position: sticky;
  bottom: 12px;
  width: min(820px, calc(100vw - 32px));
  max-width: 820px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  pointer-events: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(7, 15, 25, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.42);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.72);
  color: #e2e8f0;
  transition: opacity 280ms ease, transform 280ms ease;
}
body.is-saw-reveal-focus .aim-saw-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}
.aim-saw-reveal {
  --saw-accent: rgba(125, 211, 252, 0.72);
  --saw-hazard-a: rgba(245, 158, 11, 0.72);
  position: fixed;
  padding: 15px 18px 12px;
  border-color: var(--saw-accent);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(14, 116, 144, 0.14) 0%, transparent 52%),
    linear-gradient(180deg, rgba(7, 17, 27, 0.96) 0%, rgba(4, 10, 17, 0.985) 100%);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.88),
    0 0 30px rgba(56, 189, 248, 0.2),
    inset 0 1px 0 rgba(226, 232, 240, 0.14),
    inset 0 -2px 0 rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(148, 163, 184, 0.1);
}
.aim-saw-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 13px 13px 0 0;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--saw-hazard-a) 0 9px,
      rgba(7, 11, 16, 0.94) 9px 18px
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}
.aim-saw-reveal[data-saw-room='room1'] {
  --saw-accent: rgba(239, 68, 68, 0.72);
  --saw-hazard-a: rgba(239, 68, 68, 0.78);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(239, 68, 68, 0.22),
    inset 0 1px 0 rgba(254, 202, 202, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.74);
}
.aim-saw-reveal[data-saw-room='room2'] {
  --saw-accent: rgba(245, 158, 11, 0.72);
  --saw-hazard-a: rgba(245, 158, 11, 0.82);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(245, 158, 11, 0.22),
    inset 0 1px 0 rgba(253, 230, 138, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.74);
}
.aim-saw-reveal[data-saw-room='room3'] {
  --saw-accent: rgba(56, 189, 248, 0.76);
  --saw-hazard-a: rgba(56, 189, 248, 0.78);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(56, 189, 248, 0.24),
    inset 0 1px 0 rgba(186, 230, 253, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.74);
}
.aim-saw-reveal[data-saw-room='room4'] {
  --saw-accent: rgba(244, 63, 94, 0.76);
  --saw-hazard-a: rgba(244, 63, 94, 0.8);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(244, 63, 94, 0.24),
    inset 0 1px 0 rgba(254, 205, 211, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.74);
}
.aim-saw-reveal[data-saw-room='room5'] {
  --saw-accent: rgba(45, 212, 191, 0.74);
  --saw-hazard-a: rgba(45, 212, 191, 0.78);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(45, 212, 191, 0.24),
    inset 0 1px 0 rgba(153, 246, 228, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.74);
}
.aim-saw-reveal .aim-pentagon-reveal__meta-row {
  gap: 8px;
  margin-bottom: 2px;
}
.aim-saw-reveal #saw-reveal-eyebrow {
  letter-spacing: 0.08em;
  border-color: var(--saw-accent);
  background: rgba(8, 22, 34, 0.86);
}
.aim-saw-reveal #saw-reveal-timer {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.07em;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(15, 23, 42, 0.72);
}
.aim-saw-reveal strong {
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: 0.014em;
  line-height: 1.18;
  color: #f8fafc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78);
}
.aim-saw-reveal .aim-pentagon-reveal__role {
  font-family: var(--aim-font-sans, 'Inter', system-ui, -apple-system, sans-serif);
  font-size: 12.2px;
  font-weight: 450;
  letter-spacing: 0.006em;
  line-height: 1.44;
  color: #cbd5e1;
  margin-top: 2px;
}
.aim-saw-reveal #saw-reveal-link:not([hidden]) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  font-family: var(--aim-font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.aim-saw-reveal #saw-reveal-link[hidden] {
  display: none !important;
}
.aim-saw-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 5px;
}
.aim-badge--saw {
  background: rgba(14, 116, 144, 0.35);
  border: 1px solid rgba(125, 211, 252, 0.55);
  color: #bae6fd;
}
.aim-saw-card h2 {
  margin: 0 0 4px;
  font-size: 15.5px;
  color: #e0f2fe;
}
.aim-saw-copy {
  margin: 0 0 8px;
  font-size: 11.2px;
  line-height: 1.38;
  color: #cbd5e1;
}
.aim-saw-copy em {
  color: #fde68a;
  font-style: italic;
}
.aim-saw-detainees {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 8px;
}
.aim-saw-chip {
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(10, 20, 32, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.28);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.aim-saw-detainees > .aim-saw-chip:nth-child(-n+3) {
  grid-column: span 2;
}
.aim-saw-detainees > .aim-saw-chip:nth-child(n+4) {
  grid-column: span 3;
}
.aim-saw-chip[data-saw-chip] {
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.aim-saw-chip[data-saw-chip]:hover {
  background: rgba(14, 30, 48, 0.94);
}
.aim-saw-chip.is-unrevealed {
  border-style: dashed;
  background: rgba(8, 15, 25, 0.74);
}
.aim-saw-chip.is-active {
  background: rgba(16, 36, 56, 0.96);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.24);
}
.aim-saw-chip__locked,
.aim-saw-chip__revealed {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aim-saw-chip.is-unrevealed .aim-saw-chip__revealed {
  display: none;
}
.aim-saw-chip:not(.is-unrevealed) .aim-saw-chip__locked {
  display: none;
}
.aim-saw-chip--room1 { border-color: rgba(239, 68, 68, 0.56); }
.aim-saw-chip--room2 { border-color: rgba(245, 158, 11, 0.56); }
.aim-saw-chip--room3 { border-color: rgba(56, 189, 248, 0.58); }
.aim-saw-chip--room4 { border-color: rgba(244, 63, 94, 0.62); }
.aim-saw-chip--room5 { border-color: rgba(45, 212, 191, 0.58); }
.aim-saw-chip__kicker {
  font-family: var(--aim-font-mono);
  font-size: 9.5px;
  color: #93c5fd;
  letter-spacing: 0.05em;
}
.aim-saw-chip--room1 .aim-saw-chip__kicker { color: #fca5a5; }
.aim-saw-chip--room2 .aim-saw-chip__kicker { color: #fcd34d; }
.aim-saw-chip--room3 .aim-saw-chip__kicker { color: #7dd3fc; }
.aim-saw-chip--room4 .aim-saw-chip__kicker { color: #fda4af; }
.aim-saw-chip--room5 .aim-saw-chip__kicker { color: #5eead4; }
.aim-saw-chip strong {
  font-size: 12px;
  line-height: 1.24;
  color: #f8fafc;
}
.aim-saw-chip__meta {
  font-size: 10.5px;
  line-height: 1.32;
  color: #94a3b8;
}
.aim-saw-chip__meta em {
  color: #e2e8f0;
  font-style: italic;
}
.aim-saw-chip__link {
  color: #fde047;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.aim-saw-chip__link:hover,
.aim-saw-chip__link:focus-visible {
  color: #fef9c3;
}
.aim-saw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
@media (max-width: 840px) {
  .aim-saw-detainees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aim-saw-detainees > .aim-saw-chip:nth-child(-n+3),
  .aim-saw-detainees > .aim-saw-chip:nth-child(n+4) {
    grid-column: span 1;
  }
  .aim-saw-detainees > .aim-saw-chip:nth-child(5) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .aim-saw-detainees {
    grid-template-columns: minmax(0, 1fr);
  }
  .aim-saw-detainees > .aim-saw-chip:nth-child(5) {
    grid-column: auto;
  }
}

.aim-heavens-portal-veil {
  position: fixed;
  inset: 0;
  z-index: 48;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  background:
    radial-gradient(circle at 50% 42%,
      rgba(255, 248, 224, 0.92) 0%,
      rgba(221, 180, 255, 0.72) 34%,
      rgba(92, 42, 168, 0.54) 68%,
      rgba(10, 6, 24, 0.85) 100%);
}
