/* ═══════════════════════════════════════════════════════════════════════════
   PHYRENA · PITCH DECK (paginated slides)
   Investor-facing deck — dressed in the Phyrena terminal aesthetic.
   Silver-on-black, Terminus, dotted borders, bracketed section markers.
   ═════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Terminus';
  src: url('/assets/fonts/terminus-webfont-115b1ac6fd3a8344fa557bf157fda2b7.woff2?vsn=d') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --pitch-bg-rgb: 12, 12, 12;
  --pitch-bg: #0c0c0c;
  --pitch-panel: rgba(255, 255, 255, 0.02);
  --pitch-main: #c0c0c0;
  --pitch-main-80: rgba(192, 192, 192, 0.8);
  --pitch-main-60: rgba(192, 192, 192, 0.6);
  --pitch-main-40: rgba(192, 192, 192, 0.4);
  --pitch-main-20: rgba(192, 192, 192, 0.2);
  --pitch-text: #ffffff;
  --pitch-dim: rgba(192, 192, 192, 0.5);
  --pitch-warning: rgb(240, 86, 86);
}

html, body { height: 100%; background: #000; }

#pitch-deck {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 50%, rgba(var(--pitch-bg-rgb), 0.2) 250%),
    var(--pitch-bg);
  color: var(--pitch-main);
  font-family: 'Terminus', 'Courier New', 'JetBrains Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.02em;
  overflow: hidden;
  user-select: text;
}

#pitch-deck *,
#pitch-deck *::before,
#pitch-deck *::after { border-radius: 0 !important; }

/* Subtle terminal grid on the whole deck */
#pitch-deck::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.025) 1px, transparent 1px);
  background-size: 12px 12px;
}

/* Thin scanline wash */
#pitch-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.18) 3px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* Track + slides -------------------------------------------------------- */
.pitch-track {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.pitch-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--pitch-main-40) transparent;
  padding: 84px 28px 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .pitch-slide { padding: 96px 80px 88px; }
}

/* Mobile (and tablet-portrait) — start content at the top, let it scroll.
   Vertical centering only makes sense when everything fits in one viewport;
   on small screens content almost always exceeds height, and centering pushes
   the top above the scroll origin so the slide opens mid-way. */
@media (max-width: 899px) {
  .pitch-slide,
  .pitch-hero,
  .pitch-section,
  .pitch-closing {
    justify-content: flex-start !important;
  }
  .pitch-slide {
    padding: 72px 20px 84px;
  }
}

.pitch-slide::-webkit-scrollbar { width: 6px; }
.pitch-slide::-webkit-scrollbar-track { background: transparent; }
.pitch-slide::-webkit-scrollbar-thumb { background: var(--pitch-main-40); }

.pitch-slide__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Chrome (top bar) ------------------------------------------------------- */
.pitch-chrome {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.95), rgba(12, 12, 12, 0));
}

.pitch-chrome__brand {
  color: var(--pitch-main);
  font-weight: 600;
  letter-spacing: 0.22em;
  pointer-events: auto;
  text-decoration: none;
  padding: 6px 10px;
  border: 1px dotted var(--pitch-main);
  transition: background 0.15s, color 0.15s;
}
.pitch-chrome__brand:hover {
  background: var(--pitch-main);
  color: #0c0c0c;
}
.pitch-chrome__brand b { color: var(--pitch-text); font-weight: 700; }

.pitch-chrome__counter {
  color: var(--pitch-main-80);
  font-variant-numeric: tabular-nums;
  pointer-events: auto;
}
.pitch-chrome__counter b {
  color: var(--pitch-text);
  font-weight: 700;
}

.pitch-chrome__cta {
  pointer-events: auto;
  color: var(--pitch-main);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px dotted var(--pitch-main);
  transition: background 0.15s, color 0.15s;
}
.pitch-chrome__cta:hover {
  background: var(--pitch-main);
  color: #0c0c0c;
}
@media (max-width: 700px) {
  .pitch-chrome__cta { display: none; }
}

/* Arrows (side, vertically centered) ------------------------------------ */
.pitch-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  background: rgba(12, 12, 12, 0.55);
  border: 1px dotted var(--pitch-main-40);
  color: var(--pitch-main);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.pitch-arrow:hover:not([disabled]) {
  color: #0c0c0c;
  background: var(--pitch-main);
  border-color: var(--pitch-main);
  border-style: solid;
}
.pitch-arrow--prev:hover:not([disabled]) { transform: translate(-2px, -50%); }
.pitch-arrow--next:hover:not([disabled]) { transform: translate(2px, -50%); }
.pitch-arrow[disabled] {
  opacity: 0.2;
  cursor: not-allowed;
}
.pitch-arrow--prev { left: 18px; }
.pitch-arrow--next { right: 18px; }

@media (max-width: 700px) {
  .pitch-arrow { display: none; }
}

/* Dots (bottom) --------------------------------------------------------- */
.pitch-dots {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  padding: 6px 10px;
  max-width: calc(100vw - 48px);
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px dotted var(--pitch-main-40);
}
.pitch-dot {
  width: 10px;
  height: 2px;
  background: var(--pitch-main-40);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.pitch-dot:hover { background: var(--pitch-main-80); }
.pitch-dot.is-active { background: var(--pitch-text); transform: scaleY(2); }

/* Terminal prompt (bottom-left) + keyboard hint (bottom-right) ---------- */
.pitch-prompt {
  position: fixed;
  left: 22px;
  bottom: 26px;
  z-index: 24;
  color: var(--pitch-main-60);
  font-size: 11px;
  letter-spacing: 0.1em;
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) { .pitch-prompt { display: block; } }
.pitch-cursor {
  display: inline-block;
  text-decoration: underline;
  animation: pitch-cursor 1.2s steps(1) infinite;
}
@keyframes pitch-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.pitch-hint {
  position: fixed;
  bottom: 26px;
  right: 22px;
  z-index: 24;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-main-40);
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) { .pitch-hint { display: block; } }
.pitch-hint kbd {
  display: inline-block;
  padding: 2px 6px;
  border: 1px dotted var(--pitch-main-40);
  font-family: inherit;
  font-size: 9px;
  color: var(--pitch-main-80);
  margin: 0 2px;
}

