/* HASHMRK — extracted from feed prototype */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOKENS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:root {
  /* xfn-dark (examples/xfn-dark.html) + design system v2.0 tokens */
  --bg:       #070909;
  --bg2:      #0a0c0d;
  --panel:    #111315;
  --panel2:   #151719;
  --white:    #FFFFFF;
  --ink:      #f4f5f5;
  --ink-soft: #969da1;
  --ink-faint:#6f767a;
  --line:     #292d2f;
  --line-md:  #3a3f42;
  --void:     #000000;
  --steel:    #1a1a1a;
  --graphite: #343434;
  --silver:   #BDBDBD;

  --neon: #CCFF00;
  --neon-dim: #a8d400;

  --red: #ff4d57;
  --orange: #f29b2e;
  --green: #2fce7e;
  --gold: #d6b53f;
  --blue: #39a7d7;
  --purple: #a96fd8;
  --cyan: #087d8c;

  --font-display: 'Rajdhani', 'Archivo', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 11% 16%, rgba(255, 255, 255, 0.025), transparent 23%),
    radial-gradient(circle at 92% 32%, rgba(204, 255, 0, 0.018), transparent 18%),
    linear-gradient(180deg, #080a0b 0%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); }

.tag-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* â”€â”€ 45Â° tech arrow â€” signature accent, grayscale only â”€â”€ */
.tarrow {
  display: inline-block;
  width: 9px; height: 9px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.18s ease;
  color: var(--ink-soft);
}
.tarrow.lg { width: 14px; height: 14px; border-width: 2px; }
.tarrow.xl { width: 20px; height: 20px; border-width: 2.4px; }

/* arrow cluster â€” like the streetwear ref sheet */
.arrow-cluster { display: inline-flex; gap: 3px; align-items: center; }
.arrow-cluster .tarrow { color: var(--ink-faint); }
.arrow-cluster .tarrow:last-child { color: var(--ink); }

/* crosshair / target icon */
.xh { position: relative; width: 7px; height: 7px; flex-shrink: 0; background: var(--neon); }

/* target rings (concentric circles, from streetwear sheet) */
.target-ring { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.target-ring::before, .target-ring::after { content:''; position:absolute; border-radius:0; border: 1.3px solid var(--ink-soft); }
.target-ring::before { inset: 0; }
.target-ring::after { inset: 5px; }

/* hazard stripe strip â€” diagonal checkered */
/* Offset accent divider — thin rule across, neon block on the left. */
.hazard-strip {
  height: 10px;
  position: relative;
  border-bottom: 1px solid var(--ink);
}
.hazard-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 10px;
  background: var(--neon);
}

/* small icons */
.ic { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink-soft); }
.ic svg { display: block; }

/* sparkle/burst accent mark */
.spark { display: inline-block; width: 11px; height: 11px; position: relative; flex-shrink: 0; }
.spark svg { width: 100%; height: 100%; }

/* TOP BAR — full-width coded lockup lives in brand.css */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.005em; text-transform: uppercase; color: var(--white); }


/* â”€â”€ PAGE TOP TITLE â€” thin Anduril-style weight â”€â”€â”€â”€ */
.page-top { max-width: 1280px; margin: 0 auto; padding: 40px 32px 0; display: flex; flex-direction: column; align-items: flex-start; }
.page-top-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; width: 100%; }
.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 90px;
  letter-spacing: -0.02em;
  line-height: 0.92;
  color: var(--ink);
  display: block;
}
.page-title b { font-weight: 700; }
.page-title .pt-line { display: block; }

/* decode target */
.decode-target { display: inline; }

