/* ============================================================
   THE YARD — "Trading Desk Gold" premium theme (v6)
   Bloomberg density × Stripe confidence × Underdog dark warmth.
   Color = meaning: gold(hero) green(play) blue(market) red(fade)
   ============================================================ */
:root {
  --bg-0: #080d1a;
  --bg-1: #0d1424;
  --bg-2: #121a2e;
  --bg-3: #182238;
  --line: rgba(148, 175, 230, 0.09);
  --line-strong: rgba(148, 175, 230, 0.17);
  --text-0: #f4f7ff;
  --text-1: #b7c2dc;
  --text-2: #77839f;
  --green: #00e676;
  --green-dim: #00c853;
  --gold: #ffc94a;
  --gold-hot: #ffb020;
  --gold-deep: #e8920a;
  --amber: #ffb020;
  --red: #ff5470;
  --ember: #ff7a45;
  --blue: #5db3ff;
  --fade-blue: #6e8bff;
  --fade-purple: #a76bff;
  --money-grad: linear-gradient(100deg, #00e676 0%, #7dffb0 45%, #ffc94a 100%);
  --gold-grad: linear-gradient(100deg, #ffc94a 0%, #ffe9a3 40%, #e8920a 100%);
  --font-sans: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-1: 0 1px 2px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-2: 0 2px 4px rgba(0,0,0,0.45), 0 10px 28px rgba(0,0,0,0.42);
  --shadow-3: 0 4px 8px rgba(0,0,0,0.5), 0 18px 50px rgba(0,0,0,0.5), 0 40px 90px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background: layered glow + dot grid texture */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 540px at 78% -12%, rgba(255, 201, 74, 0.055), transparent 62%),
    radial-gradient(900px 480px at 6% 2%, rgba(0, 230, 118, 0.05), transparent 60%),
    radial-gradient(1300px 900px at 50% 120%, rgba(93, 179, 255, 0.05), transparent 65%),
    var(--bg-0);
}
.bg-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 175, 230, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, black 0%, transparent 80%);
}
.bg-field::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ============ ENTRANCE MOTION ============ */
@media (prefers-reduced-motion: no-preference) {
  .hero-section, .board-section, .fade-section, .weather-section, .ledger-section {
    animation: rise-in 0.55s var(--ease-out) both;
  }
  .board-section { animation-delay: 0.08s; }
  .fade-section { animation-delay: 0.12s; }
  .weather-section { animation-delay: 0.16s; }
  .ledger-section { animation-delay: 0.2s; }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  background: rgba(8, 13, 26, 0.78);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 8px 32px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  padding-bottom: 13px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 900;
  font-size: 1.34rem;
  letter-spacing: 0.12em;
  background: var(--money-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.4em;
  color: var(--text-2);
  font-weight: 500;
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.meta-date {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-1);
  letter-spacing: 0.02em;
}
.meta-chip {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--text-1);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.meta-generated {
  color: var(--green);
  border-color: rgba(0, 230, 118, 0.3);
  background: linear-gradient(180deg, rgba(0,230,118,0.10), rgba(0,230,118,0.03));
  font-weight: 700;
  letter-spacing: 0.06em;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* ============ BANNER ============ */
.banner-amber {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, rgba(255, 176, 32, 0.13), rgba(255, 176, 32, 0.04));
  border: 1px solid rgba(255, 176, 32, 0.3);
  color: #ffd894;
  font-size: 0.83rem;
  font-weight: 600;
  box-shadow: var(--shadow-1);
}
.banner-icon { color: var(--amber); flex-shrink: 0; }

/* ============ SECTION HEADS ============ */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 13px;
  flex-wrap: wrap;
  margin: 46px 0 16px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 15px;
  text-transform: uppercase;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 5px; bottom: 5px;
  width: 4px;
  border-radius: 3px;
  background: var(--money-grad);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
}
.section-sub {
  font-size: 0.76rem;
  color: var(--text-2);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* ============ HERO CARD — floating gold instrument ============ */
.hero-section { margin-top: 26px; perspective: 1200px; }
.hero-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.5px;
  background: linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
    conic-gradient(from var(--hero-angle, 0deg),
      rgba(255, 201, 74, 0.9), rgba(255, 201, 74, 0.12) 25%,
      rgba(0, 230, 118, 0.35) 50%, rgba(255, 201, 74, 0.12) 75%,
      rgba(255, 201, 74, 0.9)) border-box;
  border: 1.5px solid transparent;
  box-shadow:
    0 0 60px rgba(255, 201, 74, 0.12),
    0 0 22px rgba(255, 201, 74, 0.08),
    var(--shadow-3);
}
@property --hero-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-card { animation: hero-shimmer 9s linear infinite; }
  @keyframes hero-shimmer {
    to { --hero-angle: 360deg; }
  }
}
.hero-inner {
  position: relative;
  border-radius: calc(var(--r-lg) - 1.5px);
  background:
    radial-gradient(760px 360px at 88% -18%, rgba(255, 201, 74, 0.10), transparent 60%),
    radial-gradient(520px 300px at -6% 108%, rgba(0, 230, 118, 0.07), transparent 55%),
    linear-gradient(160deg, #111a30 0%, #0b1222 100%);
  overflow: hidden;
  padding: 28px 30px 24px;
}
.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 175, 230, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 75% 90% at 82% 8%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 82% 8%, black, transparent 72%);
  pointer-events: none;
}
.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #1a1000;
  background: var(--gold-grad);
  border-radius: 999px;
  padding: 6px 16px;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 201, 74, 0.35), 0 2px 8px rgba(0,0,0,0.4);
}
.hero-date {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-2);
  letter-spacing: 0.14em;
}
.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.22fr 0.95fr;
  gap: 30px;
  margin-top: 20px;
  align-items: center;
}
.hero-left { min-width: 0; }
.hero-player {
  font-size: clamp(2.3rem, 5.8vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 30%, #b7c2dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.5));
}
.hero-matchline {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-1);
  font-weight: 600;
}
.hero-matchline .sep { color: var(--text-2); }
.team-pill {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  background: rgba(255, 201, 74, 0.12);
  color: var(--gold);
  border: 1px solid rgba(255, 201, 74, 0.35);
  border-radius: 6px;
  padding: 2px 9px;
}
.hero-reasons {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-reasons li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-1);
  font-weight: 500;
}
.hero-reasons li::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--gold-grad);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(255, 201, 74, 0.5);
}
.hero-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-stat {
  background: linear-gradient(180deg, rgba(24, 34, 56, 0.7), rgba(10, 16, 30, 0.85));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 22px 16px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, var(--shadow-1);
}
.hero-stat::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--gold-grad);
  opacity: 0.9;
}
.hero-stat .big {
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 5.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 201, 74, 0.25));
}
.hero-stat .lbl {
  display: block;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 500;
}
.hero-substat {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-2);
  background: rgba(8, 13, 26, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 17px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.hero-substat .yscore { color: var(--gold); font-weight: 800; }
.hero-footline {
  position: relative;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-brandline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--text-2);
}
.hero-brandline b {
  background: var(--money-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.capped-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255, 201, 74, 0.1);
  border: 1px solid rgba(255, 201, 74, 0.35);
  border-radius: 999px;
  padding: 4px 11px;
  cursor: default;
}

