/* Pitchsense — editorial, restrained, no gradients. */

:root {
  --paper: #FAF9F6;
  --card: #FFFFFF;
  --ink: #161D1A;
  --ink-soft: #5A625E;
  --hairline: #E6E3DB;
  --green: #0B6E4F;
  --green-deep: #0A5C43;
  --draw: #C9C4B8;
  --away: #1F3A5F;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.hidden { display: none !important; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.header-inner {
  display: flex; align-items: center; gap: 36px;
  height: 64px;
}
.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em;
}
.nav { display: flex; gap: 4px; }
.nav-link {
  border: 0; background: none; cursor: pointer;
  font: 500 14px "Inter", sans-serif;
  color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { background: var(--ink); color: var(--paper); }
.header-note {
  margin-left: auto; font-size: 12px; color: var(--ink-soft);
  font-family: var(--mono);
}
.nav-toggle {
  display: none; margin-left: auto;
  width: 40px; height: 40px; padding: 9px;
  background: none; border: 1px solid var(--hairline); border-radius: 9px;
  cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 48px; max-width: 720px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green); margin-bottom: 18px;
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lede { color: var(--ink-soft); font-size: 17px; max-width: 56ch; }

/* ---------- fixture card ---------- */
.fixture-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(22,29,26,0.04);
}
.fixture-row {
  display: grid; grid-template-columns: 1fr 48px 1fr;
  gap: 12px; align-items: end;
}
.vs {
  text-align: center; padding-bottom: 12px;
  font-family: "Fraunces", serif; font-style: italic;
  color: var(--ink-soft); font-size: 18px;
}
.field-label {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 8px;
}
select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--hairline); border-radius: 8px;
  background: var(--paper); color: var(--ink);
  font: 500 15px "Inter", sans-serif;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A625E' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select:focus { outline: 2px solid var(--green); outline-offset: 1px; }

.combo { position: relative; }
.combo input {
  width: 100%; padding: 12px 36px 12px 14px;
  border: 1px solid var(--hairline); border-radius: 8px;
  background: var(--paper); color: var(--ink);
  font: 500 15px "Inter", sans-serif;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A625E' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.combo input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.combo-list {
  position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0;
  max-height: 280px; overflow-y: auto;
  margin: 0; padding: 4px; list-style: none;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(22,29,26,0.12);
}
.combo-list li {
  padding: 9px 10px; border-radius: 6px; cursor: pointer;
  font: 500 14px "Inter", sans-serif; color: var(--ink);
}
.combo-list li:hover, .combo-list li.active { background: rgba(11,110,79,0.10); }
.combo-list li.combo-empty { color: var(--ink-soft); cursor: default; }
.combo-list li.combo-empty:hover { background: none; }

/* ---------- paywall ---------- */
.result { position: relative; }
.result.locked > *:not(.paywall) {
  filter: blur(9px);
  pointer-events: none;
  user-select: none;
}
.paywall {
  position: absolute; inset: 0; z-index: 30;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 56px;
}
.paywall-card {
  max-width: 440px; text-align: center;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 32px 36px;
  box-shadow: 0 16px 48px rgba(22,29,26,0.18);
}
.paywall-card h3 {
  font-family: "Fraunces", serif; font-size: 24px;
  margin: 10px 0 12px; color: var(--ink);
}
.paywall-copy { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 20px; }
.paywall-card .btn-primary { margin: 0 auto; }
.paywall-note {
  margin-top: 14px; font-family: var(--mono);
  font-size: 11px; color: var(--ink-soft);
}
.link-btn {
  display: block; margin: 14px auto 0; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: 500 13px "Inter", sans-serif; color: var(--green);
  text-decoration: underline; text-underline-offset: 2px;
}
.code-entry {
  display: flex; gap: 8px; margin-top: 14px;
}
.code-entry input {
  flex: 1; padding: 10px 12px;
  border: 1px solid var(--hairline); border-radius: 8px;
  font: 500 14px var(--mono); text-transform: uppercase;
  letter-spacing: 0.04em;
}
.code-entry input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.code-entry .btn-primary { margin: 0; white-space: nowrap; }
.code-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: flex-start; gap: 12px;
  justify-content: center;
  padding: 12px 44px; font-size: 14px; color: #fff;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(22,29,26,0.18);
}
.code-close {
  position: absolute; right: 14px; top: 8px;
  background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 22px; line-height: 1; padding: 0;
}
.code-banner strong {
  color: #fff; font-family: var(--mono); letter-spacing: 0.06em;
  font-size: 15px; user-select: all;
}
.code-banner .code-hint {
  display: block; margin-top: 4px;
  font-size: 12px; color: rgba(255,255,255,0.85);
}

