/* ==========================================================================
   Boochlin Showcase — Plan B: Terminal Hacker Geek Theme
   ========================================================================== */

:root {
  --b-bg: #090a0f;
  --b-bg-deep: #050608;
  --b-surface: #0c1018;
  --b-surface-elev: #111827;
  --b-term-bar: #1a1d24;
  --b-term-body: #07090e;
  --b-border: rgba(148, 163, 184, 0.18);
  --b-border-soft: rgba(148, 163, 184, 0.1);
  --b-cyan: #06b6d4;
  --b-cyan-bright: #22d3ee;
  --b-green: #10b981;
  --b-green-bright: #34d399;
  --b-red: #ff5f56;
  --b-amber: #ffbd2e;
  --b-dot-green: #27c93f;
  --b-text: #e2e8f0;
  --b-text-strong: #f8fafc;
  --b-muted: #94a3b8;
  --b-dim: #8294ab;
  --b-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  --b-font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}

html.booch-b-root {
  color-scheme: only dark;
  background-color: var(--b-bg);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

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

body.booch-preview-b {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--b-bg);
  background-image:
    radial-gradient(ellipse at 50% 25%, rgba(16, 185, 129, 0.04) 0%, rgba(9, 10, 15, 0) 58%, rgba(5, 6, 8, 0.94) 100%),
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-attachment: fixed;
  color: var(--b-text);
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: clip;
  position: relative;
}

/* Subtle CRT scanline overlay */
body.booch-preview-b::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.14) 3px,
    rgba(0, 0, 0, 0.14) 4px
  );
}

body.booch-preview-b a {
  color: var(--b-cyan-bright);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

body.booch-preview-b a:hover {
  color: var(--b-green-bright);
}

body.booch-preview-b :focus-visible {
  outline: 2px solid var(--b-cyan-bright);
  outline-offset: 2px;
}

.booch-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}

.booch-skip-link:focus,
.booch-skip-link:focus-visible {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--b-green);
  color: #052e16 !important;
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  outline: 2px solid var(--b-cyan-bright);
  outline-offset: 2px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.78);
}

/* ==========================================================================
   Top Minimal Navbar
   ========================================================================== */

.booch-b-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.booch-b-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.booch-b-brand {
  color: var(--b-green-bright) !important;
  font-family: var(--b-font-mono);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.48);
  white-space: nowrap;
}

.booch-b-brand[aria-current='page'] {
  border-bottom: 1px solid rgba(52, 211, 153, 0.6);
  padding-bottom: 1px;
}

.booch-b-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--b-font-mono);
  font-size: 13.5px;
}

.booch-b-nav-link {
  color: var(--b-text) !important;
  letter-spacing: 0.03em;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}

.booch-b-nav-link:hover,
.booch-b-nav-link[aria-current='page'] {
  color: var(--b-cyan-bright) !important;
  border-bottom-color: var(--b-cyan-bright);
}

.booch-b-status-link {
  color: var(--b-green-bright) !important;
  letter-spacing: 0.03em;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.booch-b-status-link:hover,
.booch-b-status-link[aria-current='page'] {
  color: #6ee7b7 !important;
  border-bottom-color: var(--b-green-bright);
}

.booch-b-search-trigger {
  appearance: none;
  background: rgba(15, 23, 42, 0.72);
  color: var(--b-muted);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--b-font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
  white-space: nowrap;
}

.booch-b-search-trigger:hover {
  color: var(--b-cyan-bright);
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(6, 182, 212, 0.08);
}

/* ==========================================================================
   Search Dialog Overlay (Shortcut: /)
   ========================================================================== */

dialog.booch-b-search-dialog {
  padding: 0;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 10px;
  background: var(--b-term-body);
  color: var(--b-text);
  width: min(680px, calc(100vw - 32px));
  max-width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 28px rgba(6, 182, 212, 0.15);
  overflow: hidden;
}

dialog.booch-b-search-dialog:modal {
  overscroll-behavior: contain;
}

dialog.booch-b-search-dialog::backdrop {
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.booch-b-dialog-close {
  margin-left: auto;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--b-muted);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: var(--b-font-mono);
  font-size: 11px;
  cursor: pointer;
}

.booch-b-dialog-close:hover {
  color: var(--b-text-strong);
  border-color: var(--b-cyan-bright);
}

.booch-b-dialog-body {
  padding: 20px;
}

.booch-b-grep-form,
.booch-b-inline-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: rgba(12, 16, 24, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 6px;
  padding: 10px 14px;
}

.booch-b-grep-prompt {
  color: var(--b-green-bright);
  font-family: var(--b-font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.booch-b-grep-form input[type='search'],
.booch-b-inline-search input[type='search'] {
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--b-text-strong);
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 14px;
  padding: 4px 0;
}

.booch-b-grep-form input[type='search']:focus,
.booch-b-inline-search input[type='search']:focus {
  outline: none;
}

.booch-b-grep-form:focus-within,
.booch-b-inline-search:focus-within,
.booch-b-term:focus-within {
  outline: 2px solid var(--b-cyan-bright);
  outline-offset: 2px;
  border-color: var(--b-cyan-bright);
}

.booch-b-btn-exec {
  appearance: none;
  background: var(--b-green);
  color: #052e16;
  border: 0;
  border-radius: 4px;
  padding: 6px 14px;
  font-family: var(--b-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.booch-b-btn-exec:hover {
  background: var(--b-green-bright);
}

.booch-b-dialog-hints {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.booch-b-hint-label {
  color: var(--b-dim);
  font-size: 12px;
  font-family: var(--b-font-mono);
}

/* ==========================================================================
   Main & Hero Above-the-Fold (Terminal + HUD)
   ========================================================================== */

.booch-b-main {
  flex: 1 0 auto;
}

.booch-b-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 24px 28px;
}

.booch-b-hero-title {
  max-width: 800px;
  margin: 0 auto 18px;
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.38;
  color: var(--b-text-strong);
  letter-spacing: -0.01em;
}

/* macOS Terminal Window */
.booch-b-term {
  max-width: 800px;
  margin: 0 auto 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: var(--b-term-body);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.booch-b-term-bar {
  height: 36px;
  background: var(--b-term-bar);
  padding: 0 14px;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.booch-b-term-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.booch-b-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.booch-b-dot--red {
  background: var(--b-red);
}

.booch-b-dot--yellow {
  background: var(--b-amber);
}

.booch-b-dot--green {
  background: var(--b-dot-green);
}

.booch-b-term-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  color: var(--b-muted);
  white-space: nowrap;
  pointer-events: none;
}

.booch-b-term-body {
  padding: 20px 24px 18px;
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 14px;
  line-height: 1.72;
  min-height: 168px;
  max-height: 340px;
  overflow-y: auto;
  cursor: text;
}

.booch-b-term-line {
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 2px;
}

.t-prompt {
  color: var(--b-green-bright);
  font-weight: 500;
}

.t-cmd {
  color: var(--b-text-strong);
}

.t-tag {
  color: var(--b-cyan-bright);
  font-weight: 600;
}

.t-text {
  color: var(--b-text);
}

.t-muted {
  color: var(--b-muted);
}

.t-err {
  color: #fca5a5;
}

.t-accent-cyan {
  color: var(--b-cyan-bright);
}

.t-accent-green {
  color: var(--b-green-bright);
}

.booch-b-term-link {
  color: var(--b-cyan-bright) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.booch-b-term-link:hover {
  color: var(--b-green-bright) !important;
}

.booch-b-term-prompt-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  position: relative;
}

.booch-b-term-input-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 22px;
}

.booch-b-term-typed {
  color: var(--b-text-strong);
  white-space: pre-wrap;
  word-break: break-all;
}

.booch-b-cursor {
  display: inline-block;
  width: 9px;
  height: 18px;
  background: var(--b-green);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.85);
  vertical-align: middle;
  margin-left: 1px;
  animation: booch-blink 1s step-end infinite;
}

@keyframes booch-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.14;
  }
}

.booch-b-term-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font: inherit;
}

