:root {
  --bg: #f8f5ec;
  --bg-soft: #fffaf0;
  --surface: rgba(255,255,255,.78);
  --surface-2: rgba(255,255,255,.94);
  --line: rgba(22,54,44,.14);
  --line-soft: rgba(22,54,44,.09);
  --text: #10251e;
  --muted: #54635d;
  --subtle: #718078;
  --accent: #0f8f5f;
  --accent-2: #13b77a;
  --accent-3: #f2b84b;
  --good: #0f8f5f;
  --warn: #d98216;
  --danger: #c2413a;
  --shadow: 0 1px 0 rgba(255,255,255,.75), 0 18px 50px rgba(31,59,46,.12);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(19,183,122,.20), transparent 30%),
    radial-gradient(circle at 86% 4%, rgba(242,184,75,.20), transparent 26%),
    linear-gradient(180deg, #fff8e7 0%, #f8f5ec 42%, #edf8f1 100%);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
code {
  padding: .08rem .36rem;
  border-radius: 8px;
  background: rgba(255,255,255,.78);
}
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.narrow { max-width: 52rem; }
.center-copy { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 1rem; }
.skip-link:focus { left: 1rem; z-index: 999; background: #fff; color: #000; padding: .8rem 1rem; border-radius: 10px; }
.muted { color: var(--muted); }
.kicker {
  color: #0f8f5f;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .77rem;
  font-weight: 650;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .82rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  color: #116344;
  font-size: .84rem;
}
.eyebrow::before {
  content: '';
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 .35rem rgba(113,112,255,.13);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,250,240,.86);
  border-bottom: 1px solid var(--line-soft);
}
.nav-row { padding: .78rem 0; }
.nav-row,
.footer-top,
.dashboard-head,
.sample-head,
.contact-head,
.timeline-head,
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-weight: 650;
  letter-spacing: -.03em;
}
.brand-wordmark {
  gap: .7rem;
}
.brand-logo {
  width: 6.9rem;
  height: auto;
  flex: 0 0 auto;
}
.brand-stack {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
  line-height: 1.05;
}
.brand-mark {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(94,106,210,.28), rgba(113,112,255,.08));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.brand-mark svg { width: 1.2rem; height: 1.2rem; }
.brand-stack small {
  display: none;
  font-size: .79rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: .12rem;
  line-height: 1.25;
  max-width: 28ch;
}
.main-nav { display: flex; align-items: center; justify-content: center; gap: .35rem; flex: 1 1 auto; min-width: 0; }
.main-nav a {
  color: #38544a;
  padding: .82rem .95rem;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 540;
  transition: .2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255,255,255,.72);
}
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .82rem 1.12rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #0f8f5f, #13b77a 58%, #f2b84b);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15,143,95,.24);
}
.btn-primary:hover { background: linear-gradient(135deg, #0d7d53, #10a86e 58%, #e0a638); }
.btn-secondary {
  background: rgba(255,255,255,.58);
  border-color: var(--line);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,.78); }
main a:not(.btn):not(.brand),
.site-footer a:not(.btn):not(.brand),
a.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: fit-content;
  max-width: 100%;
  padding: .22rem .58rem;
  border: 1px solid rgba(15, 143, 95, .24);
  border-radius: 10px;
  background: rgba(213, 244, 226, .72);
  color: #0b5f43;
  font-weight: 650;
  box-shadow: 0 5px 12px rgba(15,143,95,.08);
  text-decoration: none;
}
main a:not(.btn):not(.brand):hover,
.site-footer a:not(.btn):not(.brand):hover,
a.btn-secondary:hover {
  background: rgba(188, 235, 209, .9);
  border-color: rgba(15, 143, 95, .34);
  color: #074b35;
}
.hero { padding: 5rem 0 2rem; }
.page-hero { padding: 4.5rem 0 1.8rem; }
.hero-grid,
.footer-grid,
.sample-grid,
.use-case-grid,
.contact-grid,
.about-grid,
.timeline,
.principles-grid,
.cta-band,
.live-grid,
.reason-grid,
.value-strip,
.feature-split,
.field-grid,
.join-card,
.split-card { display: grid; gap: 1.2rem; }
.feature-split { margin-bottom: 1rem; }
.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: start;
}
.hero-copy h1,
.page-hero h1 {
  margin: 1rem 0;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: .97;
  letter-spacing: -1.04px;
  max-width: 11ch;
  font-weight: 700;
}
.hero-copy h1 { max-width: 13.5ch; }
.hero-copy .hero-brand-label {
  margin: 1.15rem 0 -.25rem;
  display: block;
  max-width: none;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: .86;
  font-weight: 850;
  letter-spacing: -.055em;
  word-spacing: .12em;
  color: #0c3327;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(15,143,95,.14);
}
.hero-brand-label::after {
  content: '';
  display: block;
  height: .16em;
  margin-top: .08em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}