/* Typography utilities -------------------------------------------------- */
.pitch-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main);
  margin-bottom: 28px;
  padding: 4px 10px;
  border: 1px dotted var(--pitch-main);
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.02), rgba(192, 192, 192, 0.08));
}
.pitch-kicker b { color: var(--pitch-text); font-weight: 700; letter-spacing: 0.22em; }

.pitch-h1 {
  font-size: clamp(30px, 4.8vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--pitch-text);
  max-width: 24ch;
  overflow-wrap: break-word;
}
.pitch-h2 {
  font-size: clamp(24px, 3.8vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pitch-text);
  max-width: 28ch;
  overflow-wrap: break-word;
}
@media (max-width: 699px) {
  .pitch-h1 { font-size: clamp(22px, 6vw, 32px); }
  .pitch-h2 { font-size: clamp(20px, 5.4vw, 28px); }
}
.pitch-lead {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--pitch-main-80);
  max-width: 66ch;
  margin-top: 22px;
}
.pitch-lead em { opacity: 0.7; font-style: italic; }
.pitch-lead--full { max-width: none; }

/* Hero ------------------------------------------------------------------ */
.pitch-hero { justify-content: center; }
.pitch-hero__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
  margin-bottom: 32px;
  padding: 4px 10px;
  border: 1px dotted var(--pitch-main-40);
}
.pitch-hero__tag span { color: var(--pitch-text); font-weight: 700; }

.pitch-hero__ascii {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(7px, 1.1vw, 14px);
  line-height: 1.1;
  color: var(--pitch-text);
  white-space: pre;
  margin-bottom: 28px;
  user-select: none;
}
.pitch-hero__title {
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pitch-text);
}
.pitch-hero__sub {
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--pitch-main);
  margin-top: 24px;
  letter-spacing: 0.04em;
}
.pitch-hero__sub em { opacity: 0.7; }
.pitch-hero__lede {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--pitch-main-80);
  margin-top: 32px;
  max-width: 64ch;
  line-height: 1.55;
}
.pitch-hero__meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
}
.pitch-hero__meta > div {
  padding: 6px 10px;
  border: 1px dotted var(--pitch-main-40);
}
.pitch-hero__meta span { color: var(--pitch-main-60); margin-right: 6px; }

/* Panel (grid-row-box style) ------------------------------------------- */
.pitch-panel {
  background: rgba(12, 12, 12, 0.45);
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  border: 1px dotted var(--pitch-main);
  padding: 20px 22px;
  transition: background-color 0.2s, border-color 0.2s;
}
.pitch-panel:hover { background-color: rgba(192, 192, 192, 0.05); }

.pitch-panel__kicker {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--pitch-main-40);
}
.pitch-panel__kicker::before {
  content: "★ ";
  color: var(--pitch-main);
}

.pitch-panel__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--pitch-text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pitch-panel__body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--pitch-main-80);
}
.pitch-panel__num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--pitch-text);
  line-height: 1;
  letter-spacing: 0.04em;
}

/* Grids ---------------------------------------------------------------- */
.pitch-grid-2 { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
.pitch-grid-3 { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
.pitch-grid-4 { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }

@media (min-width: 700px) { .pitch-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .pitch-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .pitch-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Metric tile ---------------------------------------------------------- */
.pitch-metric {
  background: rgba(12, 12, 12, 0.5);
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  border: 1px dotted var(--pitch-main);
  padding: 28px 18px;
  text-align: center;
}
.pitch-metric__num {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 700;
  color: var(--pitch-text);
  letter-spacing: 0.02em;
  line-height: 1;
}
.pitch-metric__label {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dotted var(--pitch-main-40);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
}

/* Stack rows ----------------------------------------------------------- */
.pitch-stack {
  margin-top: 32px;
  border: 1px dotted var(--pitch-main);
}
.pitch-stack__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 16px 22px;
  border-bottom: 1px dotted var(--pitch-main-40);
  align-items: baseline;
}
.pitch-stack__row:last-child { border-bottom: none; }
.pitch-stack__row:hover { background: rgba(192, 192, 192, 0.04); }
.pitch-stack__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-text);
}
.pitch-stack__tag::before {
  content: "> ";
  color: var(--pitch-main-60);
}
.pitch-stack__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pitch-main-80);
}
@media (max-width: 699px) {
  .pitch-stack__row { grid-template-columns: 1fr; gap: 6px; }
}

/* Brand links — "Marmela" → marmelasoft.com, "LiveComp"/"Livecomp" →
   livecomp.app. Inherit colour so they blend into surrounding copy; a
   dotted underline signals "clickable" without fighting the copy. */
.pitch-marmela,
.pitch-livecomp,
.pitch-event {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--pitch-main-40);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.pitch-marmela:hover,
.pitch-livecomp:hover,
.pitch-event:hover {
  color: var(--pitch-text);
  text-decoration-color: var(--pitch-text);
}

/* Journey — vertical newspaper-style timeline. Linear reading order, grouped
   into phase chapters. Each chapter has a pill label + horizontal rule, then a
   two-column list: tabular date on the left, connected by a dotted vertical
   rail of dots, title + subtitle on the right. */
.pitch-journey {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pitch-journey__chapter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pitch-journey__chapter-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pitch-journey__chapter-label {
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-main);
  border: 1px dotted var(--pitch-main-40);
  background: rgba(12, 12, 12, 0.5);
  border-radius: 999px !important;
  white-space: nowrap;
}
.pitch-journey__chapter-label--now {
  color: var(--pitch-warning);
  border: 1px solid var(--pitch-warning);
  background: rgba(240, 86, 86, 0.08);
}
.pitch-journey__chapter-rule {
  flex: 1;
  height: 0;
  border-top: 1px dotted var(--pitch-main-40);
}

.pitch-journey__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 90px 14px 1fr;
  column-gap: 14px;
  row-gap: 10px;
  align-items: baseline;
  position: relative;
}
/* Vertical rail threading through every dot (centered in the 14px dot column). */
.pitch-journey__list::before {
  content: "";
  position: absolute;
  left: calc(90px + 14px + 7px);
  top: 10px;
  bottom: 10px;
  border-left: 1px dotted var(--pitch-main-40);
}

.pitch-journey__item {
  display: contents;
}