.booch-b-term-chips {
  padding: 8px 16px;
  background: rgba(13, 18, 28, 0.94);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.booch-b-term-chip {
  appearance: none;
  background: rgba(15, 23, 42, 0.9);
  color: var(--b-muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 4px;
  padding: 2px 9px;
  font-family: var(--b-font-mono);
  font-size: 11.5px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.booch-b-term-chip:hover {
  color: var(--b-green-bright);
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.08);
}

/* ==========================================================================
   HUD Monitoring Dashboard
   ========================================================================== */

.booch-b-hud {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 26px 26px 26px;
  border-radius: 6px;
  background: rgba(8, 11, 17, 0.88);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.7), inset 0 0 32px rgba(6, 182, 212, 0.04);
}

/* Cyan-to-Green Gradient Frame */
.booch-b-hud::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1.5px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.82), rgba(20, 184, 166, 0.72), rgba(16, 185, 129, 0.85));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 4 L-Shaped Corner Brackets */
.hud-bracket {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}

.hud-tl {
  top: -4px;
  left: -4px;
  border-top: 2px solid var(--b-cyan-bright);
  border-left: 2px solid var(--b-cyan-bright);
}

.hud-tr {
  top: -4px;
  right: -4px;
  border-top: 2px solid var(--b-green-bright);
  border-right: 2px solid var(--b-green-bright);
}

.hud-bl {
  bottom: -4px;
  left: -4px;
  border-bottom: 2px solid var(--b-cyan-bright);
  border-left: 2px solid var(--b-cyan-bright);
}

.hud-br {
  bottom: -4px;
  right: -4px;
  border-bottom: 2px solid var(--b-green-bright);
  border-right: 2px solid var(--b-green-bright);
}

/* Top & Bottom Center Tech Notches */
.hud-notch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  max-width: 60%;
  height: 6px;
  background: var(--b-bg);
  pointer-events: none;
  z-index: 2;
}

.hud-notch-top {
  top: -1px;
  border-bottom: 1.5px solid rgba(34, 211, 238, 0.7);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.hud-notch-bottom {
  bottom: -1px;
  border-top: 1.5px solid rgba(16, 185, 129, 0.7);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}

/* Background Hex Honeycomb Mesh */
.booch-b-hud-hex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.42;
  border-radius: 6px;
}

/* Row 1: 3 Metric Cards */
.booch-b-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.booch-b-metric {
  background: rgba(11, 16, 25, 0.85);
  border-radius: 5px;
  padding: 15px 16px;
  text-align: center;
  font-family: var(--b-font-mono);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.booch-b-metric--cyan {
  border: 1px solid rgba(6, 182, 212, 0.6);
  box-shadow: inset 0 0 16px rgba(6, 182, 212, 0.06);
}

.booch-b-metric--teal {
  border: 1px solid rgba(20, 184, 166, 0.6);
  box-shadow: inset 0 0 16px rgba(20, 184, 166, 0.06);
}

.booch-b-metric--green {
  border: 1px solid rgba(16, 185, 129, 0.6);
  box-shadow: inset 0 0 16px rgba(16, 185, 129, 0.06);
}

.m-accent-cyan {
  color: var(--b-cyan-bright);
}

.m-accent-green {
  color: var(--b-green-bright);
}

.m-white {
  color: var(--b-text-strong);
}

/* Waveform Divider */
.booch-b-wave {
  position: relative;
  z-index: 1;
  margin: 12px 0;
  height: 20px;
}

.booch-b-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Row 2: 2 Combat / Case-Study Cards */
.booch-b-combat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booch-b-combat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 158px;
  padding: 20px 22px;
  border-radius: 5px;
  background: rgba(11, 16, 25, 0.88);
  color: var(--b-text-strong) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.booch-b-combat-card--cyan {
  border: 1px solid rgba(6, 182, 212, 0.65);
  box-shadow: inset 0 0 22px rgba(6, 182, 212, 0.06);
}

.booch-b-combat-card--green {
  border: 1px solid rgba(16, 185, 129, 0.65);
  box-shadow: inset 0 0 22px rgba(16, 185, 129, 0.06);
}

.booch-b-combat-card:hover {
  transform: translateY(-2px);
}

.booch-b-combat-card--cyan:hover {
  border-color: var(--b-cyan-bright);
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.16), inset 0 0 24px rgba(6, 182, 212, 0.1);
}

.booch-b-combat-card--green:hover {
  border-color: var(--b-green-bright);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.16), inset 0 0 24px rgba(16, 185, 129, 0.1);
}

.booch-b-combat-title {
  margin: 0 0 18px;
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--b-text-strong);
}

.booch-b-combat-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.booch-b-combat-tags {
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.booch-b-combat-card--cyan .booch-b-combat-tags {
  color: var(--b-cyan-bright);
}

.booch-b-combat-card--green .booch-b-combat-tags {
  color: var(--b-green-bright);
}

.booch-b-sparkline {
  width: 112px;
  height: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.65));
}

.booch-b-hexdump {
  width: 118px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.4));
}

/* ==========================================================================
   Below-the-Fold Landing Sections & Shared Containers
   ========================================================================== */

.booch-b-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.booch-b-container--wide {
  max-width: 1080px;
}

.booch-b-section {
  margin-bottom: 48px;
}

.booch-b-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.booch-b-sec-title {
  margin: 0;
  font-family: var(--b-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--b-green-bright);
  letter-spacing: 0.04em;
}

.booch-b-sec-sub {
  font-family: var(--b-font-mono);
  font-size: 12px;
  color: var(--b-dim);
}

.booch-b-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.booch-b-module-card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.9);
  border: 1px solid var(--b-border);
  border-left: 3px solid var(--b-cyan);
  color: var(--b-text) !important;
}

.booch-b-module-card:hover {
  border-color: rgba(34, 211, 238, 0.55);
  border-left-color: var(--b-green-bright);
  background: rgba(16, 22, 34, 0.95);
}