/* â”€â”€ PAGE GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page { max-width: 1280px; margin: 0 auto; padding: 40px 32px 0; display: grid; grid-template-columns: 1fr 332px; gap: 0; align-items: start; }
.main-col { border-right: 1px solid var(--line); padding-right: 48px; min-width: 0; }
.sidebar { padding-left: 32px; min-width: 0; }

/* â”€â”€ SECTION HEADER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; position: relative; }
.sec-head::after { content: ''; margin-left: auto; width: 46px; height: 18px; flex-shrink: 0; background: repeating-linear-gradient(-45deg, var(--neon) 0 4px, transparent 4px 8px); }
.sec-title { font-family: var(--font-display); font-weight: 400; font-size: 36px; letter-spacing: -0.015em; color: var(--ink); }
.sec-title b { font-weight: 700; }
.sec-count { margin-left: auto; }

/* â”€â”€ ARTICLE LIST â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.article-list { display: flex; flex-direction: column; }
.article { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 38px 0; border-bottom: 1px solid var(--line); align-items: start; position: relative; }
.article:first-child { padding-top: 0; }
.article.is-breaking { padding-right: 10px; }
.break-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 2;
}

.article-cat { display: flex; align-items: center; gap: 7px; width: fit-content; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.article-cat .cat-ic { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.article-cat .cat-ic svg { width: 100%; height: 100%; display: block; }
.cat-br { color: var(--red); }
.article-cat.cat-br {
  border: 1px solid var(--red);
  padding: 3px 7px;
  line-height: 1.15;
}
.cat-ru { color: var(--orange); }
.cat-tr { color: var(--green); }
.cat-in { color: var(--gold); }
.cat-an { color: var(--blue); }
.cat-op { color: var(--purple); }
.cat-re { color: var(--ink-faint); }
.cat-nf { color: var(--ink-soft); }

.article-hed { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.18; letter-spacing: -0.012em; color: var(--ink); margin-bottom: 9px; }
.article-hed a:hover { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-dek { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.62; margin-bottom: 16px; max-width: 600px; }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 2px; }
.am-item { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.am-item .ic svg { width: 13px; height: 13px; }
.am-sep { width: 3px; height: 3px; background: var(--ink-faint); flex-shrink: 0; }


/* team index tile â€” colored gradient kept, now with animated scan border */
.article-idx { width: 96px; height: 96px; position: relative; flex-shrink: 0; }
.idx-bg { position: absolute; inset: 0; overflow: hidden; }
.article-idx::before { content: ''; position: absolute; top: -5px; left: -5px; width: 9px; height: 9px; border-top: 1.6px solid var(--ink); border-left: 1.6px solid var(--ink); z-index: 3; }
.article-idx::after { content: ''; position: absolute; bottom: -5px; right: -5px; width: 9px; height: 9px; border-bottom: 1.6px solid var(--ink); border-right: 1.6px solid var(--ink); z-index: 3; }
.idx-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.idx-team { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 0.01em; color: rgba(255,255,255,0.95); text-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.idx-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: rgba(255,255,255,0.78); margin-top: 4px; text-transform: uppercase; }
/* animated dashed border marching around the tile */
.idx-border {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 1.5px dashed rgba(255,255,255,0.55);
  animation: borderspin 6s linear infinite;
  opacity: 0.8;
}
@keyframes borderspin {
  0%   { outline-offset: 0px; }
  100% { outline-offset: 0px; }
}
/* corner ticks pulse â€” positioned outside the box, matching outer black brackets */
.idx-corner-tl, .idx-corner-br {
  position: absolute;
  width: 10px; height: 10px;
  z-index: 4;
  animation: cornerpulse 2.4s ease-in-out infinite;
}
.idx-corner-tl { top: -5px; left: -5px; border-top: 1.6px solid var(--neon); border-left: 1.6px solid var(--neon); }
.idx-corner-br { bottom: -5px; right: -5px; border-bottom: 1.6px solid var(--neon); border-right: 1.6px solid var(--neon); animation-delay: 1.2s; }
@keyframes cornerpulse { 0%,100% { opacity: 0.9; } 50% { opacity: 0.15; } }
.t-kc  .idx-bg { background: linear-gradient(135deg,#e31837,#ffb81c); }
.t-buf .idx-bg { background: linear-gradient(135deg,#00338d,#c60c30); }
.t-sf  .idx-bg { background: linear-gradient(135deg,#aa0000,#b3995d); }
.t-dal .idx-bg { background: linear-gradient(135deg,#003594,#7a8a93); }
.t-phi .idx-bg { background: linear-gradient(135deg,#004c54,#a5acaf); }
.t-bal .idx-bg { background: linear-gradient(135deg,#241773,#9e7c0c); }
.t-det .idx-bg { background: linear-gradient(135deg,#0076b6,#b0b7bc); }
.t-mia .idx-bg { background: linear-gradient(135deg,#008e97,#fc4c02); }
.t-pit .idx-bg { background: linear-gradient(135deg,#101010,#ffb612); }
.t-nyj .idx-bg { background: linear-gradient(135deg,#125740,#6b9e8c); }
.t-no  .idx-bg { background: linear-gradient(135deg,#d3bc8d,#101820); }
.t-tb  .idx-bg { background: linear-gradient(135deg,#d50a0a,#34302b); }
.t-car .idx-bg { background: linear-gradient(135deg,#0085ca,#101820); }
.t-cle .idx-bg { background: linear-gradient(135deg,#311d00,#ff3c00); }
.t-lar .idx-bg { background: linear-gradient(135deg,#003594,#ffd100); }
.t-ten .idx-bg { background: linear-gradient(135deg,#0c2340,#4b92db); }
.t-gb  .idx-bg { background: linear-gradient(135deg,#203731,#ffb612); }
.t-ne  .idx-bg { background: linear-gradient(135deg,#002244,#c60c30); }
.t-cin .idx-bg { background: linear-gradient(135deg,#fb4f14,#000000); }
.t-nyg .idx-bg { background: linear-gradient(135deg,#0b2265,#a71930); }
.t-atl .idx-bg { background: linear-gradient(135deg,#a71930,#000000); }
.t-chi .idx-bg { background: linear-gradient(135deg,#0b162a,#c83803); }
.t-min .idx-bg { background: linear-gradient(135deg,#4f2683,#ffc62f); }
.t-sea .idx-bg { background: linear-gradient(135deg,#002244,#69be28); }
.t-ari .idx-bg { background: linear-gradient(135deg,#97233f,#000000); }
.t-was .idx-bg { background: linear-gradient(135deg,#5a1414,#ffb612); }
.t-den .idx-bg { background: linear-gradient(135deg,#fb4f14,#002244); }
.t-lv  .idx-bg { background: linear-gradient(135deg,#000000,#a5acaf); }
.t-lac .idx-bg { background: linear-gradient(135deg,#0080c6,#ffc20e); }
.t-hou .idx-bg { background: linear-gradient(135deg,#03202f,#a71930); }
.t-ind .idx-bg { background: linear-gradient(135deg,#002c5f,#a2aaad); }
.t-jax .idx-bg { background: linear-gradient(135deg,#006778,#9f792c); }
.t-nfl .idx-bg { background: linear-gradient(135deg,#0e0e0e,#3a3a3a); }

/* â”€â”€ DATA STRIP â€” power index, colored trends â”€â”€â”€â”€â”€â”€ */
.data-strip { margin: 44px 0 48px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 28px 0; }
/* Dark variant — solid steel band for the power index module */
.data-strip.is-dark {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 28px 24px;
  /* 45° corner cuts — chamfered octagon */
  clip-path: polygon(
    18px 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px),
    0 18px
  );
}
.data-strip.is-dark .cf-corner { display: none; }
.data-strip.is-dark .ds-cell { border-left-color: rgba(255, 255, 255, 0.12); }
.data-strip.is-dark .sec-title { color: var(--white); }
.data-strip.is-dark .file-tag { color: rgba(255, 255, 255, 0.5); }
.data-strip.is-dark .ds-num { color: var(--white); }
.data-strip.is-dark .ds-desc { color: rgba(255, 255, 255, 0.62); }
.data-strip.is-dark .tag-label { color: rgba(255, 255, 255, 0.5); }
.data-strip.is-dark .ds-trend.flat { color: rgba(255, 255, 255, 0.45); }
.data-strip.is-dark .pi-strip-foot { border-top-color: rgba(255, 255, 255, 0.14); }
.data-strip.is-dark .pi-full-link { color: var(--neon); }
.data-strip.is-dark .pi-full-link .tarrow { color: var(--neon); }
.data-strip.is-dark .cf-corner { border-color: rgba(255, 255, 255, 0.55); }
.ds-head { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; position: relative; }
.ds-head::after { content: ''; margin-left: auto; width: 34px; height: 15px; flex-shrink: 0; background: repeating-linear-gradient(-45deg, var(--neon) 0 4px, transparent 4px 8px); }
.ds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ds-cell { padding: 0 24px; border-left: 1px solid var(--line); }
.ds-cell:first-child { border-left: none; padding-left: 0; }
.ds-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ds-trend { font-family: var(--font-mono); font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.ds-trend.up { color: var(--green); }
.ds-trend.down { color: var(--red); }
.ds-trend.flat { color: var(--ink-soft); }
/* triple chevron â€” three arrows in a row, fading in, pointing up or down */
.chev3 { display: inline-flex; gap: 1px; align-items: center; flex-shrink: 0; }
.chev3 .ch { width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; flex-shrink: 0; }
.chev3.up .ch { transform: rotate(-45deg); }
.chev3.down .ch { transform: rotate(135deg); }
.chev3 .ch:nth-child(1) { opacity: 0.3; }
.chev3 .ch:nth-child(2) { opacity: 0.6; }
.chev3 .ch:nth-child(3) { opacity: 1; }
.ds-num { font-family: var(--font-display); font-weight: 700; font-size: 52px; letter-spacing: -0.025em; color: var(--ink); line-height: 0.95; margin-bottom: 12px; }
.ds-desc { font-family: var(--font-display); font-size: 12.5px; font-weight: 500; color: var(--ink-soft); line-height: 1.42; }

/* â”€â”€ PULL QUOTE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pquote { margin: 44px 0; padding-left: 26px; border-left: 3px solid var(--neon); }
.pquote-text { font-family: var(--font-display); font-weight: 500; font-size: 27px; line-height: 1.32; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 14px; }
.pquote-attr { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-faint); text-transform: uppercase; }

/* partner units — image on top; note only if the creative is blocked */
.unit-lb { width: 728px; max-width: 100%; margin: 32px auto; }
.unit-mr { width: 100%; max-width: 300px; margin: 0 0 28px; }
.unit-hp { width: 100%; max-width: 300px; margin: 0 0 28px; }
.unit-on {
  position: relative;
  display: block;
  border: none;
  background: none;
  padding: 0;
}
.unit-go { display: block; width: 100%; line-height: 0; position: relative; z-index: 1; }
.unit-go img {
  display: block;
  width: 100%;
  height: auto;
}
.unit-note {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.unit-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.unit-note a:hover { color: var(--neon); }
.unit-on.is-bare {
  border: 1px solid var(--line);
  background: var(--panel);
}
.unit-on.is-bare .unit-note {
  position: static;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}
.unit-embed {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.unit-embed iframe,
.unit-embed img {
  max-width: 100%;
  height: auto;
}

/* â”€â”€ LOAD MORE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.load-wrap { text-align: center; padding: 8px 0 56px; }
.btn-more { font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--neon); color: #0A0A0A; border: 1px solid var(--neon); padding: 15px 32px; cursor: pointer; display: inline-flex; align-items: center; gap: 11px; transition: background 0.15s, border-color 0.15s; }
.btn-more .tarrow { color: #0A0A0A; }
.btn-more:hover { background: var(--neon-dim); border-color: var(--neon-dim); }
.btn-more:hover .tarrow { transform: rotate(45deg) translate(2px,-2px); }

/* â”€â”€ SIDEBAR MODULES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sb-mod { margin-bottom: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel) 0%, #0e1011 100%); padding: 15px; position: relative; }
.sb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 2px; border-bottom: none; position: relative; }
.sb-head::before {
  content: '';
  order: 2;
  width: 50px;
  flex: 0 0 50px;
  height: 1px;
  margin-left: auto;
  background: var(--line-md);
  pointer-events: none;
}
.sb-head::after {
  content: '///';
  order: 3;
  flex-shrink: 0;
  color: var(--neon);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -2px;
  font-size: 16px;
  line-height: 1;
}
.sb-head-title { order: 1; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.012em; text-transform: uppercase; color: var(--ink); }

/* ranked list */
.rank-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: none; padding-bottom: 0; }
.rank-row:first-child { padding-top: 0; }
.rank-n { font-family: var(--font-mono); font-weight: 600; font-size: 12px; color: var(--ink-faint); flex-shrink: 0; width: 20px; padding-top: 2px; }
.rank-hed { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; line-height: 1.28; color: var(--ink); margin-bottom: 4px; }
.rank-row:hover .rank-hed { text-decoration: underline; text-decoration-color: var(--ink); }
.rank-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }

/* rumor line — cool blue → ember → flame */
.rumor-line,
.rumor-hero {
  --rl-cool: #4aa3ff;
  --rl-ember: #ff8a1f;
  --rl-flame: #ff2d2d;
  --rl-spectrum: linear-gradient(
    90deg,
    var(--rl-cool) 0%,
    #7ec8ff 16%,
    #f0b429 48%,
    var(--rl-ember) 74%,
    var(--rl-flame) 100%
  );
}
.rumor-hero .hero-title .bold {
  color: transparent;
  background-image: var(--rl-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rumor-hero {
  margin-bottom: 48px;
}
.signal-row { padding: 14px 0; border-bottom: 1px solid var(--line); background: transparent; }
a.signal-row { display: block; text-decoration: none; color: inherit; }
a.signal-row:hover .signal-text { text-decoration: underline; text-decoration-color: var(--ink); }
.signal-row:last-of-type { border-bottom: none; padding-bottom: 12px; }
.sig-head { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.sig-bars { display: flex; gap: 2px; align-items: flex-end; }
.sig-bars span { width: 3px; background: var(--line-md); border-radius: 0; display: block; }
.sig-bars span:nth-child(1) { height: 5px; }
.sig-bars span:nth-child(2) { height: 7px; }
.sig-bars span:nth-child(3) { height: 9px; }
.sig-bars span:nth-child(4) { height: 11px; }
.sig-bars span:nth-child(5) { height: 14px; }
.s-ice .sig-bars span:nth-child(1) { background: var(--rl-cool); opacity: 0.55; }
.s-watch .sig-bars span:nth-child(-n+2) { background: var(--rl-cool); }
.s-warm .sig-bars span:nth-child(-n+3) { background: var(--rl-ember); }
.s-hot .sig-bars span:nth-child(-n+4) { background: var(--rl-flame); }
.s-flame .sig-bars span { background: var(--rl-flame); }
.sig-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); background: none; }
.s-hot .sig-label,
.s-flame .sig-label { color: var(--rl-flame); }
.s-warm .sig-label { color: var(--rl-ember); }
.s-watch .sig-label,
.s-ice .sig-label { color: var(--rl-cool); }
.s-ice .sig-label { opacity: 0.75; }
.rl-index {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: inherit;
}
.s-flame .rl-index { text-shadow: 0 0 8px color-mix(in srgb, var(--rl-flame) 70%, transparent); }
.signal-text { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.46; margin-bottom: 7px; background: none; }
.signal-src { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }

.rumor-line.heat-watch { border-color: color-mix(in srgb, var(--rl-cool) 40%, var(--line)); }
.rumor-line.heat-warming { border-color: color-mix(in srgb, var(--rl-ember) 50%, var(--line)); }
.rumor-line.heat-hot { border-color: color-mix(in srgb, var(--rl-flame) 60%, var(--line)); }
.rl-heat { margin: -2px 0 12px; }
.rl-heat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.rl-heat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rl-heat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}
.rl-bar {
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(20, 5px);
  column-gap: 3px;
  justify-content: end;
  align-items: stretch;
  flex: 1;
  min-width: 0;
  height: 18px;
}
.rl-block {
  width: 5px;
  height: 100%;
  transform: skewX(-12deg);
  transform-origin: center center;
  background: rgba(255, 255, 255, 0.14);
}
.rl-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.rl-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.rl-hot { color: var(--rl-flame); }
.rl-warming { color: var(--rl-ember); }
.rl-watch { color: var(--rl-cool); }
.rl-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-faint);
}
.rl-empty {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 12px 0 8px;
}
.rl-more {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.rl-more:hover { color: var(--ink); }
.rl-more .tarrow { color: var(--neon); }

/* standings â€” team color dots retained */
.stnds { width: 100%; border-collapse: collapse; }
.stnds th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); padding: 9px 0; text-align: left; border-bottom: 1px solid var(--line-md); }
.stnds th:not(:first-child) { text-align: center; }
.stnds td { padding: 9px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.stnds td:not(:first-child) { text-align: center; }
.stnds tbody tr:last-child td { border-bottom: none; }
.div-row td { font-family: var(--font-mono) !important; font-weight: 700 !important; font-size: 11px !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; color: var(--ink) !important; padding: 14px 0 6px !important; border-bottom: none !important; }
.div-row td::after { content:''; display:block; margin-top:5px; width:20px; height:3px; background: var(--neon); }
.td-team { display: flex; align-items: center; gap: 8px; }
.team-pip { width: 7px; height: 7px; flex-shrink: 0; }
.td-tn { font-weight: 600; color: var(--ink); }
.td-w { font-family: var(--font-mono) !important; font-weight: 700 !important; color: var(--ink) !important; }
.td-p { color: var(--ink-faint) !important; font-family: var(--font-mono) !important; font-size: 11.5px !important; }

/* schedule */
.game-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.game-row:last-child { border-bottom: none; padding-bottom: 0; }
.game-row:first-child { padding-top: 0; }
.game-date { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); width: 36px; flex-shrink: 0; line-height: 1.4; }
.game-teams { flex: 1; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.3; }
.game-away { color: var(--ink-soft); font-weight: 500; }
.game-net { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); border: 1px solid var(--line-md); padding: 3px 7px; flex-shrink: 0; }

/* â”€â”€ ACCENT GRAPHIC STRIP â€” between sections, streetwear-style â”€â”€ */
.accent-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 4px;
  padding: 14px 0;
}
.accent-strip .hazard-strip { flex: 1; }
.accent-strip .arrow-cluster { flex-shrink: 0; }
.accent-strip .target-ring { flex-shrink: 0; }
.accent-strip .spark { flex-shrink: 0; }

/* â”€â”€ MILITARY REPORT ACCENTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* file/doc corner tag â€” top-right bracket with reference code */
.file-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.file-tag::before { content: '['; }
.file-tag::after { content: ']'; }

/* thick 45-degree arrow â€” heavier weight for military feel */
.tarrow-thick {
  display: inline-block;
  width: 16px; height: 16px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  color: var(--ink);
}
.tarrow-thick.sm { width: 11px; height: 11px; border-width: 2.2px; }

/* directional arrow row â€” repeated chevrons like a heading marker */
.chevron-row { display: inline-flex; gap: 2px; align-items: center; }
.chevron-row .tarrow-thick { opacity: 0.25; }
.chevron-row .tarrow-thick:last-child { opacity: 1; }

/* coordinate/grid readout strip */
.coord-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.coord-strip span { display: flex; align-items: center; gap: 5px; }
.coord-strip .dotmark { width: 4px; height: 4px; background: var(--ink-faint); flex-shrink: 0; }

/* section rule with embedded label, military report style */
.report-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 24px;
}
.report-rule::before, .report-rule::after { content: ''; flex: 1; height: 1px; background: var(--line-md); }
.report-rule-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

/* corner frame — L-brackets flush with the box outer edges */
.corner-frame { position: relative; }

/* Prefer real .cf-corner marks when present */
.corner-frame:has(.cf-corner)::before,
.corner-frame:has(.cf-corner)::after {
  content: none;
  display: none;
}

/* Fallback TL/BR when no .cf-corner children */
.corner-frame:not(:has(.cf-corner))::before,
.corner-frame:not(:has(.cf-corner))::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 2;
}
.corner-frame:not(:has(.cf-corner))::before {
  top: -2px;
  left: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}
.corner-frame:not(:has(.cf-corner))::after {
  bottom: -2px;
  right: 0;
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

/* Explicit corners — sit on the 2px top/bottom rails of .data-strip */
.cf-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 2;
}
.cf-tl {
  top: -2px;
  left: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}
.cf-tr {
  top: -2px;
  right: 0;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}
.cf-bl {
  bottom: -2px;
  left: 0;
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}
.cf-br {
  bottom: -2px;
  right: 0;
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

/* â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer { background: #c6c8ca; border-top: none; margin-top: 64px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 32px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.f-brand-mark { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.f-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--white); text-transform: uppercase; letter-spacing: -0.005em; }
.f-about { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: rgba(10,10,10,0.78); line-height: 1.65; max-width: 320px; }
.fcol-title { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(10,10,10,0.72); margin-bottom: 18px; }
.flinks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.flinks li a { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: rgba(10,10,10,0.88); display: flex; align-items: center; gap: 7px; transition: color 0.15s; }
.flinks li a .tarrow { width: 6px; height: 6px; border-width: 1.3px; color: rgba(10,10,10,0.55); }
.flinks li a:hover { color: #0a0a0a; }
.flinks li a:hover .tarrow { color: #0a0a0a; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 20px 32px; border-top: 1px solid rgba(10,10,10,0.16); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: rgba(10,10,10,0.7); }

/* â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 980px) {
  .page { grid-template-columns: 1fr; gap: 0; }
  .main-col { border-right: none; padding-right: 0; }
  .sidebar { padding-left: 0; margin-bottom: 8px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .unit-hp { max-width: 300px; }
  .ds-grid { grid-template-columns: 1fr; }
  .ds-cell { border-left: none; padding: 18px 0 0; border-top: 1px solid var(--line); }
  .ds-cell:first-child { padding-top: 0; border-top: none; }
  .page-title { font-size: 72px; }
}

@media (max-width: 720px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 15px; }

  /* Top bar compact on mobile — logo only; desk nav is in the header menu */
  .topnav { display: none; }

  /* Page title: big but app-scaled, single column */
  .page-top { padding: 22px 18px 0; }
  .page-top-eyebrow { margin-bottom: 8px; }
  .page-top-eyebrow .tag-label { font-size: 10.5px; }
  .page-title { font-size: 44px; line-height: 0.96; letter-spacing: -0.01em; }
  .coord-strip { display: none; }

  /* Accent strip simplified */
  .page-top + .page-top { padding-top: 14px; }
  .accent-strip { gap: 10px; padding: 10px 0; }
  .accent-strip .arrow-cluster, .accent-strip .chevron-row { display: none; }
  .accent-strip .target-ring { display: none; }

  /* Page grid: full width, tight side padding like an app */
  .page { padding: 22px 18px 0; }
  .sec-title { font-size: 24px; }
  .sec-head { margin-bottom: 18px; }

  /* Articles: app-style cards â€” team chip shrinks but stays visible, generous tap targets */
  .article { grid-template-columns: 56px 1fr; gap: 14px; padding: 20px 0; }
  .article-idx { width: 56px; height: 56px; }
  .article-idx::before, .article-idx::after { width: 6px; height: 6px; }
  .idx-team { font-size: 13px; }
  .idx-tag { font-size: 7.5px; }
  .idx-corner-tl, .idx-corner-br { width: 7px; height: 7px; }
  .article-cat { font-size: 11.5px; margin-bottom: 6px; }
  .article-cat .cat-ic { width: 15px; height: 15px; }
  .article-hed { font-size: 17px; line-height: 1.24; margin-bottom: 6px; }
  .article-dek { font-size: 14px; line-height: 1.5; margin-bottom: 10px; max-width: none; }
  .article-meta { gap: 8px; }
  .am-item { font-size: 11px; }

  /* Data strip stacks, numbers scale down a touch */
  .data-strip { margin: 28px 0 32px; padding: 20px 0; }
  .ds-grid { grid-template-columns: 1fr; gap: 0; }
  .ds-cell { padding: 16px 0 0; }
  .ds-num { font-size: 40px; }
  .report-rule { margin: 6px 0 18px; }

  /* Pull quote tightened */
  .pquote { margin: 28px 0; padding-left: 18px; }
  .pquote-text { font-size: 20px; line-height: 1.36; }

  /* Sidebar modules: app-card style with tighter padding */
  .sb-mod { margin-bottom: 24px; }
  .sb-head-title { font-size: 17px; }
  .rank-hed { font-size: 14px; }
  .signal-text { font-size: 14px; }
  .game-teams { font-size: 13.5px; }

  .unit-mr { max-width: 300px; }
  .unit-hp { max-width: 300px; }
  .unit-lb { margin: 28px auto; }

  /* Load more â€” full width tap target like an app button */
  .load-wrap { padding: 4px 0 36px; }
  .btn-more { width: 100%; justify-content: center; padding: 16px 20px; font-size: 13px; }

  /* Footer: single column, app-settings-page feel */
  .footer { margin-top: 36px; }
  .footer-inner { grid-template-columns: 1fr; padding: 32px 18px 24px; gap: 30px; }
  .f-about { max-width: none; }
  .footer-bottom { padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0)); flex-direction: column; gap: 6px; }

  /* Larger tap targets everywhere links are interactive */
  .article-hed a, .rank-hed a { display: inline-block; padding: 2px 0; }
}

@media (max-width: 400px) {
  .page-title { font-size: 38px; }
}



/* --- article page --- */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOKENS â€” shared with index
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:root {
  /* xfn-dark (examples/xfn-dark.html) + design system v2.0 tokens */
  --bg:       #070909;
  --bg2:      #0a0c0d;
  --panel:    #111315;
  --panel2:   #151719;
  --white:    #FFFFFF;
  --ink:      #f4f5f5;
  --ink-soft: #969da1;
  --ink-faint:#6f767a;
  --line:     #292d2f;
  --line-md:  #3a3f42;
  --void:     #000000;
  --steel:    #1a1a1a;
  --graphite: #343434;
  --silver:   #BDBDBD;

  --neon: #CCFF00;
  --neon-dim: #a8d400;

  --red: #ff4d57;
  --orange: #f29b2e;
  --green: #2fce7e;
  --gold: #d6b53f;
  --blue: #39a7d7;
  --purple: #a96fd8;
  --cyan: #087d8c;

  --font-display: 'Rajdhani', 'Archivo', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 11% 16%, rgba(255, 255, 255, 0.025), transparent 23%),
    radial-gradient(circle at 92% 32%, rgba(204, 255, 0, 0.018), transparent 18%),
    linear-gradient(180deg, #080a0b 0%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); }

.tag-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* â”€â”€ 45Â° tech arrow â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tarrow {
  display: inline-block;
  width: 9px; height: 9px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.18s ease;
  color: var(--ink-soft);
}

/* crosshair / target icon */
.xh { position: relative; width: 7px; height: 7px; flex-shrink: 0; background: var(--neon); }

/* small icons */
.ic { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink-soft); }
.ic svg { display: block; }

/* file/doc corner tag */
.file-tag { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); }
.file-tag::before { content: '['; }
.file-tag::after { content: ']'; }

/* TOP BAR article page — same chrome as brand.css (do not re-constrain width/height) */

/* â”€â”€ BREADCRUMB / BACK â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.crumb-bar { border-bottom: 1px solid var(--line); }
.crumb-inner { max-width: 1280px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 10px; }
.crumb-back { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 600; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); transition: color 0.15s, gap 0.15s; }
.crumb-back:hover { color: var(--ink); gap: 11px; }
.crumb-back .tarrow { transform: rotate(225deg); color: inherit; }
.crumb-sep { color: var(--ink-faint); }
.crumb-trail { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; }
a.crumb-team {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}
a.crumb-team:hover {
  color: var(--ink);
}

/* ARTICLE PAGE GRID — same container / columns as feed `.page` */
.apage {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 0;
  display: grid;
  grid-template-columns: 1fr 332px;
  gap: 0;
  /* Default stretch keeps both columns at the grid-row height (the taller of
     the two), so the divider on .acol's border-right runs the full column —
     it travels with whichever side is longer instead of stopping short. */
}
.acol {
  border-right: 1px solid var(--line);
  padding-right: 48px;
  min-width: 0;
  /* no max-width — match main feed column */
}
.asidebar {
  padding-left: 32px;
  min-width: 0;
}

/* â”€â”€ ARTICLE HEADER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ahead-cat { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.ahead-cat .cat-ic { width: 15px; height: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ahead-cat .cat-ic svg { width: 100%; height: 100%; display: block; }
.cat-br { color: var(--red); }
.cat-ru { color: var(--orange); }
.cat-tr { color: var(--green); }
.cat-in { color: var(--gold); }
.cat-an { color: var(--blue); }
.cat-op { color: var(--purple); }

.ahead-teams {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.ahead-team {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-md);
  padding: 5px 8px;
  text-decoration: none;
}
.ahead-team:hover { border-color: var(--ink); }
.ahead-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 20px;
}
.ahead-dek {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 28px;
}

/* byline block */
.byline-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.byline-avatar {
  width: 42px; height: 42px;
  border-radius: 0;
  background: var(--neon);
  color: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Exo 2', var(--font-display), sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 17px;
  letter-spacing: -1px;
  position: relative;
}
.byline-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.byline-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 2px; }
.byline-role { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.04em; }
.byline-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.byline-time { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.byline-read { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 5px; }

/* â”€â”€ LEDE DATA PANEL â€” replaces hero photo â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.lede-panel {
  background: #0A0A0A;
  height: 280px;
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lede-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(223,241,64,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(223,241,64,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.lede-panel::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--neon); }
.lede-readout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(223,241,64,0.25);
  background: rgba(250,250,248,0.03);
}
.lr-cell { padding: 22px 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; border-right: 1px solid rgba(255,255,255,0.08); }
.lr-cell:last-child { border-right: none; }
.lr-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.lr-val { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; color: var(--white); line-height: 1; }
.lr-val.neon { color: var(--neon); }
.lede-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; margin-bottom: 36px; }
.lede-cap-text { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.02em; }

/* â”€â”€ ARTICLE BODY TYPOGRAPHY â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.abody { font-family: var(--font-display); font-size: 17.5px; line-height: 1.78; color: var(--ink); }
.abody p { margin-bottom: 24px; font-weight: 600; }
.abody p.lead-graf { font-size: 19px; font-weight: 500; color: var(--ink); }
.abody strong { font-weight: 700; }
.abody a.inline-link { text-decoration: underline; text-decoration-color: var(--neon-dim); text-decoration-thickness: 2px; text-underline-offset: 2px; font-weight: 600; }

/* section sub-head inside article */
.abody h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 44px 0 18px;
  padding-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.abody h2 .xh { flex-shrink: 0; }

/* inline stat callout â€” small bordered box mid-article */
.stat-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
  padding: 20px 24px;
  border: 1px solid var(--line-md);
  position: relative;
}
.stat-callout::before { content: ''; position: absolute; top: -1px; left: -1px; width: 10px; height: 10px; border-top: 1.8px solid var(--ink); border-left: 1.8px solid var(--ink); }
.stat-callout::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 10px; height: 10px; border-bottom: 1.8px solid var(--ink); border-right: 1.8px solid var(--ink); }
.sc-num { font-family: var(--font-display); font-weight: 700; font-size: 44px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; flex-shrink: 0; }
.sc-divider { width: 1px; height: 40px; background: var(--line-md); flex-shrink: 0; }
.sc-text { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--ink-soft); line-height: 1.45; }
.sc-text b { color: var(--ink); }

/* pull quote â€” same system as index */
.pquote { margin: 40px 0; padding-left: 26px; border-left: 3px solid var(--ink); }
.pquote-text { font-family: var(--font-display); font-weight: 500; font-size: 25px; line-height: 1.36; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 14px; }
.pquote-attr { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-faint); text-transform: uppercase; }

/* timeline / sequence block â€” for "what happens next" style sections */
.timeline { margin: 36px 0; }
.tl-item { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: none; padding-bottom: 0; }
.tl-item:first-child { padding-top: 0; }
.tl-marker { flex-shrink: 0; width: 16px; padding-top: 4px; display: flex; justify-content: center; }
.tl-dot { width: 8px; height: 8px; background: var(--ink); flex-shrink: 0; }
.tl-content { flex: 1; }
.tl-time { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.tl-text { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }

/* tags / topic chips at end of article */
.atags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.atag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border: 1px solid var(--line-md);
  padding: 6px 12px;
  transition: border-color 0.15s, color 0.15s;
}
.atag:hover { border-color: var(--ink); color: var(--ink); }

/* share / utility row */
.autil { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 0; flex-wrap: wrap; }
.autil-left { display: flex; align-items: center; gap: 10px; }
.autil-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-md);
  color: var(--ink-soft);
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
}
.autil-btn:hover { border-color: var(--ink); color: var(--ink); }
.autil-src { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.04em; }

/* partner units (article rail) */
.unit-lb { width: 728px; max-width: 100%; margin: 32px auto; }
.unit-mr { width: 100%; max-width: 300px; margin: 0 0 28px; }
.unit-hp { width: 100%; max-width: 300px; margin: 0 0 28px; }
.unit-on {
  position: relative;
  display: block;
  border: none;
  background: none;
  padding: 0;
}
.unit-go { display: block; width: 100%; line-height: 0; position: relative; z-index: 1; }
.unit-go img {
  display: block;
  width: 100%;
  height: auto;
}
.unit-note {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.unit-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.unit-note a:hover { color: var(--neon); }
.unit-on.is-bare {
  border: 1px solid var(--line);
  background: var(--panel);
}
.unit-on.is-bare .unit-note {
  position: static;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}

/* â”€â”€ SIDEBAR MODULES (shared) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sb-mod { margin-bottom: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel) 0%, #0e1011 100%); padding: 15px; }
.sb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 2px; border-bottom: none; position: relative; }
.sb-head-title { order: 1; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.012em; text-transform: uppercase; color: var(--ink); }

/* related stories â€” sidebar rail */
.rel-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.rel-item:last-child { border-bottom: none; padding-bottom: 0; }
.rel-item:first-child { padding-top: 0; }
.rel-chip { width: 48px; height: 48px; flex-shrink: 0; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.22); }
.rel-chip::before { content: ''; position: absolute; top: -3px; left: -3px; width: 6px; height: 6px; border-top: 1.3px solid var(--ink); border-left: 1.3px solid var(--ink); z-index: 2; }
.rel-chip-bg { position: absolute; inset: 0; }
.rel-chip-txt { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 11px; color: rgba(255,255,255,0.92); }
.t-dal .rel-chip-bg, .t-dal.rel-chip-bg { background: linear-gradient(135deg,#003594,#7a8a93); }
.t-bal .rel-chip-bg { background: linear-gradient(135deg,#241773,#9e7c0c); }
.t-phi .rel-chip-bg { background: linear-gradient(135deg,#004c54,#a5acaf); }
.t-sf .rel-chip-bg { background: linear-gradient(135deg,#aa0000,#b3995d); }
.t-mia .rel-chip-bg { background: linear-gradient(135deg,#008e97,#fc4c02); }
.rel-body { flex: 1; min-width: 0; }
.rel-cat { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.rel-hed { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; line-height: 1.28; color: var(--ink); transition: color 0.15s; }
.rel-item:hover .rel-hed { color: var(--red); }
.rel-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); margin-top: 3px; }

/* author card */
.author-card { border: 1px solid var(--line-md); padding: 20px; }
.author-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.author-card-avatar { width: 46px; height: 46px; border-radius: 0; background: var(--panel); flex-shrink: 0; }
.author-card-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.author-card-role { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.04em; margin-top: 2px; }
.author-card-bio { font-family: var(--font-display); font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }

/* â”€â”€ FOOTER (shared) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer { background: #c6c8ca; border-top: none; margin-top: 64px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 32px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.f-brand-mark { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.f-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--white); text-transform: uppercase; letter-spacing: -0.005em; }
.f-about { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: rgba(10,10,10,0.78); line-height: 1.65; max-width: 320px; }
.fcol-title { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(10,10,10,0.72); margin-bottom: 18px; }
.flinks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.flinks li a { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: rgba(10,10,10,0.88); display: flex; align-items: center; gap: 7px; transition: color 0.15s; }
.flinks li a .tarrow { width: 6px; height: 6px; border-width: 1.3px; color: rgba(10,10,10,0.55); }
.flinks li a:hover { color: #0a0a0a; }
.flinks li a:hover .tarrow { color: #0a0a0a; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 20px 32px; border-top: 1px solid rgba(10,10,10,0.16); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: rgba(10,10,10,0.7); }

/* â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 980px) {
  .apage { grid-template-columns: 1fr; padding: 48px 32px 0; }
  .acol { border-right: none; padding-right: 0; }
  .asidebar { padding-left: 0; margin-top: 48px; }
  .ahead-title { font-size: 38px; }
  .lede-readout { flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .unit-hp { max-width: 300px; }
}

@media (max-width: 720px) {
  .brand-mark { width: 24px; height: 24px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-name { font-size: 17px; }
  .topnav { display: none; }

  .crumb-inner { padding: 13px 18px; }

  .apage { padding: 22px 18px 0; }
  .ahead-cat { font-size: 11px; margin-bottom: 14px; }
  .ahead-title { font-size: 28px; line-height: 1.14; margin-bottom: 14px; }
  .ahead-dek { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
  .byline-block { padding: 14px 0; margin-bottom: 24px; gap: 10px; }
  .byline-avatar { width: 36px; height: 36px; }
  .byline-name { font-size: 13.5px; }

  .lede-panel { height: 200px; margin-bottom: 24px; }
  .lede-readout { width: 100%; margin: 0 16px; }
  .lr-cell { padding: 14px 12px; flex: 1; }
  .lr-val { font-size: 24px; }
  .lr-label { font-size: 8.5px; }
  .lede-cap { margin-bottom: 24px; }

  .abody { font-size: 16px; line-height: 1.7; }
  .abody p { margin-bottom: 18px; }
  .abody p.lead-graf { font-size: 17px; }
  .abody h2 { font-size: 21px; margin: 32px 0 14px; }

  .stat-callout { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; margin: 24px 0; }
  .sc-divider { display: none; }
  .sc-num { font-size: 36px; }

  .pquote { margin: 28px 0; padding-left: 18px; }
  .pquote-text { font-size: 20px; line-height: 1.4; }

  .timeline { margin: 26px 0; }
  .unit-mr { max-width: 300px; margin: 24px 0; }

  .atags { margin: 32px 0 0; padding-top: 18px; }
  .autil { margin: 22px 0 0; }

  .asidebar { margin-top: 36px; }
  .sb-head-title { font-size: 16px; }
  .unit-mr { max-width: 300px; }
  .unit-hp { max-width: 300px; }

  .footer { margin-top: 36px; }
  .footer-inner { grid-template-columns: 1fr; padding: 32px 18px 24px; gap: 30px; }
  .f-about { max-width: none; }
  .footer-bottom { padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0)); flex-direction: column; gap: 6px; }
}


/* skip link + focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--neon);
  color: var(--ink);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* prose body (markdown render) */
.prose p { margin-bottom: 1.1em; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 1.6em 0 0.7em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.prose strong { font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  margin: 1.4em 0;
  padding-left: 26px;
  border-left: 3px solid var(--ink);
  font-weight: 500;
  font-size: 1.25em;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.prose ul, .prose ol { margin: 0 0 1.1em 1.2em; }
.prose li { margin-bottom: 0.35em; }

/* brand link reset */
.brand { color: inherit; }
.brand:hover { opacity: 0.92; }
/**
 * XFN brand polish — header.png + brand sheets in examples/
 * Body stays light paper; neon lives in chrome (header, footer, accents).
 */

:root {
  --ink: #f4f5f5;
  --ink-soft: #969da1;
  --ink-faint: #6f767a;
  --line: #292d2f;
  --line-md: #3a3f42;
  /* Brand neon */
  --neon: #ccff00;
  --neon-dim: #a8d400;
  --charcoal: #1a1a1a;
  /* Match page / feed / article content column */
  --content-max: 1280px;
  --content-pad: 32px;
  /* Gutter to content left/right edge (centered 1280 + pad) */
  --content-inline: max(
    var(--content-pad),
    calc((100vw - var(--content-max)) / 2 + var(--content-pad))
  );
  /* Taller brand bar — full-bleed edge to edge */
  --topbar-h: 76px;
}

/* ── Header — full-width neon lockup + dark nav ── */
.topbar {
  /*
   * Brand cut geometry (bottom → top along right edge):
   *  60° left→right, at 40% height jog right 20px (indent), then 60° to top.
   * cot(60°) = 1/√3 ≈ 0.57735 → horizontal run = vertical rise × cot(60°)
   */
  --cut-notch: 20px;
  --cut-at: 60%; /* from top = 40% up from bottom */
  --cut-cot: 0.57735026919;
  --cut-upper: calc(var(--topbar-h) * 0.6 * var(--cut-cot));
  --cut-lower: calc(var(--topbar-h) * 0.4 * var(--cut-cot));
  --cut-depth: calc(var(--cut-upper) + var(--cut-notch) + var(--cut-lower));
  background: #0A0A0A;
  width: 100%;
  height: var(--topbar-h);
  border-bottom: 1px solid #2b2f31;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.topbar-inner {
  /* Full viewport width — do not constrain to content container */
  width: 100%;
  max-width: none;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  padding: 0;
  gap: 0;
}
/* Neon brand field — logo left edge = content column; 60° cut + 20px indent */
.brand-block {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  /*
   * Left pad lines logo up with page content (1280 + 32px gutter).
   * Right pad clears the angled cut past the mark.
   */
  padding: 0 calc(var(--cut-depth) + 40px) 0 var(--content-inline);
  margin: 0;
  background: var(--neon);
  color: #0A0A0A;
  text-decoration: none;
  z-index: 2;
  line-height: 0;
  /*
   * Right edge, top → bottom (inverse of bottom→top description):
   *  1) 60° down-left from top (flush right)
   *  2) horizontal left 20px = indent (right jog when read bottom→top)
   *  3) 60° down-left to bottom
   */
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - var(--cut-upper)) var(--cut-at),
    calc(100% - var(--cut-upper) - var(--cut-notch)) var(--cut-at),
    calc(100% - var(--cut-depth)) 100%,
    0 100%
  );
  transition: filter 0.15s;
}
.brand-block:hover {
  filter: brightness(1.03);
}
.brand-wordmark {
  display: block;
  height: 32px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.topbar-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  /* Tools line up with content right edge */
  padding: 0 var(--content-inline) 0 16px;
  background: #0A0A0A;
  margin-left: calc(-1 * var(--cut-upper)); /* nest under upper 60° edge */
}
.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.topnav::-webkit-scrollbar {
  display: none;
}
.topnav a {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s;
  text-transform: uppercase;
}
.topnav a:hover {
  color: var(--white);
}
.topnav a.on {
  color: var(--neon);
  border-bottom-color: var(--neon);
}
.topbar-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: var(--neon);
  padding-left: 4px;
}
.topbar-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  opacity: 1;
}
.topbar-tool-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
}

/* Desktop: the nav is inline; no menu button or sheet. */
@media (min-width: 721px) {
  .topbar-menu-btn,
  .topbar-menu {
    display: none;
  }
}

/* ── Mobile menu sheet (app-style) ── */
.topbar-menu {
  display: none;
}
@media (max-width: 720px) {
  .topbar-menu {
    display: block;
    position: fixed;
    inset: calc(60px + env(safe-area-inset-top, 0)) 0 0 0;
    z-index: 99;
    background: var(--neon);
    color: #0A0A0A;
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s cubic-bezier(0.3, 1.25, 0.4, 1),
      opacity 0.22s ease;
  }
  .topbar-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .topbar-menu-nav {
    padding: 14px 0 20px;
  }
  .topbar-menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0A0A0A;
    text-decoration: none;
    padding: 16px var(--content-inline);
    border-bottom: 1px solid rgba(10, 10, 10, 0.16);
    transition:
      background 0.15s,
      padding-left 0.15s;
  }
  .topbar-menu-link:active {
    background: rgba(10, 10, 10, 0.07);
  }
  .topbar-menu-link.on {
    background: #0A0A0A;
    color: var(--neon);
  }
  .topbar-menu-arrow {
    color: #0A0A0A;
    opacity: 0.55;
  }
  .topbar-menu-foot {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: rgba(10, 10, 10, 0.5);
    padding: 18px var(--content-inline) 32px;
  }
}

/* ── Team hero banner ── */
.team-banner {
  background: linear-gradient(
    125deg,
    var(--team-a) 0%,
    var(--team-a) 48%,
    var(--team-b) 100%
  );
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}
.team-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 90% at 100% 0%,
      rgba(255, 255, 255, 0.12),
      transparent 55%
    ),
    repeating-linear-gradient(
      -12deg,
      transparent 0 14px,
      rgba(0, 0, 0, 0.04) 14px 15px
    );
  pointer-events: none;
}
.team-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.team-banner-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.team-banner .page-title,
.team-banner .tag-label,
.team-banner .coord-strip {
  color: #fff;
}
.team-banner .tag-label {
  color: rgba(255, 255, 255, 0.72);
}
.team-banner .xh::before,
.team-banner .xh::after {
  background: #fff;
}
.team-banner .dotmark {
  background: rgba(255, 255, 255, 0.6);
}
.team-banner-title.is-long {
  font-size: clamp(42px, 7.5vw, 72px);
}
.team-banner-coords {
  margin-top: 18px;
}

/* ── Compact team strip (article pages) ── */
.article-team-bar {
  background: linear-gradient(
    105deg,
    var(--team-a) 0%,
    var(--team-a) 52%,
    var(--team-b) 100%
  );
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.article-team-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent 0 12px,
    rgba(0, 0, 0, 0.035) 12px 13px
  );
  pointer-events: none;
}
.article-team-bar-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--content-pad);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.article-team-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  flex: 1;
  transition: opacity 0.15s;
}
.article-team-bar-link:hover {
  opacity: 0.92;
}
.article-team-bar-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  line-height: 1;
}
.article-team-bar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.article-team-bar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}
.article-team-bar-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
/* Solid CTA button — high contrast on team colors */
.article-team-bar-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #0A0A0A;
  background: var(--neon);
  border: 1px solid var(--neon);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.article-team-bar-cta:hover {
  background: var(--neon-dim);
  border-color: var(--neon-dim);
  color: #0A0A0A;
}
.article-team-bar-cta:active {
  transform: translate(1px, 1px);
}
.article-team-bar-cta .tarrow {
  color: inherit;
  transform: rotate(-45deg);
}

/* Team rack in the intel column, then a faint rule before the article list */
.feed-toolbar {
  width: 100%;
  margin-top: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.feed-toolbar .team-rack {
  margin-bottom: 0;
}
.feed-toolbar + .lead-card-wrap,
.feed-toolbar + .article-list {
  margin-top: 0;
}

/* ── Team filter — popover team grid ── */
.team-filter {
  width: 100%;
  max-width: none;
}
.team-filter-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.tf-pop {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.tf-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 240px;
  max-width: 100%;
  padding: 13px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-md);
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.tf-trigger:hover,
.tf-pop.is-open .tf-trigger {
  border-color: var(--ink);
}
.tf-pop.is-open .tf-trigger {
  box-shadow: 3px 3px 0 0 var(--neon);
}
.tf-trigger-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tf-trigger-chev {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: rotate(45deg);
  margin-top: -4px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.tf-pop.is-open .tf-trigger-chev {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.tf-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: min(720px, calc(100vw - 36px));
  background: var(--panel2);
  border: 1px solid var(--line-md);
  box-shadow: 6px 6px 0 0 var(--neon);
  padding: 14px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.22s cubic-bezier(0.3, 1.2, 0.4, 1),
    opacity 0.18s ease,
    visibility 0s linear 0.22s;
}
.tf-pop.is-open .tf-panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.22s cubic-bezier(0.3, 1.2, 0.4, 1),
    opacity 0.18s ease;
}
.tf-panel-top {
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.tf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.tf-chip:hover {
  border-color: var(--ink);
}
.tf-chip.on {
  background: var(--neon);
  border-color: var(--neon);
  color: #0A0A0A;
}
.tf-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.tf-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.tf-group-teams {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.tf-team {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  font-family: var(--font-mono);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background 0.12s;
}
.tf-team:hover {
  background: var(--panel);
}
.tf-team.on {
  background: var(--neon);
}
.tf-pip {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.tf-team-code {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.tf-team-name {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tf-team.on .tf-team-name {
  color: #0A0A0A;
}
.tf-lock {
  overflow: hidden;
}
@media (max-width: 720px) {
  .tf-panel {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0) + 8px);
    left: 18px;
    right: 18px;
    width: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 12px;
  }
  .tf-groups {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Feed list spacing (split lists / after ad) ── */
.article-list + .article-list .article:first-child,
.unit + .article-list .article:first-child {
  padding-top: 38px;
}

/* Team chip: no hover lift */
a.article-idx-link {
  display: block;
  cursor: pointer;
}
a.article-idx-link:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

/* ── Buttons ── */
/* Primary button style lives in global.css (.btn-more = green fill, ink text). */

/* ── Footer — light grey field, ink type ── */
.footer {
  background: #c6c8ca;
  border-top: none;
  color: #0a0a0a;
}
.f-about {
  color: rgba(10, 10, 10, 0.78);
  font-weight: 600;
}
.fcol-title {
  color: rgba(10, 10, 10, 0.72);
  font-weight: 700;
}
.flinks li a {
  color: rgba(10, 10, 10, 0.88);
  font-weight: 700;
}
.flinks li a .tarrow {
  color: rgba(10, 10, 10, 0.55);
}
.flinks li a:hover {
  color: #0a0a0a;
}
.flinks li a:hover .tarrow {
  color: #0a0a0a;
}
.f-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
}
.f-brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.f-brand-xfn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.05em;
  font-style: italic;
  text-transform: uppercase;
  color: #0a0a0a;
}
.f-brand-suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-style: italic;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.footer-bottom {
  align-items: center;
  border-top-color: rgba(10, 10, 10, 0.16);
}
.footer-bottom span {
  color: rgba(10, 10, 10, 0.7);
  font-weight: 600;
}
.footer-tagline {
  color: #0a0a0a !important;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 1;
}

/* ── Feed pager / deeper wire (HomeFeed) ── */
.feed-pager {
  margin-top: 28px;
  margin-bottom: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.feed-pager-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.feed-pager-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.feed-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0A0A;
  padding: 10px 14px;
  border: 1px solid var(--line-md);
  background: var(--white);
  transition:
    background 0.15s,
    border-color 0.15s;
}
a.feed-page-btn:hover {
  background: var(--neon);
  border-color: var(--ink);
}
.feed-page-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.feed-page-nums {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.feed-page-num {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}
a.feed-page-num:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}
.feed-page-num.is-on {
  background: var(--neon);
  color: #0A0A0A;
  border-color: var(--neon);
}
.feed-more {
  margin-top: 8px;
  margin-bottom: 48px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.feed-more-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.feed-more-note {
  font-family: var(--font-display);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 42em;
}
.feed-more-desks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feed-desk-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-md);
  background: var(--panel);
  color: var(--ink);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.feed-desk-chip:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: #0A0A0A;
}

@media (max-width: 980px) {
  .topnav {
    gap: 16px;
  }
  .topnav a {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
}

/* ── xfn-dark hero (examples/xfn-dark.html) ── */
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.hero-kicker .slashes {
  color: var(--neon);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -2px;
  font-size: 18px;
}
.hero-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 66px;
  line-height: 0.83;
  text-transform: uppercase;
  letter-spacing: -2.5px;
}
.hero-title .thin { font-weight: 400; display: block; }
.hero-title .bold { font-weight: 700; display: block; color: var(--neon); }
.tagline {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.tagline .verified { color: var(--neon); }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.hero-meta .dotmark {
  width: 4px;
  height: 4px;
  background: var(--ink-faint);
  flex-shrink: 0;
}
.feed-hero {
  padding-bottom: 0;
}

/* ── xfn-dark lead card ── */
.lead-card-wrap {
  position: relative;
  margin: 26px 0 0;
}
.lead-card {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 230px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, #0c0e0f 100%);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.lead-corner-line {
  position: absolute;
  top: 0;
  left: calc(100% - 40px);
  width: 57px;
  height: 2px;
  background: var(--line);
  transform: rotate(45deg);
  transform-origin: 0 0;
  z-index: 1;
  pointer-events: none;
}
.lead-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--neon);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 2;
  pointer-events: none;
}
.lead-arrow.is-breaking {
  background: var(--red);
}
.lead-card-wrap.is-breaking .lead-card {
  border-color: var(--red);
}
.lead-card-wrap.is-breaking .lead-corner-line {
  background: var(--red);
}
.lead-card-wrap.is-breaking .verify-dot {
  background: var(--red);
}
.lead-card-wrap + .lead-card-wrap {
  margin-top: 14px;
}
.lead-card-wrap + .article-list {
  margin-top: 28px;
}
.lead-copy {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.tag-mini {
  color: var(--neon);
  border: 1px solid var(--neon);
  padding: 3px 6px;
  line-height: 1;
  border-radius: 2px;
}
.tag-mini.is-breaking {
  color: var(--red);
  border-color: var(--red);
}
.lead-hed {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.18;
  margin: 18px 0 10px;
  letter-spacing: -0.4px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.lead-dek {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
  max-width: 300px;
  display: block;
}
.lead-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lead-card .byline {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.verify-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--neon);
  display: inline-block;
  position: relative;
}
.lead-team {
  position: relative;
  overflow: hidden;
  margin: 28px 18px 22px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.lead-team .idx-bg { position: absolute; inset: 0; }
.lead-team-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.lead-team-abbr {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.lead-team-name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.card-icons {
  display: flex;
  gap: 13px;
  color: var(--ink-soft);
  font-size: 13px;
  flex-shrink: 0;
}

/* ── buttons: 45° upper-right cut + 3px radius on the other corners ── */
.btn-more,
.pi-full,
.article-team-bar-cta,
.feed-page-btn {
  border-radius: 3px 0 3px 3px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
/* Line-only (outline) buttons: draw the border along the cut edge. */
.pi-full,
.feed-page-btn {
  position: relative;
}
.feed-page-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(100% - 10px);
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 2;
}
/* Line button: a thin 1px line exactly along the cut edge (45°), matching the border color. */
.pi-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(100% - 10px);
  width: 10px;
  height: 10px;
  color: #0a0a0a;
  background: linear-gradient(
    45deg,
    transparent 0 53%,
    currentColor 53% 61%,
    transparent 61%
  );
  pointer-events: none;
  z-index: 2;
}

/* ── Button system — all at the normal (Power Index) height ──
   primary / primary-line, white / white-line, black / black-line, gray / gray-line. */
.btn {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  white-space: nowrap;
  border-radius: 2px 0 2px 2px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--neon); border-color: var(--neon); color: #0A0A0A; }
.btn-primary:hover { background: var(--neon-dim); border-color: var(--neon-dim); }
.btn-primary-line { background: transparent; border-color: var(--neon); color: var(--neon); }
.btn-primary-line:hover { background: var(--neon); color: #0A0A0A; }
.btn-white { background: #ffffff; border-color: #ffffff; color: #0A0A0A; }
.btn-white:hover { background: #e2e2e2; border-color: #e2e2e2; }
.btn-white-line { background: transparent; border-color: #ffffff; color: #ffffff; }
.btn-white-line:hover { background: #ffffff; color: #0A0A0A; }
.btn-black { background: #0A0A0A; border-color: #0A0A0A; color: #ffffff; }
.btn-black:hover { background: #000000; border-color: #000000; }
.btn-black-line { background: transparent; border-color: #0A0A0A; color: #0A0A0A; }
.btn-black-line:hover { background: #0A0A0A; color: #ffffff; }
.btn-gray { background: #6F767A; border-color: #6F767A; color: #ffffff; }
.btn-gray:hover { background: #596064; border-color: #596064; }
.btn-gray-line { background: transparent; border-color: #6F767A; color: #6F767A; }
.btn-gray-line:hover { background: #6F767A; color: #ffffff; }
/* line buttons: border along the cut edge (45°, matching each button's border color) */
.btn-primary-line::after,
.btn-white-line::after,
.btn-black-line::after,
.btn-gray-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(100% - 10px);
  width: 10px;
  height: 10px;
  background: linear-gradient(
    45deg,
    transparent 0 53%,
    currentColor 53% 61%,
    transparent 61%
  );
  pointer-events: none;
  z-index: 2;
}
.btn-primary-line::after { color: var(--neon); }
.btn-white-line::after { color: #ffffff; }
.btn-black-line::after { color: #0a0a0a; }
.btn-gray-line::after { color: #6f767a; }
/* ── sizes (default = Power Index height) ── */
.btn-sm { padding: 5px 9px; font-size: 9px; gap: 5px; border-radius: 0; }
.btn-lg { padding: 11px 18px; font-size: 12px; }
.btn-xl { padding: 14px 24px; font-size: 13px; }

@media (max-width: 720px) {
  .lead-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .lead-team {
    order: -1;
    margin: 14px 14px 0;
    min-height: 148px;
  }
  .lead-copy {
    padding: 16px 18px 18px;
  }
  .lead-hed {
    margin: 12px 0 8px;
    font-size: 18px;
  }
  .lead-dek {
    max-width: none;
  }
  .lead-foot {
    padding-top: 14px;
  }

  :root {
    --content-pad: 18px; /* match .page / .page-top mobile gutters */
  }
  /* App-style mobile header: neon field, stair menu button */
  .topbar {
    height: calc(60px + env(safe-area-inset-top, 0));
    padding-top: env(safe-area-inset-top, 0);
    background: var(--neon);
  }
  .topbar-inner {
    height: 60px;
    max-width: none;
  }
  .brand-block {
    background: transparent;
    padding: 0 calc(var(--cut-depth) + 20px) 0 var(--content-inline);
  }
  .brand-wordmark {
    height: 26px;
  }
  .topbar-main {
    padding: 0 var(--content-inline) 0 8px;
    margin-left: calc(-1 * var(--cut-upper));
    justify-content: flex-end;
    gap: 12px;
    background: transparent;
  }
  .topnav {
    display: none;
  }
  .topbar-tool {
    color: #0A0A0A;
  }
  .topbar-menu-btn {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .topbar-menu-btn:active {
    opacity: 0.6;
  }
  .article-list + .article-list .article:first-child,
  .unit + .article-list .article:first-child {
    padding-top: 20px;
  }
  .team-filter {
    max-width: none;
  }
  .tf-rail {
    padding-bottom: 14px;
  }
  .team-banner-inner {
    padding: 28px 18px 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .article-team-bar-inner {
    padding: 12px 18px;
    gap: 12px;
  }
  .article-team-bar-name {
    font-size: 15px;
  }
  .article-team-bar-cta {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}
/* =============================================================================
   XFN Football — minimal motion helpers (decode only)
   Design chrome lives in global.css from the prototypes. Keep this thin.
   ============================================================================= */

/* Decode: keep layout stable while chars scramble */
.decode-target {
  display: inline;
}

.page-title.decode-target {
  display: block;
}

.page-title .pt-line {
  display: block;
}

/* Second line stays bold after decode replaces inner HTML with textContent */
.page-title .pt-line:last-child {
  font-weight: 700;
}

/* Stagger reveal kept off by default — no AI wipe/scan chrome */
.reveal-in {
  /* no-op: rows render normally like the prototype */
}

@media (prefers-reduced-motion: reduce) {
  .decode-target.is-decoding {
    /* script short-circuits; nothing to animate */
  }
}
.stair-b1[data-astro-cid-fzpbxy5g], .stair-b2[data-astro-cid-fzpbxy5g], .stair-b3[data-astro-cid-fzpbxy5g] {
  transform-origin: center;
  transition: transform .28s cubic-bezier(.32, 1.4, .4, 1), opacity .2s, width .2s;
}

.topbar-menu-btn[data-astro-cid-fzpbxy5g].is-open .stair-b1[data-astro-cid-fzpbxy5g] {
  transform: translateY(6.5px) rotate(45deg);
}

.topbar-menu-btn[data-astro-cid-fzpbxy5g].is-open .stair-b2[data-astro-cid-fzpbxy5g] {
  opacity: 0;
}

.topbar-menu-btn[data-astro-cid-fzpbxy5g].is-open .stair-b3[data-astro-cid-fzpbxy5g] {
  transform: translateY(-6.5px) rotate(-45deg);
}
/* ── Scoreboard strip — dark band, reference-faithful ───────────────────
     examples/9f8a1b53-3d0a-48aa-842f-6e0f2648dff7.png:
     label row (NFL SCOREBOARD + week + chevron, ALL SCORES right),
     game cards below — mono type, 1px lighter-grey card borders,
     5px gaps, neon live clocks, dashes pregame. No primary-color borders. */
  .xfn-sb {
    --sb-board: #141414;
    --sb-card-border: rgba(255, 255, 255, 0.1);
    --sb-text: rgba(255, 255, 255, 0.92);
    --sb-dim: rgba(255, 255, 255, 0.62);
    --sb-faint: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 90;
    /* Same dark grey as the header; the board panel sits inside with a
       tiny gap of this color showing as separation. */
    background: #0A0A0A;
  }
  .xfn-sb-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5px 32px;
  }
  .xfn-sb-board {
    background: var(--sb-board);
    border: 1px solid rgba(255, 255, 255, 0.07);
  }
  /* ── Row 1: label + week left, ALL SCORES right ── */
  .xfn-sb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .xfn-sb-hud {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    min-width: 0;
  }
  .xfn-sb-bar {
    width: 3px;
    height: 14px;
    background: var(--neon);
    flex-shrink: 0;
  }
  .xfn-sb-bar.is-live {
    box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.6);
    animation: xfn-sb-pulse 1.8s ease-out infinite;
  }
  @keyframes xfn-sb-pulse {
    0% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.55); }
    70% { box-shadow: 0 0 0 6px rgba(204, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); }
  }
  .xfn-sb-label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sb-text);
    white-space: nowrap;
  }
  .xfn-sb-week {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sb-text);
    white-space: nowrap;
  }
  .xfn-sb-chev {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: var(--neon);
    user-select: none;
  }
  /* ── Row 2: game cards, scroll horizontally on narrow screens ── */
  .xfn-sb-games {
    display: flex;
    align-items: stretch;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding: 6px 8px;
  }
  .xfn-sb-games::-webkit-scrollbar {
    display: none;
  }
  .xfn-sb-loading,
  .xfn-sb-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    white-space: nowrap;
  }
  .xfn-sb-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sb-dim);
    white-space: nowrap;
  }
  .xfn-sb-game {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    width: 128px;
    padding: 7px 14px;
    border: 1px solid var(--sb-card-border);
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .xfn-sb-clock .xfn-sb-mono {
    color: var(--sb-dim);
    font-size: 10px;
  }
  .xfn-sb-game.is-live .xfn-sb-clock .xfn-sb-mono {
    color: var(--neon);
  }
  .xfn-sb-matchup {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .xfn-sb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.3;
    color: var(--sb-text);
  }
  .xfn-sb-row:hover .xfn-sb-code {
    color: var(--neon);
  }
  .xfn-sb-left {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }
  .xfn-sb-logo {
    width: 17px;
    height: 17px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .xfn-sb-code {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--sb-text);
  }
  .xfn-sb-score {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--sb-text);
    text-align: right;
  }
  .xfn-sb-game:not(.is-live) .xfn-sb-score {
    font-weight: 500;
  }
  .xfn-sb-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
  }
  .xfn-sb-all {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sb-text);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 4px 10px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .xfn-sb-all:hover {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
  }
  .xfn-sb-meta {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: var(--sb-faint);
    white-space: nowrap;
  }
  @media (max-width: 900px) {
    .xfn-sb-right {
      display: none;
    }
  }
  @media (max-width: 760px) {
    .xfn-sb-inner {
      padding: 6px 16px;
    }
    .xfn-sb-hud {
      padding-right: 12px;
    }
    .xfn-sb-week {
      display: none;
    }
    .xfn-sb-chev {
      display: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .xfn-sb-bar.is-live {
      animation: none;
    }
  }.footer-inner[data-astro-cid-nns7i3if] {
  grid-template-columns: 2fr 1fr 1fr;
}

@media (width <= 980px) {
  .footer-inner[data-astro-cid-nns7i3if] {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width <= 720px) {
  .footer-inner[data-astro-cid-nns7i3if] {
    grid-template-columns: 1fr;
  }
}

.f-logo[data-astro-cid-nns7i3if] {
  height: 36px;
  width: auto;
  display: block;
}