.pitch-journey__date {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pitch-main);
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.pitch-journey__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pitch-main);
  justify-self: center;
  align-self: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.95); /* mask the rail behind dot */
}

.pitch-journey__body {
  font-size: 13px;
  line-height: 1.4;
  color: var(--pitch-text);
}
.pitch-journey__title {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pitch-journey__desc {
  color: var(--pitch-main-60);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* "Now" — the open raise. Red accent, pulsing halo on the dot. */
.pitch-journey__item--now .pitch-journey__date,
.pitch-journey__item--now .pitch-journey__title {
  color: var(--pitch-warning);
}
.pitch-journey__item--now .pitch-journey__dot {
  width: 10px;
  height: 10px;
  background: var(--pitch-warning);
  animation: pitch-journey-pulse 2.4s ease-in-out infinite;
}
@keyframes pitch-journey-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.95), 0 0 0 0 rgba(240, 86, 86, 0.35); }
  50%      { box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.95), 0 0 0 6px rgba(240, 86, 86, 0.08); }
}

/* "Pivot" — category reframe moment. Gold accent, solid halo on the dot. */
.pitch-journey__item--pivot .pitch-journey__date,
.pitch-journey__item--pivot .pitch-journey__title {
  color: #ffb347;
}
.pitch-journey__item--pivot .pitch-journey__dot {
  width: 10px;
  height: 10px;
  background: #ffb347;
  box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.95), 0 0 0 5px rgba(255, 179, 71, 0.22);
}

/* Tighter gutters on narrow viewports. */
@media (max-width: 499px) {
  .pitch-journey__list {
    grid-template-columns: 70px 14px 1fr;
    column-gap: 10px;
  }
  .pitch-journey__list::before {
    left: calc(70px + 10px + 7px);
  }
}

/* Two columns from 900px up. Chapters never split across columns. */
@media (min-width: 900px) {
  .pitch-journey {
    display: block;
    column-count: 2;
    column-gap: 48px;
    gap: 0;
  }
  .pitch-journey__chapter {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 28px;
  }
  .pitch-journey__chapter:last-child { margin-bottom: 0; }

  /* Forces the second half of a long chapter to start at the top of col 2. */
  .pitch-journey__chapter--break {
    break-before: column;
    -webkit-column-break-before: always;
  }
}

/* TAM bars ------------------------------------------------------------- */
.pitch-tam {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pitch-tam__row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pitch-tam__bar {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 1px dotted var(--pitch-main);
}
.pitch-tam__row--1 .pitch-tam__bar { width: 6%; min-width: 90px; background: var(--pitch-main); color: #0c0c0c; border-style: solid; }
.pitch-tam__row--2 .pitch-tam__bar { width: 24%; min-width: 150px; background: rgba(192, 192, 192, 0.32); color: var(--pitch-text); border-style: solid; }
.pitch-tam__row--3 .pitch-tam__bar { width: 38%; min-width: 160px; background: rgba(192, 192, 192, 0.18); color: var(--pitch-text); }
.pitch-tam__row--4 .pitch-tam__bar { width: 58%; min-width: 180px; background: rgba(192, 192, 192, 0.08); color: var(--pitch-main); }
.pitch-tam__row--5 .pitch-tam__bar {
  width: 98%;
  min-width: 220px;
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.14) 0%, rgba(192, 192, 192, 0.04) 45%, rgba(192, 192, 192, 0) 100%);
  color: var(--pitch-main);
  border-color: var(--pitch-main-60);
  border-right-style: dashed;
}
.pitch-tam__meta { font-size: 12px; color: var(--pitch-main-80); letter-spacing: 0.04em; }
.pitch-tam__footnotes {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px dotted var(--pitch-main-40);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pitch-tam__footnotes p {
  font-size: 10px;
  line-height: 1.5;
  color: var(--pitch-main-60);
  letter-spacing: 0.02em;
  margin: 0;
}
.pitch-tam__footnote-marker {
  color: var(--pitch-main);
  font-weight: 700;
  margin-right: 6px;
}

/* Audience ------------------------------------------------------------- */
.pitch-audience-flow {
  margin: 14px 0 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--pitch-main);
  background: rgba(192, 192, 192, 0.06);
  border: 1px dotted var(--pitch-main-40);
}
.pitch-audience-subhead {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-main);
}
.pitch-audience-scale {
  margin: 32px 0 0;
  padding: 20px 24px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pitch-text);
  background: rgba(192, 192, 192, 0.08);
  border-top: 1px solid var(--pitch-main);
  border-bottom: 1px solid var(--pitch-main);
}

/* Team ---------------------------------------------------------------- */
.pitch-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 6px;
  margin-top: 6px;
}
.pitch-team__card {
  padding: 8px 10px;
  background: rgba(12, 12, 12, 0.45);
  border: 1px dotted var(--pitch-main);
  transition: background 0.15s;
}
.pitch-team__card:hover {
  background: rgba(192, 192, 192, 0.06);
}
.pitch-team__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pitch-text);
  letter-spacing: 0.02em;
}
.pitch-team__role {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pitch-main);
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px dotted var(--pitch-main-40);
}
.pitch-team__note {
  font-size: 11px;
  color: var(--pitch-main-80);
  margin-top: 3px;
  line-height: 1.35;
}
.pitch-team__note em { opacity: 0.7; }

