/* ==========================================================================
   FIX MY PING v7 — TACTICAL BROADCAST TELEMETRY DESIGN SYSTEM
   Obsidian (#090b10) x Tactical Bone (#ece8e1) x Signal Red (#ff4655)
   ========================================================================== */

:root {
  --ink-void: #090b10;
  --ink-plate: #0f131b;
  --ink-panel: #151a24;
  --ink-line: rgba(236, 232, 225, 0.14);
  --ink-line-strong: rgba(236, 232, 225, 0.28);
  --ink-text: #ece8e1;
  --ink-muted: #a2abbb;
  --ink-soft: #758094;

  --bone-bg: #ece8e1;
  --bone-paper: #f6f3ec;
  --bone-surface: #ffffff;
  --bone-line: rgba(15, 25, 35, 0.16);
  --bone-line-strong: rgba(15, 25, 35, 0.34);
  --bone-ink: #0f1923;
  --bone-muted: #4a5568;

  --red: #ff4655;
  --red-dim: rgba(255, 70, 85, 0.18);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.14);
  --volt: #d2ff00;
  --volt-dim: rgba(210, 255, 0, 0.16);
  --amber: #ffb020;
  --amber-dim: rgba(255, 176, 32, 0.16);

  --game-accent: var(--red);

  --font-display: 'Rajdhani', 'Urbanist', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'DM Mono', ui-monospace, monospace;

  --cut-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  --cut-md: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --cut-lg: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  --cut-btn: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);

  --max-w: 1360px;
  --header-h: 64px;
}

/* Per-game tactical accent overrides */
[data-game-theme="valorant"], [data-theme="valorant"] { --game-accent: #ff4655; }
[data-game-theme="cs2"], [data-theme="cs2"] { --game-accent: #f59e0b; }
[data-game-theme="fortnite"], [data-theme="fortnite"] { --game-accent: #00e5ff; }
[data-game-theme="apex"], [data-game-theme="apex-legends"], [data-theme="apex"] { --game-accent: #ff5630; }
[data-game-theme="lol"], [data-game-theme="league-of-legends"], [data-theme="lol"] { --game-accent: #eab308; }
[data-game-theme="overwatch-2"], [data-theme="overwatch-2"] { --game-accent: #fb923c; }
[data-game-theme="tarkov"], [data-game-theme="escape-from-tarkov"], [data-theme="tarkov"] { --game-accent: #a3e635; }
[data-game-theme="wow"], [data-game-theme="world-of-warcraft"], [data-theme="wow"] { --game-accent: #38bdf8; }
[data-game-theme="genshin"], [data-game-theme="genshin-impact"], [data-theme="genshin"] { --game-accent: #c084fc; }
[data-game-theme="dota-2"], [data-theme="dota-2"] { --game-accent: #e8402f; }
[data-game-theme="rainbow-six-siege"], [data-game-theme="r6"], [data-theme="rainbow-six-siege"] { --game-accent: #38bdf8; }
[data-game-theme="rust"], [data-theme="rust"] { --game-accent: #cd412b; }

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

html {
  background: var(--ink-void);
  color: var(--ink-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--ink-void);
  color: var(--ink-text);
  overflow-x: clip;
}

img, svg, canvas, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.skip-link,
.quality-skip {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus,
.quality-skip:focus {
  left: 12px;
  top: 12px;
}

/* Scroll Progress Rail */
progress.fmp-scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1200;
  appearance: none;
  border: 0;
  background: transparent;
  pointer-events: none;
}
progress.fmp-scroll-rail::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.06);
}
progress.fmp-scroll-rail::-webkit-progress-value {
  background: linear-gradient(90deg, var(--red), var(--cyan));
}
progress.fmp-scroll-rail::-moz-progress-bar {
  background: linear-gradient(90deg, var(--red), var(--cyan));
}

.v7-container {
  width: min(var(--max-w), calc(100vw - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   STICKY BROADCAST HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: rgba(9, 11, 16, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-line);
}

.brand {
  position: relative;
  z-index: 905;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-text);
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: var(--cut-sm);
}

.brand-pulse {
  width: 6px;
  height: 6px;
  background: var(--volt);
  box-shadow: 0 0 10px var(--volt);
}

#primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

#primary-nav a {
  padding: 7px 12px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

#primary-nav a:hover,
#primary-nav a[aria-current="page"] {
  color: var(--ink-text);
  border-bottom-color: var(--red);
  background: rgba(255, 70, 85, 0.08);
}

.fmp-header-actions {
  position: relative;
  z-index: 905;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cy-cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: var(--ink-plate);
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.cy-cmd-trigger kbd {
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
}

.cy-cmd-trigger:hover {
  border-color: var(--cyan);
  color: var(--ink-text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.header-cta:hover {
  background: #ff5b69;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  background: var(--ink-plate);
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-sm);
  cursor: pointer;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ==========================================================================
   BUTTONS & TACTICAL BADGES
   ========================================================================== */
.v7-btn-primary,
.v6-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: linear-gradient(180deg, #ff5462 0%, var(--red) 100%);
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 28px rgba(255, 70, 85, 0.24);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.v7-btn-primary:hover,
.v6-btn-primary:hover {
  background: linear-gradient(180deg, #ff6471 0%, #ff4d5c 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 14px 34px rgba(255, 70, 85, 0.4);
}

.v7-btn-ghost,
.v6-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(11, 15, 23, 0.62);
  backdrop-filter: blur(12px);
  color: var(--ink-text);
  text-decoration: none;
  border: 1px solid rgba(236, 232, 225, 0.24);
  clip-path: var(--cut-btn);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.v7-btn-ghost:hover,
.v6-btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.09);
  transform: translateY(-1px);
}

.v7-btn-bone-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--bone-ink);
  color: var(--bone-bg);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
  transition: background 0.18s ease, transform 0.18s ease;
}

.v7-btn-bone-dark:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.v7-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.v7-kicker i {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

/* ==========================================================================
   HOMEPAGE CHAPTER 01 — STUDIO 3D OPTICAL ROUTING STAGE
   ========================================================================== */
.v7-hero-stage {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink-void);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
}

.v7-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #070a0f;
}

.v7-hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 34%;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04);
  transform-origin: center center;
  will-change: transform;
  filter: saturate(1.06) contrast(1.04);
  user-select: none;
}

.v7-hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.58;
  background:
    radial-gradient(circle at 70% 42%, rgba(255, 176, 32, 0.16), transparent 44%),
    radial-gradient(circle at 86% 24%, rgba(0, 229, 255, 0.12), transparent 36%);
  transition: background 0.45s ease, opacity 0.45s ease;
}

.v7-hero-stage[data-pattern="high"] .v7-hero-atmosphere {
  background:
    radial-gradient(circle at 89% 23%, rgba(255, 70, 85, 0.24), transparent 38%),
    radial-gradient(circle at 60% 56%, rgba(0, 229, 255, 0.14), transparent 42%);
}

.v7-hero-stage[data-pattern="loss"] .v7-hero-atmosphere {
  background:
    radial-gradient(circle at 75% 40%, rgba(255, 70, 85, 0.24), transparent 44%),
    radial-gradient(circle at 56% 62%, rgba(0, 229, 255, 0.12), transparent 36%);
}

.v7-hero-stage[data-pattern="desync"] .v7-hero-atmosphere {
  background:
    radial-gradient(circle at 86% 26%, rgba(210, 255, 0, 0.16), transparent 40%),
    radial-gradient(circle at 58% 58%, rgba(0, 229, 255, 0.16), transparent 42%);
}

.v7-stage-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(94deg, rgba(7, 10, 15, 0.94) 0%, rgba(7, 10, 15, 0.8) 28%, rgba(7, 10, 15, 0.34) 47%, rgba(7, 10, 15, 0.02) 66%, rgba(7, 10, 15, 0.14) 100%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.42) 0%, transparent 18%, transparent 66%, rgba(7, 10, 15, 0.88) 97%);
}

#fmp-stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: default;
}

#fmp-stage-hud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Top Telemetry Rail */
.v7-stage-telemetry {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 0;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(162, 171, 187, 0.78);
}

.v7-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(236, 232, 225, 0.16);
  background: rgba(9, 12, 19, 0.64);
  backdrop-filter: blur(10px);
  color: var(--cyan);
}

.v7-stage-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--volt);
  box-shadow: 0 0 8px var(--volt);
}

.v7-hero-core {
  position: relative;
  z-index: 4;
  width: min(var(--max-w), calc(100vw - 48px));
  margin-inline: auto;
  padding: 12px 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: center;
  gap: 24px;
  pointer-events: none;
}

.v7-hero-editorial {
  pointer-events: auto;
}

.v7-hero-editorial h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.85vw, 4.75rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f3efe8;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.v7-hero-editorial h1 em {
  display: block;
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 28px rgba(255, 70, 85, 0.34), 0 8px 28px rgba(0, 0, 0, 0.5);
}

.v7-hero-sub {
  margin: 0 0 22px;
  max-width: 50ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: #d0d8e6;
}

.v7-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.v7-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(182, 192, 208, 0.85);
}