.grade-chip {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.8rem;
  cursor: default;
}
.grade-A { color: #06120a; background: var(--green); box-shadow: 0 0 14px rgba(0, 230, 118, 0.4); }
.grade-B { color: #1a1502; background: var(--gold); box-shadow: 0 0 10px rgba(255, 201, 74, 0.25); }
.grade-C { color: var(--text-0); background: var(--bg-3); border: 1px solid var(--line-strong); }

.proj-badge {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px dashed rgba(255, 176, 32, 0.5);
  border-radius: 5px;
  padding: 2px 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============ SIGNAL ICONS ============ */
.signals {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.sig {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 7px;
  font-size: 0.78rem;
  background: rgba(148, 175, 230, 0.07);
  border: 1px solid transparent;
  cursor: default;
  transition: transform 0.16s var(--ease-out), background 0.16s ease;
}
.sig:hover { transform: translateY(-2px); background: rgba(148, 175, 230, 0.14); }
.sig-wind {
  width: 28px; height: 28px;
  font-size: 0.95rem;
  background: rgba(0, 230, 118, 0.14);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.22);
}
.sig-hard {
  background: rgba(255, 122, 69, 0.14);
  border-color: rgba(255, 122, 69, 0.4);
  box-shadow: 0 0 10px rgba(255, 122, 69, 0.2);
}
@media (prefers-reduced-motion: no-preference) {
  .sig-wind, .sig-hard { animation: sig-glow 2.8s ease-in-out infinite; }
  @keyframes sig-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.35); }
  }
}