/* ---------- news & insights ---------- */
.news-lock { max-width: 460px; margin: 0 auto; text-align: center; }
.insights-panel { margin-bottom: 28px; }
.insights-list { list-style: none; margin: 14px 0 0; padding: 0; }
.insights-list li {
  display: grid; grid-template-columns: 140px 1fr auto;
  align-items: center; gap: 14px; padding: 8px 0;
  border-top: 1px solid var(--hairline);
}
.ins-team { font-weight: 600; color: var(--ink); }
.ins-bars { height: 8px; background: rgba(11,110,79,0.10); border-radius: 4px; overflow: hidden; }
.ins-bar { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.ins-pct { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
.ins-pct small { color: var(--ink-soft); }
.gamble-note {
  margin-top: 16px; font-size: 11px; color: var(--ink-soft);
  font-family: var(--mono); line-height: 1.5;
}
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.news-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 18px 20px;
  transition: border-color 0.15s, transform 0.15s;
}
.news-card:hover { border-color: var(--green); transform: translateY(-2px); }
.news-card h4 { font-size: 16px; line-height: 1.35; margin: 0 0 8px; color: var(--ink); }
.news-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 12px; }
.news-src { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.wc-tag {
  display: inline-block; margin-bottom: 8px;
  background: var(--green); color: #fff;
  font: 600 10px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 5px;
}
.news-empty { color: var(--ink-soft); }

.fixture-options {
  display: flex; align-items: end; gap: 24px;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.check { display: flex; gap: 9px; align-items: center; cursor: pointer; padding-bottom: 12px; }
.check input { accent-color: var(--green); width: 16px; height: 16px; }
.tournament-select { flex: 1; max-width: 320px; }

.btn-primary {
  margin-left: auto;
  background: var(--green); color: #fff;
  border: 0; border-radius: 8px; cursor: pointer;
  font: 600 15px "Inter", sans-serif;
  padding: 13px 28px;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--green-deep); }
.btn-primary:disabled { opacity: 0.5; cursor: wait; }

/* ---------- result ---------- */
.result { margin: 56px 0 96px; }
.result-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.result-head h2 {
  font-family: "Fraunces", serif; font-size: 30px; font-weight: 600;
  letter-spacing: -0.01em;
}
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
  border: 1px solid var(--green); border-radius: 999px;
  padding: 3px 12px;
}

.prob-bar {
  display: flex; height: 56px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--hairline);
}
.seg { display: flex; align-items: center; justify-content: center; transition: width 0.5s ease; min-width: 0; }
.seg-home { background: var(--green); }
.seg-draw { background: var(--draw); }
.seg-away { background: var(--away); }
.seg-label {
  font-family: var(--mono); font-weight: 500; font-size: 15px;
  color: #fff; white-space: nowrap; overflow: hidden;
}
.seg-draw .seg-label { color: var(--ink); }

.prob-legend {
  display: flex; gap: 28px; margin: 14px 2px 0;
  font-size: 13px; color: var(--ink-soft);
}
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.dot-home { background: var(--green); }
.dot-draw { background: var(--draw); }
.dot-away { background: var(--away); }

.result-grid {
  display: grid; grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px; margin-top: 36px;
}
.panel {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 24px;
}
.panel-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 16px;
}
.panel-title:not(:first-child) { margin-top: 28px; }

.xg-row { display: flex; align-items: center; gap: 18px; }
.xg { text-align: center; }
.xg-num {
  display: block; font-family: "Fraunces", serif;
  font-size: 40px; font-weight: 600; line-height: 1;
}
.xg-team { font-size: 12px; color: var(--ink-soft); }
.xg-sep { color: var(--hairline); font-size: 24px; }

