/* Static player / club / league pages — same Matchday tokens as src/App.css */
:root {
  --pitch: #0B2219;
  --pitch-2: #0F2C21;
  --turf: #12352A;
  --line-soft: #22483A;
  --line: #2C5A47;
  --board: #04110C;
  --chalk: #F2F5EE;
  --text: #C9D8CF;
  --muted: #A9BDB2;
  --ink: #0B2219;
  --accent: #FFC83D;
  --radius: 6px;
  --display: "Anton", Impact, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--pitch); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--chalk); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding-inline: 24px; }
main.wrap { display: flex; flex-direction: column; gap: 24px; padding-block: 28px 72px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.strong { color: var(--chalk); font-weight: 700; }

.topbar { border-bottom: 1px solid var(--line-soft); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--chalk); text-decoration: none; }
.brand span { font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.btn { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-family: var(--label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.kicker { font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1; text-transform: uppercase; color: var(--chalk); }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; text-transform: uppercase; color: var(--chalk); }
.answer { font-size: 22px; color: var(--text); }
.answer strong { color: var(--chalk); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.facts div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--turf); }
.facts dt { font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { color: var(--chalk); font-weight: 600; }
.facts dd a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.crest { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; margin-right: 6px; }
/* Inline in the h1 so the heading wraps as text (a name <span> must not become its own line) */
.crest-lg { width: 48px; height: 48px; margin: 0 14px 0 0; vertical-align: -0.12em; }

.scoreboard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 2px solid var(--line-soft); border-radius: 8px; background: var(--board); }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.score-side { display: flex; flex-direction: column; align-items: center; text-align: center; }
.score-num { font-family: var(--display); font-size: clamp(56px, 10vw, 120px); line-height: 1; color: var(--chalk); }
.score-num.accent { color: var(--accent); }
.score-label { font-family: var(--label); font-weight: 700; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--chalk); }
.score-colon { font-family: var(--display); font-size: clamp(44px, 7vw, 90px); color: var(--line); }
.score-caption { text-align: center; font-size: 15px; color: var(--muted); }

.cta { align-self: flex-start; min-height: 56px; display: inline-flex; align-items: center; gap: 10px; padding: 0 24px; border-radius: 4px; background: var(--accent); color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; }
.cta:hover { color: var(--ink); filter: brightness(1.06); }

.panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--turf); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }

.rows { list-style: none; display: flex; flex-direction: column; }
.rows li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 10px; border-top: 1px solid var(--line-soft); }
.rows li > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows a { font-weight: 600; text-decoration: none; }

.table { display: flex; flex-direction: column; font-size: 15px; }
.tr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 48px 100px; gap: 12px; align-items: center; padding-block: 10px; border-top: 1px solid var(--line-soft); }
.tr-club { grid-template-columns: minmax(0, 1fr) 70px 80px; }
.tr > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th { border-top: 0; padding-block: 0 8px; font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tr a { font-weight: 600; text-decoration: none; }
.num { text-align: right; }

.site-footer { border-top: 1px solid var(--line-soft); }
.site-footer-inner { display: flex; flex-direction: column; gap: 12px; padding-block: 28px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer nav a { color: var(--muted); }

@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .brand span { font-size: 19px; }
  .topbar .btn { display: none; }
  .answer { font-size: 19px; }
  .panel, .scoreboard { padding: 16px; }
  .tr { grid-template-columns: minmax(0, 1fr) 40px 90px; }
  .tr > :nth-child(2) { display: none; }
  .tr-club { grid-template-columns: minmax(0, 1fr) 60px 70px; }
  .tr-club > :nth-child(2) { display: block; }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows li > :nth-child(2) { display: none; }
}