.hero-copy p,
.page-hero p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions,
.hero-note,
.hero-steps,
.cta-actions,
.centered { display: flex; gap: .9rem; flex-wrap: wrap; }
.centered { justify-content: center; }
.hero-note { margin-top: 1.1rem; color: var(--subtle); font-size: .95rem; }
.hero-steps { margin-top: 1.15rem; }
.hero-note span {
  padding: .45rem .72rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.52);
}
.mini-step {
  min-width: 180px;
  flex: 1 1 180px;
  padding: .95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
}
.mini-step strong,
.league-tab {
  font-weight: 650;
}
.mini-step strong { display: block; margin-bottom: .22rem; letter-spacing: -.02em; }
.mini-step span { color: var(--muted); font-size: .94rem; }
.worldcup-hero-grid { align-items: stretch; }
.competition-mini-list,
.competition-grid,
.pricing-grid,
.prediction-grid,
.pricing-list,
.update-log-strip {
  display: grid;
  gap: 1rem;
}
.competition-mini-item,
.competition-card,
.pricing-card,
.prediction-card,
.update-log-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
}
.competition-mini-item {
  padding: .95rem 1rem;
}
.competition-mini-item strong,
.competition-head h3,
.pricing-card strong,
.prediction-head strong,
.update-log-card strong {
  letter-spacing: -.02em;
}
.competition-mini-item p,
.competition-card p,
.pricing-card span,
.prediction-card p,
.update-log-card p,
.position-note {
  margin: .35rem 0 0;
  color: var(--muted);
}
.competition-grid,
.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.competition-card,
.pricing-card,
.prediction-card,
.update-log-card {
  padding: 1.2rem;
}
.competition-links {
  display: grid;
  gap: .5rem;
  margin-top: .95rem;
}
.competition-links .text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1.35;
  padding: .12rem 0;
}
.featured-competition,
.fantasy-pricing-layout .featured-card {
  grid-column: span 2;
}
.competition-head,
.prediction-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .9rem;
}
.prediction-meta {
  font-size: .83rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted-strong);
  margin-bottom: .55rem;
}
.compact-list li + li,
.pricing-list li + li {
  margin-top: .65rem;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: .2rem 0 0;
}
.pricing-list li {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line-soft);
}
.pricing-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.prediction-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.prediction-card.high {
  background: linear-gradient(180deg, rgba(94,106,210,.14), rgba(255,255,255,.03));
}
.high-pill {
  background: rgba(94,106,210,.18);
  border-color: rgba(138,149,255,.28);
}
.update-log-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}
.shortlist-note {
  margin-top: 1rem;
}
.shortlist-grid {
  display: grid;
  gap: 1rem;
}
.shortlist-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shortlist-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shortlist-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  background: rgba(255,255,255,.58);
}
.shortlist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .85rem;
}
.shortlist-head h3 {
  margin: 0;
  letter-spacing: -.02em;
}
.stack-list {
  margin: .8rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: .7rem;
  color: var(--muted);
}
.stack-list strong {
  color: var(--text);
}
.panel,
.card,
.sample-card,
.timeline-card,
.contact-card,
.quote,
.featured-card,
.metric-card,
.live-table,
.reason-card,
.join-card,
.data-card,
.footer-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.panel,
.card,
.sample-card,
.timeline-card,
.contact-card,
.quote,
.featured-card,
.metric-card,
.reason-card,
.join-card,
.data-card,
.footer-card { padding: 1.35rem; }
.dashboard {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
    radial-gradient(circle at top right, rgba(113,112,255,.22), transparent 32%);
}
.dashboard::after {
  content: '';
  position: absolute;
  inset: auto -12% -30% 35%;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(94,106,210,.18), transparent 66%);
  pointer-events: none;
}
.dashboard-head strong { font-size: 1.25rem; letter-spacing: -.03em; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .68rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  color: #35574a;
  font-size: .8rem;
}
.dashboard-copy,
.snapshot-footnote,
.form-note,
.notice,
.sample-card p,
.quote cite,
.clean-list,
.contact-list,
.card p,
.featured-card p { color: var(--muted); }
.value-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-card strong { display: block; font-size: 1.1rem; letter-spacing: -.02em; margin: .28rem 0 .38rem; }
.metric-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.metric-label { color: #60766c; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.section { padding: 3.9rem 0; }
.section-head { max-width: 48rem; margin-bottom: 1.6rem; }
.section-head h2 {
  margin: .3rem 0 .8rem;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.78px;
  font-weight: 700;
}
.section-head p { color: var(--muted); }
.live-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: start; }
.league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1rem;
}
.league-tab {
  padding: .78rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  color: #38544a;
  cursor: pointer;
  transition: .18s ease;
}
.league-tab:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.78);
  color: var(--text);
}
.league-tab.is-active {
  border-color: rgba(113,112,255,.45);
  background: rgba(113,112,255,.14);
  color: #073525;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.live-table { padding: .6rem; }
.club-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) 140px 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid transparent;
}
.club-row + .club-row { margin-top: .35rem; }
.club-row:hover { background: rgba(255,255,255,.58); border-color: var(--line-soft); }
.club-main { display: flex; align-items: center; gap: .9rem; }
.club-rank {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(113,112,255,.12);
  color: #d8ddff;
  font-size: .88rem;
  font-weight: 700;
}
.club-badge { width: 42px; height: 42px; object-fit: contain; }
.club-main h3,
.reason-card h3,
.card h3,
.featured-card h3,
.timeline-card h3,
.contact-card h3,
.sample-card h3,
.footer-card h3 { margin: 0 0 .35rem; letter-spacing: -.03em; }
.club-main p,
.club-note p,
.data-highlight p,
.join-item span,
.footer-card p,
.timeline-card p,
.reason-card li,
.card li,
.featured-card li,
.sample-list li,
.clean-list li { margin: 0; color: var(--muted); }
.club-form {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .18rem;
  padding: .72rem .9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.52);
}
.club-form strong { letter-spacing: .15em; }
.club-form.red-hot { border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.08); }
.club-form.steady { border-color: rgba(94,106,210,.32); background: rgba(94,106,210,.08); }
.club-form.mixed { border-color: rgba(245,158,11,.28); background: rgba(245,158,11,.08); }
.club-form.wobbling { border-color: rgba(239,68,68,.28); background: rgba(239,68,68,.08); }
.club-note span,
.join-item strong,
.label { display: block; font-weight: 650; color: #173b2f; margin-bottom: .1rem; line-height: 1.3; }
.label + br { display: none; }
.data-highlight,
.notice {
  margin-top: 1rem;
  padding: .95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
}
.reason-grid,
.use-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reason-card ul,
.mini-list,
.sample-list,
.footer-links,
.clean-list { margin: .8rem 0 0; padding-left: 1.1rem; }
.mini-list li { margin-bottom: .35rem; }
.mini-list li:last-child { margin-bottom: 0; }
.desc { display: block; margin-top: .1rem; line-height: 1.45; }

/* Related pages section */
#related-pages { padding-top: 1rem; }
#related-pages .competition-card { padding: 1.2rem; }

/* Team pages */
.team-hero-inner { display: flex; align-items: center; gap: 1.2rem; }
.team-hero-flag { width: 64px; height: auto; border-radius: 4px; border: 1px solid var(--border); }
.team-heros h1 { margin: .2rem 0; }
.squad-loading { padding: 2rem; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.results-placeholder { padding: 2rem; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.team-news-feed { display: flex; flex-direction: column; gap: 1rem; }
.team-news-feed .news-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.team-news-feed .news-status { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .5rem; }
.team-news-feed .status-confirmed .news-status { background: #e6f7f0; color: #0f8f5f; }
.team-news-feed .status-reliable-unverified .news-status { background: #fff8e6; color: #b8860b; }
.team-news-feed .status-debunked .news-status { background: #fde8e8; color: #c0392b; }

/* Top story section */
.top-story-section { padding-bottom: 0; }
.top-story-card {
  background: linear-gradient(135deg, rgba(15,143,95,.08) 0%, rgba(19,183,122,.04) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  position: relative;
}
.top-story-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .25rem .7rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}
.top-story-card h2 {
  margin: .3rem 0 .5rem;
  font-size: 1.3rem;
  line-height: 1.3;
}
.top-story-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.top-story-meta {
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--subtle);
}
.footer-links { list-style: none; padding-left: 0; display: grid; gap: .5rem; }
.icon-badge {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(113,112,255,.11);
  color: #116344;
  margin-bottom: 1rem;
}
.icon-badge svg { width: 1.35rem; height: 1.35rem; }
.feature-split,
.contact-grid,
.split-card { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.about-grid,
.sample-grid.two-up,
.field-grid.two-up,
.timeline.three-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.join-card { align-items: start; }
.join-list { display: grid; gap: .9rem; }
.join-list.compact { margin-top: 1rem; }
.join-item {
  padding: .95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
}
.form-shell { display: grid; gap: .95rem; }
.form-shell .field-grid.two-up { align-items: start; }
.signup-form {
  padding: 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
}
.field { display: grid; gap: .4rem; }
.field label,
.check-row span { color: #173b2f; font-weight: 560; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .92rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.52);
  color: var(--text);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #88968f; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(113,112,255,.7);
  box-shadow: 0 0 0 3px rgba(113,112,255,.14);
}
.check-row {
  display: grid;
  grid-template-columns: 1.05rem minmax(0, 1fr);
  align-items: start;
  gap: .7rem;
  width: 100%;
  line-height: 1.45;
}
.check-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin: .18rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
.check-row span { min-width: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.stack-gap { display: grid; gap: 1rem; }
.draft-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.draft-card {
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.draft-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .65rem;
}
.draft-card-head h3 { margin: 0; }
.draft-notice { margin-top: 1rem; }
.emphasis-card { background: linear-gradient(180deg, rgba(113,112,255,.12), rgba(255,255,255,.03)); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.contact-list li span { display: inline-block; min-width: 120px; color: #116344; font-weight: 650; }
.quote blockquote {
  margin: .5rem 0 .9rem;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.footer-grid { grid-template-columns: 1.15fr .8fr .8fr; }
.site-footer { padding: 1rem 0 2rem; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem .9rem;
}
.site-footer nav a {
  color: #24473a;
  font-weight: 560;
}
.site-footer nav a:hover { color: #0f8f5f; }
.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--subtle);
  font-size: .92rem;
}
.footer-bottom.single-line { justify-content: space-between; }
.single-line { display: flex; }

.bracket-hero {
  background:
    radial-gradient(circle at 18% 8%, rgba(16,185,129,.12), transparent 24%),
    radial-gradient(circle at 82% 0%, rgba(113,112,255,.16), transparent 26%);
}
.bracket-intro-grid,
.route-notes {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem;
}
.route-notes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}
.group-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.group-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.group-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.group-card-head span {
  color: #116344;
  font-weight: 760;
}
.group-card-head small,
.source-note {
  color: var(--muted);
}
.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .58rem;
}
.team-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .58rem .65rem;
  border-radius: 13px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line-soft);
}
.team-flag {
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
}
.team-flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.source-note {
  margin: 1rem 0 0;
  font-size: .9rem;
}
.competition-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
}
.competition-tabs a {
  padding: .65rem .9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 760;
  border: 1px solid transparent;
}
.competition-tabs a:hover,
.competition-tabs a[aria-current="page"] {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.07);
}
.choice-grid {
  display: grid;
  gap: .55rem;
  margin-top: .35rem;
}
.choice-grid[data-error="true"] {
  padding: .7rem;
  border: 1px solid rgba(194,65,58,.55);
  border-radius: 16px;
  background: rgba(194,65,58,.06);
}
.field-help {
  margin: .12rem 0 .45rem;
  color: var(--muted);
  font-size: .92rem;
}
.check-row.compact {
  padding: .7rem .75rem;
  border-radius: 14px;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line-soft);
}
select[multiple] {
  min-height: 15rem;
  line-height: 1.45;
}
select[multiple] option {
  padding: .38rem .45rem;
}
.fixture-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.fixture-day {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.58);
}
.fixture-day h3 {
  margin: 0 0 .9rem;
  color: #116344;
  font-size: 1.05rem;
}
.fixture-row {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr .9fr;
  gap: 1rem;
  align-items: center;
  padding: .88rem 0;
  border-top: 1px solid var(--line-soft);
}
.fixture-row:first-of-type { border-top: 0; }
.fixture-meta,
.fixture-side {
  display: grid;
  gap: .18rem;
  color: var(--muted);
  font-size: .88rem;
}
.match-no {
  color: #0f8f5f;
  font-weight: 700;
}
.fixture-main strong {
  font-size: 1rem;
  line-height: 1.3;
}
.fixture-main span {
  color: var(--muted);
  margin: 0 .35rem;
  font-weight: 600;
}
.fixture-main .fixture-score {
  color: #0f8f5f;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: .01em;
}
.fixture-main small {
  color: var(--muted);
  font-weight: 500;
  margin-left: .2rem;
}
.fixture-side { text-align: right; }
.fixture-side span {
  color: var(--text);
  font-weight: 760;
}
.fixture-side small { color: var(--muted); }
.bracket-board {
  display: grid;
  grid-template-columns: 1.25fr 1fr .86fr .9fr;
  gap: 1rem;
  align-items: stretch;
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    rgba(255,255,255,.02);
  box-shadow: var(--shadow);
}
.bracket-round {
  min-width: 230px;
  display: grid;
  gap: .75rem;
  align-content: start;
}
.bracket-round h3 {
  margin: 0 0 .25rem;
  color: #116344;
  font-size: .95rem;
  letter-spacing: .02em;
}
.match-slot {
  position: relative;
  min-height: 86px;
  padding: .85rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.match-slot span,
.match-slot small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}
.match-slot strong {
  display: block;
  margin: .18rem 0;
  color: var(--text);
  line-height: 1.25;
}
.connector::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: rgba(113,112,255,.5);
}
.bracket-round-short { padding-top: 2.8rem; gap: 2.55rem; }
.bracket-round-shorter { padding-top: 6.3rem; gap: 6.7rem; }
.bracket-round-final { padding-top: 4rem; gap: 2rem; }
.final-slot {
  border-color: rgba(16,185,129,.35);
  background: linear-gradient(180deg, rgba(16,185,129,.12), rgba(255,255,255,.025));
}