/* Ask ---------------------------------------------------------------- */
.pitch-ask {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}
@media (min-width: 900px) {
  .pitch-ask { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.pitch-ask__headline {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--pitch-text);
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.pitch-ask__sub {
  font-size: 13px;
  color: var(--pitch-main-80);
  margin-top: 14px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}
.pitch-ask__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.pitch-ask__list li {
  font-size: 13px;
  color: var(--pitch-main);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.pitch-ask__list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--pitch-text);
  font-weight: 700;
}

/* Compact variant — for dense cards (e.g., competition grid) where 5+
   items need to fit in a tight card without overflowing the viewport. */
.pitch-ask__list--compact { gap: 3px; margin-top: 4px; }
.pitch-ask__list--compact li {
  font-size: 11px;
  padding-left: 14px;
  line-height: 1.35;
}
.pitch-ask__list--compact li::before { font-size: 10px; top: 1px; }

/* Cap table (slide 35) ------------------------------------------------- */
.pitch-captable {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 900px) {
  .pitch-captable { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.pitch-captable__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(0, 0, 0, 0.35);
}

.pitch-captable__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--pitch-main-20);
}
.pitch-captable__head-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-main-60);
  font-weight: 600;
}
.pitch-captable__head-value {
  font-size: 20px;
  color: var(--pitch-text);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.pitch-captable__bar {
  display: flex;
  width: 100%;
  height: 36px;
  border: 1px dotted var(--pitch-main-40);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.pitch-captable__seg {
  min-width: 2px;
  transition: filter 0.15s;
}
.pitch-captable__seg + .pitch-captable__seg {
  border-left: 1px solid rgba(0, 0, 0, 0.5);
}
.pitch-captable__seg:hover { filter: brightness(1.15); }

.pitch-captable__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.pitch-captable__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-bottom: 1px dotted var(--pitch-main-20);
}
.pitch-captable__row:last-child { border-bottom: none; }
.pitch-captable__swatch {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.pitch-captable__row-label {
  flex: 1;
  min-width: 0;
  color: var(--pitch-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pitch-captable__row-pct {
  font-weight: 700;
  color: var(--pitch-text);
  font-variant-numeric: tabular-nums;
}

.pitch-captable__foot {
  margin-top: 24px;
  padding: 10px 14px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(192, 192, 192, 0.04);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--pitch-main-80);
}
.pitch-captable__foot span {
  color: var(--pitch-text);
  margin-right: 6px;
  font-weight: 700;
}

/* Closing ------------------------------------------------------------- */
.pitch-closing { justify-content: center; }
.pitch-closing__line {
  font-size: clamp(36px, 6.5vw, 84px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--pitch-main);
  text-transform: uppercase;
}
.pitch-closing__line--accent {
  color: var(--pitch-text);
  padding: 0 12px;
  display: inline-block;
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.08), transparent);
  border-left: 3px solid var(--pitch-text);
}
.pitch-closing__contact {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px dotted var(--pitch-main-40);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 12px;
  color: var(--pitch-main-80);
  letter-spacing: 0.05em;
}
.pitch-closing__contact div::before {
  content: "> ";
  color: var(--pitch-main-60);
}
.pitch-closing__contact a {
  color: var(--pitch-text);
  text-decoration: none;
  border-bottom: 1px dotted var(--pitch-main);
  transition: background 0.15s, color 0.15s;
}
.pitch-closing__contact a:hover {
  background: var(--pitch-main);
  color: #0c0c0c;
  border-bottom-color: var(--pitch-main);
}

/* Founder slide portrait ---------------------------------------------- */
.pitch-founder {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pitch-founder__portrait {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: center 20%;
  border: 1px dotted var(--pitch-main-40);
  filter: grayscale(1) contrast(1.05);
  flex-shrink: 0;
  background: #0a0a0a;
}
.pitch-founder__body {
  flex: 1;
  min-width: 280px;
}
@media (max-width: 700px) {
  .pitch-founder__portrait {
    width: 160px;
    height: 190px;
  }
}

/* Section dividers (title-only chapter slides) ------------------------ */
.pitch-section {
  justify-content: center;
  align-items: flex-start;
}
.pitch-section__inner {
  max-width: 1100px;
  width: 100%;
}
.pitch-section__numeral {
  font-family: monospace;
  font-size: clamp(90px, 16vw, 220px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--pitch-text);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.pitch-section__rule {
  width: 100%;
  max-width: 640px;
  height: 1px;
  background: var(--pitch-main-40);
  margin-bottom: 28px;
}
.pitch-section__title {
  font-family: monospace;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.05;
  color: var(--pitch-text);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pitch-section__sub {
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--pitch-main-60);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: monospace;
  max-width: 720px;
  line-height: 1.5;
}

/* Text selection (matches Phyrena landing) ------------------------------ */
#pitch-deck ::selection,
#pitch-root ::selection {
  background: var(--pitch-main);
  color: #0c0c0c;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Terminal overlay — CRT grid + scanlines + vignette + flicker
   Applies to the long-scroll #pitch-root template. Fixed to viewport, clicks
   pass through via pointer-events: none.
   ═════════════════════════════════════════════════════════════════════════ */

#pitch-root {
  position: relative;
  color: var(--pitch-main);
  font-family: 'Terminus', 'Courier New', 'JetBrains Mono', monospace;
  background:
    radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0) 55%,
      rgba(var(--pitch-bg-rgb), 0.6) 100%),
    var(--pitch-bg);
}

#pitch-root *,
#pitch-root *::before,
#pitch-root *::after { border-radius: 0 !important; }

#pitch-root::before,
#pitch-root::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

/* Grid — subtle 12px terminal matrix, behind scanlines */
#pitch-root::before {
  z-index: 9998;
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.025) 1px, transparent 1px);
  background-size: 12px 12px;
}

/* Scanlines + vignette + soft CRT flicker */
#pitch-root::after {
  z-index: 9999;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0) 0,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0.22) 3px
    ),
    radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%);
  opacity: 0.85;
  mix-blend-mode: multiply;
  animation: pitch-crt-flicker 4.2s infinite steps(1, end);
}

@keyframes pitch-crt-flicker {
  0%, 100% { opacity: 0.85; }
  42%      { opacity: 0.82; }
  44%      { opacity: 0.87; }
  68%      { opacity: 0.80; }
  70%      { opacity: 0.86; }
}

@media (prefers-reduced-motion: reduce) {
  #pitch-root::after { animation: none; }
}

/* Print / PDF — hide chrome and CRT overlays so the sponsorship page
   renders clean inside puppeteer's page.pdf() output. */
@media print {
  .pitch-print-hide { display: none !important; }
  #pitch-root::before,
  #pitch-root::after { display: none !important; }
}

/* Try it (interactive GRID match demo) --------------------------------- */
.pitch-try {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pitch-try__classes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 700px) {
  .pitch-try__classes { grid-template-columns: repeat(3, 1fr); }
}

.pitch-try__class {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  padding: 14px 16px;
  border: 1px dotted var(--pitch-main);
  background: rgba(12, 12, 12, 0.5);
  color: var(--pitch-main);
  font-family: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  transition: background 0.15s, color 0.15s, border-style 0.15s;
}