.scoreline-list { list-style: none; counter-reset: s; }
.scoreline-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 14px;
}
.scoreline-list li:last-child { border-bottom: 0; }
.scoreline-list .pct { color: var(--green); font-weight: 500; }

/* heatmap */
.heatmap {
  display: grid; gap: 3px;
  grid-template-columns: repeat(7, 1fr);
}
.hm-cell {
  aspect-ratio: 1; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px;
  background: var(--green);
  color: var(--ink);
}
.hm-head { background: none !important; color: var(--ink-soft); font-weight: 500; }
.heatmap-caption { margin-top: 12px; font-size: 12px; color: var(--ink-soft); }

/* wide tables scroll horizontally instead of overflowing on small screens */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* key-value + model tables */
.kv-table, .model-table, .wc-table, .rank-table { width: 100%; border-collapse: collapse; }
.kv-table td {
  padding: 7px 0; border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}
.kv-table td:last-child { text-align: right; font-family: var(--mono); }
.model-table th, .model-table td {
  text-align: right; padding: 7px 4px; font-size: 13px;
  border-bottom: 1px solid var(--hairline);
}
.model-table th {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 500;
}
.model-table th:first-child, .model-table td:first-child { text-align: left; }

/* ---------- world cup & rankings tables ---------- */
.wc-table th, .wc-table td, .rank-table th, .rank-table td {
  padding: 11px 12px; border-bottom: 1px solid var(--hairline);
  font-size: 14px; text-align: left;
}
.wc-table th, .rank-table th {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 500;
}
.wc-table .num, .rank-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.wc-table td.num, .rank-table td.num { font-family: var(--mono); font-size: 13px; }
.wc-table .bar-col { width: 220px; }
.champ-bar {
  display: flex; align-items: center; gap: 10px;
}
.champ-bar .bar {
  height: 8px; background: var(--green); border-radius: 4px;
  min-width: 2px;
}
.champ-bar .val { font-family: var(--mono); font-size: 13px; min-width: 52px; }
.team-cell { font-weight: 600; }
.group-chip {
  font-family: var(--mono); font-size: 11px;
  border: 1px solid var(--hairline); border-radius: 5px;
  padding: 1px 7px; color: var(--ink-soft);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0; margin-top: 80px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-soft);
  font-family: var(--mono);
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--green); text-decoration: underline; }

/* ---------- matchup card ---------- */
.matchup-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
}
.matchup-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.host-adv {
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
}
.team-meta { margin-top: 12px; min-height: 8px; }
.team-meta .team-name {
  font-family: "Fraunces", serif; font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.team-meta .team-code { color: var(--ink-soft); font-family: var(--mono); font-size: 14px; }
.team-meta .meta-line {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline;
  font-size: 13px; color: var(--ink);
}
.team-meta .meta-line .muted { color: var(--ink-soft); }
.team-meta .meta-line b { font-family: var(--mono); }
.host-tag {
  color: var(--green); font-weight: 600;
}
.form-row { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.form-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); margin-right: 2px;
}
.form-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: #fff;
  background: var(--draw);
}
.form-dot.form-W { background: var(--green); }
.form-dot.form-L { background: #C0392B; }
.form-dot.form-D { background: #9A958A; }

/* ---------- "why stronger" card ---------- */
.strength-card {
  margin-top: 20px; padding: 24px;
  background: var(--card); border: 1px solid var(--hairline);
  border-left: 3px solid var(--green); border-radius: 14px;
}
.strength-card .panel-title { margin-bottom: 14px; color: var(--green); }
.reasons { list-style: none; margin: 0; padding: 0; }
.reasons li {
  position: relative; padding: 7px 0 7px 24px; font-size: 14px; color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.reasons li:last-child { border-bottom: 0; }
.reasons li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  color: var(--green); font-weight: 700;
}
.strength-news { margin-top: 16px; }
.strength-news-title {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px;
}
.strength-news-item {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--hairline);
  text-decoration: none; color: var(--ink); font-size: 13px;
}
.sn-team {
  font-weight: 600; font-size: 13px; color: var(--ink);
  margin: 12px 0 4px;
}
.strength-news-item:last-child { border-bottom: 0; }
.strength-news-item:hover span:first-child { color: var(--green); text-decoration: underline; }
.strength-news-item .sn-src {
  font-family: var(--mono); font-size: 10px; color: var(--ink-soft);
  text-transform: uppercase; white-space: nowrap;
}

/* ---------- schedule ---------- */
.sched-group { margin-bottom: 18px; }
.sched-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
}
.sched-match {
  display: grid; grid-template-columns: 1fr 28px 1fr auto;
  align-items: center; gap: 10px; width: 100%;
  padding: 11px 8px; border: 0; border-top: 1px solid var(--hairline);
  background: none; cursor: pointer; font: inherit; text-align: left;
}
.sched-match:hover { background: rgba(11,110,79,0.05); }
.sm-team { color: var(--ink); }
.sm-team b { font-family: var(--mono); }
.sm-home { text-align: right; }
.sm-away { text-align: left; }
.sm-v { text-align: center; color: var(--ink-soft); font-style: italic; }
.sm-fav {
  font-family: var(--mono); font-size: 12px; color: var(--green);
  text-align: right; white-space: nowrap; min-width: 72px;
}