.v7-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.v7-trust-strip svg {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.hero-consent-host {
  margin-top: 14px;
  max-width: 540px;
  pointer-events: auto;
}

/* Broadcast Lower-Third Interactive Telemetry Console */
.v7-hud-bar {
  position: relative;
  z-index: 5;
  width: min(var(--max-w), calc(100vw - 48px));
  margin: 0 auto 16px;
  background: rgba(9, 13, 21, 0.84);
  border: 1px solid rgba(236, 232, 225, 0.16);
  border-top: 2px solid var(--red);
  clip-path: var(--cut-md);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.v7-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.02);
}

.v7-hud-top-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.v7-symptom-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink-line);
}

.v7-symptom-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--ink-line);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.v7-symptom-btn:last-child {
  border-right: 0;
}

.v7-symptom-btn small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--red);
}

.v7-symptom-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-text);
}

.v7-symptom-btn.is-active {
  background: linear-gradient(90deg, rgba(255, 70, 85, 0.16), rgba(0, 229, 255, 0.06));
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--red);
}

.v7-hud-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(300px, 1.25fr) minmax(240px, 0.9fr);
  align-items: stretch;
}

.v7-scope-box {
  padding: 12px 16px;
  border-right: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v7-scope-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.v7-scope-legend b {
  color: var(--volt);
  font-weight: 600;
}

#cy-sim-scope {
  width: 100%;
  height: 98px;
  background: #06090f;
  border: 1px solid var(--ink-line);
}

.v7-hop-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid var(--ink-line);
}

.v7-hop-cell {
  padding: 14px 12px;
  border-right: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.v7-hop-cell:last-child {
  border-right: 0;
}

.v7-hop-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.v7-hop-cell b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-text);
}

.v7-hop-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.v7-hop-cell[data-state="warn"] {
  background: rgba(255, 176, 32, 0.07);
}
.v7-hop-cell[data-state="warn"] .v7-hop-tag {
  color: var(--amber);
  border-color: rgba(255, 176, 32, 0.45);
}

.v7-hop-cell[data-state="fault"] {
  background: rgba(255, 70, 85, 0.13);
  box-shadow: inset 0 2px 0 var(--red);
}
.v7-hop-cell[data-state="fault"] .v7-hop-tag {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.v7-hud-action {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.v7-hud-action strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.v7-hud-action p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--ink-muted);
}

.v7-hud-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--cyan);
  color: #06090f;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
  transition: background 0.18s ease, transform 0.18s ease;
}

.v7-hud-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   TACTICAL BONE CONTRAST BANDS (CHAPTER 02 & CHAPTER 05)
   ========================================================================== */
.v7-band-bone {
  position: relative;
  background-color: var(--bone-bg);
  background-image: radial-gradient(rgba(15, 25, 35, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--bone-ink);
  padding: 58px 0;
  border-top: 3px solid var(--red);
}

.v7-chapter-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--bone-line-strong);
}

.v7-chapter-head--dark {
  border-bottom-color: var(--ink-line-strong);
}

.v7-chapter-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.v7-chapter-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid currentColor;
  clip-path: var(--cut-sm);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.v7-band-bone .v7-chapter-link:hover {
  background: var(--bone-ink);
  color: var(--bone-bg);
  border-color: var(--bone-ink);
}

/* Interactive Architectural Dossier Rows (Four Focused Tools) */
.v7-dossier-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--bone-line-strong);
}

.v7-dossier-row {
  position: relative;
  display: grid;
  grid-template-columns: 196px minmax(200px, 1fr) minmax(260px, 1.45fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 20px;
  text-decoration: none;
  color: var(--bone-ink);
  border-bottom: 1px solid var(--bone-line);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.v7-dossier-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--red);
  transition: width 0.2s ease;
}

.v7-dossier-row:hover {
  background: var(--bone-ink);
  color: var(--bone-bg);
  transform: translateX(4px);
}

.v7-dossier-row:hover::before {
  width: 6px;
}

.v7-row-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.v7-row-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  background: var(--bone-surface);
  border: 1px solid var(--bone-line-strong);
  clip-path: var(--cut-sm);
  color: var(--red);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.v7-row-icon svg {
  width: 15px;
  height: 15px;
}

.v7-dossier-row:hover .v7-row-code {
  color: var(--cyan);
}

.v7-dossier-row:hover .v7-row-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.v7-row-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.v7-row-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--bone-muted);
}

.v7-dossier-row:hover .v7-row-desc {
  color: #cbd5e1;
}

.v7-row-cta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--bone-line-strong);
  clip-path: var(--cut-sm);
  white-space: nowrap;
}

.v7-dossier-row:hover .v7-row-cta {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Architectural 3-Step Loop Grid */
.v7-loop-subhead {
  margin-top: 64px;
}

.v7-loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--bone-line-strong);
  background: var(--bone-paper);
}

.v7-loop-card {
  padding: 32px 28px;
  border-right: 1px solid var(--bone-line-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.v7-loop-card:last-child {
  border-right: 0;
}

.v7-loop-step {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

.v7-loop-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.v7-loop-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--bone-muted);
}

.v7-loop-card a {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone-ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
}

/* ==========================================================================
   CHAPTER 03 — OBSIDIAN 9-GAME AGENT ROSTER SPOTLIGHT SHOWCASE
   ========================================================================== */
.v7-roster-section {
  position: relative;
  background: var(--ink-void);
  color: var(--ink-text);
  padding: 62px 0;
  overflow: hidden;
}

.v7-watermark-bg {
  position: absolute;
  top: 28px;
  left: -2vw;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 15vw, 13.5rem);
  font-weight: 700;
  line-height: 0.85;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 232, 225, 0.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.v7-roster-section .v7-chapter-link {
  border-color: var(--ink-line-strong);
  color: var(--ink-text);
}

.v7-roster-section .v7-chapter-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.v7-roster-spotlight {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr);
  min-height: 390px;
  background: linear-gradient(135deg, #101520 0%, #0b0f17 100%);
  border: 1px solid rgba(236, 232, 225, 0.18);
  border-left: 4px solid var(--game-accent);
  clip-path: var(--cut-lg);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.v7-spotlight-copy {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.v7-spotlight-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.v7-spotlight-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(9, 12, 19, 0.9);
  border: 1px solid color-mix(in srgb, var(--game-accent) 48%, rgba(255, 255, 255, 0.14));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--game-accent) 22%, rgba(0, 0, 0, 0.6));
  overflow: hidden;
  padding: 8px;
}