/* ============ BOARD LEGEND ============ */
.board-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin-bottom: 15px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-2);
}
.board-legend .lg-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

/* ============ BOARD — Bloomberg density, layered depth ============ */
.board {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brow {
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, var(--shadow-1);
  transition: border-color 0.22s ease, box-shadow 0.22s var(--ease-out), transform 0.18s var(--ease-out);
}
.brow:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 230, 118, 0.05);
}
.brow.open {
  border-color: rgba(0, 230, 118, 0.35);
  transform: none;
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.12), 0 18px 50px rgba(0, 0, 0, 0.5);
}
.brow.top3 { background: linear-gradient(180deg, #17203a, var(--bg-1)); }
.brow.top3 .brow-head { border-left: 3px solid rgba(0, 230, 118, 0.5); padding-left: 7px; }
.board > .brow:nth-child(3) .brow-head { border-left-color: rgba(255, 201, 74, 0.55); }
.board > .brow:nth-child(4) .brow-head { border-left-color: rgba(255, 201, 74, 0.35); }

.brow-head {
  width: 100%;
  display: grid;
  grid-template-columns: 46px minmax(0, 1.6fr) minmax(0, 1.15fr) 70px 70px 90px 108px 56px 22px;
  align-items: center;
  gap: 10px;
  padding: 13px 16px 13px 10px;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s var(--ease-out);
}
.brow-head:active { transform: scale(0.995); }
.brow-head:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

.rank {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.28rem;
  text-align: center;
  color: var(--text-2);
  line-height: 1;
}
.rank.r1 { color: var(--green); font-size: 1.5rem; text-shadow: 0 0 18px rgba(0,230,118,0.6); }
.rank.r2 { color: var(--gold); font-size: 1.38rem; }
.rank.r3 { color: var(--gold); opacity: 0.85; }

.bcell-player { min-width: 0; }
.bcell-player .pname {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 7px;
}
.bcell-player .pmeta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-2);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcell-match { min-width: 0; }
.bcell-match .vs {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcell-match .pk {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-2);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcell-prob {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  color: var(--green);
  text-align: right;
  text-shadow: 0 0 14px rgba(0, 230, 118, 0.25);
}
.bcell-fair {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold);
  text-align: right;
}
.bcell-sig { display: flex; justify-content: flex-start; }
.bcell-grade { display: flex; justify-content: center; }
.bcell-market {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  min-width: 0;
}
.best-odds-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
  text-align: right;
}
.best-book-val {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-2);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 88px;
}
.no-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-2);
  opacity: 0.4;
}
.play-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #06120a;
  background: linear-gradient(135deg, #00e676, #00c853);
  border-radius: 4px;
  padding: 2px 7px;
  text-transform: uppercase;
  cursor: default;
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
}
.brow.is-play { border-color: rgba(0, 230, 118, 0.22); }
.brow.is-play .brow-head { border-left: 3px solid rgba(0, 230, 118, 0.75); padding-left: 7px; }