/* ---------- SEO content block ---------- */
.seo-block {
  max-width: 720px; margin: 64px 0 8px;
  padding-top: 40px; border-top: 1px solid var(--hairline);
}
.seo-block h2 {
  font-family: "Fraunces", serif; font-size: 24px; font-weight: 600;
  margin: 32px 0 12px; color: var(--ink);
}
.seo-block h2:first-child { margin-top: 0; }
.seo-block p { color: var(--ink-soft); margin-bottom: 14px; }
.seo-block a { color: var(--green); }
.seo-note { font-size: 13px; }
.wc-picks { margin: 0 0 18px; }
.wc-pick {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--hairline);
}
.wc-pick span:first-child { font-weight: 600; color: var(--ink); }
.wc-pick span:last-child { font-family: var(--mono); font-size: 13px; color: var(--green); white-space: nowrap; }
.faq { margin-top: 4px; }
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 2px; font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-size: 20px; font-weight: 400;
  color: var(--green); line-height: 1; transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--green); }
.faq details p {
  margin: 0; padding: 0 2px 18px; color: var(--ink-soft);
}

/* ---------- legal pages ---------- */
.legal { max-width: 720px; padding-top: 48px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 8px; }
.legal-meta { color: var(--ink-soft); font-family: var(--mono); font-size: 12px; margin-bottom: 32px; }
.legal h2 { font-size: 19px; margin: 32px 0 10px; color: var(--ink); }
.legal p { color: var(--ink); margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 8px; color: var(--ink); }
.legal code {
  font-family: var(--mono); font-size: 0.9em;
  background: rgba(11,110,79,0.08); padding: 1px 5px; border-radius: 4px;
}
.legal a { color: var(--green); }
.legal-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .result-grid { grid-template-columns: 1fr; }
  .fixture-row { grid-template-columns: 1fr; }
  .vs { display: none; }
  .fixture-options { flex-wrap: wrap; }
  .header-note { display: none; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 32px; }
  .lede { font-size: 16px; }

  /* hamburger menu */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    padding: 8px; box-shadow: 0 12px 24px rgba(22,29,26,0.10);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-link {
    width: 100%; text-align: left; border-radius: 8px;
    padding: 13px 14px; font-size: 15px;
  }

  /* tables: tighten and let the wrapper scroll */
  .panel { padding: 18px 16px; }
  .wc-table th, .wc-table td, .rank-table th, .rank-table td {
    padding: 9px 10px; font-size: 13px;
  }
  .wc-table { min-width: 560px; }      /* scrolls within .table-scroll */
  .wc-table .bar-col { width: 130px; }
  .champ-bar .val { min-width: 44px; }

  .insights-list li { grid-template-columns: 96px 1fr auto; gap: 10px; }
  .ins-team { font-size: 14px; }
  .news-grid { grid-template-columns: 1fr; }
  .code-banner { font-size: 13px; padding: 12px 40px; }
  .footer-inner { justify-content: flex-start; }
}