@media (max-width: 980px) {
  .hero-grid,
  .live-grid,
  .feature-split,
  .contact-grid,
  .split-card,
  .cta-band,
  .footer-grid,
  .timeline.three-up,
  .about-grid,
  .sample-grid.two-up,
  .field-grid.two-up,
  .reason-grid,
  .use-case-grid,
  .value-strip,
  .club-row,
  .competition-grid,
  .pricing-grid,
  .prediction-grid,
  .update-log-strip,
  .shortlist-grid.three-up,
  .shortlist-grid.two-up,
  .draft-board,
  .bracket-intro-grid,
  .route-notes,
  .group-board,
  .fixture-summary,
  .fixture-row {
    grid-template-columns: 1fr;
  }
  .bracket-board { grid-template-columns: repeat(4, 230px); }
  .connector::before { display: none; }
  .fixture-side { text-align: left; }
  .featured-competition,
  .fantasy-pricing-layout .featured-card { grid-column: auto; }
  .club-row { align-items: start; }
  .cta-band { gap: 1.2rem; }
}

@media (max-width: 1180px) {
  .brand-stack small { display: none; }
  .main-nav a {
    padding: .76rem .78rem;
    font-size: .89rem;
  }
  .nav-actions .btn-primary {
    padding-inline: .95rem;
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .nav-row { position: relative; flex-wrap: wrap; padding: .85rem 0; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: .6rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem 0; }
  .nav-actions { margin-left: auto; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .nav-actions .btn-primary { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 1.25rem)); }
  .hero { padding-top: 3.5rem; }
  .page-hero { padding-top: 3.2rem; }
  .hero-copy h1,
  .page-hero h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .panel,
  .card,
  .sample-card,
  .timeline-card,
  .contact-card,
  .quote,
  .featured-card,
  .metric-card,
  .reason-card,
  .join-card,
  .data-card,
  .footer-card,
  .dashboard { padding: 1.05rem; }
  .hero-actions .btn,
  .cta-actions .btn,
  .btn { width: 100%; }
  .hero-note { gap: .5rem; }
  .contact-list li span { min-width: 92px; }
  .single-line,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* Warm World Cup palette refresh — less funeral, more football product. */
.site-header {
  box-shadow: 0 10px 30px rgba(31,59,46,.06);
}
.brand { color: #0b3325; }
.brand-mark {
  background: linear-gradient(135deg, #0f8f5f, #13b77a 58%, #f2b84b);
  border-color: rgba(15,143,95,.18);
}
.brand-mark svg { color: #fff; }
.eyebrow,
.hero-note span,
.pill,
.league-tab,
.competition-tabs,
.check-row.compact,
.team-list li,
.club-form,
.data-highlight,
.notice,
.signup-form,
.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,.72);
  color: #24473a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.eyebrow::before {
  background: #f2b84b;
  box-shadow: 0 0 0 .35rem rgba(242,184,75,.20);
}
.panel,
.card,
.sample-card,
.timeline-card,
.contact-card,
.quote,
.featured-card,
.metric-card,
.live-table,
.reason-card,
.join-card,
.data-card,
.footer-card,
.competition-card,
.pricing-card,
.prediction-card,
.update-log-card,
.shortlist-card,
.draft-card,
.group-card,
.fixture-day,
.bracket-board {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
  border-color: var(--line);
}
.dashboard {
  background:
    radial-gradient(circle at top right, rgba(242,184,75,.26), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(236,250,242,.78));
}
.dashboard::after {
  background: radial-gradient(circle, rgba(19,183,122,.20), transparent 66%);
}
.prediction-card.high,
.emphasis-card,
.final-slot {
  background: linear-gradient(180deg, rgba(19,183,122,.14), rgba(255,255,255,.82));
}
.high-pill,
.league-tab.is-active {
  border-color: rgba(15,143,95,.28);
  background: rgba(19,183,122,.14);
  color: #073525;
}
.btn-secondary {
  background: #fffaf0;
  color: #12382c;
  border-color: rgba(22,54,44,.16);
}
.btn-secondary:hover { background: #ffffff; }
.match-slot {
  background: rgba(255,255,255,.86);
  border-color: var(--line);
}
.team-flag {
  background: #fffaf0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 4px 12px rgba(31,59,46,.08);
}
.fixture-day h3,
.bracket-round h3,
.group-card-head span,
.match-no,
.contact-list li span,
.kicker {
  color: #0f8f5f;
}
.hero-copy h1,
.page-hero h1,
.section-head h2 {
  color: #0b2d22;
}
.main-nav a:hover,
.main-nav a[aria-current="page"],
.competition-tabs a:hover,
.competition-tabs a[aria-current="page"] {
  background: rgba(19,183,122,.10);
  color: #073525;
}
code { background: rgba(15,143,95,.10); }

.news-feed-hero .page-hero h1,
.news-feed-hero h1 { max-width: 10ch; }
.compact-news-hero { padding: 3rem 0 1.5rem; }
.news-legend { align-self: stretch; }
.status-key-inline {
  display: flex;
  gap: .9rem;
  margin-top: .8rem;
  font-size: .9rem;
}
.status-key-inline span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,250,240,.72);
}
.status-key-inline .key-confirmed { color: var(--good); border-color: rgba(15,143,95,.28); }
.status-key-inline .key-amber { color: var(--warn); border-color: rgba(217,130,22,.32); }
.status-key-inline .key-debunked { color: var(--danger); border-color: rgba(194,65,58,.32); }
.status-stack { display: grid; gap: .85rem; margin-top: 1rem; }
.status-row,
.news-filter,
.news-item,
.news-empty {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.status-row {
  border-radius: 16px;
  padding: .9rem 1rem;
}
.status-row span,
.news-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.status-row span::before,
.news-status::before {
  content: '';
  width: .72rem;
  height: .72rem;
  border-radius: 999px;
  background: currentColor;
}
.status-row p { margin: .3rem 0 0; color: var(--muted); font-size: .93rem; }
.status-confirmed { --status: var(--good); border-color: rgba(15,143,95,.28); }
.status-rumour { --status: var(--warn); border-color: rgba(217,130,22,.32); }
.status-debunked { --status: var(--danger); border-color: rgba(194,65,58,.32); }
.status-confirmed .news-status,
.status-confirmed > span,
.status-confirmed.status-row span { color: var(--good); }
.status-rumour .news-status,
.status-rumour > span,
.status-rumour.status-row span,
.status-unverified .news-status,
.status-reliable-unverified .news-status { color: var(--warn); }
.status-debunked .news-status,
.status-debunked > span,
.status-debunked.status-row span { color: var(--danger); }
.news-feed-meta {
  color: var(--muted);
  font-size: .94rem;
  margin-bottom: 1rem;
}
.news-scroll-window {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1rem 1rem 1rem 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.42);
}
.news-toolbar {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 .8rem;
}
.news-filter {
  border-radius: 999px;
  padding: .62rem .9rem;
  color: #38544a;
  cursor: pointer;
}
.news-filter.is-active,
.news-filter:hover {
  background: rgba(19,183,122,.12);
  color: #073525;
  border-color: rgba(15,143,95,.28);
}
.news-feed-meta {
  color: var(--muted);
  font-size: .94rem;
  margin-bottom: 1rem;
}
.news-wall { display: grid; gap: 1rem; }
.news-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  border-radius: 22px;
  padding: 1.1rem;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--status, var(--accent)) 12%, transparent), transparent 42%),
    rgba(255,255,255,.82);
}
.news-status {
  align-self: start;
  padding: .5rem .72rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid currentColor;
  font-size: .86rem;
}
.news-body time {
  color: var(--subtle);
  font-size: .9rem;
  font-weight: 650;
}
.news-body h3 {
  margin: .2rem 0 .25rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
}
.news-body p { margin: .35rem 0; color: var(--muted); }
.news-subject { color: #116344 !important; font-weight: 750; }
.news-body dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0 0;
}
.news-body dl div {
  padding: .75rem;
  border-radius: 14px;
  background: rgba(255,250,240,.78);
  border: 1px solid var(--line-soft);
}
.news-body dt {
  color: #0f8f5f;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}
.news-body dd { margin: .18rem 0 0; color: #24473a; }
.news-empty {
  border-radius: 18px;
  padding: 1.2rem;
  color: var(--muted);
}
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; }
  .news-body dl { grid-template-columns: 1fr; }
}