.chev {
  width: 18px; height: 18px;
  color: var(--text-2);
  transition: transform 0.3s var(--ease-out);
  justify-self: end;
}
.brow.open .chev { transform: rotate(180deg); color: var(--green); }

.col-labels {
  display: grid;
  grid-template-columns: 46px minmax(0, 1.6fr) minmax(0, 1.15fr) 70px 70px 90px 108px 56px 22px;
  gap: 10px;
  padding: 0 16px 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.col-labels .tr { text-align: right; }
.col-labels .tc { text-align: center; }

/* ============ EXPANDED DETAIL ============ */
.brow-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.brow.open .detail-inner { opacity: 1; transform: translateY(0); }
.detail-inner {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.55), transparent);
  padding: 22px 18px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 26px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease 0.08s, transform 0.35s var(--ease-out) 0.08s;
}
.detail-left, .detail-right { min-width: 0; }

.detail-h {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* multiplier chain */
.chain {
  display: flex;
  align-items: stretch;
  gap: 6px;
  flex-wrap: wrap;
}
.chain-node {
  flex: 1;
  min-width: 74px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 8px 8px;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.chain-node .cv {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-0);
}
.chain-node .cl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-top: 3px;
  text-transform: uppercase;
}
.chain-node.boost .cv { color: var(--green); }
.chain-node.drag .cv { color: var(--red); }
.chain-node.result {
  background: linear-gradient(160deg, rgba(0, 230, 118, 0.14), rgba(255, 201, 74, 0.08));
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.1);
}
.chain-node.result .cv {
  background: var(--money-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.05rem;
}
.chain-x {
  align-self: center;
  font-family: var(--font-mono);
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 700;
}

/* PA breakdown + conditions */
.kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.kv {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 11px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.kv .k {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.kv .v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-0);
  white-space: nowrap;
}
.kv .v.hot { color: var(--gold); text-shadow: 0 0 10px rgba(255, 201, 74, 0.3); }
.kv .v.windy { color: var(--green); }
.kv .v.gold { color: var(--gold); }

.conf-why {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.conf-why li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #ffd894;
  font-weight: 500;
}
.conf-why li::before {
  content: "!";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.16);
  border: 1px solid rgba(255, 176, 32, 0.4);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--amber);
}

/* ============ SPRAY RADAR ============ */
.spray-box {
  background:
    radial-gradient(90% 130% at 50% 96%, rgba(0, 230, 118, 0.09), transparent 62%),
    radial-gradient(120% 100% at 50% 0%, rgba(8, 13, 26, 0.4), transparent),
    #070c18;
  border: 1px solid rgba(0, 230, 118, 0.14);
  border-radius: var(--r-md);
  padding: 12px 4px 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 0 30px rgba(0, 230, 118, 0.05) inset, var(--shadow-1);
}
.spray-box svg { display: block; width: 100%; height: auto; }
.spray-cap {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-2);
  text-align: center;
  padding: 4px 8px 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spray-cap b { color: var(--green); font-weight: 700; }

.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }

/* ============ BET BUTTONS ============ */
.bet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #06120a;
  background: var(--money-grad);
  border-radius: var(--r-sm);
  padding: 9px 18px;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.25), 0 4px 12px rgba(0,0,0,0.35);
  transition: box-shadow 0.18s ease, transform 0.14s var(--ease-out);
}
.bet-btn:hover { transform: translateY(-1px); box-shadow: 0 0 26px rgba(0, 230, 118, 0.4), 0 6px 16px rgba(0,0,0,0.4); }
.bet-btn:active { transform: scale(0.97); }