.v7-spotlight-icon[data-icon-fit="cover"] {
  padding: 0;
}

.v7-spotlight-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v7-spotlight-icon[data-icon-fit="cover"] img {
  object-fit: cover;
}

.v7-spotlight-genre {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--game-accent);
}

.v7-spotlight-copy h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
  color: #fff;
}

.v7-spotlight-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: #cbd5e1;
  max-width: 46ch;
}

.v7-spotlight-metrics {
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-left: 2px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.v7-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.v7-spotlight-actions .v7-btn-primary,
.v7-spotlight-actions .v7-btn-ghost {
  flex: 1 1 210px;
  justify-content: center;
  padding: 13px 18px;
  font-size: 14.5px;
  text-align: center;
  white-space: nowrap;
}

.v7-spotlight-media {
  position: relative;
  min-height: 320px;
  background: #06090f;
  overflow: hidden;
}

.v7-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  transition: transform 0.55s ease, opacity 0.28s ease;
}

.v7-roster-spotlight:hover .v7-spotlight-media img {
  transform: scale(1.03);
}

.v7-spotlight-media img.is-swapping {
  opacity: 0.25;
  transform: scale(1.03);
}

.v7-spotlight-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b0f17 0%, rgba(11, 15, 23, 0.52) 14%, transparent 34%),
    linear-gradient(180deg, rgba(9, 11, 16, 0.12) 0%, transparent 45%, rgba(9, 11, 16, 0.82) 100%);
  pointer-events: none;
}

.v7-spotlight-hud-tag {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(9, 12, 19, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--game-accent) 48%, rgba(236, 232, 225, 0.24));
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.v7-roster-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.v7-roster-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 164px;
  padding: 11px 11px 12px;
  text-decoration: none;
  background: #0d121c;
  border: 1px solid rgba(236, 232, 225, 0.14);
  border-top: 2.5px solid color-mix(in srgb, var(--game-accent) 65%, transparent);
  clip-path: var(--cut-sm);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.v7-roster-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.7) brightness(0.75);
  transform: scale(1.02);
  transition: opacity 0.28s ease, filter 0.28s ease, transform 0.35s ease;
  pointer-events: none;
}

.v7-roster-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 12, 19, 0.48) 0%, rgba(9, 12, 19, 0.32) 38%, rgba(9, 12, 19, 0.92) 86%, rgba(9, 12, 19, 0.97) 100%);
  pointer-events: none;
}

.v7-roster-card:hover .v7-roster-bg,
.v7-roster-card.is-selected .v7-roster-bg {
  opacity: 0.82;
  filter: saturate(1.1) brightness(0.95);
  transform: scale(1.07);
}

.v7-roster-card:hover,
.v7-roster-card.is-selected {
  transform: translateY(-4px);
  border-color: var(--game-accent);
  border-top-color: var(--game-accent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--game-accent) 26%, rgba(0, 0, 0, 0.6)),
              inset 0 0 0 1px color-mix(in srgb, var(--game-accent) 45%, transparent);
}

.v7-roster-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.v7-game-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(9, 12, 19, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(236, 232, 225, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  padding: 5px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.v7-game-icon[data-icon-fit="cover"] {
  padding: 0;
}

.v7-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v7-game-icon[data-icon-fit="cover"] img {
  object-fit: cover;
}

.v7-roster-card:hover .v7-game-icon,
.v7-roster-card.is-selected .v7-game-icon {
  border-color: var(--game-accent);
  transform: scale(1.05);
}

.v7-roster-card span.v7-card-num {
  position: relative;
  z-index: 2;
  padding: 2px 5px;
  background: rgba(9, 12, 19, 0.72);
  border: 1px solid rgba(236, 232, 225, 0.14);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--game-accent);
}

.v7-roster-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.v7-roster-card strong {
  position: relative;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.06;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.v7-roster-card small {
  position: relative;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.3;
  color: #c6d0e0;
  letter-spacing: 0.03em;
}

.v7-roster-credit {
  position: relative;
  z-index: 2;
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(162, 171, 187, 0.62);
}

/* ==========================================================================
   CHAPTER 04 — EVIDENCE MANIFESTO BAND (.evidence-band REQUIRED BY TESTS)
   ========================================================================== */
.evidence-band {
  background: linear-gradient(180deg, #0d121c 0%, var(--ink-void) 100%);
  border-top: 1px solid var(--ink-line-strong);
  border-bottom: 1px solid var(--ink-line);
  padding: 62px 0;
}

.v7-manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.v7-spread-board {
  background: #06090f;
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-md);
  padding: 26px;
}

.v7-spread-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.v7-spread-badge {
  padding: 3px 8px;
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(255, 70, 85, 0.4);
}

.v7-bar-group {
  margin-bottom: 18px;
}

.v7-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  margin-bottom: 7px;
  color: var(--ink-muted);
}

.v7-bar-track {
  position: relative;
  height: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-line);
}

.v7-bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #06090f;
}

.v7-bar-fill--before {
  width: 14%;
  background: var(--cyan);
}

.v7-bar-fill--after-median {
  width: 10%;
  background: var(--volt);
}

.v7-bar-fill--after-worst {
  width: 96%;
  background: linear-gradient(90deg, var(--volt) 0%, var(--amber) 35%, var(--red) 100%);
  color: #fff;
}

.v7-spread-verdict {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: rgba(255, 70, 85, 0.08);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-text);
}

.v7-manifesto-copy h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.v7-manifesto-copy > p {
  margin: 0 0 24px;
  font-size: 16.5px;
  color: var(--ink-muted);
}

.v7-rule-rows {
  border-top: 1px solid var(--ink-line-strong);
}

.v7-rule-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-line);
}

.v7-rule-row span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
}

.v7-rule-row h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
}

.v7-rule-row p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   CHAPTER 05 — BONE GEO ANSWERS & TECHNICAL FIELD MANUAL FAQ
   ========================================================================== */
.v7-qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.v7-qa-card {
  padding: 26px 24px;
  background: var(--bone-paper);
  border: 1px solid var(--bone-line-strong);
  border-top: 3px solid var(--bone-ink);
  clip-path: var(--cut-sm);
}

.v7-qa-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.v7-qa-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--bone-muted);
}

.v7-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--bone-line-strong);
}

.v7-faq-list details {
  border-bottom: 1px solid var(--bone-line-strong);
  background: var(--bone-paper);
}

.v7-faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone-ink);
}

.v7-faq-list summary::-webkit-details-marker {
  display: none;
}

.v7-faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--red);
}

.v7-faq-list details[open] summary::after {
  content: '−';
}

.v7-faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--bone-muted);
  max-width: 78ch;
}

/* ==========================================================================
   COMMERCE BRIDGE, AD SLOT, WORKBENCH & WATERMARK FOOTER
   ========================================================================== */