.footer-legal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.footer-policy-links {
  display: inline-flex;
  gap: .9rem;
  flex-wrap: wrap;
}
.footer-policy-links a {
  color: #116344;
  font-weight: 650;
}

/* Category/subtab navigation */
.category-tabs {
  align-items: stretch;
  background: rgba(255,255,255,.48);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .35rem;
}
.category-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.category-tabs a[aria-current="page"] {
  box-shadow: 0 10px 24px rgba(15,143,95,.14);
}
@media (max-width: 760px) {
  .category-tabs { overflow-x: auto; justify-content: flex-start; }
  .category-tabs a { white-space: nowrap; }
}

.preview-prediction-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .preview-prediction-grid { grid-template-columns: 1fr; }
}

.group-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.group-table-card {
  padding: 0;
  overflow: hidden;
}
.group-table-card .group-card-head {
  padding: 1rem 1rem .75rem;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
}
.group-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 30rem;
  font-size: .88rem;
}
.group-table th,
.group-table td {
  padding: .62rem .55rem;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  white-space: nowrap;
}
.group-table th {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 760;
  background: rgba(255,255,255,.48);
}
.group-table th:first-child,
.group-table td:first-child {
  text-align: left;
  min-width: 13rem;
}
.standings-team {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  color: var(--text);
}
.group-table .team-flag {
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
}
.group-table td:nth-child(6),
.group-table th:nth-child(6) {
  font-weight: 800;
  color: #116344;
}