.hero-best-price {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(0, 230, 118, 0.09), rgba(0, 230, 118, 0.02));
  border: 1px solid rgba(0, 230, 118, 0.28);
  border-radius: var(--r-sm);
  padding: 11px 17px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.hero-best-price-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-best-price-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--blue);
  text-shadow: 0 0 14px rgba(93, 179, 255, 0.3);
}
.hero-best-book { font-size: 0.74rem; font-weight: 500; color: var(--text-2); }
.hero-bet-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #06120a;
  background: var(--money-grad);
  border-radius: var(--r-sm);
  padding: 9px 18px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.3), 0 4px 12px rgba(0,0,0,0.35);
  transition: box-shadow 0.18s ease, transform 0.14s var(--ease-out);
}
.hero-bet-btn:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(0, 230, 118, 0.45), 0 6px 16px rgba(0,0,0,0.4); }
.hero-bet-btn:active { transform: scale(0.97); }

.bcell-nums-mobile .mb {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--blue);
}

/* ============ FADE ALERT — warm ember treatment ============ */
.fade-section { margin-top: 46px; }
.fade-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(110, 139, 255, 0.65), rgba(110, 139, 255, 0.08) 40%, rgba(167, 107, 255, 0.12) 60%, rgba(167, 107, 255, 0.65));
  box-shadow: 0 0 40px rgba(110, 139, 255, 0.08), var(--shadow-2);
}
.fade-inner {
  border-radius: calc(var(--r-lg) - 1.5px);
  background:
    radial-gradient(620px 300px at 12% -20%, rgba(110, 139, 255, 0.10), transparent 60%),
    radial-gradient(500px 280px at 95% 115%, rgba(167, 107, 255, 0.08), transparent 55%),
    linear-gradient(160deg, #0e1230 0%, #090d1e 100%);
  padding: 24px 26px 22px;
  overflow: hidden;
  position: relative;
}
.fade-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.fade-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(110, 139, 255, 0.5);
  letter-spacing: 0.08em;
  font-style: italic;
}
.fade-title { color: var(--text-0); }
.fade-title::before { background: linear-gradient(135deg, var(--fade-blue), var(--fade-purple)); box-shadow: 0 0 12px rgba(110, 139, 255, 0.4); }
.fade-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.fade-player-card {
  background: rgba(8, 13, 30, 0.65);
  border: 1px solid rgba(110, 139, 255, 0.18);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.fade-player-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.fade-player-name {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #dde4ff;
}
.fade-team-pill {
  background: rgba(110, 139, 255, 0.12);
  color: #8fa5ff;
  border-color: rgba(110, 139, 255, 0.3);
}
.fade-player-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #8090c0;
  line-height: 1.5;
}
.fade-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #8090c0;
  padding-top: 8px;
  border-top: 1px solid rgba(110, 139, 255, 0.12);
}
.fade-price-row b { color: #dde4ff; }
.fade-price-row .worse { color: var(--fade-purple); }
.fade-price-sep { color: rgba(110, 139, 255, 0.4); font-size: 0.6rem; }
.fade-price-item { white-space: nowrap; }
.fade-book { color: rgba(110, 139, 255, 0.55); }
.fade-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #0a0d20;
  background: linear-gradient(100deg, var(--fade-blue), var(--fade-purple));
  border-radius: 999px;
  padding: 6px 15px;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(110, 139, 255, 0.3);
}
.fade-mults { display: flex; gap: 9px; flex-wrap: wrap; }
.fade-mult {
  flex: 1;
  min-width: 82px;
  background: rgba(8, 10, 24, 0.6);
  border: 1px solid rgba(110, 139, 255, 0.18);
  border-radius: var(--r-sm);
  padding: 12px 10px;
  text-align: center;
}
.fade-mult .fv {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fade-blue);
}
.fade-mult .fv.bad { color: #8fa5ff; }
.fade-mult .fl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.12em;
  color: #5060a0;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ============ WEATHER WATCH ============ */
.weather-section { margin-top: 36px; }
.weather-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 3px solid rgba(93, 179, 255, 0.5);
  background: linear-gradient(90deg, rgba(93, 179, 255, 0.06), transparent 70%);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 13px 17px;
}
.weather-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-1);
}
.weather-line svg { flex-shrink: 0; color: var(--blue); }
.weather-title {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 4px;
}