.commerce-home {
  width: min(var(--max-w), calc(100vw - 48px));
  margin: 44px auto 0;
  padding: 28px 32px;
  background: var(--ink-plate);
  border: 1px solid var(--ink-line-strong);
  border-left: 4px solid var(--amber);
  clip-path: var(--cut-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.commerce-home h2 {
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
}

.commerce-home p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 62ch;
}

.ad-slot {
  width: min(var(--max-w), calc(100vw - 48px));
  margin: 28px auto;
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--ink-line);
  background: rgba(15, 19, 27, 0.45);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v7-workbench-strip {
  width: min(var(--max-w), calc(100vw - 48px));
  margin: 0 auto 72px;
  padding: 36px;
  background: var(--ink-plate);
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-md);
}

.v7-workbench-strip h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  text-transform: uppercase;
}

.v7-workbench-strip p {
  color: var(--ink-muted);
  max-width: 72ch;
}

.v7-chip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.v7-chip-links a {
  padding: 8px 14px;
  background: var(--ink-panel);
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-sm);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  transition: background 0.18s ease, color 0.18s ease;
}

.v7-chip-links a:hover {
  background: var(--cyan);
  color: #06090f;
}

.v7-byline-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-footer {
  position: relative;
  border-top: 2px solid var(--red);
  background: #06080c;
  padding: 64px 28px 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 32px;
  width: 100%;
}

.site-footer > * {
  position: relative;
  z-index: 2;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.site-footer div a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.site-footer div a:hover {
  color: var(--ink-text);
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 34ch;
}

.footer-note,
.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
}

/* ==========================================================================
   INNER PAGES — OBSIDIAN EDITORIAL HERO + BONE DOSSIER + STICKY HUD
   ========================================================================== */
.v7-editorial-hero {
  position: relative;
  padding: 50px 0 42px;
  background:
    radial-gradient(circle at 84% 20%, color-mix(in srgb, var(--game-accent) 26%, transparent), transparent 48%),
    linear-gradient(rgba(236, 232, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 232, 225, 0.035) 1px, transparent 1px),
    var(--ink-void);
  background-size: 100% 100%, 48px 48px, 48px 48px, 100% 100%;
  border-bottom: 3px solid var(--game-accent);
  overflow: hidden;
}

.v7-editorial-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.04);
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.85) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.85) 100%);
}

[data-game-theme="valorant"] .v7-editorial-hero-bg { background-image: url('/assets/games/valorant-shot.webp'); }
[data-game-theme="cs2"] .v7-editorial-hero-bg { background-image: url('/assets/games/cs2-shot.webp'); }
[data-game-theme="fortnite"] .v7-editorial-hero-bg { background-image: url('/assets/games/fortnite-shot.webp'); }
[data-game-theme="apex"] .v7-editorial-hero-bg, [data-game-theme="apex-legends"] .v7-editorial-hero-bg { background-image: url('/assets/games/apex-shot.webp'); }
[data-game-theme="escape-from-tarkov"] .v7-editorial-hero-bg, [data-game-theme="tarkov"] .v7-editorial-hero-bg { background-image: url('/assets/games/tarkov-shot.webp'); }
[data-game-theme="league-of-legends"] .v7-editorial-hero-bg, [data-game-theme="lol"] .v7-editorial-hero-bg { background-image: url('/assets/games/lol-shot.webp'); }
[data-game-theme="overwatch-2"] .v7-editorial-hero-bg { background-image: url('/assets/games/overwatch-2-shot.webp'); }
[data-game-theme="world-of-warcraft"] .v7-editorial-hero-bg, [data-game-theme="wow"] .v7-editorial-hero-bg { background-image: url('/assets/games/wow-shot.webp'); }
[data-game-theme="genshin-impact"] .v7-editorial-hero-bg, [data-game-theme="genshin"] .v7-editorial-hero-bg { background-image: url('/assets/games/genshin-shot.webp'); }
[data-game-theme="dota-2"] .v7-editorial-hero-bg { background-image: url('/assets/games/dota-2-shot.webp'); }
[data-game-theme="rainbow-six-siege"] .v7-editorial-hero-bg, [data-game-theme="r6"] .v7-editorial-hero-bg { background-image: url('/assets/games/rainbow-six-siege-shot.webp'); }
[data-game-theme="rust"] .v7-editorial-hero-bg { background-image: url('/assets/games/rust-shot.webp'); }

.v7-guide-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 32px;
}

.v7-guide-identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 6px;
  background: rgba(11, 15, 23, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--game-accent) 44%, rgba(236, 232, 225, 0.16));
  border-radius: 10px;
}

.v7-guide-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(9, 12, 19, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  padding: 6px;
}

.v7-guide-icon[data-icon-fit="cover"] {
  padding: 0;
}

.v7-guide-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v7-guide-icon[data-icon-fit="cover"] img {
  object-fit: cover;
}

.v7-guide-identity-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v7-guide-identity-text strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.v7-guide-identity-text span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--game-accent);
}

.v7-guide-shot-card {
  position: relative;
  margin: 0;
  border-radius: 4px;
  background: #080b11;
  border: 1px solid color-mix(in srgb, var(--game-accent) 42%, rgba(236, 232, 225, 0.2));
  border-top: 3px solid var(--game-accent);
  clip-path: var(--cut-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.56);
}

.v7-guide-shot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}

.v7-guide-shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(9, 12, 19, 0.94);
  border-top: 1px solid rgba(236, 232, 225, 0.12);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4dce8;
}

.v7-guide-shot-caption b {
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .v7-guide-top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.v7-editorial-hero .v7-container {
  position: relative;
  z-index: 2;
}

.v7-hero-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.v7-hero-crumbs a {
  text-decoration: none;
  color: var(--cyan);
}

.v7-editorial-hero h1 {
  margin: 8px 0 14px;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
  color: #fff;
}

.v7-editorial-lede {
  margin: 0 0 22px;
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.64;
  color: #d4dce8;
}

.guide-consent-host {
  margin: 16px 0 24px;
  max-width: 660px;
}

/* Full-width Horizontal 4-Hop .route-visual Strip */
.route-visual {
  position: relative;
  margin-top: 26px;
  padding: 20px;
  background: rgba(15, 19, 27, 0.92);
  border: 1px solid var(--ink-line-strong);
  border-left: 3px solid var(--game-accent);
  clip-path: var(--cut-md);
}

.visual-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--game-accent);
}

.visual-top b {
  padding: 2px 8px;
  border: 1px solid currentColor;
  font-size: 10px;
}

.path-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.path-row > em {
  display: none;
}