@media (max-width: 760px) {
  .group-board {
    grid-template-columns: 1fr;
  }
  .group-table {
    min-width: 29rem;
    font-size: .84rem;
  }
  .group-table th,
  .group-table td {
    padding: .55rem .45rem;
  }
  .group-table th:first-child,
  .group-table td:first-child {
    min-width: 11rem;
  }
}

/* ===== Card / panel spacing fixes ===== */

.section { padding: 2.5rem 0; }
.section + .section { padding-top: 2.5rem; }

.section-head { margin-top: 1rem; margin-bottom: 1.8rem; }
.section-head h2 { margin-top: .4rem; }

.kicker { margin-bottom: .3rem; }

.competition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.competition-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.competition-card p:last-child { margin-bottom: 0; }

.competition-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: .8rem;
  gap: .75rem;
}

.competition-head h3 { margin: 0; }
.competition-head .kicker { margin-bottom: .15rem; }

.competition-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.competition-mini-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1rem 0;
}

.competition-mini-item strong {
  display: block;
  margin-bottom: .2rem;
}

.competition-mini-item p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
}

.pill {
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  font-size: .75rem;
  font-weight: 600;
  color: var(--subtle);
  white-space: nowrap;
}

.snapshot-footnote {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--muted);
}

.narrow { max-width: 42rem; }