.booch-b-module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--b-font-mono);
  font-size: 11.5px;
}

.booch-b-module-code {
  color: var(--b-cyan-bright);
}

.booch-b-module-count {
  color: var(--b-green-bright);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 7px;
  border-radius: 999px;
}

.booch-b-module-name {
  margin: 0 0 8px;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--b-text-strong);
}

.booch-b-module-desc {
  margin: 0;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--b-muted);
}

.booch-b-manuals-bar {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.85);
  border: 1px dashed rgba(148, 163, 184, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.booch-b-manuals-label {
  font-family: var(--b-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--b-cyan-bright);
}

.booch-b-chip-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--b-text) !important;
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 12px;
}

.booch-b-chip-link:hover {
  border-color: var(--b-green-bright);
  color: var(--b-green-bright) !important;
  background: rgba(16, 185, 129, 0.08);
}

/* Feed Cards */
.booch-b-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.booch-b-post-card {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 20px 22px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.9);
  border: 1px solid var(--b-border);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.booch-b-post-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(15, 21, 32, 0.95);
}

.booch-b-post-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-family: var(--b-font-mono);
  font-size: 12px;
  color: var(--b-dim);
  margin-bottom: 8px;
}

.booch-b-post-id {
  color: var(--b-green-bright);
  font-weight: 600;
}

.booch-b-post-card-title {
  margin: 0 0 10px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.booch-b-post-card-title a {
  color: var(--b-text-strong) !important;
}

.booch-b-post-card-title a:hover {
  color: var(--b-cyan-bright) !important;
}

.booch-b-post-card-excerpt {
  margin: 0 0 14px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 14px;
  line-height: 1.68;
  color: var(--b-muted);
}

.booch-b-post-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.booch-b-cat-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.booch-b-cat-pills a {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.28);
  color: #67e8f9 !important;
  font-size: 12px;
  font-family: var(--b-font-mono), var(--b-font-sans);
}

.booch-b-cat-pills a:hover {
  border-color: var(--b-green-bright);
  color: var(--b-green-bright) !important;
}

.booch-b-read-more {
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--b-green-bright) !important;
}

/* Pagination */
.booch-b-pagination {
  margin-top: 28px;
}

.booch-b-pagination ul.page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booch-b-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 5px 11px;
  border-radius: 4px;
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid var(--b-border);
  color: var(--b-text);
  font-family: var(--b-font-mono);
  font-size: 13px;
}

.booch-b-pagination a.page-numbers:hover {
  border-color: var(--b-cyan-bright);
  color: var(--b-cyan-bright);
}

.booch-b-pagination .page-numbers.current {
  background: var(--b-green);
  border-color: var(--b-green);
  color: #052e16;
  font-weight: 700;
}

/* ==========================================================================
   Inner Pages: Breadcrumbs, Panels, Category Tabs, Article Shell
   ========================================================================== */

.booch-b-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  color: var(--b-dim);
  margin-bottom: 16px;
}

.booch-b-breadcrumb a {
  color: var(--b-green-bright) !important;
}

.booch-b-panel {
  padding: 24px 26px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid var(--b-border);
  margin-bottom: 24px;
}

.booch-b-panel--alert {
  border-color: rgba(255, 95, 86, 0.5);
  border-left: 4px solid var(--b-red);
}

.booch-b-badge {
  display: inline-block;
  font-family: var(--b-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--b-green-bright);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.booch-b-badge--alert {
  color: #fca5a5;
  background: rgba(255, 95, 86, 0.1);
  border-color: rgba(255, 95, 86, 0.4);
}

.booch-b-page-title {
  margin: 0 0 10px;
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  color: var(--b-text-strong);
}

.booch-b-lead {
  margin: 0 0 16px;
  color: var(--b-muted);
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 14.5px;
}

.booch-b-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  color: var(--b-muted);
}

.booch-b-cat-tabs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booch-b-cat-tab {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.88);
  border: 1px solid var(--b-border);
  color: var(--b-muted) !important;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 12.5px;
}

.booch-b-cat-tab:hover {
  border-color: var(--b-cyan-bright);
  color: var(--b-cyan-bright) !important;
}

.booch-b-cat-tab.is-active {
  background: rgba(16, 185, 129, 0.14);
  border-color: var(--b-green-bright);
  color: var(--b-green-bright) !important;
  font-weight: 600;
}

.booch-b-action-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booch-b-btn-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--b-green);
  color: #052e16 !important;
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  font-weight: 700;
}

/* Single Post & Standalone Page Shell */
.booch-b-article-shell {
  max-width: 840px;
  margin: 0 auto;
  background: rgba(11, 15, 23, 0.94);
  border: 1px solid var(--b-border);
  border-radius: 8px;
  padding: 30px 34px 36px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.55);
}

.booch-b-article-shell--wide {
  max-width: 960px;
}

.booch-b-article-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding-bottom: 20px;
  margin-bottom: 26px;
}

.booch-b-article-title {
  margin: 0 0 12px;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: clamp(23px, 3.2vw, 31px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--b-text-strong);
}

.booch-b-article-body {
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--b-text);
  overflow-wrap: break-word;
}

.booch-b-article-body h1,
.booch-b-article-body h2,
.booch-b-article-body h3,
.booch-b-article-body h4 {
  color: var(--b-text-strong);
  font-family: var(--b-font-sans), var(--b-font-mono);
  margin: 1.65em 0 0.65em;
  line-height: 1.4;
}

.booch-b-article-body h2 {
  font-size: 1.4em;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.25);
}

.booch-b-article-body h3 {
  font-size: 1.18em;
  color: var(--b-cyan-bright);
}

.booch-b-article-body p,
.booch-b-article-body ul,
.booch-b-article-body ol {
  margin: 0 0 1.15em;
}

.booch-b-article-body ul,
.booch-b-article-body ol {
  padding-left: 1.45em;
}

.booch-b-article-body li {
  margin-bottom: 0.4em;
}

.booch-b-article-body strong {
  color: var(--b-text-strong);
}

.booch-b-article-body a {
  color: var(--b-cyan-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booch-b-article-body a:hover {
  color: var(--b-green-bright);
}

/* Prev / Next Navigation */
.booch-b-post-nav {
  max-width: 840px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booch-b-post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid var(--b-border);
}

.booch-b-post-nav-card:hover {
  border-color: var(--b-cyan-bright);
}

.booch-b-post-nav-card--next {
  text-align: right;
}

.booch-b-nav-dir {
  font-family: var(--b-font-mono);
  font-size: 11.5px;
  color: var(--b-green-bright);
}

.booch-b-nav-title {
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--b-text-strong);
}

/* ==========================================================================
   Footer Bar (Plan Switcher & Exit Preview)
   ========================================================================== */

.booch-b-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(7, 9, 14, 0.94);
  margin-top: auto;
}

.booch-b-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--b-font-mono);
  font-size: 12px;
}