/* Decorative class silhouette — fills the right-hand side of the card.
   Default: white fighter silhouette at low opacity on the dark button.
   Selected state inverts to a dark silhouette on the silver button. */
.pitch-try__class::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background-image: var(--class-bg);
  background-size: var(--class-bg-size, contain);
  background-repeat: no-repeat;
  background-position: right center;
  filter: brightness(0) invert(1);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.pitch-try__class:hover::before { opacity: 0.2; }
.pitch-try__class.is-selected::before {
  filter: brightness(0);
  opacity: 0.18;
}

/* Keep text on top of the silhouette */
.pitch-try__class > * {
  position: relative;
  z-index: 1;
}

.pitch-try__class:hover { background: rgba(192, 192, 192, 0.08); }
.pitch-try__class:focus-visible { outline: 2px solid var(--pitch-main); outline-offset: 2px; }
.pitch-try__class.is-selected {
  background: var(--pitch-main);
  color: #0c0c0c;
  border-style: solid;
}

.pitch-try__class-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px dotted currentColor;
  opacity: 0.85;
  margin-bottom: 12px;
  transition: opacity 0.15s, border-color 0.15s;
}
.pitch-try__class-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}
.pitch-try__class:hover .pitch-try__class-icon { opacity: 1; }
.pitch-try__class.is-selected .pitch-try__class-icon {
  opacity: 1;
  border-style: solid;
}

.pitch-try__class-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.pitch-try__class-passive {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}
.pitch-try__class-desc {
  font-size: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dotted currentColor;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.pitch-try__class.is-selected .pitch-try__class-passive { opacity: 0.8; }

.pitch-try__board {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 10px;
  padding: 18px 16px;
  border: 1px dotted var(--pitch-main);
  background: rgba(12, 12, 12, 0.6);
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  align-items: center;
}

.pitch-try__side,
.pitch-try__clock { text-align: center; }

.pitch-try__label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
  margin-bottom: 8px;
  min-height: 1.2em;
}

.pitch-try__score {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--pitch-text);
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.pitch-try__clock-value {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: var(--pitch-main);
  line-height: 1;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.pitch-try__clock-value.is-expired {
  color: var(--pitch-warning);
  animation: pitch-try-pulse 1.2s steps(2) infinite;
}
@keyframes pitch-try-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.pitch-try__event {
  font-size: 12px;
  color: var(--pitch-text);
  padding: 10px 14px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(192, 192, 192, 0.04);
  letter-spacing: 0.06em;
  min-height: 1.4em;
  animation: pitch-try-event-in 0.35s ease-out;
}
@keyframes pitch-try-event-in {
  from { background: rgba(192, 192, 192, 0.22); }
  to   { background: rgba(192, 192, 192, 0.04); }
}

.pitch-try__controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 700px) {
  .pitch-try__controls { grid-template-columns: repeat(4, 1fr); }
}

.pitch-try__btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
  padding: 12px 14px;
  border: 1px dotted var(--pitch-main);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main);
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.pitch-try__btn:hover:not([disabled]) {
  background: var(--pitch-main);
  color: #0c0c0c;
}
.pitch-try__btn:focus-visible { outline: 2px solid var(--pitch-main); outline-offset: 2px; }
.pitch-try__btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.pitch-try__btn--primary {
  background: var(--pitch-main);
  color: #0c0c0c;
  border-style: solid;
}
.pitch-try__btn--primary:hover:not([disabled]) {
  background: var(--pitch-text);
  border-color: var(--pitch-text);
}

.pitch-try__btn--ghost {
  color: var(--pitch-main-60);
  border-color: var(--pitch-main-40);
}

/* Claim the map — live crest editor + Portugal map -------------------- */
.pitch-inline-link {
  color: var(--pitch-text);
  border-bottom: 1px dotted var(--pitch-main-60);
  text-decoration: none;
  transition: border-color 0.15s;
}
.pitch-inline-link:hover { border-bottom-color: var(--pitch-text); }

.pitch-clanmap {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 1000px) {
  .pitch-clanmap { grid-template-columns: 1fr minmax(560px, 780px); gap: 28px; }
}

.pitch-clanmap__editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(12, 12, 12, 0.5);
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  border: 1px dotted var(--pitch-main);
  font-size: 12px;
}

.pitch-clanmap__header {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: stretch;
}

.pitch-clanmap__identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px dotted var(--pitch-main-20);
}
.pitch-clanmap__identity-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pitch-clanmap__identity-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main-60);
  font-weight: 600;
  width: 44px;
  flex-shrink: 0;
}
.pitch-clanmap__identity-input {
  flex: 1;
  min-width: 0;
  background: rgba(12, 12, 12, 0.5);
  border: 1px dotted var(--pitch-main);
  color: var(--pitch-text);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  outline: none;
  transition: border-color 0.15s, border-style 0.15s, background 0.15s;
}
.pitch-clanmap__identity-input:focus {
  border-style: solid;
  border-color: var(--pitch-text);
  background: rgba(12, 12, 12, 0.8);
}
.pitch-clanmap__identity-input--tag {
  max-width: 100px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.pitch-clanmap__preview {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(0, 0, 0, 0.35);
}
.pitch-clanmap__preview svg { display: block; width: 100%; height: 100%; }

.pitch-clanmap__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
  color: var(--pitch-main-80);
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.pitch-clanmap__meta-tag {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-main-60);
  margin-bottom: 3px;
}
.pitch-clanmap__meta-line { color: var(--pitch-text); }
.pitch-clanmap__meta-line span {
  color: var(--pitch-main-60);
  margin-right: 3px;
}

.pitch-clanmap__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pitch-clanmap__label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
  padding-bottom: 3px;
  border-bottom: 1px dotted var(--pitch-main-40);
}
.pitch-clanmap__label span {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--pitch-main-60);
  font-variant-numeric: tabular-nums;
}