/* About page */
.about-intro { margin-bottom: 1.5rem; }
.about-intro p { margin-bottom: .8rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.faq-item h3 { margin-bottom: .3rem; font-size: 1rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* Team page squad */
.squad-list { display: flex; flex-direction: column; gap: 1.5rem; }
.squad-group-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .5rem; }
.squad-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.squad-table th { text-align: left; padding: .4rem .6rem; border-bottom: 2px solid var(--border); font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.squad-table td { padding: .4rem .6rem; border-bottom: 1px solid var(--border); }
.squad-table tr:last-child td { border-bottom: none; }
.squad-table .player-name { font-weight: 600; }
.squad-table .club-name { color: var(--muted); font-size: .85rem; }
.squad-table td:first-child { width: 2.5rem; color: var(--muted); text-align: center; }

/* Bracket page hint */
.team-link-hint { font-size: .9rem; color: var(--muted); margin: -.5rem 0 1.2rem; }

/* Predicted lineup pitch */
.xi-badge { display: inline-block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: #fff; padding: .25rem .7rem; border-radius: 999px; }
.formation-card { border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-soft); padding: 1rem; overflow: hidden; }
.formation-topline { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .8rem; }
.formation-warning { font-size: .8rem; color: var(--muted); }
.football-pitch { position: relative; min-height: 720px; border-radius: 20px; overflow: hidden; border: 2px solid rgba(255,255,255,.58); background: linear-gradient(90deg, rgba(255,255,255,.05) 50%, rgba(0,0,0,.035) 50%), linear-gradient(180deg, #78b96b 0%, #66aa5d 48%, #5e9f55 100%); background-size: 120px 100%, 100% 100%; box-shadow: inset 0 0 0 2px rgba(25,80,35,.25); }
.football-pitch::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 2px solid rgba(255,255,255,.52); z-index: 1; }
.football-pitch::after { content: ""; position: absolute; inset: 1rem; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; pointer-events: none; z-index: 1; }
.pitch-mark { position: absolute; left: 50%; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.42); pointer-events: none; z-index: 1; }
.centre-circle { top: calc(50% - 48px); width: 96px; height: 96px; border-radius: 999px; }
.penalty-box { width: 52%; height: 84px; }
.penalty-box.top { top: 1rem; border-top: 0; border-radius: 0 0 12px 12px; }
.penalty-box.bottom { bottom: 1rem; border-bottom: 0; border-radius: 12px 12px 0 0; }
.six-yard { width: 28%; height: 42px; }
.six-yard.top { top: 1rem; border-top: 0; border-radius: 0 0 10px 10px; }
.six-yard.bottom { bottom: 1rem; border-bottom: 0; border-radius: 10px 10px 0 0; }
.pitch-rows { position: relative; z-index: 2; min-height: 720px; display: flex; flex-direction: column; justify-content: space-between; padding: 3.4rem 1.2rem; gap: 1rem; }
.pitch-row { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.pitch-row-label { font-size: .68rem; font-weight: 800; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .08em; text-shadow: 0 1px 2px rgba(0,0,0,.28); }
.pitch-row-players { width: 100%; display: flex; justify-content: center; align-items: flex-start; gap: clamp(.45rem, 2.2vw, 1.25rem); flex-wrap: nowrap; }
.pitch-player { flex: 0 1 110px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .25rem; text-align: center; }
.shirt-icon { position: relative; width: 44px; height: 38px; display: grid; place-items: center; color: var(--shirt-text, #fff); font-weight: 900; font-size: .82rem; text-shadow: 0 1px 1px rgba(0,0,0,.3); filter: drop-shadow(0 4px 5px rgba(0,0,0,.24)); }
.shirt-icon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--shirt-main, #1f4f9f), var(--shirt-main, #1f4f9f) 62%, var(--shirt-accent, #ffd166)); clip-path: polygon(22% 0, 38% 0, 50% 12%, 62% 0, 78% 0, 100% 18%, 86% 44%, 78% 36%, 78% 100%, 22% 100%, 22% 36%, 14% 44%, 0 18%); border: 2px solid rgba(255,255,255,.85); box-shadow: inset 0 -9px 16px rgba(0,0,0,.12); }
.shirt-icon span { position: relative; z-index: 1; }
.pitch-player-name { max-width: 100%; padding: .16rem .38rem; border-radius: 999px; background: rgba(255,255,255,.88); color: #17202a; font-weight: 800; font-size: clamp(.62rem, 1.8vw, .78rem); line-height: 1.12; box-shadow: 0 3px 8px rgba(0,0,0,.18); white-space: normal; }
.xi-note { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }
@media (max-width: 720px) {
  .formation-card { padding: .65rem; border-radius: 18px; }
  .football-pitch { min-height: 620px; border-radius: 16px; }
  .pitch-rows { min-height: 620px; padding: 2.8rem .45rem; gap: .65rem; }
  .pitch-row-players { gap: .28rem; }
  .pitch-player { flex-basis: 74px; }
  .shirt-icon { width: 34px; height: 30px; font-size: .68rem; }
  .pitch-player-name { font-size: .6rem; padding: .14rem .28rem; }
  .formation-warning { display: none; }
  .penalty-box { width: 62%; }
  .six-yard { width: 36%; }
}
@media (max-width: 390px) {
  .football-pitch { min-height: 560px; }
  .pitch-rows { min-height: 560px; }
  .pitch-player { flex-basis: 62px; }
  .pitch-player-name { font-size: .55rem; }
}
/* KOB News persistent page styles */
.news-page .news-hero { padding-bottom: 2.4rem; }
.news-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  gap: 1.2rem;
  align-items: stretch;
}
.news-page .lead {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 2.2vw, 1.22rem);
}
.news-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
}
.news-summary-card > strong {
  font-size: 1.02rem;
  color: #0b5f43;
  overflow-wrap: anywhere;
}
.news-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.news-stat-grid span {
  display: grid;
  gap: .1rem;
  padding: .8rem;
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line-soft);
}
.news-stat-grid strong { font-size: 1.45rem; line-height: 1; }
.news-stat-grid small { color: var(--muted); }
.news-controls-section { padding-top: 0; }
.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: .8rem;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 10px 32px rgba(31,59,46,.08);
}
.news-toolbar a {
  padding: .5rem .8rem !important;
  border-radius: 999px !important;
}
.news-feed-section { padding-top: 1.2rem; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 100%;
}
.news-card-top,
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.news-card-top { justify-content: space-between; }
.news-card time { color: var(--subtle); font-size: .9rem; }
.news-card h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.news-card p { margin: 0; color: var(--muted); }
.news-status {
  border: 1px solid rgba(15,143,95,.24);
  background: rgba(213,244,226,.76);
  color: #0b5f43;
}
.news-status-reliable-unverified {
  border-color: rgba(217,130,22,.25);
  background: rgba(255,236,199,.82);
  color: #8a4b0e;
}
.news-status-confirmed-context {
  border-color: rgba(19,183,122,.28);
  background: rgba(224,250,235,.9);
}
.impact-list {
  display: grid;
  gap: .65rem;
  margin: .15rem 0 0;
}
.impact-list div {
  padding: .82rem;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(255,250,240,.72);
}
.impact-list dt {
  margin-bottom: .18rem;
  color: #0b5f43;
  font-weight: 750;
}
.impact-list dd { margin: 0; color: var(--text); }
.news-meta {
  margin-top: auto;
  color: var(--subtle);
  font-size: .88rem;
}
.news-meta span {
  padding: .25rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line-soft);
}
.news-loading { color: var(--muted); }
@media (max-width: 820px) {
  .news-hero-grid,
  .news-grid { grid-template-columns: 1fr; }
  .news-toolbar { align-items: stretch; }
  .news-toolbar a { width: 100% !important; justify-content: center; }
}
/* KOB News page polish v47 */
.news-feature-card { max-width: 900px; }
.news-feature-card h3 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
.news-page .section-head p { color: var(--muted); margin-top: .35rem; }
.news-page .hero-actions { flex-wrap: wrap; }
.news-page .news-toolbar { position: relative; z-index: 2; }
.news-page .news-toolbar a { text-decoration: none; }
@media (max-width: 640px) {
  .news-page .page-hero { padding-top: 2.4rem; }
  .news-page .hero-copy h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); max-width: 12ch; }
  .news-summary-card { min-height: auto; }
  .news-card { padding: 1rem; }
  .news-card-top { align-items: flex-start; }
}