.booch-b-footer-meta {
  color: var(--b-dim);
}

.booch-b-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.booch-b-footer-link {
  color: var(--b-cyan-bright) !important;
}

.booch-b-footer-link--exit {
  color: var(--b-muted) !important;
}

.booch-b-footer-link--exit:hover {
  color: var(--b-text-strong) !important;
}

/* ==========================================================================
   DEFENSIVE OVERRIDES FOR ALL 89 POSTS & LEGACY INLINE STYLES
   ========================================================================== */

/* 1. Code Blocks (<pre>, <code>) & Full 19-Token One Dark HLJS Palette */
body.booch-preview-b .booch-b-content pre,
body.booch-preview-b .booch-b-content pre.wp-block-code {
  position: relative;
  background: #0d1117 !important;
  color: #e2e8f0 !important;
  border: 1px solid #1e293b !important;
  border-top: 2px solid #06b6d4 !important;
  border-radius: 6px !important;
  padding: 16px 20px !important;
  margin: 22px 0 !important;
  overflow-x: auto !important;
  font-family: var(--b-font-mono) !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  white-space: pre !important;
  word-wrap: normal !important;
  tab-size: 4 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

body.booch-preview-b .booch-b-content pre[data-lang] {
  padding-top: 32px !important;
}

body.booch-preview-b .booch-b-content pre[data-lang]::before {
  content: '[' attr(data-lang) ']';
  position: absolute;
  top: 6px;
  right: 12px;
  font-family: var(--b-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--b-cyan-bright);
  opacity: 0.85;
  pointer-events: none;
}

body.booch-preview-b .booch-b-content pre code {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
  box-shadow: none !important;
}

body.booch-preview-b .booch-b-content :not(pre) > code,
body.booch-preview-b .booch-b-content p code,
body.booch-preview-b .booch-b-content li code,
body.booch-preview-b .booch-b-content td code,
body.booch-preview-b .booch-b-content th code,
body.booch-preview-b .booch-b-content h1 code,
body.booch-preview-b .booch-b-content h2 code,
body.booch-preview-b .booch-b-content h3 code,
body.booch-preview-b .booch-b-content h4 code,
body.booch-preview-b .booch-b-content h5 code,
body.booch-preview-b .booch-b-content h6 code,
body.booch-preview-b .booch-b-content blockquote code {
  background-color: rgba(6, 182, 212, 0.12) !important;
  color: #67e8f9 !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  margin: 0 2px !important;
  font-family: var(--b-font-mono) !important;
  font-size: 0.88em !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  word-break: break-word !important;
}

body.booch-preview-b .hljs-keyword,
body.booch-preview-b .hljs-selector-tag,
body.booch-preview-b .hljs-subst,
body.booch-preview-b .hljs-meta,
body.booch-preview-b .hljs-meta .hljs-keyword {
  color: #ff7b72 !important;
  font-weight: 600 !important;
}

body.booch-preview-b .hljs-function,
body.booch-preview-b .hljs-title,
body.booch-preview-b .hljs-title.function_,
body.booch-preview-b .hljs-attr,
body.booch-preview-b .hljs-attribute,
body.booch-preview-b .hljs-tag {
  color: #79c0ff !important;
}

body.booch-preview-b .hljs-string,
body.booch-preview-b .hljs-doctag,
body.booch-preview-b .hljs-name {
  color: #7ee787 !important;
}

body.booch-preview-b .hljs-number,
body.booch-preview-b .hljs-literal {
  color: #ffa657 !important;
}

body.booch-preview-b .hljs-comment,
body.booch-preview-b .hljs-quote {
  color: #8b949e !important;
  font-style: italic !important;
}

body.booch-preview-b .hljs-type,
body.booch-preview-b .hljs-built_in,
body.booch-preview-b .hljs-title.class_,
body.booch-preview-b .hljs-class .hljs-title {
  color: #d2a8ff !important;
  font-weight: 600 !important;
}

body.booch-preview-b .hljs-variable,
body.booch-preview-b .hljs-template-variable,
body.booch-preview-b .hljs-params {
  color: #e2e8f0 !important;
}

body.booch-preview-b .hljs-operator,
body.booch-preview-b .hljs-punctuation {
  color: #94a3b8 !important;
}

/* 2. SyntaxHighlighter Plugin Overrides (Post 1055) */
body.booch-preview-b .booch-b-content .wp-block-syntaxhighlighter-code,
body.booch-preview-b .booch-b-content .syntaxhighlighter {
  background-color: #0d1117 !important;
  border: 1px solid #1e293b !important;
  border-top: 2px solid #10b981 !important;
  border-radius: 6px !important;
  padding: 12px 0 !important;
  margin: 22px 0 !important;
  overflow-x: auto !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter code,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code,
body.booch-preview-b .booch-b-content .syntaxhighlighter td code {
  background-color: transparent !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  font-family: var(--b-font-mono) !important;
  word-break: normal !important;
  color: #e2e8f0 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .line.alt1,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line.alt2 {
  background-color: #0d1117 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .line.highlighted.alt1,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line.highlighted.alt2 {
  background-color: rgba(16, 185, 129, 0.14) !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .gutter .line,
body.booch-preview-b .booch-b-content .syntaxhighlighter .gutter .line code {
  color: #94a3b8 !important;
  border-right: 2px solid #10b981 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .gutter .line code {
  border-right: 0 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .plain,
body.booch-preview-b .booch-b-content .syntaxhighlighter .plain a,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.plain {
  color: #e2e8f0 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .comments,
body.booch-preview-b .booch-b-content .syntaxhighlighter .comments a,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.comments {
  color: #8b949e !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .string,
body.booch-preview-b .booch-b-content .syntaxhighlighter .string a,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.string,
body.booch-preview-b .booch-b-content .syntaxhighlighter .value,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.value {
  color: #7ee787 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .keyword,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.keyword,
body.booch-preview-b .booch-b-content .syntaxhighlighter .color3,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.color3 {
  color: #ff7b72 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .variable,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.variable {
  color: #ffa657 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .functions,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.functions,
body.booch-preview-b .booch-b-content .syntaxhighlighter .color1,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.color1 {
  color: #79c0ff !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .constants,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.constants,
body.booch-preview-b .booch-b-content .syntaxhighlighter .color2,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.color2 {
  color: #d2a8ff !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .preprocessor,
body.booch-preview-b .booch-b-content .syntaxhighlighter .line code.preprocessor {
  color: #94a3b8 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter .toolbar {
  background: #111827 !important;
  color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter table {
  display: table !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.booch-preview-b .booch-b-content .syntaxhighlighter td,
body.booch-preview-b .booch-b-content .syntaxhighlighter th {
  display: table-cell !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 10px !important;
}

/* 3. Tables (exempting SyntaxHighlighter), Blockquotes, Separators, Figures & Images */
body.booch-preview-b .booch-b-content table:not(.syntaxhighlighter table) {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #0d1117;
  border: 1px solid #1e293b;
  font-size: 0.9em;
  display: block;
  overflow-x: auto;
}

body.booch-preview-b .booch-b-content table:not(.syntaxhighlighter table) th,
body.booch-preview-b .booch-b-content table:not(.syntaxhighlighter table) td {
  border: 1px solid #1e293b;
  padding: 10px 14px;
  text-align: left;
  color: #e2e8f0;
  vertical-align: top;
}

body.booch-preview-b .booch-b-content table:not(.syntaxhighlighter table) thead th {
  background: #111827;
  color: #22d3ee;
  font-weight: 700;
  border-bottom: 2px solid #06b6d4;
}

body.booch-preview-b .booch-b-content table:not(.syntaxhighlighter table) tbody tr:nth-child(even) {
  background: rgba(17, 24, 39, 0.55);
}

body.booch-preview-b .booch-b-content blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  background: rgba(6, 182, 212, 0.06);
  border-left: 3px solid #06b6d4;
  border-radius: 0 6px 6px 0;
  color: #cbd5e1;
}

body.booch-preview-b .booch-b-content blockquote p:last-child {
  margin-bottom: 0;
}

body.booch-preview-b .booch-b-content hr,
body.booch-preview-b .booch-b-content hr.wp-block-separator {
  border: 0;
  border-top: 1px dashed #334155;
  margin: 28px 0;
}

body.booch-preview-b .booch-b-content figure.wp-block-image {
  margin: 22px 0;
}

body.booch-preview-b .booch-b-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #1e293b;
  color: var(--b-muted);
}

body.booch-preview-b .booch-b-content figcaption {
  color: #94a3b8 !important;
  font-size: 0.82em;
  margin-top: 8px;
}

/* 4. Funny Vote 6 Posts (1315, 1313, 1299, 1297, 1288, 1284), Page 1319 & Unclassed Inline Light Blocks */
body.booch-preview-b .booch-b-content .wp-block-group[style],
body.booch-preview-b .booch-b-content div[style*='#f4f6f8' i],
body.booch-preview-b .booch-b-content div[style*='#f8f9fa' i],
body.booch-preview-b .booch-b-content div[style*='#e0e0e0' i],
body.booch-preview-b .booch-b-content div[style*='#fff' i] {
  background: #0d131d !important;
  border-color: #1e293b !important;
  color: #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}

body.booch-preview-b .booch-b-content .wp-block-group[style*='border-left'],
body.booch-preview-b .booch-b-content div[style*='border-left'] {
  border-left: 4px solid #10b981 !important;
}

body.booch-preview-b .booch-b-content .wp-block-group[style*='#C14420' i],
body.booch-preview-b .booch-b-content div[style*='#fff8f6' i] {
  border-color: rgba(16, 185, 129, 0.55) !important;
  background: #0d131d !important;
  color: #e2e8f0 !important;
}

body.booch-preview-b .booch-b-content .wp-block-group[style] h3,
body.booch-preview-b .booch-b-content .wp-block-group[style] h3 a,
body.booch-preview-b .booch-b-content div[style] h3,
body.booch-preview-b .booch-b-content div[style] h3 a {
  color: #22d3ee !important;
}

body.booch-preview-b .booch-b-content .wp-block-group[style] p[style],
body.booch-preview-b .booch-b-content .wp-block-group[style] div[style],
body.booch-preview-b .booch-b-content p[style*='#555' i],
body.booch-preview-b .booch-b-content p[style*='#666' i],
body.booch-preview-b .booch-b-content p[style*='#888' i],
body.booch-preview-b .booch-b-content p[style*='#444' i],
body.booch-preview-b .booch-b-content p[style*='#333' i],
body.booch-preview-b .booch-b-content p[style*='#222' i] {
  color: #cbd5e1 !important;
}

body.booch-preview-b .booch-b-content .wp-block-group[style] a[style] {
  color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .wp-block-group[style] a[style*='#edf2f7' i] {
  background: #111827 !important;
  color: #22d3ee !important;
  border: 1px solid #334155 !important;
}

body.booch-preview-b .booch-b-content h3 span[style*='#C14420' i],
body.booch-preview-b .booch-b-content a[style*='#C14420' i],
body.booch-preview-b .booch-b-content span[style*='#C14420' i] {
  color: #fb923c !important;
}

/* 5. Page 16 (about-me) .ab-* & Unclassed Inline Styles */
body.booch-preview-b .booch-b-content .ab-wrap {
  color: #e2e8f0 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap h1,
body.booch-preview-b .booch-b-content .ab-wrap h2,
body.booch-preview-b .booch-b-content .ab-wrap h3,
body.booch-preview-b .booch-b-content .ab-wrap .ab-project-title,
body.booch-preview-b .booch-b-content .ab-wrap .ab-pillar-title,
body.booch-preview-b .booch-b-content .ab-wrap .ab-timeline-title,
body.booch-preview-b .booch-b-content .ab-wrap .ab-submodule-card h4 {
  color: #f8fafc !important;
}

body.booch-preview-b .booch-b-content .ab-wrap h1 span,
body.booch-preview-b .booch-b-content .ab-wrap .ab-mono,
body.booch-preview-b .booch-b-content .ab-wrap p[style],
body.booch-preview-b .booch-b-content .ab-wrap span[style*='#64748B' i],
body.booch-preview-b .booch-b-content .ab-wrap .ab-pillar-desc,
body.booch-preview-b .booch-b-content .ab-wrap .ab-stat-sub,
body.booch-preview-b .booch-b-content .ab-wrap .ab-project-desc,
body.booch-preview-b .booch-b-content .ab-wrap .ab-submodule-card p,
body.booch-preview-b .booch-b-content .ab-wrap .ab-timeline-ul,
body.booch-preview-b .booch-b-content .ab-wrap .ab-diff-name {
  color: #94a3b8 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-hero-card,
body.booch-preview-b .booch-b-content .ab-wrap .ab-project-container,
body.booch-preview-b .booch-b-content .ab-wrap .ab-timeline-content,
body.booch-preview-b .booch-b-content .ab-wrap .ab-cta,
body.booch-preview-b .booch-b-content .ab-wrap div[style*='background:#FFFFFF'] {
  background: #0d131d !important;
  border-color: #1e293b !important;
  color: #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-hero-card,
body.booch-preview-b .booch-b-content .ab-wrap .ab-project-container,
body.booch-preview-b .booch-b-content .ab-wrap .ab-cta {
  border-left: 4px solid #06b6d4 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-project-container.secondary {
  border-left-color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-pillar-card,
body.booch-preview-b .booch-b-content .ab-wrap .ab-stat-card,
body.booch-preview-b .booch-b-content .ab-wrap .ab-submodule-card,
body.booch-preview-b .booch-b-content .ab-wrap .ab-case-diff {
  background: #111827 !important;
  border-color: #1e293b !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-submodule-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-project-title-area {
  min-width: 0 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-hero-card h2 {
  min-width: min(100%, 260px) !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-cta > div[style*='display:flex'],
body.booch-preview-b .booch-b-content .ab-wrap .ab-cta > div[style*='display: flex'] {
  flex-wrap: wrap !important;
  max-width: 100% !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-stat-grid,
body.booch-preview-b .booch-b-content .ab-wrap .ab-evidence-bar,
body.booch-preview-b .booch-b-content .ab-wrap .ab-diff-row {
  border-color: #1e293b !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-badge,
body.booch-preview-b .booch-b-content .ab-wrap .ab-stat-pill,
body.booch-preview-b .booch-b-content .ab-wrap .ab-stat-pill-dark,
body.booch-preview-b .booch-b-content .ab-wrap .ab-timeline-date {
  background: rgba(6, 182, 212, 0.1) !important;
  color: #67e8f9 !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-stat-val,
body.booch-preview-b .booch-b-content .ab-wrap .ab-stat-val-dark,
body.booch-preview-b .booch-b-content .ab-wrap .ab-timeline-company,
body.booch-preview-b .booch-b-content .ab-wrap .ab-pillar-num,
body.booch-preview-b .booch-b-content .ab-wrap h4[style*='#C14420'] {
  color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-diff-numbers {
  color: #f8fafc !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-diff-win {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-timeline {
  border-left-color: #334155 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-timeline-dot {
  background: #10b981 !important;
  border-color: #090a0f !important;
  box-shadow: 0 0 0 1px #10b981 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap div[style*='border-bottom:2px solid #C14420'] {
  border-bottom-color: #06b6d4 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap div[style*='border-top:3px solid #C14420'] {
  border-top-color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-link {
  color: #22d3ee !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-link:hover {
  color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-btn-primary {
  background: #10b981 !important;
  color: #052e16 !important;
}

body.booch-preview-b .booch-b-content .ab-wrap .ab-btn-secondary {
  background: #111827 !important;
  color: #22d3ee !important;
  border: 1px solid #06b6d4 !important;
}

/* 6. Pages 1318 & 1032 (.guide-wrap, .overview-hero, .nav-card, .phase-card, .pillar-card) */
body.booch-preview-b .booch-b-content .guide-wrap {
  color: #e2e8f0 !important;
  font-family: inherit !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .overview-hero,
body.booch-preview-b .booch-b-content .guide-wrap .overview-banner,
body.booch-preview-b .booch-b-content .guide-wrap .portal-card {
  background: #0d131d !important;
  border: 1px solid #06b6d4 !important;
  color: #f8fafc !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .overview-title,
body.booch-preview-b .booch-b-content .guide-wrap .portal-title {
  color: #f8fafc !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .overview-desc,
body.booch-preview-b .booch-b-content .guide-wrap .portal-desc {
  color: #94a3b8 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .nav-anchor-btn {
  background: #111827 !important;
  color: #cbd5e1 !important;
  border-color: #334155 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .stage-header,
body.booch-preview-b .booch-b-content .guide-wrap .domain-header {
  border-bottom-color: #1e293b !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .stage-title,
body.booch-preview-b .booch-b-content .guide-wrap .domain-title,
body.booch-preview-b .booch-b-content .guide-wrap .phase-name,
body.booch-preview-b .booch-b-content .guide-wrap .pillar-name {
  color: #f8fafc !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .stage-badge,
body.booch-preview-b .booch-b-content .guide-wrap .domain-badge {
  background: rgba(6, 182, 212, 0.12) !important;
  color: #67e8f9 !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .nav-card,
body.booch-preview-b .booch-b-content .guide-wrap .phase-card,
body.booch-preview-b .booch-b-content .guide-wrap .pillar-card,
body.booch-preview-b .booch-b-content .guide-wrap .flagship-guide-box,
body.booch-preview-b .booch-b-content .guide-wrap .guide-footer-note {
  background: #0d131d !important;
  border-color: #1e293b !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .nav-card,
body.booch-preview-b .booch-b-content .guide-wrap .phase-card {
  border-left: 4px solid #06b6d4 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .nav-card[style*='#E11D48'] {
  border-left-color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .card-title a,
body.booch-preview-b .booch-b-content .guide-wrap .post-link {
  color: #e2e8f0 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .card-title a:hover,
body.booch-preview-b .booch-b-content .guide-wrap .post-link:hover,
body.booch-preview-b .booch-b-content .guide-wrap .flagship-guide-link {
  color: #22d3ee !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .card-desc,
body.booch-preview-b .booch-b-content .guide-wrap .domain-desc,
body.booch-preview-b .booch-b-content .guide-wrap .pillar-desc,
body.booch-preview-b .booch-b-content .guide-wrap .post-note,
body.booch-preview-b .booch-b-content .guide-wrap .flagship-sub {
  color: #94a3b8 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .card-meta {
  border-top-color: #1e293b !important;
  color: #94a3b8 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .card-meta a[style*='#E11D48'] {
  color: #10b981 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .card-tag,
body.booch-preview-b .booch-b-content .guide-wrap .phase-metric {
  background: #111827 !important;
  color: #67e8f9 !important;
  border-color: #334155 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .post-row {
  background: #111827 !important;
  border-color: #1e293b !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .post-row:hover {
  background: #162032 !important;
  border-color: #06b6d4 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .status-current {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .status-contextual {
  background: rgba(6, 182, 212, 0.14) !important;
  color: #67e8f9 !important;
  border-color: rgba(6, 182, 212, 0.35) !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .status-legacy {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #94a3b8 !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}

body.booch-preview-b .booch-b-content .guide-wrap strong[style*='#166534' i] {
  color: #34d399 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap strong[style*='#1E40AF' i] {
  color: #67e8f9 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap strong[style*='#64748B' i] {
  color: #cbd5e1 !important;
}

body.booch-preview-b .booch-b-content .guide-wrap .flagship-right-tag {
  color: #22d3ee !important;
}

/* ==========================================================================
   Responsive & Reduced Motion
   ========================================================================== */

@media (max-width: 900px) {
  .booch-b-metrics {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .booch-b-combat-grid,
  .booch-b-post-nav {
    grid-template-columns: 1fr;
  }

  .booch-b-post-nav-card--next {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .booch-b-header-inner {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .booch-b-nav {
    gap: 12px 14px;
    font-size: 12.5px;
  }

  .booch-b-hero {
    padding: 22px 14px 20px;
  }

  .booch-b-term-body {
    padding: 16px;
    font-size: 13px;
  }

  .booch-b-hud {
    padding: 18px 14px;
  }

  .booch-b-article-shell {
    padding: 22px 18px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booch-b-cursor {
    animation: none;
    opacity: 1;
  }

  body.booch-preview-b::after {
    opacity: 0.4;
  }
}

/* ==========================================================================
   V2.1 Upgrades: 16:9 Preview Covers, 5-Series Interactive Tabs & Pitch Deck
   ========================================================================== */

.booch-b-nav-link--pitch {
  color: var(--b-cyan-bright) !important;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.booch-b-nav-link--pitch:hover,
.booch-b-nav-link--pitch[aria-current="page"] {
  background: rgba(34, 211, 238, 0.22);
  border-color: var(--b-cyan-bright);
  color: #ffffff !important;
}

.booch-b-term-chip--accent {
  border-color: rgba(34, 211, 238, 0.55) !important;
  color: var(--b-cyan-bright) !important;
  background: rgba(6, 182, 212, 0.12) !important;
}

.booch-b-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0 !important;
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.booch-b-btn-ghost:hover {
  border-color: var(--b-cyan-bright);
  color: var(--b-cyan-bright) !important;
  background: rgba(6, 182, 212, 0.12);
}

/* 16:9 Preview Cover Frame (Real Photo + Domain SVG Fallback) */
.booch-b-cover-link {
  display: block;
  text-decoration: none !important;
  overflow: hidden;
  border-bottom: 1px solid var(--b-border);
}

.booch-b-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1019;
}

.booch-b-cover img,
.booch-b-cover-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.booch-b-post-card--media:hover .booch-b-cover img,
.booch-b-flagship-card:hover .booch-b-cover img {
  transform: scale(1.035);
}

.booch-b-cover-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(9, 10, 15, 0.84);
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: #67e8f9;
  font-family: var(--b-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.booch-b-post-card--media {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.booch-b-post-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.booch-b-post-card--media .booch-b-post-card-foot {
  margin-top: auto;
}

.booch-b-article-cover {
  margin: 0 0 26px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Recruiter 30-Second Brief Strip */
.booch-b-recruiter-strip {
  padding: 24px 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13, 20, 32, 0.96), rgba(9, 12, 20, 0.96));
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.booch-b-recruiter-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.booch-b-recruiter-title {
  margin: 0 0 6px;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: clamp(19px, 2.4vw, 24px);
  color: #ffffff;
}

.booch-b-recruiter-sub {
  margin: 0;
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  color: var(--b-cyan-bright);
}

.booch-b-pitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

@media (max-width: 960px) {
  .booch-b-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .booch-b-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.booch-b-kpi-card {
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(9, 10, 15, 0.85);
  border: 1px solid var(--b-border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booch-b-kpi-label {
  font-family: var(--b-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--b-dim);
}

.booch-b-kpi-val {
  font-family: var(--b-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--b-green-bright);
}

.booch-b-kpi-desc {
  font-family: var(--b-font-sans);
  font-size: 12.5px;
  color: var(--b-muted);
  line-height: 1.45;
}

/* Flagship Series 2-Column Showcase */
.booch-b-flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 820px) {
  .booch-b-flagship-grid {
    grid-template-columns: 1fr;
  }
}

.booch-b-flagship-card {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(12, 16, 24, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.28);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.booch-b-flagship-card:hover {
  border-color: var(--b-cyan-bright);
  transform: translateY(-2px);
}

.booch-b-flagship-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.booch-b-flagship-body h3 {
  margin: 0 0 8px;
  font-family: var(--b-font-sans);
  font-size: 19px;
  line-height: 1.38;
}

.booch-b-flagship-body h3 a {
  color: #ffffff !important;
}

.booch-b-flagship-body p {
  margin: 0 0 14px;
  font-family: var(--b-font-sans);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--b-muted);
}

.booch-b-flagship-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.booch-b-metric-pill {
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--b-green-bright);
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 11.5px;
  font-weight: 600;
}

.booch-b-flagship-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Five-Series Interactive Tabs */
.booch-b-series-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 1020px) {
  .booch-b-series-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .booch-b-series-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: inline proximity;
    gap: 0.5rem;
    padding-bottom: 4px;
  }

  .booch-b-series-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

.booch-b-series-tab {
  text-align: left;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid var(--b-border);
  color: var(--b-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.booch-b-series-tab:hover {
  border-color: var(--b-cyan-bright);
}

.booch-b-series-tab.is-active {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--b-green-bright);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.14);
}

.booch-b-tab-code {
  font-family: var(--b-font-mono);
  font-size: 10.5px;
  color: var(--b-cyan-bright);
}

.booch-b-tab-name {
  font-family: var(--b-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  padding-right: 28px;
}

.booch-b-tab-count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--b-cyan-bright);
  font-family: var(--b-font-mono);
  font-size: 11px;
  font-weight: 700;
}

.booch-b-series-panel-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--b-border);
  margin-bottom: 18px;
}

.booch-b-series-panel-desc {
  margin: 0;
  font-family: var(--b-font-sans);
  font-size: 13.5px;
  color: #cbd5e1;
}

.booch-b-feed-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 980px) {
  .booch-b-feed-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .booch-b-feed-grid--three {
    grid-template-columns: 1fr !important;
  }
}

.booch-b-series-chip {
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
}

/* Interview Pitch Deck Standalone Page */
.booch-b-pitch-hero {
  padding: 28px 30px;
  border-radius: 8px;
  background: rgba(11, 15, 23, 0.96);
  border: 1px solid rgba(34, 211, 238, 0.4);
  margin-bottom: 32px;
}

.booch-b-pitch-hero-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.booch-b-pitch-name {
  margin: 0 0 6px;
  font-family: var(--b-font-sans);
  font-size: clamp(26px, 3.6vw, 36px);
  color: #ffffff;
}

.booch-b-pitch-role {
  margin: 0 0 4px;
  font-family: var(--b-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--b-cyan-bright);
}

.booch-b-pitch-exp {
  margin: 0;
  font-family: var(--b-font-mono);
  font-size: 12.5px;
  color: var(--b-muted);
}

.booch-b-pitch-tagline {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-left: 3px solid var(--b-green-bright);
  background: rgba(16, 185, 129, 0.08);
  font-family: var(--b-font-sans);
  font-size: 14.5px;
  line-height: 1.7;
  color: #e2e8f0;
}

.booch-b-pitch-contact-print {
  display: none;
}

.booch-b-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 820px) {
  .booch-b-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.booch-b-pillar-card {
  padding: 18px 20px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.94);
  border: 1px solid var(--b-border);
}

.booch-b-pillar-num {
  display: inline-block;
  font-family: var(--b-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--b-cyan-bright);
  margin-bottom: 6px;
}

.booch-b-pillar-card h3 {
  margin: 0 0 8px;
  font-family: var(--b-font-sans);
  font-size: 16.5px;
  color: #ffffff;
}

.booch-b-pillar-card p {
  margin: 0;
  font-family: var(--b-font-sans);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--b-muted);
}

.booch-b-pitch-projects {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booch-b-pitch-proj-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(12, 16, 24, 0.94);
  border: 1px solid var(--b-border);
}

@media (max-width: 860px) {
  .booch-b-pitch-proj-card {
    grid-template-columns: 1fr;
  }
}

.booch-b-pitch-proj-media {
  background: #0b1019;
  min-height: 210px;
}

.booch-b-pitch-proj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booch-b-pitch-proj-body {
  padding: 20px 24px;
}

.booch-b-pitch-proj-body h3 {
  margin: 0 0 8px;
  font-family: var(--b-font-sans);
  font-size: 19px;
  color: #ffffff;
}

.booch-b-pitch-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 640px) {
  .booch-b-pitch-metrics {
    grid-template-columns: 1fr;
  }
}

.booch-b-pitch-metrics li {
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 2px solid var(--b-green-bright);
  font-family: var(--b-font-mono), var(--b-font-sans);
  font-size: 12.5px;
  color: #e2e8f0;
}

.booch-b-evidence-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.booch-b-evidence-label {
  font-family: var(--b-font-mono);
  font-size: 11px;
  color: var(--b-dim);
}

.booch-b-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booch-b-timeline-item {
  padding: 16px 20px;
  border-radius: 6px;
  background: rgba(12, 16, 24, 0.94);
  border: 1px solid var(--b-border);
  border-left: 3px solid var(--b-cyan-bright);
}

.booch-b-timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  font-family: var(--b-font-sans);
  color: #ffffff;
}

.booch-b-timeline-period {
  font-family: var(--b-font-mono);
  font-size: 12px;
  color: var(--b-green-bright);
}

.booch-b-timeline-co {
  color: var(--b-cyan-bright);
  font-size: 14px;
}

.booch-b-timeline-item p {
  margin: 0;
  font-family: var(--b-font-sans);
  font-size: 13.5px;
  color: var(--b-muted);
  line-height: 1.65;
}

/* Clean Print / PDF Export Styles for Pitch Deck */
@media print {
  body.booch-preview-b,
  .booch-b-root {
    background: #ffffff !important;
    color: #111827 !important;
  }
  body.booch-preview-b::before,
  body.booch-preview-b::after,
  .booch-b-header,
  .booch-b-footer,
  .booch-no-print {
    display: none !important;
  }
  .booch-b-pitch-contact-print {
    display: block !important;
    font-size: 12px;
    color: #374151;
    margin-bottom: 14px;
  }
  .booch-b-pitch-hero,
  .booch-b-kpi-card,
  .booch-b-pillar-card,
  .booch-b-pitch-proj-card,
  .booch-b-timeline-item {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  .booch-b-pitch-name,
  .booch-b-sec-title,
  .booch-b-pillar-card h3,
  .booch-b-pitch-proj-body h3,
  .booch-b-timeline-head,
  .booch-b-kpi-val {
    color: #111827 !important;
  }
  .booch-b-pitch-tagline,
  .booch-b-pitch-metrics li {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
  }
}

/* ==========================================================================
   V2.2 Compact Horizontal Rows (160x100 Right Thumb) & Slim Flagships (220x130)
   ========================================================================== */

/* Full-site article lists -> Medium/Substack compact single-column rows */
.booch-b-feed-grid,
.booch-b-feed-grid--three {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  grid-template-columns: none !important;
}

.booch-b-post-card--media {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 160px !important;
  gap: 20px !important;
  align-items: center !important;
  padding: 16px 20px !important;
  border-radius: 6px;
}

.booch-b-post-card--media .booch-b-post-card-body {
  order: 1;
  padding: 0 !important;
  min-width: 0;
}

.booch-b-post-card--media .booch-b-cover-link {
  order: 2;
  width: 160px;
  height: 100px;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.25) !important;
  overflow: hidden;
  flex-shrink: 0;
}

.booch-b-post-card--media .booch-b-cover {
  width: 100%;
  height: 100%;
}

.booch-b-post-card--media .booch-b-post-card-title {
  font-size: 17px;
  margin: 0 0 6px;
  line-height: 1.4;
}

.booch-b-post-card--media .booch-b-post-card-excerpt {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.booch-b-post-card--media .booch-b-post-card-top {
  margin-bottom: 5px;
}

@media (max-width: 600px) {
  .booch-b-post-card--media {
    grid-template-columns: minmax(0, 1fr) 108px !important;
    gap: 12px !important;
    padding: 14px !important;
  }
  .booch-b-post-card--media .booch-b-cover-link {
    width: 108px;
    height: 72px;
  }
}

/* Flagship Series -> Stacked Compact Horizontal Spotlight Cards (220x130) */
.booch-b-flagship-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  grid-template-columns: none !important;
}

.booch-b-flagship-card {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: center !important;
  padding: 16px 20px !important;
}

.booch-b-flagship-thumb {
  display: block;
  width: 220px;
  height: 130px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.32);
  background: #0b1019;
  flex-shrink: 0;
}

.booch-b-flagship-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.booch-b-flagship-card:hover .booch-b-flagship-thumb img {
  transform: scale(1.04);
}

.booch-b-flagship-body {
  padding: 0 !important;
}

.booch-b-flagship-body .booch-b-badge {
  align-self: flex-start;
  margin-bottom: 8px;
}

.booch-b-flagship-body h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.booch-b-flagship-body p {
  font-size: 13.5px;
  margin: 0 0 10px;
  line-height: 1.55;
}

.booch-b-flagship-metrics {
  margin-bottom: 12px;
}

/* Pitch Deck Project Cards -> Slim 220x130 Left Thumbnail */
.booch-b-pitch-proj-card {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
  padding: 18px 20px !important;
}

.booch-b-pitch-proj-media {
  width: 220px;
  height: 130px;
  min-height: 0 !important;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.booch-b-pitch-proj-body {
  padding: 0 !important;
}

@media (max-width: 720px) {
  .booch-b-flagship-card,
  .booch-b-pitch-proj-card {
    grid-template-columns: 1fr !important;
  }
  .booch-b-flagship-thumb,
  .booch-b-pitch-proj-media {
    width: 100%;
    height: 160px;
  }
}

/* ==========================================================================
   V2.3 One-Click Day/Night Theme Toggle (Plan B Night <-> Plan C Day)
   ========================================================================== */

.booch-b-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.48);
  color: #fcd34d !important;
  font-family: var(--b-font-sans), var(--b-font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}

.booch-b-theme-toggle:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.booch-b-footer-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* ==========================================================================
   V2.4 Accessibility & Touch Target Enhancements
   ========================================================================== */

.booch-b-nav-link,
.booch-b-status-link,
.booch-b-search-trigger,
.booch-b-dialog-close,
.booch-b-term-chip,
.booch-b-chip-link,
.booch-b-read-more,
.booch-b-footer-link,
.booch-b-footer-btn {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

@media (pointer: coarse) {
  .booch-b-nav-link,
  .booch-b-status-link,
  .booch-b-theme-toggle,
  .booch-b-search-trigger,
  .booch-b-dialog-close,
  .booch-b-btn-exec,
  .booch-b-term-chip,
  .booch-b-chip-link,
  .booch-b-cat-tab,
  .booch-b-series-tab,
  .booch-b-read-more,
  .booch-b-pagination .page-numbers,
  .booch-b-footer-link,
  .booch-b-footer-btn {
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
  }
}