.path-row .route-card,
.path-row > div {
  padding: 12px 14px;
  background: var(--ink-panel);
  border: 1px solid var(--ink-line);
  clip-path: var(--cut-sm);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.path-row .route-card:hover,
.path-row .route-card.is-active,
.path-row > div:hover,
.path-row > div.is-active {
  border-color: var(--game-accent);
  background: rgba(255, 70, 85, 0.1);
}

.path-row strong,
.path-row b {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.path-row span,
.path-row small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.visual-focus {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  color: #dbe3ee;
}

.visual-focus strong {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.signal-bars span {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.signal-bars span:nth-child(-n+5) {
  background: var(--game-accent);
}

/* Tactical Bone 2-Column Editorial Dossier */
.v7-dossier-band {
  background-color: var(--bone-bg);
  background-image: radial-gradient(rgba(15, 25, 35, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--bone-ink);
  padding: 48px 0 84px;
}

/* Asymmetric Split Inner Hero + Obsidian Spec Dossier */
.v7-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.74fr);
  gap: 28px;
  align-items: end;
}

.v7-hero-copy {
  min-width: 0;
}

.v7-hero-spec {
  min-width: 0;
  padding: 20px 22px;
  background: rgba(12, 16, 24, 0.88);
  border: 1px solid var(--ink-line-strong);
  border-top: 3px solid var(--game-accent);
  clip-path: var(--cut-md);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.v7-spec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.v7-spec-head b {
  color: var(--volt);
}

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

.v7-spec-cell {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ink-line);
  clip-path: var(--cut-sm);
}

.v7-spec-cell span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.v7-spec-cell strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.v7-spec-bars {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.v7-spec-bars i {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.v7-spec-bars i:nth-child(-n+7) {
  background: var(--cyan);
}

.v7-spec-bars i:nth-child(8),
.v7-spec-bars i:nth-child(9) {
  background: var(--game-accent);
}

.v7-dossier {
  width: min(var(--max-w), calc(100vw - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 40px;
  align-items: start;
}

.v7-dossier.v7-dossier--single {
  grid-template-columns: minmax(0, 1fr);
}

.v7-dossier-main {
  min-width: 0;
}

.v7-dossier-main h2 {
  margin: 34px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--bone-ink);
  border-bottom: 2px solid var(--bone-line-strong);
  padding-bottom: 8px;
}

.v7-dossier-main h3 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone-ink);
}

.v7-dossier-main p,
.v7-dossier-main li {
  font-size: 16px;
  line-height: 1.72;
  color: #1f2937;
}

.v7-dossier-main :where(a:not(.v7-btn-primary):not(.v7-btn-ghost):not(.v7-btn-bone-dark):not(.button):not(.v7-hw-cta):not(.v7-hw-jump)) {
  color: #b41d2b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v7-dossier-main .article-section,
.v7-dossier-main .priority-section,
.v7-dossier-main .contract-panel,
.v7-dossier-main .limit-panel,
.v7-dossier-main .source-panel,
.v7-dossier-main .quick-answer,
.v7-dossier-main .status-banner,
.v7-dossier-main .study-limitations {
  margin: 24px 0;
  padding: 26px 28px;
  background: var(--bone-paper);
  border: 1px solid var(--bone-line-strong);
  border-left: 4px solid var(--bone-ink);
}

.v7-dossier-main .quick-answer-head a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
}

.v7-dossier-main .quick-answer-head a:hover {
  background: #ff5b69;
}

.symptom-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
}

.symptom-index a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 54px;
  padding: 11px 14px;
  background: rgba(15, 19, 27, 0.88);
  border: 1px solid var(--ink-line-strong);
  border-left: 3px solid var(--red);
  clip-path: var(--cut-sm);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.symptom-index a:hover {
  border-color: var(--cyan);
  background: var(--ink-panel);
}

.symptom-index a span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.symptom-index a strong {
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.symptom-index a small {
  font-size: 12px;
  color: var(--ink-muted);
}

.v7-dossier-main .symptom-grid,
.v7-dossier-main .context-grid,
.v7-dossier-main .scenario-grid,
.v7-dossier-main .record-grid,
.v7-dossier-main .hardware-cards-grid,
.v7-dossier-main .context-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.v7-dossier-main .symptom-card,
.v7-dossier-main .context-card,
.v7-dossier-main .scenario-card,
.v7-dossier-main .record-card {
  padding: 18px 20px;
  background: var(--bone-surface);
  border: 1px solid var(--bone-line-strong);
  border-top: 3px solid var(--red);
  clip-path: var(--cut-sm);
}

/* Interactive Click-to-Check Checklist in Ordered Lists */
.v7-dossier-main ol li {
  position: relative;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--bone-line);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.v7-dossier-main ol li.is-done {
  background: rgba(16, 185, 129, 0.12);
  border-color: #059669;
  color: #064e3b;
}

/* Obsidian-Framed WebP Illustrations inside Bone Canvas */
.note-illustration {
  margin: 26px 0;
  padding: 12px;
  background: var(--ink-void);
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-md);
}

.note-illustration img {
  width: 100%;
  height: auto;
  border: 1px solid var(--ink-line);
}

.note-illustration figcaption {
  padding: 10px 6px 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* Tables inside Tactical Bone Dossier */
.v7-dossier-main table,
.study-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--bone-surface);
  border: 1px solid var(--bone-line-strong);
  font-size: 14px;
}

.v7-dossier-main .quick-answer,
.v7-dossier-main .status-banner {
  border-left-color: var(--red);
  background: var(--bone-surface);
}

.v7-dossier-main th,
.study-table th {
  padding: 12px 14px;
  text-align: left;
  background: var(--bone-ink);
  color: var(--bone-bg);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.v7-dossier-main tbody th small,
.study-table tbody th small {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 10.5px;
  color: var(--cyan);
  text-transform: none;
  letter-spacing: 0.02em;
}

.v7-dossier-main td,
.study-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--bone-line);
  color: var(--bone-ink);
}

.table-scroll,
.study-table-wrap {
  overflow-x: auto;
}

/* Study Lab Visualization Box (Obsidian contrast inside Bone or Study Lab) */
.study-viz-panel {
  margin: 26px 0;
  padding: 22px;
  background: var(--ink-void);
  color: var(--ink-text);
  border: 1px solid var(--ink-line-strong);
  border-top: 3px solid var(--cyan);
  clip-path: var(--cut-md);
}

.study-viz-panel h2,
.study-viz-panel p {
  color: var(--ink-text);
  border-bottom-color: var(--ink-line);
}

.study-viz-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cy-deck-tab {
  padding: 8px 14px;
  background: var(--ink-panel);
  border: 1px solid var(--ink-line-strong);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}

.cy-deck-tab.is-active {
  background: var(--cyan);
  color: #06090f;
  border-color: var(--cyan);
  font-weight: 700;
}

#fmp-study-canvas {
  width: 100%;
  height: 290px;
  background: #06090f;
  border: 1px solid var(--ink-line);
}

.v7-dossier-main .final-cta {
  margin-top: 32px;
  padding: 32px;
  background: var(--ink-void);
  color: var(--ink-text);
  border: 1px solid var(--ink-line-strong);
  border-left: 4px solid var(--red);
  clip-path: var(--cut-md);
}

.v7-dossier-main .final-cta h2,
.v7-dossier-main .final-cta p {
  color: var(--ink-text);
  border-bottom-color: var(--ink-line);
}

.button.primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
}

.button.secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ink-plate);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink-line-strong);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
}

/* Sticky Obsidian HUD TOC Rail */
.v7-toc-hud {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.v6-hud-card {
  padding: 20px;
  background: var(--ink-void);
  color: var(--ink-text);
  border: 1px solid var(--ink-line-strong);
  border-top: 3px solid var(--game-accent);
  clip-path: var(--cut-md);
}

.v6-hud-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.v6-hud-progress {
  width: 100%;
  height: 4px;
  appearance: none;
  border: 0;
  margin-bottom: 14px;
}
.v6-hud-progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}
.v6-hud-progress::-webkit-progress-value {
  background: var(--game-accent);
}

.v6-hud-toc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.v6-hud-toc a {
  padding: 7px 10px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  border-left: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.v6-hud-toc a:hover,
.v6-hud-toc a.is-active {
  color: #fff;
  border-left-color: var(--red);
  background: rgba(255, 70, 85, 0.12);
}

.v6-hud-cta {
  display: flex;
  justify-content: center;
  padding: 12px 14px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
}

/* Guides & Notes Filter Bars */
.v6-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding: 16px 18px;
  background: var(--ink-void);
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-sm);
}

