/* elclasico.es — editorial sports magazine. Display: Big Shoulders Display · UI: Archivo · Reading: Newsreader */
:root {
  --paper: #f5f2eb;
  --paper-2: #ece7dc;
  --card: #fffdf8;
  --ink: #10141f;
  --ink-2: #3b4152;
  --muted: #6d7283;
  --line: #d9d3c5;
  --night: #0c1220;
  --night-2: #151d31;
  --night-line: #26304a;
  --on-night: #eef0f6;
  --on-night-muted: #9aa3ba;
  --rm: #f2c14e;          /* Madrid gold */
  --rm-ink: #8a6a12;
  --rm-white: #ffffff;
  --fcb-blue: #1d4fa3;    /* blau */
  --fcb-red: #b0184d;     /* grana */
  --accent: #d6403a;      /* live red, used sparingly */
  --ok: #1f8a5b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(16, 20, 31, .06), 0 10px 30px -18px rgba(16, 20, 31, .35);
  --f-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-ui: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-read: 'Newsreader', Georgia, 'Times New Roman', serif;
  --wrap: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1120; --paper-2: #121830; --card: #151c33; --ink: #eceef5; --ink-2: #c3c8d6; --muted: #8f97ad; --line: #26304a;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 12px 30px -16px rgba(0,0,0,.7); --rm-ink: #f2c14e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1120; --paper-2: #121830; --card: #151c33; --ink: #eceef5; --ink-2: #c3c8d6; --muted: #8f97ad; --line: #26304a;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 12px 30px -16px rgba(0,0,0,.7); --rm-ink: #f2c14e; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.wrap-narrow { max-width: 820px; }
.sec { padding-block: clamp(36px, 6vw, 72px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.kicker { display: inline-block; font: 700 .74rem/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lead { font: 400 clamp(1.08rem, 1.6vw, 1.3rem)/1.5 var(--f-read); color: var(--ink-2); max-width: 60ch; }
.note { color: var(--muted); font-size: .92rem; max-width: 75ch; }
.small { font-size: .8rem; }
.more { font-weight: 700; text-decoration: none; font-size: .92rem; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: 12px 20px; border-radius: 999px; font: 700 .95rem/1 var(--f-ui); text-decoration: none; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.grid-2 { display: grid; gap: clamp(24px, 4vw, 48px); }
.grid-2 > *, .hero-in > *, .article-layout > * { min-width: 0; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* signature split stripe: Madrid white/gold | Barça blau/grana */
.stripe { height: 5px; background: linear-gradient(90deg, var(--rm-white) 0 25%, var(--rm) 25% 50%, var(--fcb-blue) 50% 75%, var(--fcb-red) 75% 100%); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--on-night); }
.header-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--f-display); line-height: 1; white-space: nowrap; }
.logo-el { font-weight: 600; font-size: 1.15rem; opacity: .7; margin-right: 1px; }
.logo-main { font-weight: 900; font-size: 1.75rem; text-transform: uppercase; letter-spacing: .01em; }
.logo-dot { width: 9px; height: 9px; border-radius: 50%; margin: 0 2px 0 3px; background: conic-gradient(var(--rm) 0 50%, var(--fcb-red) 50% 100%); align-self: center; transform: translateY(5px); }
.logo-tld { font-weight: 600; font-size: 1rem; opacity: .7; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 6px; color: var(--on-night); opacity: .86; white-space: nowrap; }
.main-nav a:hover { opacity: 1; background: var(--night-2); }
.main-nav .nav-cta { background: var(--rm); color: var(--night); opacity: 1; }
.nav-sep { width: 1px; height: 20px; background: var(--night-line); margin: 0 6px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--night-line); border-radius: 999px; overflow: hidden; }
.lang-switch a { font: 700 .72rem/1 var(--f-ui); padding: 7px 9px; text-decoration: none; color: var(--on-night-muted); }
.lang-switch a[aria-current] { background: var(--on-night); color: var(--night); }
.theme-btn, .menu-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; }
.theme-btn span { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.menu-btn { display: none; flex-direction: column; gap: 4px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; transition: .2s; }
span.nav-2:not(.nav-sep) { display: contents; }
@media (min-width: 1081px) and (max-width: 1560px) { .main-nav span.nav-2, .main-nav .nav-sep.nav-2 { display: none; } }
@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .main-nav { position: fixed; inset: 69px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--night); padding: 12px 16px 24px; max-height: calc(100vh - 69px); overflow: auto; transform: translateY(-120%); transition: transform .25s; border-bottom: 1px solid var(--night-line); }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 12px; font-size: 1.05rem; }
  .nav-sep { width: 100%; height: 1px; margin: 6px 0; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 420px) { .logo-main { font-size: 1.45rem; } .lang-switch a { padding: 7px 6px; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate; }
.hero-bg, .phero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img, .phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 18, 32, .96) 0%, rgba(12, 18, 32, .82) 45%, rgba(12, 18, 32, .45) 100%), linear-gradient(0deg, rgba(12,18,32,.9), transparent 40%); }
.hero-in { display: grid; gap: 36px; padding-block: clamp(48px, 9vw, 110px); align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: 1.25fr 1fr; } }
.hero h1 { font-size: clamp(3rem, 8vw, 6.6rem); line-height: .92; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--rm); background: linear-gradient(90deg, var(--rm), #ffd97d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .kicker { color: var(--on-night-muted); }
.hero .lead { color: #cfd5e4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn { background: var(--rm); color: var(--night); border-color: var(--rm); }
.hero .btn-ghost { background: transparent; color: var(--on-night); border-color: rgba(255,255,255,.4); }
.hero-card { background: rgba(21, 29, 49, .82); backdrop-filter: blur(10px); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 22px; }
.hero-card-label { font: 800 .78rem/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--rm); }
.hero-card-link { display: block; margin-top: 14px; text-align: center; padding: 12px; border-radius: 10px; background: var(--on-night); color: var(--night); font-weight: 700; text-decoration: none; }
.credit { position: absolute; right: 8px; bottom: 6px; font-size: .62rem; color: rgba(255,255,255,.6); background: rgba(0,0,0,.35); padding: 2px 6px; border-radius: 4px; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* page hero */
.phero { position: relative; background: var(--paper-2); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phero-in { padding-block: clamp(40px, 7vw, 90px) clamp(32px, 5vw, 60px); }
.phero h1 { max-width: 18ch; }
.phero-img, .phero-dark { background: var(--night); color: var(--on-night); border: 0; }
.phero-img .phero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,18,32,.95) 10%, rgba(12,18,32,.6) 70%, rgba(12,18,32,.4)); }
.phero-img .lead, .phero-dark .lead { color: #cfd5e4; }
.phero-img .kicker, .phero-dark .kicker { color: var(--rm); }
.phero-img .crumbs, .phero-dark .crumbs { color: var(--on-night-muted); }
.phero-rm .phero-in { border-left: 0; }
.phero-rm::before, .phero-fcb::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; z-index: 2; }
.phero-rm::before { background: linear-gradient(var(--rm-white), var(--rm)); }
.phero-fcb::before { background: linear-gradient(var(--fcb-blue) 50%, var(--fcb-red) 50%); }
.phero-plain h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { opacity: .5; font-style: normal; }
.crumbs span { opacity: .8; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.band-dark .sec-head { border-color: var(--on-night); }
.band-dark .sec-head p { color: var(--on-night-muted); }

.band { position: relative; }
.band-dark { background: var(--night); color: var(--on-night); }
.band-score { background: var(--card); border-bottom: 1px solid var(--line); padding-block: clamp(32px, 5vw, 56px); }

/* ---------- team marks & score ---------- */
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 900 .62rem/1 var(--f-ui); letter-spacing: .04em; flex: none; }
.mark-rm { background: var(--rm-white); color: #1b1b1b; box-shadow: inset 0 0 0 3px var(--rm); }
.mark-fcb { background: linear-gradient(90deg, var(--fcb-blue) 0 33%, var(--fcb-red) 33% 66%, var(--fcb-blue) 66%); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.mark-lg { width: 56px; height: 56px; font-size: .9rem; }
.team { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 10px 0; }
.score-team { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; min-width: 0; }
.score-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-away { flex-direction: row-reverse; text-align: right; }
.score-nums { font: 900 1.9rem/1 var(--f-display); display: flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.score-nums i { font-style: normal; opacity: .4; }
.win-home .score-nums b:last-child, .win-away .score-nums b:first-child { opacity: .45; }
.score-big .score-nums { font-size: clamp(3.6rem, 10vw, 6.5rem); gap: 14px; }
.score-big .score-team { font-size: clamp(1rem, 2vw, 1.35rem); flex-direction: column; text-align: center; gap: 8px; }
.score-big .score-away { flex-direction: column; text-align: center; }
.comp { display: inline-block; font: 800 .66rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: var(--ink); color: var(--paper); }
.comp-copa { background: #8c1c13; color: #fff; }
.comp-supercopa { background: #5b3cc4; color: #fff; }
.comp-ucl { background: #0b1f5c; color: #fff; }
.comp-copaliga { background: #2f6f4f; color: #fff; }
.band-dark .comp-liga, .match-hero .comp-liga { background: var(--on-night); color: var(--night); }
.pill { display: inline-block; font: 700 .68rem/1 var(--f-ui); padding: 5px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.pill-official { background: var(--ok); color: #fff; }
.pill-possible { background: transparent; border: 1px dashed currentColor; color: var(--rm); }

/* last result + h2h */
.last { display: block; text-decoration: none; }
.last-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .85rem; }
.last h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 6px; }
.last p { color: var(--ink-2); }
.h2h-nums { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.h2h-nums b { display: block; font: 900 clamp(3.4rem, 8vw, 5.4rem)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.h2h-nums span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.h2h-mid { text-align: center; }
.h2h-mid b { font-size: clamp(2.2rem, 5vw, 3rem); opacity: .55; }
.h2h-fcb { text-align: right; }
.h2h-rm b { color: var(--rm-ink); }
.h2h-fcb b { color: var(--fcb-red); }
.h2h-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 16px 0 10px; background: var(--line); }
.seg-rm { background: linear-gradient(90deg, #fff, var(--rm)); box-shadow: inset 0 0 0 1px var(--line); }
.seg-draw { background: var(--muted); opacity: .45; }
.seg-fcb { background: linear-gradient(90deg, var(--fcb-blue), var(--fcb-red)); }
.h2h-note { font-size: .8rem; color: var(--muted); }

/* countdown & fixtures */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 10px; }
.countdown div { background: rgba(255,255,255,.06); border: 1px solid var(--night-line); border-radius: 10px; padding: 10px 4px; text-align: center; }
.countdown b { display: block; font: 900 2.1rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.fx-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 12px 0; }
.fx-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.1rem; }
.fx-vs { font: 800 .8rem var(--f-ui); opacity: .5; text-transform: uppercase; }
.fx-meta { display: grid; gap: 2px; margin-top: 12px; font-size: .9rem; opacity: .85; }
.fx-meta time { font-weight: 700; }
.fx-stage { font-size: .8rem; opacity: .7; margin: 0; }
.fx-list { display: grid; gap: 22px; }
@media (min-width: 900px) { .fx-list { grid-template-columns: 1fr 1fr; } }
.fx-list .fx { background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.fx-list .fx > p:last-child { margin-top: 14px; color: #cfd5e4; font-family: var(--f-read); font-size: 1.05rem; }

/* ---------- cards ---------- */
.match-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 54px) / 4); } }
.rail > * { scroll-snap-align: start; }
.mcard { display: flex; flex-direction: column; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; transition: transform .18s, box-shadow .18s; position: relative; }
.mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mcard-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); }
.mcard h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.mcard p { font-size: .9rem; color: var(--ink-2); margin: 0 0 10px; }
.mcard .stars { margin-top: auto; color: var(--rm); letter-spacing: 2px; font-size: .8rem; }
.band-dark .mcard { background: var(--night-2); color: var(--on-night); border-color: var(--night-line); }
.band-dark .mcard p, .band-dark .mcard-top { color: var(--on-night-muted); }

.news-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, 1fr); } .news-grid > .acard-feature, .news-grid > .news-cell-feature { grid-column: span 2; grid-row: span 2; } }
.news-grid-3 > .acard-feature { grid-column: auto; grid-row: auto; }
.acard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; height: 100%; transition: transform .18s, box-shadow .18s; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acard-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.acard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acard:hover .acard-img img { transform: scale(1.04); }
.acard-fallback { height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 20% 30%, rgba(242,193,78,.35), transparent 50%), radial-gradient(circle at 80% 70%, rgba(176,24,77,.45), transparent 50%), var(--night); }
.acard-fallback span { font: 900 2.2rem var(--f-display); color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .04em; }
.acard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.acard-body .kicker { margin-bottom: 8px; color: var(--fcb-red); }
.acard h3 { font-size: 1.45rem; margin-bottom: 8px; }
.acard p { font-size: .92rem; color: var(--ink-2); }
.acard time { margin-top: auto; font-size: .78rem; color: var(--muted); }
.acard-feature h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.acard-feature .acard-img { aspect-ratio: 16 / 8.5; }
@media (min-width: 1000px) { .acard-feature .acard-img { aspect-ratio: auto; flex: 1 1 auto; min-height: 320px; } .acard-feature .acard-body { flex: 0 0 auto; } }
.news-cell { display: contents; }
.news-cell[hidden] { display: none; }
.news-grid-all { grid-auto-flow: dense; }