/* Shape / pattern / emblem SVG thumbnails */
.pitch-clanmap__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pitch-clanmap__thumb {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 1px dotted var(--pitch-main-40);
  color: var(--pitch-main-80);
  background: rgba(0, 0, 0, 0.25);
  transition: color 0.12s, background 0.12s, border-color 0.12s;
}
.pitch-clanmap__thumb:hover {
  color: var(--pitch-text);
  border-color: var(--pitch-main);
}
.pitch-clanmap__thumb:focus-visible {
  outline: 1px solid var(--pitch-text);
  outline-offset: 1px;
}
.pitch-clanmap__thumb.is-active {
  color: #0c0c0c;
  background: var(--pitch-text);
  border: 1px solid var(--pitch-text);
}
.pitch-clanmap__thumb-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Emblem picker: category tabs + scrollable grid */
.pitch-clanmap__emblem {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(0, 0, 0, 0.3);
}

.pitch-clanmap__categories {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  border-bottom: 1px dotted var(--pitch-main-40);
  padding: 4px;
  gap: 2px;
  flex-shrink: 0;
}
.pitch-clanmap__categories::-webkit-scrollbar { height: 4px; }
.pitch-clanmap__categories::-webkit-scrollbar-thumb { background: var(--pitch-main-40); }

.pitch-clanmap__category {
  all: unset;
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pitch-main-60);
  white-space: nowrap;
  transition: color 0.12s, background 0.12s;
}
.pitch-clanmap__category:hover { color: var(--pitch-text); }
.pitch-clanmap__category.is-active {
  color: #0c0c0c;
  background: var(--pitch-main);
}

.pitch-clanmap__emblem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
  gap: 4px;
  padding: 6px;
  max-height: 140px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.pitch-clanmap__emblem-grid::-webkit-scrollbar { width: 4px; }
.pitch-clanmap__emblem-grid::-webkit-scrollbar-thumb { background: var(--pitch-main-40); }

/* Color row (BG1 / BG2 / EMBLEM) --------------------------------------- */
.pitch-clanmap__colors {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pitch-clanmap__color-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px;
}
.pitch-clanmap__color-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main-60);
}

.pitch-clanmap__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pitch-clanmap__chip {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-family: inherit;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
  background: transparent;
  border: 1px dotted var(--pitch-main-40);
  cursor: pointer;
  transition: color 0.12s, background 0.12s, border-color 0.12s;
}
.pitch-clanmap__chip:hover { color: var(--pitch-text); border-color: var(--pitch-main); }
.pitch-clanmap__chip.is-active {
  color: #0c0c0c;
  background: var(--pitch-text);
  border-color: var(--pitch-text);
}

.pitch-clanmap__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.pitch-clanmap__swatch {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1px solid var(--pitch-main-40);
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.pitch-clanmap__swatch:hover {
  border-color: var(--pitch-text);
  transform: translateY(-1px);
}
.pitch-clanmap__swatch.is-active {
  border: 2px solid var(--pitch-text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.pitch-clanmap__randomize {
  all: unset;
  box-sizing: border-box;
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-text);
  background: transparent;
  border: 1px dotted var(--pitch-main);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pitch-clanmap__randomize:hover {
  background: var(--pitch-main);
  color: #0c0c0c;
}

.pitch-clanmap__map {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(0, 0, 0, 0.35);
  max-height: 68vh;
  overflow: hidden;
  position: relative;
}
.pitch-clanmap__map-area {
  flex: 1;
  min-width: 0;
  position: relative;
}
/* Neutralise the portugal_map component's default top margin */
.pitch-clanmap__map-area > div { margin-top: 0 !important; }
.pitch-clanmap__map-area svg { max-height: 64vh; width: 100%; height: auto; display: block; }

.pitch-clanmap__mapnote {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
  padding: 6px 10px;
  background: rgba(12, 12, 12, 0.75);
  border: 1px dotted var(--pitch-main-40);
  pointer-events: none;
}
.pitch-clanmap__mapnote span { color: var(--pitch-text); margin-right: 6px; }

/* Fake /clans card — mirrors the real clan show page, sits on the LEFT of
   the map inside .pitch-clanmap__map (flex row). Crest SVGs driven by
   @pitch_crest; name + tag driven by the editor inputs. */
.pitch-fight-card {
  width: 220px;
  flex-shrink: 0;
  max-height: calc(64vh);
  overflow: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: inherit;
}
.pitch-fight-card::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  .pitch-fight-card { display: none; }
}

.pitch-fight-card__panel {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header */
.pitch-fight-card__header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
}
.pitch-fight-card__crest {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.pitch-fight-card__header-body {
  flex: 1;
  min-width: 0;
}
.pitch-fight-card__header-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pitch-fight-card__tag {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.pitch-fight-card__leader-badge {
  font-size: 7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 1px 4px;
}
.pitch-fight-card__clan-name {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pitch-text);
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.15;
  word-break: break-word;
}

/* Members */
.pitch-fight-card__members-head {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.pitch-fight-card__members-head span {
  color: rgba(255, 255, 255, 0.25);
  margin-left: 4px;
}

.pitch-fight-card__members > .pitch-fight-card__member + .pitch-fight-card__member {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pitch-fight-card__member {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
}
.pitch-fight-card__member-flag {
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}
.pitch-fight-card__member-name {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pitch-fight-card__member-star {
  color: rgba(251, 191, 36, 0.7);
  font-size: 9px;
  line-height: 1;
  flex-shrink: 0;
}
.pitch-fight-card__member-crest {
  width: 12px;
  height: 12px;
  opacity: 0.4;
  flex-shrink: 0;
}

/* Class card (pitch deep-dive) ────────────────────────────────────────── */
.pitch-class-card {
  margin-top: 28px;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 20px;
  border: 1px dotted var(--pitch-main);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(12, 12, 12, 0.35) 60%),
    rgba(12, 12, 12, 0.5);
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  overflow: hidden;
  min-height: 380px;
}
.pitch-class-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pitch-class-bg);
  background-size: cover;
  background-position: center right;
  opacity: 0.22;
  filter: grayscale(1) brightness(0.9) contrast(1.1);
  pointer-events: none;
  z-index: 0;
}
.pitch-class-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 12, 12, 0.85) 0%, rgba(12, 12, 12, 0.2) 70%);
  pointer-events: none;
  z-index: 0;
}

.pitch-class-card__details,
.pitch-class-card__strip {
  position: relative;
  z-index: 1;
}