/* ============ LEDGER ============ */
.ledger-card {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 26, 46, 0.5), rgba(13, 20, 36, 0.5));
  padding: 26px 22px;
  text-align: center;
}
.ledger-cols {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 6vw, 64px);
  margin-bottom: 16px;
}
.ledger-col { display: flex; flex-direction: column; gap: 4px; }
.ledger-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--text-2);
}
.ledger-num.win { color: rgba(0, 230, 118, 0.4); }
.ledger-num.loss { color: rgba(255, 84, 112, 0.4); }
.ledger-num.gold { color: rgba(255, 201, 74, 0.4); }
.ledger-lbl {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ledger-note {
  font-size: 0.86rem;
  color: var(--text-1);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 500;
}

/* ============ FOOTER ============ */
.site-footer {
  margin: 56px 0 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--text-2);
  font-size: 0.76rem;
}
.site-footer strong {
  background: var(--money-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-fine { margin-top: 6px; font-size: 0.68rem; opacity: 0.75; }

/* ============ TOOLTIP ============ */
.tooltip {
  position: fixed;
  z-index: 200;
  max-width: 240px;
  background: rgba(26, 36, 62, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-1);
  box-shadow: var(--shadow-2);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.14s ease, transform 0.14s var(--ease-out);
}
.tooltip.show { opacity: 1; transform: translateY(0); }

/* ============ MOBILE ============ */
@media (max-width: 820px) {
  .col-labels { display: none; }
  .hero-main { grid-template-columns: 1fr; gap: 22px; }
  .hero-inner { padding: 24px 19px 20px; }
  .hero-section { margin-top: 18px; }
  .detail-inner { grid-template-columns: 1fr; gap: 18px; padding: 16px 14px 20px; }
  .fade-grid { grid-template-columns: 1fr; gap: 18px; }
  .fade-inner { padding: 20px 18px 18px; }

  .brow-head {
    grid-template-columns: 38px minmax(0, 1fr) auto 20px;
    grid-template-areas:
      "rank player nums chev"
      "rank meta   sigs  chev";
    row-gap: 8px;
    padding: 15px 14px 15px 9px;
  }
  .brow.top3 .brow-head { padding-left: 6px; }
  .brow.is-play .brow-head { padding-left: 6px; }
  .brow:hover { transform: none; }
  .rank { grid-area: rank; }
  .bcell-player { grid-area: player; }
  .bcell-match { grid-area: meta; }
  .bcell-nums-mobile { grid-area: nums; }
  .bcell-sig { grid-area: sigs; justify-content: flex-end; }
  .chev { grid-area: chev; }
  .bcell-prob, .bcell-fair, .bcell-market, .bcell-grade { display: none; }
  .bcell-nums-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-family: var(--font-mono);
    white-space: nowrap;
  }
  .bcell-nums-mobile .mp { font-weight: 800; font-size: 1.05rem; color: var(--green); text-shadow: 0 0 12px rgba(0,230,118,0.25); }
  .bcell-nums-mobile .mf { font-weight: 700; font-size: 0.82rem; color: var(--gold); }
  .bcell-nums-mobile .grade-chip { width: 22px; height: 22px; font-size: 0.7rem; }
  .hero-bet-btn { margin-left: 0; width: 100%; justify-content: center; padding: 12px 18px; }
  .bet-btn { width: 100%; justify-content: center; padding: 12px 18px; }
}
@media (min-width: 821px) {
  .bcell-nums-mobile { display: none; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.12rem; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .meta-date { display: none; }
  .section-title { font-size: 1.22rem; }
  .hero-numbers { gap: 10px; }
  .chain-node { min-width: 60px; }
  .hero-player { font-size: clamp(2rem, 11vw, 2.7rem); }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}