/* eras strip / timeline */
.era-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.era-strip a { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--card); text-decoration: none; height: 100%; transition: background .15s; }
.era-strip a:hover { background: var(--paper-2); }
.era-strip strong { font: 800 1.25rem/1.05 var(--f-display); text-transform: uppercase; }
.era-strip span:last-child { font-size: .85rem; color: var(--muted); }
.era-years { font: 900 .82rem/1 var(--f-ui); letter-spacing: .1em; color: var(--fcb-red); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--rm), var(--fcb-blue), var(--fcb-red)); border-radius: 3px; }
.tl-item { position: relative; padding-left: 40px; }
.tl-item::before { content: ''; position: absolute; left: 4px; top: 24px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.tl-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: box-shadow .18s; overflow: hidden; }
.tl-card:hover { box-shadow: var(--shadow); }
.tl-img { margin: -22px -22px 18px; aspect-ratio: 21 / 8; overflow: hidden; }
.tl-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.tl-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 8px; }
.tl-card p { font-family: var(--f-read); font-size: 1.08rem; color: var(--ink-2); }
@media (min-width: 1000px) {
  .timeline::before { left: 50%; margin-left: -1.5px; }
  .tl-item { width: 50%; padding: 0 44px 0 0; }
  .tl-item::before { left: auto; right: -8.5px; }
  .tl-right { margin-left: 50%; padding: 0 0 0 44px; }
  .tl-right::before { right: auto; left: -8.5px; }
}