.v6-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v6-filter-pill {
  padding: 7px 12px;
  background: var(--ink-panel);
  border: 1px solid var(--ink-line);
  color: var(--ink-muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.v6-filter-pill.is-active,
.v6-filter-pill:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.v6-search-input {
  min-width: 240px;
  padding: 9px 12px;
  background: #06090f;
  border: 1px solid var(--ink-line-strong);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

/* Guides Arsenal Hub Grid */
.v7-arsenal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.v7-arsenal-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--ink-void);
  color: var(--ink-text);
  border: 1px solid var(--ink-line-strong);
  border-top: 3px solid var(--game-accent);
  clip-path: var(--cut-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.v7-arsenal-card:hover {
  transform: translateY(-4px);
  border-color: var(--game-accent);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--game-accent) 22%, transparent);
}

.v7-arsenal-thumb {
  height: 186px;
  background: linear-gradient(135deg, #101622, color-mix(in srgb, var(--game-accent) 26%, #090b10));
  overflow: hidden;
  position: relative;
}

.v7-arsenal-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 11, 16, 0.1) 0%, transparent 42%, rgba(9, 11, 16, 0.88) 100%);
  pointer-events: none;
}

.v7-arsenal-icon {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(9, 12, 19, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--game-accent) 55%, rgba(255, 255, 255, 0.18));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  padding: 6px;
}

.v7-arsenal-icon[data-icon-fit="cover"] {
  padding: 0;
}

.v7-arsenal-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v7-arsenal-icon[data-icon-fit="cover"] img {
  object-fit: cover;
}

.v7-arsenal-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 8px;
  background: rgba(9, 11, 16, 0.86);
  border: 1px solid var(--game-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--game-accent);
}

.v7-arsenal-thumb img.v7-arsenal-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: transform 0.35s ease;
}

.v7-arsenal-card:hover .v7-arsenal-thumb img.v7-arsenal-shot {
  transform: scale(1.05);
}

.v7-arsenal-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v7-arsenal-body small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--game-accent);
}

.v7-arsenal-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
}

.v7-arsenal-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Quick Jump Command Palette Modal */
.v7-cmd-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: start center;
  padding-top: 12vh;
  background: rgba(6, 9, 15, 0.82);
  backdrop-filter: blur(12px);
}

.v7-cmd-modal[hidden] {
  display: none;
}

.v7-cmd-panel {
  width: min(640px, calc(100vw - 32px));
  background: var(--ink-plate);
  border: 1px solid var(--cyan);
  clip-path: var(--cut-md);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.v7-cmd-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-line);
}

.v7-cmd-head input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
}

.v7-cmd-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.v7-cmd-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  text-decoration: none;
  color: var(--ink-text);
  border-left: 2px solid transparent;
}

.v7-cmd-item:hover,
.v7-cmd-item:focus {
  background: rgba(255, 70, 85, 0.14);
  border-left-color: var(--red);
}

.v7-cmd-item span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cyan);
  text-transform: uppercase;
}

/* Base responsive block styles kept before bottom @media cascade */

/* Inner Hero Extras & Pills */
.v7-editorial-hero .guide-kicker,
.v7-editorial-hero .section-label,
.v7-editorial-hero .eyebrow {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--game-accent);
}

.v7-editorial-hero .crumb {
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.v7-editorial-hero .crumb a {
  color: var(--cyan);
  text-decoration: none;
}

.v7-editorial-hero .guide-lede,
.v7-editorial-hero .article-deck {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.65;
  color: #d6dfec;
  margin: 0 0 20px;
}

.v7-editorial-hero .guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.v7-editorial-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.v7-editorial-hero .primary-action,
.v7-editorial-hero .button.primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--game-accent);
  color: #090b10;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
}

[data-game-theme="valorant"] .v7-editorial-hero .primary-action,
.v7-editorial-hero .primary-action.button,
.v7-editorial-hero .button.primary {
  color: #fff;
}

.v7-editorial-hero .secondary-action,
.v7-editorial-hero .button.secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ink-plate);
  color: #fff;
  border: 1px solid var(--ink-line-strong);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
}

.article-nav {
  background: var(--ink-plate);
  border-bottom: 1px solid var(--ink-line);
  padding: 10px 0;
}

.article-nav .v7-container,
.article-nav .priority-wrap {
  width: min(var(--max-w), calc(100vw - 48px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.article-nav span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.14em;
}

.article-nav a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-decoration: none;
  color: var(--ink-muted);
}

.article-nav a:hover {
  color: var(--cyan);
}

.v7-dossier-main .evidence-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 22px 0;
  padding: 18px 20px;
  background: #fffdf8;
  border: 1px solid var(--bone-line-strong);
  border-left: 4px solid var(--cyan);
}

.v7-dossier-main .card-index,
.v7-dossier-main .section-label,
.v7-dossier-main .eyebrow,
.v7-dossier-main .byline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.v7-dossier-main .source-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
}

.v7-dossier-main .source-list li a {
  display: block;
  padding: 12px 14px;
  background: var(--bone-surface);
  border: 1px solid var(--bone-line-strong);
  text-decoration: none;
  color: var(--bone-ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

.v7-dossier-main .source-list li a:hover {
  border-color: var(--red);
  color: var(--red);
}

.v7-dossier-main .diagnosis-lane {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.v7-dossier-main .diagnosis-step {
  padding: 16px;
  background: var(--bone-surface);
  border: 1px solid var(--bone-line-strong);
  border-top: 3px solid var(--bone-ink);
}

.v7-dossier-main .final-cta .button,
.v7-dossier-main .final-cta a:not([class]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: var(--cut-btn);
}

.v7-dossier-main pre {
  padding: 16px;
  background: var(--ink-void);
  color: var(--ink-text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  overflow-x: auto;
  border-left: 3px solid var(--cyan);
}

/* ==========================================================================
   TACTICAL DECK BAR, VISUAL TELEMETRY DIAGRAMS & COMPACT NOTE CARDS
   ========================================================================== */
.v7-deck-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 10px 12px;
  background: var(--ink-void);
  border: 1px solid var(--ink-line-strong);
  border-left: 4px solid var(--game-accent);
  clip-path: var(--cut-sm);
}

.v7-deck-tab {
  padding: 9px 14px;
  background: var(--ink-panel);
  border: 1px solid var(--ink-line);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: var(--cut-sm);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.v7-deck-tab:hover {
  border-color: var(--cyan);
  color: #fff;
}

.v7-deck-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.is-deck-hidden,
.is-hub-hidden {
  display: none !important;
}

.v7-hud-diagram {
  margin: 22px 0;
  padding: 16px;
  background: var(--ink-void);
  border: 1px solid var(--ink-line-strong);
  border-top: 3px solid var(--game-accent);
  clip-path: var(--cut-md);
}

.v7-hud-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--game-accent);
}

.v7-hud-head b {
  font-weight: 600;
  color: var(--cyan);
}

.v7-hud-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v7-hud-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v7-hud-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 15px;
  background: var(--ink-plate);
  border: 1px solid var(--ink-line);
  border-top: 3px solid var(--cyan);
  clip-path: var(--cut-sm);
}

.v7-hud-card[data-sig="accent"] { border-top-color: var(--game-accent); }
.v7-hud-card[data-sig="volt"] { border-top-color: var(--volt); }
.v7-hud-card[data-sig="red"] { border-top-color: var(--red); }
.v7-hud-card[data-sig="amber"] { border-top-color: var(--amber); }
.v7-hud-card[data-sig="purple"] { border-top-color: #c084fc; }

.v7-hud-sig {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.v7-hud-card[data-sig="accent"] .v7-hud-sig { color: var(--game-accent); }
.v7-hud-card[data-sig="volt"] .v7-hud-sig { color: var(--volt); }
.v7-hud-card[data-sig="red"] .v7-hud-sig { color: var(--red); }
.v7-hud-card[data-sig="amber"] .v7-hud-sig { color: var(--amber); }
.v7-hud-card[data-sig="purple"] .v7-hud-sig { color: #c084fc; }

.v7-hud-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
}

.v7-hud-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: var(--ink-muted);
}

.v7-hud-wave {
  width: 100%;
  height: 26px;
  margin-top: 4px;
}

.v7-hud-diagram > svg {
  width: 100%;
  height: auto;
}

.v7-hud-diagram figcaption {
  padding: 12px 4px 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   DIRECTION 3: IN-GAME TELEMETRY SETUP & READOUT CARD (.v7-hud-setup)
   ========================================================================== */
.v7-hud-setup {
  margin: 22px 0;
  padding: 20px 22px 18px;
  background:
    radial-gradient(circle at 96% 8%, color-mix(in srgb, var(--game-accent) 14%, transparent), transparent 46%),
    #090d16;
  border: 1px solid var(--ink-line-strong);
  border-left: 4px solid var(--game-accent);
  clip-path: var(--cut-md);
  color: var(--ink-text);
}

.v7-hud-setup-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-line);
}

.v7-hud-setup-head > span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--game-accent);
}