.pitch-class-card__header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.pitch-class-card__title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(28px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pitch-text);
}

.pitch-class-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pitch-class-card__tag {
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pitch-main);
  border: 1px solid var(--pitch-main-40);
  background: rgba(192, 192, 192, 0.04);
}

.pitch-class-card__desc {
  margin: 0 0 16px;
  max-width: 60ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pitch-main-80);
}

.pitch-class-card__ability {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(0, 0, 0, 0.55);
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.04) 1px, transparent 1px);
  background-size: 8px 8px;
  max-width: 640px;
}

.pitch-class-card__ability-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pitch-text);
}

.pitch-class-card__ability-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pitch-main);
  letter-spacing: 0.02em;
}

.pitch-class-card__example {
  margin-top: 8px;
  padding-top: 8px;
  padding-left: 10px;
  border-top: 1px dotted var(--pitch-main-20);
  border-left: 2px solid var(--pitch-main-40);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pitch-class-card__example-power {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px dotted var(--pitch-main-40);
  color: var(--pitch-text);
  flex-shrink: 0;
}
.pitch-class-card__example-power svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.4;
}

.pitch-class-card__example-body {
  flex: 1;
  min-width: 0;
}

.pitch-class-card__example-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
  margin-bottom: 4px;
}

.pitch-class-card__example-line {
  font-size: 12px;
  color: var(--pitch-main);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.pitch-class-card__example-prefix {
  color: var(--pitch-main-60);
  margin-right: 6px;
}

.pitch-class-card__strip {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dotted var(--pitch-main-40);
}

.pitch-class-card__thumb {
  all: unset;
  cursor: pointer;
  width: 64px;
  height: 64px;
  background-image: var(--thumb-bg);
  background-size: 160%;
  background-position: center;
  background-color: rgba(12, 12, 12, 0.5);
  border: 1px solid var(--pitch-main-40);
  filter: grayscale(1) brightness(0.7);
  opacity: 0.55;
  transition: filter 0.15s, opacity 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.pitch-class-card__thumb[data-id="blitz"]      { background-position: 40% 45%; background-size: 170%; }
.pitch-class-card__thumb[data-id="trickster"]  { background-position: 50% 40%; background-size: 110%; }
.pitch-class-card__thumb[data-id="controller"] { background-position: 100% 50%; background-size: 210%; }

.pitch-class-card__thumb:hover {
  filter: grayscale(1) brightness(1.4) contrast(1.1);
  opacity: 0.8;
  border-color: var(--pitch-main);
}
.pitch-class-card__thumb.is-selected {
  filter: grayscale(1) brightness(1.7) contrast(1.1);
  opacity: 1;
  border-color: var(--pitch-text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.pitch-class-card__thumb:focus-visible {
  outline: 1px solid var(--pitch-text);
  outline-offset: 2px;
}

/* Inventory & Skins — token tiers + rarity ladder ---------------------- */
.pitch-tokens {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pitch-tokens__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-main);
  padding-bottom: 6px;
  border-bottom: 1px dotted var(--pitch-main-40);
}
.pitch-tokens__label em {
  color: var(--pitch-main-60);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.08em;
  margin-left: 6px;
}

.pitch-tokens__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 700px) {
  .pitch-tokens__grid { grid-template-columns: repeat(3, 1fr); }
}

.pitch-tokens__tier {
  padding: 18px 16px;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(12, 12, 12, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  transition: border-color 0.15s, background 0.15s;
}
.pitch-tokens__tier:hover {
  border-color: var(--pitch-main);
  background: rgba(192, 192, 192, 0.05);
}

.pitch-tokens__tier--best {
  border: 1px solid var(--pitch-text);
  background: rgba(192, 192, 192, 0.08);
}
.pitch-tokens__tier--best .pitch-tokens__amount,
.pitch-tokens__tier--best .pitch-tokens__price,
.pitch-tokens__tier--best .pitch-tokens__name {
  color: var(--pitch-text);
}

.pitch-tokens__amount {
  font-family: 'Courier New', Courier, monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--pitch-main);
  line-height: 1;
  letter-spacing: 0.04em;
}
.pitch-tokens__price {
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--pitch-main-80);
  line-height: 1;
  margin-top: 2px;
}
.pitch-tokens__rate {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--pitch-main-60);
  margin-top: 6px;
}
.pitch-tokens__name {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dotted var(--pitch-main-40);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch-main-80);
  width: 100%;
}

.pitch-rarity {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pitch-rarity__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-main);
  padding-bottom: 6px;
  border-bottom: 1px dotted var(--pitch-main-40);
}
.pitch-rarity__tiers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.pitch-rarity__tier {
  --rarity: #c0c0c0;
  padding: 6px 12px;
  border: 1px dotted var(--rarity);
  color: var(--rarity);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-style 0.15s;
}
.pitch-rarity__sep {
  color: var(--pitch-main-40);
  font-size: 14px;
  font-weight: 700;
}