/* Clean mobile rebuild v91 — phone/touch layout, not just narrow viewport. */
@media (max-width: 900px), (max-device-width: 600px), (pointer: coarse) and (max-width: 1200px) {
  html, body {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
  }
  .container {
    width: calc(100% - 1.25rem) !important;
    max-width: 440px !important;
    margin-inline: auto !important;
  }
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: rgba(255,250,240,.97) !important;
    border-bottom: 1px solid rgba(22,54,44,.12) !important;
    backdrop-filter: none !important;
  }
  .nav-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: .75rem !important;
    min-height: 82px !important;
    padding: .75rem 0 !important;
  }
  .brand { min-width: 0 !important; display: flex !important; align-items: center !important; }
  .brand-logo { width: 156px !important; max-width: 62vw !important; height: auto !important; }
  .nav-actions { display: flex !important; justify-content: flex-end !important; align-items: center !important; margin: 0 !important; }
  .nav-actions .btn-primary { display: none !important; }
  .mobile-toggle {
    display: inline-grid !important;
    place-items: center !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    border: 2px solid rgba(22,54,44,.18) !important;
    background: #fff !important;
    color: #10251e !important;
    padding: 0 !important;
  }
  .mobile-toggle svg { width: 32px !important; height: 32px !important; }
  .main-nav {
    grid-column: 1 / -1 !important;
    display: none !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .55rem !important;
    padding: .75rem 0 1rem !important;
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
  }
  .main-nav.open { display: flex !important; }
  .main-nav a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: .9rem 1rem !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.9) !important;
    border: 1px solid rgba(22,54,44,.12) !important;
    font-size: 1.12rem !important;
    font-weight: 750 !important;
    color: #10251e !important;
  }
  .hero, .page-hero { padding: 2rem 0 1.35rem !important; }
  .section { padding: 2.25rem 0 !important; }
  .hero-grid,
  .worldcup-hero-grid,
  .news-wall-hero-grid,
  .news-hero-grid,
  .footer-grid,
  .sample-grid,
  .use-case-grid,
  .contact-grid,
  .about-grid,
  .timeline,
  .principles-grid,
  .cta-band,
  .live-grid,
  .reason-grid,
  .value-strip,
  .feature-split,
  .field-grid,
  .join-card,
  .split-card,
  .prediction-grid,
  .fixture-summary,
  .group-board,
  .shortlist-grid,
  .two-up,
  .competition-grid,
  .preview-prediction-grid,
  .draft-board,
  .bracket-intro-grid,
  .route-notes,
  .fixture-row,
  .news-item { grid-template-columns: 1fr !important; }
  .hero-copy, .page-hero, .section-head { text-align: left !important; }
  .hero-copy h1, .page-hero h1 {
    max-width: 100% !important;
    font-size: clamp(2.35rem, 11vw, 3.15rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -.045em !important;
    margin: .7rem 0 !important;
  }
  .hero-copy .hero-brand-label { font-size: clamp(2.55rem, 13vw, 3.8rem) !important; line-height: .95 !important; }
  .lead, .hero-copy > p, .page-hero p { font-size: 1.08rem !important; line-height: 1.58 !important; }
  .eyebrow { font-size: .92rem !important; padding: .55rem .75rem !important; }
  .hero-actions, .cta-actions, .format-options, .footer-top, .footer-bottom { flex-direction: column !important; align-items: stretch !important; gap: .75rem !important; }
  .btn, .hero-actions .btn, .cta-actions .btn {
    width: 100% !important;
    min-height: 56px !important;
    padding: .95rem 1rem !important;
    justify-content: center !important;
    border-radius: 16px !important;
    font-size: 1.05rem !important;
  }
  .panel, .card, .metric-card, .featured-card, .competition-card, .news-item {
    padding: 1.05rem !important;
    border-radius: 20px !important;
  }
  h2 { font-size: clamp(1.8rem, 8vw, 2.35rem) !important; line-height: 1.08 !important; }
  h3 { font-size: 1.25rem !important; line-height: 1.18 !important; }
  p, li { font-size: 1rem !important; line-height: 1.58 !important; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 1rem) !important; }
  .brand-logo { width: 142px !important; }
  .mobile-toggle { width: 52px !important; height: 52px !important; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2.15rem, 10.8vw, 2.85rem) !important; }
}