.v7-hud-setup-head b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.v7-dossier-main .v7-hud-setup h3.v7-hud-setup-title,
.v7-hud-setup-title {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.v7-dossier-main ol.v7-hud-path,
.v7-hud-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #05080f;
  border: 1px solid var(--ink-line);
  list-style: none;
}

.v7-dossier-main ol.v7-hud-path li,
.v7-hud-path li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: default;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #e2e8f0;
}

.v7-dossier-main ol.v7-hud-path li:hover {
  background: transparent;
  border-color: transparent;
}

.v7-hud-path li span {
  padding: 5px 10px;
  background: #141c2b;
  border: 1px solid rgba(236, 232, 225, 0.22);
  border-radius: 3px;
  color: #f8fafc;
}

.v7-hud-path li code {
  padding: 1px 5px;
  background: rgba(0, 229, 255, 0.14);
  border-radius: 2px;
  color: var(--cyan);
}

.v7-hud-path li kbd {
  padding: 5px 10px;
  background: color-mix(in srgb, var(--game-accent) 24%, #0e1420);
  border: 1px solid color-mix(in srgb, var(--game-accent) 75%, transparent);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.v7-hud-path li:not(:last-child)::after {
  content: '→';
  color: var(--cyan);
  font-weight: 700;
}

.v7-hud-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.v7-hud-readout {
  padding: 12px 13px;
  background: var(--ink-plate);
  border: 1px solid var(--ink-line);
  border-top: 2.5px solid var(--cyan);
  clip-path: var(--cut-sm);
}

.v7-hud-readout[data-tone="ok"] { border-top-color: var(--volt); }
.v7-hud-readout[data-tone="warn"] { border-top-color: var(--amber); }
.v7-hud-readout[data-tone="fault"] { border-top-color: var(--red); }

.v7-hud-readout small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.v7-hud-readout[data-tone="ok"] small { color: var(--volt); }
.v7-hud-readout[data-tone="warn"] small { color: var(--amber); }
.v7-hud-readout[data-tone="fault"] small { color: var(--red); }

.v7-hud-readout strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.v7-dossier-main .v7-hud-readout p,
.v7-hud-readout p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: #c2cde0;
}

.v7-dossier-main p.v7-hud-setup-note,
.v7-hud-setup-note {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: #b7c2d4;
}

.v7-dossier-main p.v7-hud-setup-note code,
.v7-hud-setup-note code {
  padding: 1px 5px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 3px;
  color: var(--cyan);
}

/* ==========================================================================
   DIRECTION 1B: /hardware DIAGNOSIS-LED EQUIPMENT HUB (.v7-hw-*)
   ========================================================================== */
.v7-hw-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.v7-dossier-main a.v7-hw-jump,
.v7-hw-jump {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 14px;
  background: #0b101a;
  border: 1px solid var(--ink-line-strong);
  border-top: 2.5px solid var(--cyan);
  clip-path: var(--cut-sm);
  color: #fff;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.v7-dossier-main a.v7-hw-jump:hover,
.v7-hw-jump:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  background: #111827;
  color: #fff;
  text-decoration: none;
}

.v7-hw-jump span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.v7-hw-jump strong {
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  color: #fff;
}

.v7-hw-jump small {
  font-size: 12px;
  color: #a9b4c7;
}

.v7-hw-market-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  padding: 12px 16px;
  background: #0b101a;
  border: 1px solid var(--ink-line-strong);
  border-left: 3px solid var(--volt);
  clip-path: var(--cut-sm);
  color: var(--ink-text);
}

.v7-hw-market-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v7-hw-market-info span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt);
}

.v7-dossier-main .v7-hw-market-info p,
.v7-hw-market-info p {
  margin: 0;
  font-size: 13px;
  color: #cdd6e3;
}

.v7-hw-market-switch {
  display: inline-flex;
  gap: 6px;
}

.v7-hw-market-btn {
  min-height: 34px;
  padding: 0 12px;
  background: var(--ink-plate);
  border: 1px solid var(--ink-line-strong);
  clip-path: var(--cut-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.v7-hw-market-btn:hover {
  border-color: var(--cyan);
  color: #fff;
}

.v7-hw-market-btn.is-active {
  background: var(--volt);
  border-color: var(--volt);
  color: #06090f;
}

.v7-hw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 24px;
}

.v7-hw-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--bone-line-strong);
  border-top: 4px solid #0d1320;
  clip-path: var(--cut-md);
  transition: border-top-color 0.18s ease, box-shadow 0.18s ease;
}

.v7-hw-card:hover {
  border-top-color: var(--red);
  box-shadow: 0 14px 32px rgba(10, 15, 24, 0.08);
}

.v7-hw-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.v7-hw-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #0a0f18;
  border: 1px solid rgba(0, 229, 255, 0.35);
  clip-path: var(--cut-sm);
  color: var(--cyan);
}

.v7-hw-icon svg {
  width: 30px;
  height: 30px;
}

.v7-hw-meta {
  min-width: 0;
}

.v7-hw-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  background: #0d1320;
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v7-hw-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--bone-ink);
}

.v7-hw-specs {
  display: grid;
  gap: 10px;
  margin: 0;
}

.v7-hw-spec-row {
  padding: 10px 12px;
  background: #f4f1ea;
  border-left: 3px solid #94a3b8;
}