.pitch-rarity__tier--common    { --rarity: #c0c0c0; }
.pitch-rarity__tier--uncommon  { --rarity: #2d9e44; }
.pitch-rarity__tier--rare      { --rarity: #1a6fd4; }
.pitch-rarity__tier--epic      { --rarity: #9b30d4; }
.pitch-rarity__tier--legendary { --rarity: #ffd700; }

.pitch-rarity__tier:hover {
  background: var(--rarity);
  color: #0c0c0c;
  border-style: solid;
}

/* Hero presenter (Livecomp lettering above the PHYRENA wordmark) -------- */
.pitch-hero__presenter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dotted var(--pitch-main-40);
  max-width: 520px;
}

.pitch-hero__logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(1.1) contrast(1.05);
  opacity: 0.95;
}

.pitch-hero__presenter-text {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-main-60);
}

/* Founder socials — LinkedIn · Instagram · GitHub --------------------- */
.pitch-founder__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pitch-founder__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--pitch-main);
  background: rgba(12, 12, 12, 0.55);
  border: 1px dotted var(--pitch-main-40);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.pitch-founder__social:hover {
  background: var(--pitch-main);
  color: #0c0c0c;
  border-color: var(--pitch-main);
  border-style: solid;
  transform: translateY(-1px);
}
.pitch-founder__social svg { flex-shrink: 0; }

/* Hero meta — clickable domain links */
.pitch-hero__meta-link {
  color: var(--pitch-text);
  text-decoration: none;
  border-bottom: 1px dotted var(--pitch-main-40);
  transition: color 0.15s, border-bottom-color 0.15s, background 0.15s;
  padding: 0 2px;
}
.pitch-hero__meta-link:hover {
  color: #0c0c0c;
  background: var(--pitch-main);
  border-bottom-color: var(--pitch-main);
}

/* Fit-to-screen journey — tighter rhythm so the whole chapter list sits in
   one viewport without scrolling. Applied when the slide carries
   .pitch-slide--fit alongside .pitch-slide. */
.pitch-slide--fit {
  padding-top: 72px;
  padding-bottom: 72px;
}
.pitch-slide--fit .pitch-h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  margin-bottom: 4px;
}
.pitch-slide--fit .pitch-journey {
  margin-top: 14px;
}
.pitch-slide--fit .pitch-journey__chapter {
  gap: 8px;
}
.pitch-slide--fit .pitch-journey__list {
  row-gap: 5px;
}
.pitch-slide--fit .pitch-journey__date {
  font-size: 10px;
}
.pitch-slide--fit .pitch-journey__body { font-size: 12px; line-height: 1.3; }
.pitch-slide--fit .pitch-journey__desc { font-size: 11px; }

@media (min-width: 900px) {
  .pitch-slide--fit .pitch-journey {
    column-count: 2;
    column-gap: 36px;
  }
  .pitch-slide--fit .pitch-journey__chapter {
    margin-bottom: 18px;
  }
}

@media (min-width: 1200px) {
  .pitch-slide--fit .pitch-journey {
    column-count: 3;
    column-gap: 36px;
  }
}

/* Journey legend — two single-line explanations keyed to the ¹/² markers. */
.pitch-journey__legend {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dotted var(--pitch-main-40);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--pitch-main-80);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.pitch-journey__legend-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pitch-journey__legend-mark {
  color: var(--pitch-text);
  font-weight: 700;
  font-size: 13px;
  min-width: 14px;
  text-align: right;
}

/* Business model — two group containers: Phyrena (B2C) wraps two panels,
   Livecomp (SaaS) wraps one. Dotted outer border + pill label. */
.pitch-business {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .pitch-business {
    grid-template-columns: 2fr 1fr;
    gap: 20px;
  }
}

.pitch-business__group {
  position: relative;
  padding: 18px 16px 16px;
  border: 1px dotted var(--pitch-main);
  background: rgba(12, 12, 12, 0.45);
}

.pitch-business__label {
  position: absolute;
  top: -12px;
  left: 18px;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--pitch-bg);
  border: 1px dotted var(--pitch-main);
  color: var(--pitch-main);
}
.pitch-business__label b {
  color: var(--pitch-text);
  font-weight: 700;
}
.pitch-business__label span {
  color: var(--pitch-main-60);
  margin-left: 4px;
}

.pitch-business__group--b2c .pitch-business__label {
  border-style: solid;
}

.pitch-business__panels {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .pitch-business__panels--double {
    grid-template-columns: 1fr 1fr;
  }
}

/* Business-model expansion under the "Phyrena funds the circuit." closer. */
.pitch-business__expand {
  margin: 10px auto 0;
  max-width: 72ch;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pitch-main-80);
  letter-spacing: 0.02em;
}
.pitch-business__expand em { font-style: italic; color: var(--pitch-main); }

/* Right-side CTA cluster on the pitch chrome — PDF download + Talk to Felicio
   sit adjacent rather than being spread apart by the flex justify-between. */
.pitch-chrome__ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

/* ─── Rules table ─────────────────────────────────────────────────── */
.pitch-rules-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px dotted var(--pitch-main-40);
  background: rgba(12, 12, 12, 0.4);
}
.pitch-rules-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 12px;
  color: var(--pitch-text);
}
.pitch-rules-table thead th {
  padding: 14px 10px;
  border-bottom: 1px solid var(--pitch-main-40);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-main);
  vertical-align: bottom;
  text-align: center;
  background: rgba(12, 12, 12, 0.7);
  font-weight: 500;
  white-space: nowrap;
}
.pitch-rules-table thead th .pitch-rules-table__sub {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--pitch-main-60);
  text-transform: none;
}
.pitch-rules-table thead th:first-child,
.pitch-rules-table tbody td:first-child {
  width: 36px;
  color: var(--pitch-main-60);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.pitch-rules-table tbody td {
  padding: 10px 10px;
  border-bottom: 1px dotted var(--pitch-main-40);
  text-align: center;
  vertical-align: middle;
}
.pitch-rules-table tbody td + td:not(.pitch-rules-table__name) {
  border-left: 1px dotted rgba(192, 192, 192, 0.1);
}
.pitch-rules-table__row--alt td {
  background: rgba(192, 192, 192, 0.03);
}
.pitch-rules-table__row:hover td,
.pitch-rules-table__row--alt:hover td {
  background: rgba(240, 86, 86, 0.06);
}
.pitch-rules-table tbody tr:last-child td {
  border-bottom: none;
}
.pitch-rules-table__name {
  text-align: left !important;
  color: var(--pitch-text);
  line-height: 1.45;
  min-width: 280px;
  padding-right: 18px !important;
}
.pitch-rules-table__group td {
  background: rgba(240, 86, 86, 0.05) !important;
  padding: 14px 14px 12px !important;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-warning);
  text-align: left !important;
  border-top: 1px solid var(--pitch-main-40);
  border-bottom: 1px solid var(--pitch-main-40);
  border-left: none !important;
  font-weight: 500;
}
.pitch-rules-table__group td::before {
  content: "// ";
  color: var(--pitch-main-60);
  margin-right: 4px;
}
.pitch-rules-table__group--safety td {
  background: rgba(240, 86, 86, 0.12) !important;
}
.pitch-rules-table__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pitch-warning);
  box-shadow:
    0 0 8px rgba(240, 86, 86, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.pitch-rules-table__legend {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pitch-main-60);
  align-items: center;
  flex-wrap: wrap;
}
.pitch-rules-table__legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pitch-warning);
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 6px rgba(240, 86, 86, 0.45);
}