/* v91 touch fallback: Chrome Android desktop-site mode can report ~980px viewport. */
@media (hover: none) and (pointer: coarse) {
  .main-nav { display: none !important; }
  .main-nav.open { display: flex !important; }
  .mobile-toggle { display: inline-grid !important; place-items: center !important; }
  .nav-actions .btn-primary { display: none !important; }
  .nav-row { display: grid !important; grid-template-columns: 1fr auto !important; }
  .hero-grid, .worldcup-hero-grid, .competition-grid, .contact-grid, .footer-grid, .news-hero-grid, .group-board, .fixture-summary, .prediction-grid { grid-template-columns: 1fr !important; }
}


/* v92: Android Chrome desktop-viewport phone mode. Browser gives ~980 CSS px then shrinks it, so use larger CSS sizes. */
@media (hover: none) and (pointer: coarse) and (min-width: 901px) and (max-width: 1200px) {
  body { font-size: 40px !important; line-height: 1.5 !important; }
  .container { width: calc(100% - 2.5rem) !important; max-width: none !important; }
  .site-header { background: rgba(255,250,240,.98) !important; }
  .nav-row { min-height: 150px !important; padding: 1.4rem 0 !important; grid-template-columns: 1fr auto !important; }
  .brand-logo { width: 360px !important; max-width: 62vw !important; }
  .mobile-toggle { width: 132px !important; height: 132px !important; border-radius: 34px !important; border-width: 4px !important; }
  .mobile-toggle svg { width: 76px !important; height: 76px !important; }
  .main-nav { gap: 1rem !important; padding: 1.2rem 0 1.8rem !important; }
  .main-nav a { min-height: 130px !important; padding: 1.8rem 2rem !important; font-size: 2.6rem !important; border-radius: 34px !important; }
  .hero, .page-hero { padding: 4rem 0 2.5rem !important; }
  .section { padding: 4.5rem 0 !important; }
  .eyebrow { font-size: 2.05rem !important; padding: 1.2rem 1.6rem !important; border-radius: 999px !important; }
  .hero-copy .hero-brand-label { font-size: 6.8rem !important; line-height: .92 !important; }
  .hero-copy h1, .page-hero h1 { font-size: 6.4rem !important; line-height: 1.03 !important; max-width: 100% !important; }
  .lead, .hero-copy > p, .page-hero p, p, li { font-size: 2.35rem !important; line-height: 1.55 !important; }
  .btn { min-height: 128px !important; padding: 1.8rem 2rem !important; font-size: 2.35rem !important; border-radius: 34px !important; }
  .panel, .card, .metric-card, .featured-card, .competition-card, .news-item { padding: 2.4rem !important; border-radius: 42px !important; }
  h2 { font-size: 5rem !important; line-height: 1.08 !important; }
  h3 { font-size: 3rem !important; line-height: 1.18 !important; }
}