.v7-hw-spec-row[data-kind="match"] { border-left-color: #0284c7; background: #f0f9ff; }
.v7-hw-spec-row[data-kind="confirm"] { border-left-color: #0d9488; background: #f0fdfa; }
.v7-hw-spec-row[data-kind="limit"] { border-left-color: #dc2626; background: #fef2f2; }

.v7-hw-spec-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 2px;
}

.v7-hw-spec-row[data-kind="limit"] dt { color: #b91c1c; }

.v7-hw-spec-row dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: #1e293b;
}

.v7-dossier-main a.v7-hw-cta,
.v7-hw-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #0a0f18;
  border: 1px solid #0a0f18;
  clip-path: var(--cut-btn);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.v7-dossier-main a.v7-hw-cta:hover,
.v7-hw-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.v7-hw-cta small {
  font-size: 10px;
  font-weight: 600;
  color: var(--volt);
  letter-spacing: 0.08em;
}

.v7-hw-cta:hover small {
  color: #fff;
}

@media (max-width: 900px) {
  .v7-hud-readouts,
  .v7-hw-grid,
  .v7-hw-matrix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .v7-hud-setup {
    padding: 16px 14px;
  }
  .v7-hw-card {
    padding: 16px;
  }
  .v7-hw-market-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.v7-notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.v7-note-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 20px;
  background: var(--ink-void);
  color: var(--ink-text);
  border: 1px solid var(--ink-line-strong);
  border-top: 3px solid var(--cyan);
  clip-path: var(--cut-sm);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.v7-note-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.v7-note-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.v7-note-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  text-transform: uppercase;
  color: #fff;
}

.v7-note-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET <= 1180PX & MOBILE <= 680PX)
   ========================================================================== */
@media (max-width: 1180px) {
  .cy-cmd-trigger {
    display: none;
  }
  .site-header {
    padding: 0 18px;
    gap: 12px;
  }
  #primary-nav a,
  #diagnose-primary-nav a {
    padding: 7px 9px;
    font-size: 11px;
  }
}

@media (max-width: 1120px) {
  .v7-hud-grid {
    grid-template-columns: 1fr 1fr;
  }
  .v7-hud-action {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ink-line);
  }
  .v7-roster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .v7-dossier {
    grid-template-columns: 1fr;
  }
  .v7-toc-hud {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 16px;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .cy-cmd-trigger {
    display: none;
  }
  #primary-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: #090b10;
    border-bottom: 2px solid var(--red);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.92), 0 0 0 100vmax rgba(4, 6, 10, 0.72);
    z-index: 890;
  }
  #primary-nav.open {
    display: flex;
  }
  #primary-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--ink-line);
    border-left: 3px solid transparent;
  }
  #primary-nav a[aria-current="page"],
  #primary-nav a:hover {
    border-bottom-color: var(--ink-line);
    border-left-color: var(--red);
    background: rgba(255, 70, 85, 0.12);
  }
  .v7-hero-core,
  .v7-hero-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .v7-stage-orbit-hint {
    display: none;
  }
  .v7-manifesto-grid,
  .v7-roster-spotlight,
  .v7-loop-grid,
  .v7-qa-grid,
  .v7-arsenal-grid,
  .v7-hud-cards,
  .v7-hud-cards--two {
    grid-template-columns: 1fr;
  }
  .v7-loop-card {
    border-right: 0;
    border-bottom: 1px solid var(--bone-line-strong);
  }
  .v7-dossier-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 12px;
    gap: 8px;
  }
  .brand {
    min-height: 44px;
    gap: 7px;
    font-size: 16px;
    letter-spacing: 0.08em;
  }
  .brand-pulse {
    display: none;
  }
  .fmp-header-actions {
    gap: 6px;
  }
  .site-header .header-cta {
    min-height: 36px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .v7-stage-telemetry {
    padding: 10px 14px 0;
    font-size: 9.5px;
    gap: 8px;
  }
  .v7-stage-badge {
    padding: 4px 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .v7-hero-art {
    object-position: 74% 30%;
    transform: none;
  }
  .v7-stage-scrim {
    background:
      linear-gradient(180deg, rgba(7, 10, 15, 0.52) 0%, rgba(7, 10, 15, 0.7) 48%, rgba(7, 10, 15, 0.94) 94%);
  }
  .v7-container,
  .v7-hero-core,
  .v7-hud-bar,
  .v7-dossier,
  .commerce-home,
  .v7-workbench-strip {
    width: calc(100vw - 24px);
  }
  .v7-hero-editorial h1 {
    font-size: clamp(2.35rem, 10vw, 3.1rem);
  }
  .v7-hero-actions .v7-btn-primary,
  .v7-hero-actions .v7-btn-ghost {
    flex: 1 1 150px;
    justify-content: center;
    padding: 13px 14px;
    font-size: 14.5px;
    text-align: center;
  }
  .v7-symptom-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v7-symptom-btn {
    padding: 11px 10px;
    min-height: 46px;
    font-size: 13px;
    gap: 6px;
    border-right: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
  }
  .v7-symptom-btn:nth-child(even) {
    border-right: 0;
  }
  .v7-hud-grid {
    grid-template-columns: 1fr;
  }
  .v7-scope-box {
    border-right: 0;
    border-bottom: 1px solid var(--ink-line);
  }
  .v7-hop-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--ink-line);
  }
  .v7-hop-cell {
    padding: 11px 10px;
    border-right: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
  }
  .v7-hop-cell:nth-child(even) {
    border-right: 0;
  }
  .v7-roster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .v7-roster-card {
    min-height: 118px;
    padding: 9px 9px 10px;
  }
  .v7-roster-card .v7-game-icon {
    width: 30px;
    height: 30px;
  }
  .v7-roster-card strong {
    font-size: 13.5px;
  }
  .v7-roster-card small {
    display: none;
  }
  .v7-spotlight-copy {
    padding: 22px 18px;
  }
  .v7-spotlight-media {
    min-height: 210px;
  }
  .path-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .v7-deck-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 350;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 8px 10px;
  }
  .v7-deck-bar::-webkit-scrollbar {
    display: none;
  }
  .v7-deck-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
  }
  .article-nav {
    padding: 8px 0;
  }
  .article-nav .v7-container,
  .article-nav .priority-wrap {
    width: calc(100vw - 24px);
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
  }
  .article-nav .v7-container::-webkit-scrollbar,
  .article-nav .priority-wrap::-webkit-scrollbar {
    display: none;
  }
  .article-nav span {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .article-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
    clip-path: var(--cut-sm);
    white-space: nowrap;
  }
  .v6-filter-pills {
    width: 100%;
  }
  .v6-filter-pill {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
  }
  .v6-search-input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    font-size: 16px;
  }
  .v6-hud-toc a {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .v7-chapter-link {
    min-height: 40px;
  }
  .v7-loop-card a,
  .v7-dossier-main .record-card a,
  .v7-dossier-main .symptom-card a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .v7-chip-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }
  .v7-editorial-hero {
    padding: 36px 0 32px;
  }
  .v7-band-bone,
  .v7-roster-section,
  .evidence-band {
    padding: 46px 0;
  }
  .v7-dossier-main .article-section,
  .v7-dossier-main .priority-section {
    padding: 18px 15px;
  }
  table[data-stack-mobile] thead {
    display: none;
  }
  table[data-stack-mobile] tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--bone-line-strong);
    background: var(--bone-surface);
  }
  table[data-stack-mobile] tbody th {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 10px;
    width: 100%;
    padding: 10px 12px;
  }
  table[data-stack-mobile] td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 12px;
  }
  table[data-stack-mobile] td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
  }
  .symptom-index {
    grid-template-columns: 1fr;
  }
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding: 44px 16px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer div a {
    padding: 8px 0;
  }
}

/* Composited Accessibility Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }
  .note-illustration img,
  .v7-roster-spotlight .v7-spotlight-media img {
    opacity: 1 !important;
    transform: none !important;
  }
}