/* ---------- article layout & prose ---------- */
.article-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.prose { font: 400 1.16rem/1.7 var(--f-read); max-width: 72ch; min-width: 0; }
.prose p { margin-bottom: 1.15em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 1.6em 0 .55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--fcb-blue); text-underline-offset: 3px; }
:root[data-theme="dark"] .prose a { color: #8fb3ff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--rm); font-size: 1.35rem; font-style: italic; color: var(--ink-2); }
.prose strong { font-weight: 600; }
.prose > p:first-of-type::first-letter { float: left; font: 900 4.4rem/.8 var(--f-display); padding: 6px 10px 0 0; color: var(--fcb-red); }
.side { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1000px) { .side { position: sticky; top: 90px; } }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.facts li { padding-left: 16px; position: relative; }
.facts li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--rm); transform: rotate(45deg); }
.kv { margin: 0; display: grid; gap: 10px; }
.kv div { display: grid; gap: 2px; }
.kv dt { font: 700 .7rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 0; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chips span, .chips button { font: 600 .8rem/1 var(--f-ui); padding: 7px 11px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2); }
.chips-filter { margin-bottom: 24px; }
.chips-filter button { cursor: pointer; }
.chips-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .92rem; display: grid; gap: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.pager { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font-weight: 700; max-width: 46%; }
.pager a span { display: block; font: 700 .7rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pager a:last-child { text-align: right; }

/* match hero */
.match-hero { background: var(--night); color: var(--on-night); padding-block: clamp(32px, 6vw, 70px); position: relative; overflow: hidden; }
.match-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 50%, rgba(242, 193, 78, .18), transparent 55%), radial-gradient(ellipse at 100% 50%, rgba(29, 79, 163, .35), transparent 55%); }
.match-hero .wrap { position: relative; text-align: center; }
.match-hero .crumbs { justify-content: center; color: var(--on-night-muted); }
.match-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; color: var(--on-night-muted); font-size: .9rem; }
.match-hero .score { max-width: 760px; margin: 18px auto 6px; }
.match-hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); max-width: 22ch; margin: 22px auto 14px; }
.match-hero .lead { margin: 0 auto; color: #cfd5e4; }
.score-note { color: var(--rm); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 760px; margin: 0 auto; font-size: .88rem; color: #cfd5e4; }
.scorers ul { list-style: none; margin: 0; padding: 0; }
.scorers ul:first-child { text-align: left; } .scorers ul:last-child { text-align: right; }
.scorers li span { color: var(--rm); font-weight: 700; }

/* team page */
.honours { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.honours div { background: var(--card); padding: 18px; display: flex; flex-direction: column-reverse; }
.honours dd { margin: 0; font: 900 3.2rem/1 var(--f-display); }
.honours dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.mini-tl { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.mini-tl li { border-left: 2px solid var(--night-line); padding: 6px 18px 22px; position: relative; }
.mini-tl li::before { content: ''; position: absolute; left: -6px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--rm); }
.mini-tl b { display: block; font: 900 1.8rem/1 var(--f-display); color: var(--rm); margin-bottom: 4px; }
.mini-tl span { color: #cfd5e4; font-size: .93rem; }
.band-split .grid-2 { gap: 22px; }
.team-tile { display: grid; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--night); color: var(--on-night); position: relative; min-height: 360px; isolation: isolate; }
.team-tile-img { position: absolute; inset: 0; z-index: -1; }
.team-tile-img img { width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: transform .6s, opacity .3s; }
.team-tile:hover img { transform: scale(1.04); opacity: .55; }
.team-tile-body { align-self: end; padding: 28px; background: linear-gradient(transparent, rgba(12,18,32,.95) 40%); }
.team-tile h3 { font-size: 2.4rem; text-transform: uppercase; margin-top: 14px; }
.team-tile p { color: #cfd5e4; font-size: .95rem; }
.team-tile dl { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.team-tile dl div { display: flex; flex-direction: column-reverse; }
.team-tile dd { margin: 0; font: 900 2rem/1 var(--f-display); color: var(--rm); }
.team-tile dt { font-size: .72rem; opacity: .75; }
.team-tile-fcb { box-shadow: inset 0 -6px 0 var(--fcb-red); }
.team-tile-rm { box-shadow: inset 0 -6px 0 var(--rm); }

/* stats */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 700 .72rem/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
td:not(:first-child), th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
.c-rm { color: var(--rm-ink); font-weight: 700; } .c-fcb { color: var(--fcb-red); font-weight: 700; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr 36px; align-items: center; gap: 10px; }
.bar-name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-name .mark { width: 24px; height: 24px; font-size: .45rem; }
.bar-track { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.bar-track span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.bar-rm .bar-track span { background: linear-gradient(90deg, #fff4d0, var(--rm)); }
.bar-fcb .bar-track span { background: linear-gradient(90deg, var(--fcb-blue), var(--fcb-red)); }
.bars b { font: 900 1.4rem/1 var(--f-display); text-align: right; }
.bars-small li { grid-template-columns: minmax(0, 1.4fr) 1fr 28px; }
.bars-small .bar-name { font-size: .82rem; }
.facts-grid { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.facts-grid li { counter-increment: f; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 20px; font-family: var(--f-read); font-size: 1.05rem; color: #dde2ee; }
.facts-grid li::before { content: counter(f, decimal-leading-zero); display: block; font: 900 1.6rem/1 var(--f-display); color: var(--rm); margin-bottom: 8px; }

/* legends */
.legend-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.lcard { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lcard-marks { display: flex; gap: 4px; margin-bottom: 10px; }
.lcard h3 { font-size: 1.5rem; margin: 0; }
.lcard p { margin: 0; color: var(--muted); font-size: .85rem; }
.lcard-goals { margin-top: 10px; font-size: .8rem; color: var(--muted); }
.lcard-goals b { font: 900 1.5rem var(--f-display); color: var(--ink); margin-right: 4px; }

/* stadiums */
.stadium-in { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .stadium-in { grid-template-columns: 1fr 1fr; gap: 56px; } .stadium-rev .stadium-img { order: 2; } }
.stadium-img { position: relative; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 1000px) { .stadium-img { position: sticky; top: 90px; } }
.stadium-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stadium-rev { background: var(--paper-2); }
.img-fallback { aspect-ratio: 4/3; display: grid; place-items: center; background: var(--night); }

/* ---------- CTA / affiliate ---------- */
.ctas { align-items: start; }
.cta { border-radius: var(--radius); padding: 24px; margin: 0 0 28px; font-family: var(--f-ui); font-size: 1rem; line-height: 1.5; }
.cta-tickets { background: var(--night); color: var(--on-night); }
.cta-betting { background: var(--card); border: 2px solid var(--ink); }
.cta-travel { background: var(--paper-2); border: 1px solid var(--line); }
.cta-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.cta-head h2 { font-size: 1.6rem; margin: 0 0 4px; }
.cta-head p { margin: 0; font-size: .92rem; opacity: .8; }
.cta-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: var(--rm); color: var(--night); }
.cta-18 { font: 900 1rem var(--f-ui); background: var(--accent); color: #fff; }
.cta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cta-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name pill' 'note go'; gap: 2px 12px; padding: 14px 16px; border-radius: 10px; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); transition: background .15s, transform .15s; }
.cta-betting .cta-list a, .cta-travel .cta-list a { background: var(--paper); border-color: var(--line); }
.cta-list a:hover { transform: translateX(3px); }
.cta-name { grid-area: name; font-weight: 700; }
.cta-note { grid-area: note; font-size: .82rem; opacity: .75; }
.cta-list .pill { grid-area: pill; justify-self: end; }
.cta-go { grid-area: go; justify-self: end; font-weight: 700; font-size: .85rem; color: var(--rm); }
.cta-betting .cta-go, .cta-travel .cta-go { color: var(--fcb-blue); }
.cta-compact { padding: 20px; }
.disclosure, .rg { font-size: .74rem; opacity: .7; margin: 14px 0 0; line-height: 1.45; }
.rg { opacity: .85; }
.rg-banner { margin: 22px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: .88rem; }
.rg-small { font-size: .74rem; opacity: .6; }

/* ---------- ads ---------- */
.ad { display: block; margin: 28px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-label { display: block; font: 600 .6rem/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-ph { display: grid; place-items: center; border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font: 600 .75rem var(--f-ui); background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(128,128,128,.05) 10px 20px); }
.ad-leaderboard .ad-ph { height: 90px; max-width: 728px; margin: 0 auto; }
.ad-inArticle .ad-ph, .ad-inFeed .ad-ph { height: 250px; max-width: 336px; margin: 0 auto; }
.ad-sidebar .ad-ph { height: 600px; }
.ad-footer .ad-ph { height: 90px; max-width: 728px; margin: 0 auto; }
.ad-mobileSticky { display: none; }
@media (max-width: 700px) {
  .ad-leaderboard .ad-ph { height: 100px; max-width: 320px; }
  .ad-sidebar { display: none; }
  .ad-mobileSticky { display: block; position: fixed; bottom: 0; left: 0; right: 0; margin: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--line); padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); }
  .ad-mobileSticky .ad-label { display: none; }
  .ad-mobileSticky .ad-ph { height: 50px; max-width: 320px; margin: 0 auto; }
}
.news-grid > .ad, .match-grid > .ad { grid-column: 1 / -1; margin: 6px 0; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters input, .filters select { font: 500 .95rem var(--f-ui); padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.filters input { flex: 1 1 260px; }
.mcard[hidden] { display: none; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font: 700 1.05rem var(--f-ui); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; }

/* article head */
.art-head { padding-top: clamp(28px, 5vw, 60px); }
.art-head h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
.byline { font-size: .85rem; color: var(--muted); }
.art-img { position: relative; margin-top: 28px; }
.art-img picture { border-radius: var(--radius); overflow: hidden; }
.art-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.art-img .credit { right: 36px; }
.tags { margin-top: 28px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 24px 0; font: 600 .85rem var(--f-ui); }
.share a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink) !important; }

/* credits page */
.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: .88rem; }
.credits li { display: flex; gap: 16px; align-items: flex-start; }
.credits img { width: 160px; height: 100px; object-fit: cover; border-radius: 8px; flex: none; }
@media (max-width: 520px) { .credits li { flex-direction: column; } }

/* 404 */
.nf { text-align: center; }
.nf b { font: 900 clamp(6rem, 20vw, 12rem)/1 var(--f-display); display: block; color: var(--fcb-red); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); margin-top: 40px; }
.footer-grid { display: grid; gap: 32px; padding-block: 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rm); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--on-night-muted); font-size: .92rem; }
.footer-grid a:hover { color: var(--on-night); }
.footer-about p { color: var(--on-night-muted); font-size: .9rem; margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--night-line); padding-block: 18px 90px; font-size: .8rem; color: var(--on-night-muted); }
@media (min-width: 701px) { .footer-bottom { padding-bottom: 22px; } }
.footer-bottom a { color: inherit; }

/* cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px -20px rgba(0,0,0,.5); padding: 18px; font-size: .88rem; }
.cookie p { margin: 0 0 12px; }
.cookie div { display: flex; gap: 10px; justify-content: flex-end; }
.cookie .btn { padding: 10px 16px; font-size: .85rem; }

/* entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
:focus-visible { outline: 3px solid var(--rm); outline-offset: 2px; }

/* --- polish --- */
.acard-img picture { height: 100%; }
.honours { gap: 0; background: var(--card); }
.honours div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-list .pill { white-space: nowrap; align-self: start; }
.score-team span { white-space: normal; line-height: 1.15; }
.mcard .score-team { font-size: .85rem; }

/* --- season hub --- */
.sec-tight { padding-block: 8px 28px; }
.h-sm { font-size: 1.4rem; }
.mini-label { font: 700 .7rem/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.mark-x { background: var(--paper-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .55rem; }
.tldr { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--rm); border-radius: var(--radius); padding: 22px 26px; }
.tldr h2 { font-size: 1.5rem; }
.tldr ul { margin: 0 0 8px; padding-left: 1.1em; font: 1.08rem/1.55 var(--f-read); display: grid; gap: 6px; }
.flist { display: grid; gap: 6px; }
.frow { display: grid; grid-template-columns: 74px 1fr auto 1fr 28px; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color .15s, transform .15s; }
.frow:hover { border-color: var(--ink-2); transform: translateX(2px); }
.frow-date { display: grid; line-height: 1.15; }
.frow-date b { font-size: .9rem; }
.frow-date small { font-size: .68rem; color: var(--muted); }
.frow-team { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; min-width: 0; }
.frow-team .mark { width: 26px; height: 26px; font-size: .48rem; }
.frow-home { justify-content: flex-end; text-align: right; }
.frow-score { font: 900 1.25rem/1 var(--f-display); min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }
.frow:not(.frow-done) .frow-score { font-size: 1rem; color: var(--muted); }
.res { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 800 .7rem var(--f-ui); color: #fff; }
.res-W { background: var(--ok); } .res-D { background: #8a8f9c; } .res-L { background: var(--accent); } .res-N { background: transparent; } .res-P { background: #c98a12; }
@media (max-width: 560px) {
  .frow { grid-template-columns: 1fr auto 1fr 24px; }
  .frow-date { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; }
  .frow-team span, .frow-team { font-size: .82rem; }
}
.standings td, .standings th { padding: 9px 10px; }
.standings .st-team { display: flex; align-items: center; gap: 8px; font-weight: 600; text-align: left !important; }
.standings .st-team .mark { width: 24px; height: 24px; font-size: .45rem; }
.standings tr.hl-rm { background: rgba(242, 193, 78, .14); }
.standings tr.hl-fcb { background: rgba(29, 79, 163, .12); }
.standings .form { display: flex; gap: 3px; justify-content: flex-end; }
.standings .form .res { width: 18px; height: 18px; font-size: .6rem; }
.race { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.race-team { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.race-team b { display: block; font: 900 3rem/1 var(--f-display); }
.race-team span { font-size: .8rem; color: var(--muted); }
.race-form { display: flex; gap: 3px; margin-left: auto; }
.race-vs { font: 900 1.6rem var(--f-display); color: var(--muted); }
.race-rm { box-shadow: inset 5px 0 0 var(--rm); } .race-fcb { box-shadow: inset 5px 0 0 var(--fcb-red); }
@media (max-width: 700px) { .race { grid-template-columns: 1fr; } .race-vs { text-align: center; } }
.wk-grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .wk-grid { grid-template-columns: 1fr 1fr 1fr; } }
.wk-team, .wk-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.wk-team h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; text-transform: uppercase; }
.wk-team .frow { background: var(--paper); }
.wk-team .more { display: inline-block; margin-top: 14px; }
.wk-table .tbl-wrap { border: 0; }
.cal-box { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .9rem; }
.cal-box p { color: var(--ink-2); margin: 6px 0 12px; }
.cal-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-links .btn { padding: 9px 14px; font-size: .8rem; }
.score-nums .ko { font-size: .5em; opacity: .9; }
.countdown-inline { max-width: 420px; margin: 18px auto 0; }
.race-team .res { color: #fff; font-size: .62rem; width: 20px; height: 20px; }
.pill-live { background: var(--accent); color: #fff; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .pill-live { animation: none; } }
.lineups { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); font: .98rem/1.5 var(--f-ui); }
.lineups h3 { font-size: 1.25rem; margin: 0 0 8px; }
.lineups h3 small { color: var(--muted); font: 600 .8rem var(--f-ui); margin-left: 6px; }
.lineups ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.lineups li span { display: inline-block; width: 28px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* fixture rows adapt to the width of their box (narrow cards on the home page, phones) */
.flist, .wk-team { container-type: inline-size; }
.frow-date small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow-team { line-height: 1.2; overflow-wrap: anywhere; }
@container (max-width: 520px) {
  .frow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 24px; row-gap: 6px; }
  .frow-date { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; }
  .frow-team { font-size: .84rem; gap: 6px; }
  .frow-score { min-width: 44px; font-size: 1.1rem; }
}
.sec-head > div { min-width: 0; }
.sec-head h2 { overflow-wrap: anywhere; }
