:root { color-scheme: light; --bg: #fff; --panel: #0e2030; --line: #c7d2dc; --text: #07111b; --muted: #5f7180; --gold: #a27d35; --blue: #0877bd; --navy: #071d33; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, sans-serif; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: auto; }
.site-header { position: relative; z-index: 50; width: 100%; border-bottom: 1px solid #ffffff22; background: var(--navy); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.brand, nav a { color: var(--text); text-decoration: none; }
.site-header .brand { color: #f1f5f7; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.site-header .brand-logo { width: 42px; height: 42px; flex: 0 0 42px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; }
.site-header .brand-copy { display: grid; gap: 1px; }
.site-header .brand-copy strong { color: #f1f5f7; font-size: .98rem; }
.site-header .brand-copy small { color: #9aafbd; font-size: .68rem; text-transform: uppercase; }
.site-header nav { display: flex; gap: 26px; }
.editorial-hints-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #9aafbd; font: inherit; line-height: 1; }
.editorial-hints-icon { font-size: 1.15rem; }
.editorial-hints-toggle:hover { background: transparent; color: inherit; }
.editorial-hints-toggle[aria-pressed="true"] { background: transparent; color: inherit; box-shadow: none; }
.editorial-hints-toggle[aria-pressed="true"] .editorial-hints-icon { filter: drop-shadow(0 0 3px #f0c868) drop-shadow(0 0 8px #a27d35); }
.editorial-hints-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.editorial-hints-toast { position: fixed; top: 84px; right: 22px; z-index: 100; max-width: min(320px, calc(100vw - 32px)); padding: 9px 13px; border: 1px solid #567287; border-radius: 5px; background: #0e2030; box-shadow: 0 8px 24px #0006; color: #f1f5f7; font-size: .82rem; font-weight: 700; }
.editorial-hints-toast[hidden] { display: none; }
@media (max-width: 700px) {
  .editorial-hints-toggle { display: none; }
}
.site-header nav a { color: #9aafbd; font-size: .9rem; }
.site-header nav a:hover { color: var(--gold); }
.archive-nav { position: relative; color: #9aafbd; }
.archive-nav summary { list-style: none; cursor: pointer; color: inherit; font-size: .9rem; white-space: nowrap; }
.archive-nav summary::-webkit-details-marker { display: none; }
.archive-nav summary span { margin-left: 4px; color: var(--gold); }
.archive-nav[open] > summary { color: var(--gold); }
.archive-nav-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; display: block; width: max-content; min-width: 230px; max-width: min(300px, calc(100vw - 24px)); max-height: min(72vh, 620px); overflow-y: auto; padding: 6px; border: 1px solid #395267; border-radius: 7px; background: #0e2030; box-shadow: 0 12px 32px #0007; }
.archive-nav-menu > a { display: block; width: 100%; padding: 9px 11px; border-radius: 4px; color: #d0dbe2; font-size: .82rem; line-height: 1.3; text-decoration: none; white-space: normal; }
.archive-nav-menu a:hover, .archive-nav-menu a.active-view { background: #20394b; color: var(--gold); }
.archive-nav-group { display: block; width: 100%; }
.archive-nav-group > summary { display: block; padding: 9px 11px; border-radius: 4px; color: #f0c868; font-size: .7rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; }
.archive-nav-group > summary::after { content: '＋'; float: right; margin-left: 12px; color: #9aafbd; font-size: .72rem; }
.archive-nav-group[open] > summary::after { content: '−'; }
.archive-nav-group > a { display: block; width: 100%; padding: 8px 11px 8px 20px; border-radius: 4px; color: #d0dbe2; font-size: .8rem; line-height: 1.3; text-decoration: none; white-space: normal; }
.archive-nav-group + .archive-nav-group { margin-top: 3px; border-top: 1px solid #294358; }
.about-mobile-archive { display: none; }
.hero { position: relative; min-height: 820px; overflow: hidden; background: var(--navy); border-bottom: 5px solid var(--gold); box-shadow: 0 8px 18px #071d3330; color-scheme: dark; }
.hero.has-match-center { overflow: visible; }
.hero.has-match-center .hero-crest { display: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("/pitch-bg.jpg") center/cover no-repeat; transform: rotate(180deg); opacity: .16; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--navy) 0%, #071d33cc 45%, var(--navy) 100%); }
.hero-visual { position: absolute; top: 50%; right: max(6vw, 40px); width: min(380px, 36vw); transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 24px; background: transparent; }
.hero-visual .hero-crest { width: min(200px, 56%); height: auto; filter: drop-shadow(0 18px 40px #000a); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; min-height: 820px; padding-top: 100px; padding-bottom: 55px; text-align: left; }
.hero-copy { width: min(680px, 58%); z-index: 1; transform: translateY(-42px); }
.hero-title-crest { display: none; }
.hero h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(3.1rem, 7vw, 6.2rem); letter-spacing: -.055em; color: #f1f5f7; }
.hero h1 span { color: var(--gold); }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 14px; }
h2 { font-size: 2rem; }
.intro { max-width: 500px; margin: 0; color: #405668; font-size: 1.2rem; }
.ask-form, .search-form { display: flex; gap: 8px; }
.ask-form { max-width: 620px; margin: 42px 0 0; }
.hero .ask-form input { background: #0c2434; color: #f1f5f7; border-color: #52728d; }
.hero .ask-form button { background: var(--gold); border-color: var(--gold); color: #1a1305; }
.hero .ask-form button:hover { filter: brightness(1.08); }
.answer-shirt-numbers { margin: 10px 0 14px; }
.answer-shirt-numbers h3 { margin: 0 0 8px; color: var(--gold); font-size: 1rem; }
.random-question { display: inline-flex; align-items: center; gap: 5px; margin: 10px 0 0; padding: 4px 0; border: 0; background: transparent; color: var(--muted); font-size: .86rem; font-weight: 600; }
.hero .random-question { color: #9aafbd; }
.hero .random-question:hover { color: #f1f5f7; text-decoration: underline; text-underline-offset: 4px; }
.question-hint { margin: 8px 0 0; color: #5f7180; font-size: .84rem; }
.hero .question-hint { color: #9aafbd; }
input, button { border: 1px solid var(--line); border-radius: 8px; font: inherit; }
input { min-width: 0; flex: 1; padding: 13px 15px; background: #fff; color: var(--text); }
button { cursor: pointer; padding: 11px 17px; background: var(--navy); color: #fff; font-weight: 700; }
button:hover { filter: brightness(1.08); }
.chips { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips button { padding: 7px 11px; background: transparent; border-color: #52728d; color: var(--navy); font-size: .88rem; }
.answer { max-width: 760px; margin: 48px 0 0; padding: 22px 26px; border: 1px solid #52728d; border-radius: 10px; background: #071824; box-shadow: 0 16px 35px #0003; color: #f1f5f7; text-align: left; }
.answer-question { margin: 0 0 10px; color: #9aafbd; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.answer-text { margin: 0; color: #f1f5f7; white-space: pre-wrap; }
.answer-reference { color: var(--gold); text-decoration: underline; text-decoration-color: #f4c85d88; text-underline-offset: 3px; }
.answer-reference:hover { color: #fff; }
.answer-hint { margin: 14px 0 0; color: #9aafbd; font-size: .82rem; }
.answer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.answer-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid #52728d; background: #0c2434; color: #f4c85d; text-decoration: none; font-size: .82rem; transition: background .15s, color .15s; }
.answer-chip:hover { background: var(--gold); color: #071824; }
.answer-loading { color: #9aafbd; }
.answer-followups { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #52728d; }
.answer-followups span { width: 100%; color: #9aafbd; font-size: .82rem; }
.answer-followups button { padding: 7px 10px; background: transparent; border-color: #52728d; color: #f1f5f7; font-size: .82rem; }
.browse-subjects { margin-left: 20px; }
.subject-results { max-width: 760px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #52728d; text-align: left; color: #f1f5f7; }
.subject-results h2, .subject-results h3, .subject-results h4 { margin: 0 0 12px; font-size: 1rem; letter-spacing: 0; }
.subject-results h2 { color: #9aafbd; font-size: .85rem; font-weight: 600; }
.subject-chips, .subject-archive-links { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chip { max-width: 100%; padding: 8px 12px; border-radius: 6px; border-color: #52728d; background: #0c2434; color: #f4c85d; font-size: .85rem; text-align: left; overflow-wrap: anywhere; }
.subject-chip:hover, .subject-chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #071824; }
.subject-chip:focus-visible, .subject-results button:focus-visible { outline: 2px solid #f4c85d; outline-offset: 3px; }
.subject-detail { margin-top: 20px; padding-top: 16px; border-top: 1px solid #33495c; }
.subject-archive-links button { max-width: 100%; padding: 8px 0; border: 0; background: transparent; color: #f1f5f7; text-decoration: underline; text-underline-offset: 4px; font-size: .86rem; text-align: left; overflow-wrap: anywhere; }
.subject-archive-links { column-gap: 20px; }
.subject-material { margin-top: 16px; }
.subject-material p { margin: 0; color: #9aafbd; font-size: .85rem; }
.subject-material button { display: block; width: 100%; margin-top: 8px; padding: 10px 0; border: 0; border-bottom: 1px solid #33495c; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; overflow-wrap: anywhere; }
.subject-material button small { display: block; margin-top: 4px; color: #9aafbd; font-size: .8rem; }
.subject-results .answer-followups { margin-top: 20px; }
.subject-results .answer-followups button { max-width: 100%; text-align: left; overflow-wrap: anywhere; }
.opponent-competition-controls, .match-archive-controls { --filter-bg: #fff; --filter-text: var(--text); --filter-muted: var(--muted); --filter-border: #90a4b5; --filter-focus: var(--blue); --filter-scheme: light; }
dialog .opponent-competition-controls, dialog .match-archive-controls { --filter-bg: #163246; --filter-text: #f1f5f7; --filter-muted: #b7c8d3; --filter-border: #64859b; --filter-focus: #f4c85d; --filter-scheme: dark; }
.archive-overview-controls.opponent-competition-controls { display: flex; flex-wrap: wrap; align-items: start; gap: 16px; margin: 0 0 18px; padding: 0; border-bottom: 0; }
.archive-overview-controls.opponent-competition-controls label, .match-archive-controls .match-notable-control, .match-archive-controls .match-record-control { position: relative; display: grid; gap: 8px; min-width: 0; color: var(--filter-muted); font-size: .85rem; font-weight: 600; }
.archive-overview-controls.opponent-competition-controls label { flex: 0 1 320px; width: min(320px, 100%); max-width: 100%; }
.opponent-competition-controls label.hidden { display: none; }
.archive-overview-controls.opponent-competition-controls label::after, .match-notable-control::after, .match-record-control::after { content: ''; position: absolute; right: 17px; bottom: 22px; width: 8px; height: 8px; border-right: 2px solid var(--filter-text); border-bottom: 2px solid var(--filter-text); transform: rotate(45deg); pointer-events: none; }
.archive-overview-controls.opponent-competition-controls select, .match-archive-controls .match-notable-control select, .match-archive-controls .match-record-control select { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; height: 48px; min-height: 48px; padding: 0 42px 0 14px; border: 1px solid var(--filter-border); border-radius: 6px; background: var(--filter-bg); color: var(--filter-text); color-scheme: var(--filter-scheme); font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.25; cursor: pointer; transition: border-color .15s; }
.archive-overview-controls.opponent-competition-controls select:hover, .match-archive-controls .match-notable-control select:hover, .match-archive-controls .match-record-control select:hover { border-color: var(--filter-focus); }
.archive-overview-controls.opponent-competition-controls select:focus-visible, .match-archive-controls .match-notable-control select:focus-visible, .match-archive-controls .match-record-control select:focus-visible { border-color: var(--filter-focus); outline: 2px solid var(--filter-focus); outline-offset: 2px; }
.opponent-competition-scope { margin: 0 0 16px; color: var(--gold); font-size: .86rem; }
.coach-contract-summary { display: grid; gap: 4px; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--gold); }
.coach-contract-summary strong { color: #f4c85d; font-size: .9rem; }
.coach-contract-summary span { color: #9aafbd; font-size: .82rem; }
.answer-registered-arrivals h3 { margin: 0 0 12px; color: #f4c85d; font-size: 1rem; }
.answer-registered-arrivals ul { margin: 16px 0 0; padding: 0; list-style: none; }
.answer-registered-arrivals li { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid #33495c; }
.answer-registered-arrivals li span { color: #9aafbd; font-size: .82rem; }
.answer-feedback { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #33495c; }
.answer-feedback-label, .answer-feedback-thanks { color: #9aafbd; font-size: .78rem; }
.answer-feedback-btn { padding: 4px 9px; background: transparent; border: 1px solid #52728d; border-radius: 8px; font-size: .95rem; line-height: 1; cursor: pointer; opacity: .75; transition: opacity .15s, border-color .15s; }
.answer-feedback-btn:hover:not(:disabled) { opacity: 1; border-color: var(--gold); }
.answer-feedback-btn:disabled { cursor: default; }
.answer-feedback-btn-chosen { opacity: 1; border-color: var(--gold); }
.answer-squad { margin-top: 18px; }
.answer-squad h3 { margin: 0 0 10px; }
.answer-squad .contract-countdown { display: block; margin-top: 2px; color: #9aafbd; font-size: .72rem; white-space: nowrap; }
.answer-squad .squad-contract-status { display: block; margin-top: 3px; color: #9aafbd; font-size: .72rem; font-weight: 400; }
.answer-squad .squad-shirt-number { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.answer-squad .squad-contract-date { white-space: nowrap; }
.topic-options { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.topic-options button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; background: #0c2434; border: 1px solid #52728d; }
.topic-options button strong { color: var(--gold); }
.topic-options button span { color: #f1f5f7; font-weight: 400; font-size: .88rem; }
.answer-table-wrap { overflow-x: auto; }
.unofficial-match-footnote { margin: 8px 0 0; font-size: .82rem; }
.answer-squad table { min-width: 650px; }
.current-squad-table .answer-table-wrap { overflow: visible; }
.answer-squad th, .answer-squad td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.answer-squad th { color: #9aafbd; font-size: .78rem; letter-spacing: .025em; text-transform: uppercase; }
.answer-squad .squad-sort-heading { padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; font-weight: inherit; text-align: inherit; white-space: nowrap; }
.answer-squad .squad-sort-heading:hover, .answer-squad .squad-sort-heading:focus-visible, .answer-squad .squad-sort-heading.active { color: var(--gold); }
.answer-squad .squad-player-flag { display: inline-block; margin-right: 3px; font-size: .92em; }
.answer-squad.current-squad-table th { position: sticky; top: 0; z-index: 4; background: #0e2030; box-shadow: 0 1px 0 var(--line); }
.answer-squad td:not(:first-child), .answer-squad th:not(:first-child) { text-align: right; }
.answer-person-link { padding: 0; border: 0; background: transparent; color: var(--gold); text-align: left; }
.answer-year-summary h3 { margin: 18px 0 10px; }
.answer-year-summary h4 { margin-bottom: 8px; }
.answer-year-summary .team-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.answer-scorers { margin: 0; padding-left: 22px; }
.answer-scorers li { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; }
.year-summary-matches .match-row { grid-template-columns: 28px 112px 42px minmax(0, 1fr) 64px; gap: 12px; color: #f1f5f7; }
.year-summary-matches .match-date { color: #9aafbd; white-space: nowrap; }
.year-summary-matches .match-opponent { color: #f1f5f7; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.year-summary-matches .match-score { white-space: nowrap; }
.hidden { display: none !important; }
.hero-caption { position: absolute; bottom: 26px; left: 0; right: 0; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.hero-caption span::before { content: "· "; }
.main { padding: 0 0 80px; }
.player-current-squad-section { scroll-margin-top: 16px; }
.current-squad-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.current-squad-heading h3 { margin: 0; }
.current-squad-heading h3:last-child { color: #8799a6; }
.player-current-squad-section.is-year-mode .current-squad-heading h3:first-child { color: #8799a6; }
.player-current-squad-section.is-year-mode .current-squad-heading h3:last-child { color: #f1f5f7; }
.current-squad-mode-switch { position: relative; display: inline-flex; width: 52px; height: 30px; flex: 0 0 52px; cursor: pointer; }
.current-squad-mode-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.current-squad-mode-slider { position: absolute; inset: 0; border: 1px solid #506a78; border-radius: 999px; background: #263d4d; transition: background .18s ease, border-color .18s ease; }
.current-squad-mode-slider::before { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #aab7c0; content: ""; transition: transform .18s ease, background .18s ease; }
.current-squad-mode-switch input:checked + .current-squad-mode-slider { border-color: #45a768; background: #246b42; }
.current-squad-mode-switch input:checked + .current-squad-mode-slider::before { transform: translateX(22px); background: #59d17f; }
.current-squad-mode-switch input:focus-visible + .current-squad-mode-slider { outline: 2px solid var(--gold); outline-offset: 3px; }
.current-squad-card-note { margin: 10px 0; color: #a8b9c4; font-size: .78rem; }
.squad-current-yellow-cards { color: #f0d27c; font-weight: 700; white-space: nowrap; }
.squad-yellow-card-icons, .squad-suspension-indicator { white-space: nowrap; }
.squad-suspension-indicator { margin-left: 4px; }
.quick-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 34px; margin: 0 auto 72px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.quick-links a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.quick-links a:hover { color: var(--gold); }
.quick-links a[data-view].active-view, .nav-primary[data-view].active-view { color: var(--gold); font-weight: 700; }
.archive-nav-inline .archive-nav-menu { right: auto; left: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 14px; }
.search-form { width: min(560px, 100%); }
.section-heading .search-form input { min-width: 220px; }
.memorable-match-filter { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.memorable-match-filter input { width: auto; margin: 0; }
.memorable-match-stars { color: var(--gold); font-size: .78rem; white-space: nowrap; }
.dream-goal-mark, .match-editorial-badge { display: inline-flex; align-items: baseline; gap: 4px; }
.editorial-hint { display: none; color: #91a5b3; font-size: .68rem; font-weight: 500; }
html.editorial-hints-enabled .editorial-hint { display: inline; }
.match-weather-label { display: block; margin-top: 2px; color: #79c8d8; font-size: .66rem; line-height: 1.2; }
.team-result { margin: 0 0 22px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.team-result-link { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; color: var(--text); text-decoration: none; }
dialog .team-result-link { color: #f1f5f7; }
.team-result-link strong { font-size: 1.25rem; }
.team-result-link span { color: var(--muted); font-size: .88rem; }
.venue-area-card { margin: 22px 0; padding: 18px; border: 1px solid #395267; border-left: 4px solid var(--gold); border-radius: 8px; background: #102a3e; }
.venue-area-card .eyebrow { margin-bottom: 5px; color: var(--gold); }
.venue-area-card h3 { margin: 0 0 5px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; }
.venue-area-card > p:not(.eyebrow) { margin: 0 0 14px; }
.venue-area-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.venue-area-members button { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #395267; background: #0c2232; color: #f1f5f7; text-align: left; }
.venue-area-members button[aria-current="true"] { border-color: var(--gold); }
.venue-area-members button:hover { border-color: var(--gold); }
.venue-area-members small { color: #9aafbd; }
.venue-area-members button > span { color: var(--gold); font-size: .82rem; }
.venue-area-members button > .venue-area-current { color: #b7c8d3; font-size: .72rem; font-weight: 600; }
.opponent-directory-heading { margin: 8px 0 18px; }
.opponent-directory-heading .eyebrow { margin-bottom: 4px; }
.opponent-directory-heading h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; font-weight: 500; }
.opponent-directory { border-top: 1px solid var(--line); }
.opponent-directory-row { display: grid; grid-template-columns: 34px 34px minmax(0, 1fr) 72px 20px; align-items: center; gap: 13px; width: 100%; padding: 11px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: left; font-weight: 400; }
.opponent-directory-row:hover, .opponent-directory-row:focus-visible { background: #f3f7f9; }
.opponent-directory-row:hover .opponent-directory-name strong,
.opponent-directory-row:focus-visible .opponent-directory-name strong { color: var(--text); }
.opponent-directory-rank { color: #8293a0; font-size: .72rem; font-variant-numeric: tabular-nums; }
.opponent-directory-row .match-opponent-crest { width: 30px; height: 30px; flex-basis: 30px; }
.opponent-directory-row.has-streak-metric { grid-template-columns: 34px 34px minmax(0, 1fr) minmax(108px, auto) 20px; }
.opponent-directory-name { display: grid; gap: 2px; min-width: 0; }
.opponent-directory-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opponent-directory-name strong { color: var(--text); }
.opponent-directory-name small, .opponent-directory-count small { color: var(--muted); font-size: .72rem; }
.opponent-directory-count { display: grid; justify-items: end; gap: 0; }
.opponent-directory-count strong { color: var(--gold); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.opponent-win-loss-meter { display: grid; gap: 4px; width: min(100%, 300px); margin-top: 10px; }
.opponent-win-loss-meter.tone-positive { --win-loss-tone: #54b987; }
.opponent-win-loss-meter.tone-neutral { --win-loss-tone: #e5b94e; }
.opponent-win-loss-meter.tone-negative { --win-loss-tone: #d96c68; }
.opponent-win-loss-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #c4d0d8; font-size: .7rem; }
.opponent-win-loss-heading strong { color: #dce5ea; font-size: .72rem; }
.opponent-win-loss-heading span { color: var(--win-loss-tone); font-size: .68rem; }
.opponent-win-loss-track { position: relative; height: 8px; overflow: visible; border-radius: 5px; background: #33495c; }
.opponent-win-loss-fill { position: absolute; top: 0; bottom: 0; left: 0; width: var(--win-loss-position); border-radius: inherit; background: var(--win-loss-tone); }
.opponent-win-loss-normal { position: absolute; top: -3px; bottom: -3px; left: 50%; border-left: 2px solid #f1f5f7; opacity: .85; }
.opponent-win-loss-current { position: absolute; top: -2px; left: var(--win-loss-position); width: 3px; height: 12px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px #0b1f30; transform: translateX(-50%); }
.opponent-win-loss-scale { display: flex; justify-content: space-between; color: #8195a4; font-size: .61rem; font-variant-numeric: tabular-nums; }
.opponent-win-loss-meter > small { color: #9aafbd; font-size: .68rem; }
.opponent-win-loss-meter.tiny { width: 52px; margin-top: 4px; }
.opponent-win-loss-meter.tiny .opponent-win-loss-track { height: 6px; }
.opponent-directory-row .match-arrow { color: #8999a4; }
.rivalry-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: 18px; padding: 18px 22px 20px; border-bottom: 1px solid #395267; background: #0b1f30; color: #f1f5f7; }
.rivalry-hero h3 { margin: 0 0 8px; color: #f1f5f7; font-size: 1.25rem; }
.rivalry-hero p:last-child { margin: 0; color: #9aafbd; font-size: .84rem; }
.rivalry-summary { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 8px; color: #9aafbd; font-size: .72rem; }
.rivalry-summary strong { color: var(--gold); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.rivalry-tabs, .rivalry-metric-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.rivalry-tabs button, .rivalry-metric-tabs button { padding: 7px 10px; border: 1px solid #395267; border-radius: 5px; background: transparent; color: #b9c8d1; font-size: .8rem; }
.rivalry-tabs button.active, .rivalry-metric-tabs button.active { border-color: var(--gold); background: #263321; color: #f1d98f; }
.rivalry-designated-group { margin: 18px 0 26px; }
.rivalry-designated-list, .rivalry-team-list, .rivalry-people-list { border-top: 1px solid #294358; }
.rivalry-designated-row, .rivalry-team-row, .rivalry-person-row { display: grid; align-items: center; gap: 12px; width: 100%; padding: 10px 6px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; font-weight: 400; }
.rivalry-designated-row { grid-template-columns: 32px minmax(0, 1fr) minmax(110px, auto); }
.rivalry-team-row { grid-template-columns: 28px 30px minmax(150px, 1fr) 56px 120px 52px 16px; }
.rivalry-person-row { grid-template-columns: 40px minmax(160px, .8fr) minmax(130px, auto) minmax(180px, 1.5fr); }
.rivalry-designated-row:hover, .rivalry-team-row:hover, .rivalry-person-row:hover { background: #102a3e; }
.rivalry-designated-row .match-opponent-crest, .rivalry-team-row .match-opponent-crest { width: 28px; height: 28px; flex-basis: 28px; }
.rivalry-designated-row > span:nth-child(2), .rivalry-person-name { display: grid; gap: 3px; min-width: 0; }
.rivalry-designated-row strong, .rivalry-team-name strong, .rivalry-person-name strong { overflow: hidden; color: #f1f5f7; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.rivalry-designated-row small, .rivalry-person-name small { color: #9aafbd; font-size: .72rem; }
.rivalry-designation { justify-self: end; color: var(--gold); font-size: .76rem; font-weight: 700; }
.rivalry-team-rank { color: #8195a4; font-size: .72rem; font-variant-numeric: tabular-nums; }
.rivalry-team-name { display: grid; gap: 2px; min-width: 0; }
.rivalry-team-row .rivalry-team-name > strong { color: #fff; text-shadow: 0 1px 2px #071824; }
.rivalry-team-name small, .rivalry-person-record { color: #9aafbd; font-size: .72rem; }
.rivalry-team-count { display: grid; justify-items: end; gap: 1px; }
.rivalry-team-count strong { color: var(--gold); font-size: .94rem; font-variant-numeric: tabular-nums; }
.rivalry-team-count small { color: #8195a4; font-size: .64rem; }
.rivalry-team-record { color: #b9c8d1; font-size: .7rem; white-space: nowrap; }
.rivalry-person-note { color: #b9c8d1; font-size: .76rem; }
.rivalry-people-note { color: #9aafbd; font-size: .8rem; }
.rivalry-metric-section { margin-top: 28px; }
.rivalry-streak-leaderboards { margin: 28px 0; }
.rivalry-streak-filter { display: flex; align-items: center; gap: 8px; color: #b9c8d1; font-size: .78rem; }
.rivalry-streak-filter select { max-width: min(100%, 340px); padding: 7px 28px 7px 9px; border: 1px solid #395267; border-radius: 5px; background: #0c2232; color: #e7eef2; font: inherit; }
.rivalry-streak-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rivalry-streak-card { min-width: 0; padding: 14px; border: 1px solid #294358; border-radius: 9px; background: #0c2232; }
.rivalry-streak-card h4 { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 8px; color: #e7eef2; font-size: .88rem; }
.rivalry-streak-card h4 span { color: #9aafbd; font-size: .7rem; font-weight: 500; white-space: nowrap; }
.rivalry-streak-card.negative { border-top: 2px solid #c98d42; }
.rivalry-streak-card.positive { border-top: 2px solid #4f9a77; }
.rivalry-streak-row { display: grid; grid-template-columns: 22px 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: inherit; text-align: left; font-weight: 400; }
.rivalry-streak-row:last-of-type { border-bottom: 0; }
.rivalry-streak-row:hover, .rivalry-streak-row:focus-visible { background: #102a3e; }
.rivalry-streak-row .match-opponent-crest { width: 26px; height: 26px; flex-basis: 26px; }
.rivalry-streak-rank { color: #8195a4; font-size: .72rem; font-variant-numeric: tabular-nums; }
.rivalry-streak-team { display: grid; gap: 2px; min-width: 0; }
.rivalry-streak-team strong { overflow: hidden; color: #f1f5f7; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.rivalry-streak-team small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: #9aafbd; font-size: .66rem; }
.rivalry-streak-team .current-squad-badge { font-size: .62rem; }
.rivalry-streak-count { display: grid; justify-items: end; color: var(--gold); font-size: .88rem; font-variant-numeric: tabular-nums; }
.rivalry-streak-count small { color: #9aafbd; font-size: .63rem; font-weight: 400; }
.historical-identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 8px 0 0; color: #b5c3cc; font-size: .78rem; line-height: 1.45; }
.historical-identity strong, .historical-directory-label { color: #d4a944 !important; font-size: .72rem !important; font-weight: 700; }
.historical-identity button { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: #d2aa5488; text-underline-offset: 3px; }
.historical-identity button:hover { color: var(--gold); }
.team-header { display: flex; align-items: center; gap: 16px; }
.team-biography { max-width: 760px; margin-top: 20px; }
.team-biography p { margin: 0; white-space: pre-line; }
.venue-detail-link { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.venue-detail-link:hover { color: var(--gold); }
.venue-aliases { margin: 8px 0 0; color: var(--muted); font-size: .85rem; }
.venue-aliases span { color: var(--gold); font-weight: 700; }
.venue-surface-badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 8px; border: 1px solid #486173; border-radius: 999px; background: #142a38; color: #dce8ed; font-size: .76rem; font-weight: 700; line-height: 1.3; vertical-align: middle; white-space: nowrap; }
.venue-surface-badge > span { font-size: .9em; }
.venue-surface-natural { border-color: #47744e; background: #192d25; color: #bde2bd; }
.venue-surface-hybrid { border-color: #68714a; background: #282b22; color: #d5dca7; }
.venue-surface-artificial { border-color: #735d54; background: #2d2726; color: #d4b5a8; }
.venue-surface-gravel { border-color: #8d765a; background: #30291f; color: #e7cfab; }
.venue-surface-indoor { border-color: #887050; background: #302820; color: #efd4ab; }
.match-streak-comment { margin: 8px 0 0; color: #f4c85d; font-size: .9rem; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.allsvenskan-historic-streaks { margin-top: 16px; padding: 14px; border: 1px solid #294358; border-radius: 8px; background: #10283a; color: #e2e8ed; }
.allsvenskan-historic-streaks > h3 { margin-top: 0; color: #f1f5f7; }
.allsvenskan-record-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.allsvenskan-record-list h4 { margin: 8px 0; color: #e6c36e; }
.allsvenskan-record-list ol { margin: 0; padding-left: 22px; }
.allsvenskan-record-list li { margin: 5px 0; color: #e2e8ed; line-height: 1.5; }
.allsvenskan-record-list li strong { color: #f4d27c; }
.allsvenskan-record-list .muted { display: inline; }
.allsvenskan-historic-streaks > .muted { color: #b8c6d1; line-height: 1.5; }
.allsvenskan-record-comment { color: #f5d67b; }
@media (max-width: 680px) { .allsvenskan-record-lists { grid-template-columns: minmax(0, 1fr); } }
.match-streak-section { padding: 14px; border: 1px solid #725a30; border-radius: 7px; background: linear-gradient(135deg, #332a1c 0%, #182635 75%); }
.match-streak-section h3 { margin-top: 0; }
.match-streak-groups { display: grid; gap: 14px; }
.match-streak-category h4 { margin: 0; padding: 7px 0; border-bottom: 1px solid #725a3055; color: #e6c36e; font-size: .78rem; }
.match-streak-section ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.match-streak-section li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: baseline; gap: 7px; padding: 8px 2px; border-bottom: 1px solid #ffffff12; color: #f4d89b; font-size: .86rem; line-height: 1.45; }
.match-streak-section li:last-child { border-bottom: 0; }
.match-streak-icon { text-align: center; }
.match-streak-copy { display: grid; gap: 6px; }
.match-streak-meter { display: block; width: min(280px, 100%); height: 5px; overflow: hidden; border-radius: 999px; background: #ffffff20; }
.match-streak-meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8a6a30, #f4c85d); }
.match-streak-record { color: #d8bd78; font-size: .68rem; font-weight: 600; }
.match-streak-section .muted { margin: 10px 0 0; font-size: .78rem; }
.match-opponent-records { padding: 14px; border: 1px solid #294358; border-radius: 7px; background: #10283a; }
.match-opponent-records h3 { margin-top: 0; color: #e6c36e; }
.match-opponent-records ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.match-opponent-records li { padding-left: 2px; color: #c8d3da; line-height: 1.5; }
.match-opponent-records li::marker { color: #e6c36e; }
.match-opponent-records .match-person-link { font-weight: 650; }
.match-opponent-records .muted { margin: 10px 0 0; font-size: .78rem; }
.match-momentum-labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.match-momentum-labels span { padding: 4px 8px; border: 1px solid #725a30; border-radius: 999px; background: #332a1c; color: #f4d89b; font-size: .75rem; font-weight: 700; }
.venue-name-history { max-width: 680px; margin: 24px 0; }
.venue-origin-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; width: fit-content; margin: 8px 0 0; padding: 7px 11px; border: 1px solid #725a30; border-radius: 7px; background: #1a2830; }
.venue-origin-name span { color: #c49a4a; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.venue-origin-name strong { color: #f4d89b; font-size: .9rem; }
.venue-short-bio { max-width: 680px; margin: 12px 0 18px; color: #d6e0e6; line-height: 1.65; white-space: pre-line; }
.venue-name-history h3 { margin: 0 0 10px; color: #f1f5f7; font-size: 1rem; }
.venue-name-history > p { margin: -4px 0 12px; color: #879ba9; font-size: .74rem; line-height: 1.45; }
.venue-name-history ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-left: 1px solid #395267; }
.venue-timeline-item { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 12px; padding: 8px 0 12px 16px; }
.venue-timeline-item::before { position: absolute; top: 14px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--panel); border-radius: 50%; background: #8fa5b2; content: ''; }
.venue-timeline-item time { color: #9aafbd; font-size: .74rem; font-variant-numeric: tabular-nums; }
.venue-timeline-item div { display: grid; gap: 3px; min-width: 0; }
.venue-timeline-item strong { color: #e5edf1; font-size: .84rem; overflow-wrap: anywhere; }
.venue-timeline-item small, .venue-timeline-item span { color: #879ba9; font-size: .68rem; line-height: 1.4; overflow-wrap: anywhere; }
.venue-timeline-name-change { margin: 3px 0 8px; padding: 11px 10px 12px 16px; border: 1px solid #725a30; border-radius: 8px; background: linear-gradient(100deg, #332a1c, #142838 75%); }
.venue-timeline-name-change::before { top: 14px; background: var(--gold); }
.venue-timeline-name-change small { color: #e1b957; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.venue-timeline-name-change strong { color: #fff0c7; font-size: .98rem; line-height: 1.35; }
.venue-timeline-name-change span { font-size: .74rem; }
.venue-timeline-surface .venue-surface-badge { font-size: .82rem; }
.venue-timeline-item:last-child::before { background: var(--gold); }
.venue-timeline-item:last-child strong { color: var(--gold); }
.venue-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.player-search-results { display: grid; gap: 0; margin: 0 0 18px; }
.player-search-results:empty { margin: 0; }
.player-search-result { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; padding: 11px 12px; border: 1px solid #d7e3e9; border-left: 4px solid var(--blue); border-radius: 6px; background: #f3f8fa; color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: background .15s, border-color .15s; }
.player-search-result:hover { background: #e9f2f6; border-color: #b7cdd8; }
.player-search-result:hover strong { color: var(--gold); }
.player-search-result strong { font-size: 1rem; }
.player-search-result span { color: var(--muted); font-size: .85rem; }
.coach-search-result { display: block; border-left-color: var(--gold); }
.coach-search-result > strong,
.coach-search-result > span { display: block; }
.coach-search-medals { margin-top: 4px; }
.coach-search-medals strong { color: var(--gold); font-size: inherit; }
.search-result { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 11px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: left; }
.search-result:hover strong { color: var(--gold); }
.search-result span { color: var(--muted); font-size: .85rem; }
dialog #match-detail .detail-section .search-result { color: #f1f5f7; }
dialog #match-detail .detail-section .search-result:hover strong,
dialog #match-detail .detail-section .search-result:focus-visible strong { color: #e6c36e; }
dialog #match-detail .detail-section .search-result span { color: #b5c3cc; }
.dream-goal-stars { color: var(--gold); letter-spacing: .08em; white-space: nowrap; }
.dream-goal-list { display: grid; gap: 6px; }
.dream-goal-link { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 10px; width: 100%; padding: 9px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #102a3e; color: #f1f5f7; text-align: left; }
.dream-goal-link:hover, .dream-goal-link:focus-visible { background: #17364b; color: #fff; }
.dream-goal-link .dream-goal-match-info { color: #e2ebf1; font-size: .84rem; line-height: 1.45; }
.dream-goal-link:hover .dream-goal-match-info { color: #fff; }
.team-crest { width: 56px; height: 56px; object-fit: contain; flex: none; }
.team-flag { font-size: 1.3rem; vertical-align: middle; }
.team-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px; background: var(--line); }
.season-summary { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.season-summary span { white-space: nowrap; }
.season-summary.season-summary-with-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.season-summary-with-facts span { white-space: normal; }
.season-header-coaches { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 8px 0 18px; font-size: .88rem; }
.season-header-coaches > span:first-child { color: var(--muted); }
.season-header-coaches .season-coach-separator { color: var(--gold); }
@media (max-width: 700px) {
  .season-summary.season-summary-with-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.team-stats div { padding: 16px 10px; background: var(--panel); text-align: center; }
.team-stats strong, .team-stats span { display: block; }
.team-stats strong { color: var(--gold); font-size: 1.5rem; }
.team-stats span { color: var(--muted); font-size: .78rem; }
.player-career-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; background: #294358; }
.player-career-stats span { color: #9aafbd; }
@media (max-width: 700px) {
  .player-career-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.team-match-list { border-top: 1px solid var(--line); }
.opponent-profile-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: start; gap: 34px; padding: 18px 4px 20px; border-bottom: 1px solid #395267; }
.opponent-profile-identity { position: relative; min-width: 0; padding-right: 124px; }
.opponent-profile-identity .eyebrow { margin-bottom: 12px; }
.opponent-profile-identity h2 { margin: 0; color: #f3f5f5; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 5vw, 3.35rem); font-weight: 500; line-height: 1.02; overflow-wrap: anywhere; }
.opponent-profile-identity .detail-meta { margin: 10px 0 0; }
.team-history-mode { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.team-history-mode button { min-height: 34px; padding: 6px 10px; border: 1px solid #395267; border-radius: 4px; background: #0c2232; color: #c4d0d8; font: inherit; font-size: .72rem; }
.team-history-mode button:hover, .team-history-mode button.active { border-color: var(--gold); color: var(--gold); }
.team-history-scope-note { margin: 8px 0 0; color: #9aafbd; font-size: .72rem; }
.opponent-profile-crest { position: absolute; right: 0; bottom: 0; width: 108px; height: 108px; object-fit: contain; opacity: .9; }
.opponent-profile-bio { max-width: 620px; margin: 17px 0 0; color: #c3d0d7; font-size: .92rem; line-height: 1.55; white-space: pre-line; }
.opponent-profile-record { min-width: 0; padding: 0 0 3px; }
.opponent-record-score { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: #aab9c3; font-size: .72rem; }
.opponent-record-score strong { color: #f3f5f5; font-size: 1.32rem; font-variant-numeric: tabular-nums; }
.opponent-record-score strong:first-child { color: var(--gold); }
.opponent-record-score i { margin: 0 3px; color: #627788; font-style: normal; }
.opponent-record-bar { display: flex; height: 8px; margin: 13px 0 8px; overflow: hidden; border-radius: 2px; background: #1e3648; }
.opponent-record-bar span { display: block; height: 100%; }
.opponent-record-wins { background: #d2aa54; }
.opponent-record-draws { background: #728899; }
.opponent-record-losses { background: #a75e54; }
.opponent-record-caption { color: #8599a7; font-size: .72rem; }
.opponent-profile-nav { position: sticky; top: 56px; z-index: 4; display: flex; gap: 23px; margin: 0 -4px; padding: 14px 4px; overflow-x: auto; border-bottom: 1px solid #294358; background: var(--panel); scrollbar-width: thin; }
.opponent-profile-nav a { flex: none; color: #aab9c3; font-size: .8rem; text-decoration: none; }
.opponent-profile-nav a:hover { color: var(--gold); }
dialog.archive-view-dialog:has(.opponent-profile-hero) { padding-top: 10px; }
dialog.archive-view-dialog:has(.opponent-profile-hero) .match-dialog-sticky { margin-bottom: 8px; }
.opponent-profile-hero + .opponent-competition-controls { margin-top: 16px; margin-bottom: 0; }
.opponent-profile-hero + .opponent-competition-controls + .opponent-competition-scope { margin: 7px 0 15px; color: #91a5b3; font-size: .72rem; }
.opponent-rivalry-briefing { margin: 0 0 13px; padding: 16px 18px 13px; border: 1px solid #4d6678; border-left: 4px solid var(--gold); border-radius: 8px; background: linear-gradient(125deg, #142e40, #0b2030 68%); }
.opponent-rivalry-intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.opponent-rivalry-intro .eyebrow { margin: 0 0 5px; color: var(--gold); }
.opponent-rivalry-intro h3 { margin: 0; color: #f4f5f3; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 500; }
.opponent-rivalry-intro h3 { max-width: 760px; font-size: clamp(1.55rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.12; }
.opponent-rivalry-intro > p { max-width: 360px; margin: 0; color: #c1d0d9; font-size: .84rem; line-height: 1.5; }
.opponent-rivalry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; }
.opponent-rivalry-stat { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 11px 12px; border: 1px solid #355164; border-radius: 6px; background: #071b2a80; }
.opponent-rivalry-stat > span { color: #aebfc9; font-size: .7rem; font-weight: 700; }
.opponent-rivalry-stat > strong { color: #fff; font-size: 1rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.opponent-rivalry-stat > small { color: #aebfc9; font-size: .68rem; line-height: 1.4; }
.opponent-streak-records { margin-top: 11px; overflow: hidden; border: 1px solid #355164; border-radius: 6px; background: #071b2a80; }
.opponent-streak-record-heading, .opponent-streak-record-row { display: grid; grid-template-columns: minmax(130px, .85fr) minmax(150px, 1fr) minmax(190px, 1.2fr); gap: 10px; padding: 8px 11px; }
.opponent-streak-record-heading { color: #aebfc9; font-size: .66rem; font-weight: 700; }
.opponent-streak-record-row { align-items: center; border-top: 1px solid #294358; }
.opponent-streak-record-row > strong { color: #f0d78e; font-size: .76rem; }
.opponent-streak-record-row > span { display: grid; gap: 2px; min-width: 0; }
.opponent-streak-record-row b { color: #f3f5f5; font-size: .73rem; font-variant-numeric: tabular-nums; font-weight: 650; }
.opponent-streak-record-row small, .opponent-streak-records > p { color: #9aafbd; font-size: .65rem; line-height: 1.4; overflow-wrap: anywhere; }
.opponent-streak-records > p { margin: 0; padding: 7px 11px 9px; border-top: 1px solid #294358; }
.opponent-historical-note { display: grid; gap: 6px; margin-top: 10px; padding: 11px 13px; border: 1px solid #806a32; border-radius: 6px; background: #322c1c70; }
.opponent-historical-note > div { display: flex; align-items: center; gap: 10px; }
.opponent-historical-note .eyebrow { margin: 0; color: #f0d78e; }
.opponent-historical-note-period { color: #f0d78e; font-size: .7rem; font-variant-numeric: tabular-nums; }
.opponent-historical-note p { margin: 0; color: #e5e2d7; font-size: .78rem; line-height: 1.5; }
.opponent-historical-note a { width: fit-content; color: #e8c86f; font-size: .68rem; text-decoration: underline; text-underline-offset: 2px; }
.opponent-rivalry-memory { display: grid; gap: 3px; width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid #355164; border-radius: 6px; background: #071b2a80; color: #fff; text-align: left; }
.opponent-rivalry-memory:hover { border-color: var(--gold); background: #102b3d; }
.opponent-rivalry-memory .eyebrow { margin: 0; color: var(--gold); font-size: .64rem; }
.opponent-rivalry-memory > strong { font-size: .85rem; }
.opponent-rivalry-memory > span:last-child { display: flex; justify-content: space-between; gap: 8px; color: #aebfc9; font-size: .7rem; }
.opponent-rivalry-memory b { color: var(--gold); }
.opponent-rivalry-chart-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; color: #f0d78e; font-size: .78rem; font-weight: 750; text-decoration: none; }
.opponent-rivalry-chart-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.opponent-rivalry-footnote { margin: 9px 0 0; color: #869ba9; font-size: .65rem; }
.opponent-profile-content { display: grid; gap: 0; }
.opponent-section { padding: 27px 4px 29px; border-bottom: 1px solid #294358; scroll-margin-top: 112px; }
.opponent-section-empty { padding-block: 12px; }
.opponent-section-empty .opponent-section-heading { margin-bottom: 4px; }
.opponent-section-empty .opponent-section-heading h3 { font-size: 1.15rem; }
.opponent-empty-state { margin: 0; color: #9aafbd; font-size: .82rem; }
.opponent-subsection-empty .opponent-section-heading { margin-bottom: 4px; }
.opponent-subsection-empty .opponent-section-heading h3 { font-size: 1.05rem; }
.opponent-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.team-lineage-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-left: 1px solid #395267; }
.team-lineage-event, .team-lineage-current { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px 0 16px 18px; }
.team-lineage-event::before, .team-lineage-current::before { position: absolute; left: -5px; top: 15px; width: 9px; height: 9px; border: 2px solid var(--panel); border-radius: 50%; background: var(--gold); content: ''; }
.team-lineage-event > time, .team-lineage-current > time { color: var(--gold); font-size: .76rem; font-variant-numeric: tabular-nums; }
.team-lineage-branch { display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); align-items: center; gap: 12px; }
.team-lineage-predecessors { display: grid; justify-items: end; gap: 5px; }
.team-lineage-branch button { max-width: 100%; padding: 7px 10px; border: 1px solid #395267; border-radius: 4px; background: #102a3e; color: #f1f5f7; font: inherit; font-size: .78rem; text-align: left; overflow-wrap: anywhere; }
.team-lineage-team { display: flex; align-items: center; gap: 8px; }
.team-lineage-team .match-opponent-crest { width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }
.team-lineage-team > span:last-child { min-width: 0; }
.team-lineage-branch button:hover { border-color: var(--gold); color: var(--gold); }
.team-lineage-relationship { display: grid; justify-items: center; gap: 3px; color: #9aafbd; font-size: .66rem; text-align: center; }
.team-lineage-relationship b { color: var(--gold); font-size: 1rem; }
.team-lineage-current-team { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.team-lineage-current-team .match-opponent-crest { width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }
.team-lineage-current-team > strong { color: #f1f5f7; font-size: .9rem; }
.team-lineage-current-team > small { flex-basis: 100%; padding-left: 38px; color: #879ba9; font-size: .68rem; }
@media (max-width: 560px) {
  .team-lineage-event, .team-lineage-current { grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding-left: 12px; }
  .team-lineage-branch { grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); gap: 5px; }
  .team-lineage-branch button { padding: 6px; font-size: .68rem; }
  .team-lineage-relationship { font-size: .58rem; }
}
.opponent-section-heading .eyebrow { margin: 0 0 3px; }
.opponent-section-heading h3 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; font-weight: 500; }
.opponent-section-count { flex: none; color: #8094a3; font-size: .72rem; }
.opponent-highlight-list { border-top: 1px solid #294358; }
.opponent-highlight { display: grid; grid-template-columns: 128px minmax(55px, auto) minmax(0, 1fr) 18px; align-items: center; gap: 14px; width: 100%; padding: 12px 5px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; cursor: pointer; }
.opponent-highlight .competition-badge, .opponent-highlight .competition-emoji, .opponent-highlight .competition-logo { margin-right: 5px; }
.opponent-highlight:hover { background: #102a3e; }
.opponent-highlight-date { color: #91a5b3; font-size: .78rem; }
.opponent-highlight > strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.opponent-highlight-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; color: var(--gold); font-size: .84rem; }
.opponent-highlight-label > span { color: #9fb0bc; white-space: nowrap; }
.opponent-subsection { margin-top: 27px; }
.opponent-subsection > .opponent-data-note { margin: 9px 0 0; }
.opponent-player-list { border-top: 1px solid #294358; }
.opponent-player-list-head, .opponent-player-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) repeat(3, minmax(72px, 84px)); align-items: center; gap: 12px; }
.opponent-player-stats { display: contents; }
.opponent-player-list-head { padding: 7px 0; border-bottom: 1px solid #395267; color: #91a5b3; font-size: .68rem; font-weight: 700; }
.opponent-player-threshold { grid-column: 1 / 3; }
.opponent-player-list-head > span:not(.opponent-player-threshold) { color: #f0c868; text-align: right; }
.opponent-player-row { min-height: 54px; border-bottom: 1px solid #294358; }
.opponent-player-rank { color: #73899a; font-size: .72rem; font-variant-numeric: tabular-nums; }
.opponent-player-name { display: grid; gap: 2px; min-width: 0; }
.opponent-player-name > span { color: #8498a6; font-size: .72rem; }
.opponent-player-stat { display: grid; justify-items: end; gap: 2px; font-size: .84rem; font-variant-numeric: tabular-nums; font-weight: 700; line-height: 1.2; text-align: right; }
.opponent-player-stat small { color: #8498a6; font-size: .62rem; font-weight: 500; line-height: 1.2; }
.opponent-player-stat-wins { color: #d2aa54; }
.opponent-player-stat-draws { color: #b4c1c9; }
.opponent-player-stat-losses { color: #d18a7d; }
.opponent-player-record { color: #b4c1c9; font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opponent-nemesis-list { border-top: 1px solid #294358; }
.opponent-nemesis-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(180px, auto); align-items: center; gap: 14px; min-height: 42px; border-bottom: 1px solid #294358; }
.opponent-nemesis-row > strong { color: var(--gold); font-variant-numeric: tabular-nums; text-align: right; }
.opponent-nemesis-row > strong small { color: #8498a6; font-size: .65rem; font-weight: 500; }
.opponent-nemesis-row > span:last-child { color: #9aafbd; font-size: .76rem; text-align: right; }
.opponent-data-note { color: #8195a4; font-size: .72rem; line-height: 1.5; }
.opponent-two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.opponent-timeline { position: relative; display: grid; gap: 0; border-top: 1px solid #294358; }
.opponent-timeline-row { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid #294358; }
.opponent-timeline-years { color: var(--gold); font-size: .75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opponent-timeline-row > div { display: grid; gap: 2px; min-width: 0; }
.opponent-timeline-row strong { overflow-wrap: anywhere; font-size: .84rem; font-weight: 600; }
.opponent-timeline-row > div > span, .opponent-timeline-row > small { color: #879ba9; font-size: .7rem; }
.opponent-timeline-row > small { text-align: right; white-space: nowrap; }
.opponent-coach-list { border-top: 1px solid #294358; }
.opponent-coach-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 42px; padding: 10px 0; border-bottom: 1px solid #294358; }
.opponent-coach-row > span { color: #879ba9; font-size: .72rem; text-align: right; }
.opponent-career-row { grid-template-columns: minmax(0, 1fr) auto; padding: 7px 0; }
.opponent-career-row .opponent-player-name > span { overflow-wrap: anywhere; }
.opponent-transfer-list { border-top: 1px solid #294358; }
.opponent-transfer-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px 14px; padding: 13px 0; border-bottom: 1px solid #294358; }
.opponent-transfer-date { grid-row: 1 / 4; color: var(--gold); font-size: .76rem; }
.opponent-transfer-person { display: grid; gap: 4px; }
.opponent-transfer-person > span { color: #a8b9c4; font-size: .74rem; }
.opponent-transfer-route { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .8rem; }
.opponent-transfer-route .match-opponent-crest { width: 22px; height: 22px; }
.opponent-transfer-details { grid-column: 2; margin: 0; color: #a8b9c4; font-size: .73rem; overflow-wrap: anywhere; }
.opponent-profile-content .team-match-list { border-color: #294358; }
.country-view { min-width: 0; }
.archive-overview-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1.1fr); align-items: end; gap: 24px; margin-bottom: 18px; padding: 18px 22px 20px; border-bottom: 1px solid #395267; background: #0b1f30; color: #f1f5f7; }
.archive-overview-hero .eyebrow { margin: 0 0 6px; }
.archive-overview-hero h3 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; font-weight: 500; }
.archive-overview-hero p:last-child { margin: 8px 0 0; color: #a8b9c4; font-size: .8rem; line-height: 1.45; }
.archive-overview-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #294358; }
.archive-overview-summary > div { display: grid; align-content: center; gap: 4px; min-width: 0; min-height: 66px; padding: 8px 6px; background: #0e2030; text-align: center; }
.archive-overview-summary strong { overflow: hidden; color: var(--gold); font-size: .98rem; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.archive-overview-summary span { color: #9aafbd; font-size: .64rem; line-height: 1.25; }
.venue-directory-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #294358; }
.venue-directory-summary > div { display: grid; align-content: center; gap: 4px; min-width: 0; min-height: 66px; padding: 8px 6px; background: #0e2030; text-align: center; }
.venue-directory-summary strong { color: var(--gold); font-size: .98rem; font-variant-numeric: tabular-nums; }
.venue-directory-summary span { color: #9aafbd; font-size: .64rem; line-height: 1.25; }
.venue-directory { border-top: 1px solid #294358; }
.venue-archive-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, auto); align-items: center; gap: 14px; width: 100%; padding: 12px 5px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.venue-archive-row:hover, .venue-archive-row:focus-visible { background: #102a3e; }
.venue-archive-name, .venue-archive-stats { display: grid; gap: 4px; min-width: 0; }
.venue-archive-name strong { overflow-wrap: anywhere; }
.venue-archive-name small, .venue-archive-stats small { color: #91a5b3; font-size: .7rem; line-height: 1.35; }
.venue-archive-stats { justify-items: end; text-align: right; }
.venue-archive-stats strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.archive-overview-controls { display: flex; align-items: end; gap: 10px; padding: 0 4px 10px; border-bottom: 1px solid #294358; }
.archive-overview-controls label { display: grid; width: min(390px, 100%); gap: 5px; color: #a8b9c4; font-size: .72rem; }
.archive-overview-controls select { width: 100%; min-height: 40px; border: 1px solid #52728d; border-radius: 4px; background: #0c2232; color: #f1f5f7; color-scheme: dark; }
.archive-overview-controls #country-directory-direction { display: flex; }
.country-source-caveat { margin: 8px 4px; color: #879ba9; font-size: .72rem; line-height: 1.4; }
.opponent-directory-heading { padding-top: 6px; }
.coach-archive-controls { margin-bottom: 12px; }
.coach-archive-list { border-top: 1px solid #294358; }
.coach-archive-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(112px, auto); align-items: center; gap: 12px; width: 100%; padding: 10px 4px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.coach-archive-row:hover, .coach-timeline-row:hover { background: #102a3e; }
.coach-archive-name { display: grid; gap: 3px; min-width: 0; }
.coach-archive-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coach-archive-name small { color: #91a5b3; font-size: .7rem; }
.coach-archive-row .player-archive-count { text-align: right; }
.coach-timeline-section { margin-top: 30px; padding: 20px 22px; background: #0b1f30; color: #f1f5f7; }
.coach-timeline-section h4 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; font-weight: 500; }
.coach-timeline-note { margin: 6px 0 8px; color: #91a5b3; font-size: .74rem; }
.coach-timeline-section > div:first-of-type { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coach-timeline-section .eyebrow { margin: 0 0 4px; color: var(--gold); font-size: .65rem; }
.coach-timeline-era { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid #294358; }
.coach-timeline-era h5 { margin: 0; padding-top: 9px; color: var(--gold); font-size: .75rem; }
.coach-timeline-list { display: grid; border-left: 1px solid #52728d; }
.coach-timeline-row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 18px; align-items: center; gap: 12px; width: 100%; padding: 8px 8px 8px 14px; border: 0; border-bottom: 1px solid #20394b; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.coach-timeline-row::before { position: absolute; left: -4px; width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; background: #0b1f30; content: ''; }
.coach-timeline-years { color: #e6c36e; font-size: .72rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.coach-timeline-person { display: grid; gap: 2px; min-width: 0; }
.coach-timeline-person strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coach-timeline-person small { color: #91a5b3; font-size: .68rem; }
.coach-timeline-arrow { color: var(--gold); }
.leadership-view { min-width: 0; padding: 0 0 24px; }
.leadership-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); align-items: end; gap: 24px; padding: 18px 22px 20px; border-bottom: 1px solid #395267; background: #0b1f30; color: #f1f5f7; }
.leadership-hero .eyebrow { margin: 0 0 6px; color: var(--gold); }
.leadership-hero h3 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; font-weight: 500; }
.leadership-hero p:last-child { margin: 8px 0 0; color: #a8b9c4; font-size: .8rem; line-height: 1.45; }
.leadership-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #294358; }
.leadership-summary > div { display: grid; align-content: center; gap: 4px; min-width: 0; min-height: 62px; padding: 8px 6px; background: #0e2030; text-align: center; }
.leadership-summary strong { color: var(--gold); font-size: .98rem; font-variant-numeric: tabular-nums; }
.leadership-summary span { color: #9aafbd; font-size: .65rem; line-height: 1.25; }
.leadership-data-note { margin: 10px 4px 16px; color: #a8b9c4; font-size: .72rem; line-height: 1.45; }
.leadership-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.leadership-lane { min-width: 0; }
.leadership-lane-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 3px 9px; border-bottom: 1px solid #395267; }
.leadership-lane-heading h4 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.22rem; font-weight: 500; }
.leadership-lane-heading span { color: #a8b9c4; font-size: .7rem; white-space: nowrap; }
.leadership-view-switch { display: flex; gap: 6px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid #395267; }
.leadership-view-switch button { padding: 7px 11px; border: 1px solid #395267; border-radius: 4px; background: transparent; color: #a8b9c4; font-size: .78rem; }
.leadership-view-switch button[aria-pressed="true"] { border-color: var(--gold); color: #f0c868; }
.leadership-panel { min-width: 0; }
.leadership-other-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.leadership-other-controls label { display: grid; gap: 4px; color: #a8b9c4; font-size: .72rem; }
.leadership-other-controls select { min-width: 210px; padding: 8px 30px 8px 10px; border: 1px solid #395267; border-radius: 4px; background: #0e2030; color: #f1f5f7; font: inherit; font-size: .82rem; }
.leadership-other-count { margin-left: auto; color: #a8b9c4; font-size: .72rem; }
.leadership-board-roster h5 { margin: 0 0 8px; color: var(--gold); font-size: .82rem; }
.leadership-board-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.leadership-board-member { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; min-width: 0; padding: 9px 2px; border-bottom: 1px solid #d8e0e5; }
.leadership-board-member .leadership-person { grid-column: 1; }
.leadership-board-member > span { grid-column: 2; grid-row: 1; color: #c5d1d8; font-size: .68rem; font-variant-numeric: tabular-nums; text-align: right; }
.leadership-board-member small { grid-column: 1 / -1; color: #a8b9c4; font-size: .66rem; }
.leadership-board-note { margin: 12px 0; color: #a8b9c4; font-size: .7rem; }
.leadership-timeline { display: grid; margin: 8px 0 0 4px; padding-left: 14px; border-left: 1px solid #bdcbd4; }
.leadership-era { position: relative; display: grid; gap: 5px; padding: 5px 0 13px; }
.leadership-era h5 { margin: 0; color: var(--gold); font-size: .72rem; font-weight: 700; }
.leadership-period { position: relative; display: grid; grid-template-columns: minmax(82px, auto) minmax(0, 1fr); align-items: start; gap: 10px; padding: 9px 8px; border-bottom: 1px solid #d8e0e5; }
.leadership-period::before { position: absolute; left: -19px; top: 15px; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: #0877bd; box-shadow: 0 0 0 1px #0877bd; content: ''; }
.leadership-period time { color: #c5d1d8; font-size: .7rem; font-variant-numeric: tabular-nums; }
.leadership-period-content { display: grid; gap: 3px; min-width: 0; }
.leadership-person { justify-self: start; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: #f1f5f7; font-size: .84rem; font-weight: 700; text-align: left; text-decoration: underline; text-decoration-color: #d2aa5488; text-underline-offset: 3px; overflow-wrap: anywhere; }
.leadership-person:hover { color: #f0c868; }
.leadership-period small { color: #a8b9c4; font-size: .66rem; }
.leadership-empty { margin: 8px 0; color: #a8b9c4; font-size: .78rem; }
.articles-view { min-width: 0; padding: 0 0 24px; color: #f1f5f7; }
.articles-archive-hero { padding: 18px 22px 20px; border-bottom: 1px solid #395267; background: #0b1f30; }
.articles-archive-hero .eyebrow { margin: 0 0 6px; color: var(--gold); }
.articles-archive-hero h3 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; font-weight: 500; }
.articles-archive-hero p:last-child { margin: 8px 0 0; color: #a8b9c4; font-size: .8rem; }
.article-directory { border-top: 1px solid #294358; }
.article-directory-row { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 16px; width: 100%; padding: 18px 6px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.article-directory-row:hover { background: #102a3e; }
.article-directory-copy { display: grid; gap: 5px; min-width: 0; }
.article-directory-copy strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; font-weight: 500; }
.article-directory-copy small { max-width: 760px; color: #9aafbd; font-size: .78rem; line-height: 1.45; }
.article-detail { max-width: 880px; margin: 0 auto; padding: 0 12px 28px; color: #e2e9ed; }
.article-back { margin: 8px 0 22px; padding: 5px 0; border: 0; background: transparent; color: #9aafbd; font: inherit; font-size: .78rem; }
.article-back:hover { color: var(--gold); }
.article-detail-heading { margin: 0 0 28px; padding: 20px 0 22px; border-bottom: 1px solid #395267; }
.article-detail-heading .eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .7rem; font-weight: 700; }
.article-detail-heading h2 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 2.2rem; font-weight: 500; line-height: 1.15; }
.article-deck { max-width: 700px; margin: 12px 0 0; color: #a8b9c4; font-size: 1rem; line-height: 1.5; }
.article-detail-body { max-width: 760px; margin: 0 auto; color: #d4dee4; font-size: .94rem; line-height: 1.78; }
.article-detail-body h1, .article-detail-body h2, .article-detail-body h3, .article-detail-body h4 { margin: 2em 0 .6em; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.25; }
.article-detail-body h1 { font-size: 1.8rem; }
.article-detail-body h2 { font-size: 1.5rem; }
.article-detail-body h3 { font-size: 1.22rem; }
.article-detail-body p { margin: 0 0 1.15em; }
.article-detail-body ul, .article-detail-body ol { padding-left: 1.4em; }
.article-detail-body li { margin: 0 0 .55em; }
.article-detail-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--gold); color: #b8c7d1; font-family: Georgia, 'Times New Roman', serif; font-size: 1.02rem; }
.article-detail-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .78rem; line-height: 1.4; }
.article-detail-body th, .article-detail-body td { padding: 8px 10px; border-bottom: 1px solid #395267; text-align: left; }
.article-detail-body th { color: #e6c36e; }
.article-detail-body a, .article-source-link a { color: #f0c868; text-underline-offset: 3px; }
.article-live-stat { display: grid; gap: 2px; margin: 18px 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: #102638; }
.article-live-stat-value { color: #f0c868; font-size: 1.55rem; font-variant-numeric: tabular-nums; font-weight: 700; }
.article-live-stat small { color: #9aafbd; font-size: .7rem; }
.article-updated-note, .article-source-link { max-width: 760px; margin: 14px auto 0; color: #8195a4; font-size: .72rem; }
.article-related { max-width: 760px; margin: 30px auto 0; padding-top: 15px; border-top: 1px solid #395267; }
.article-related h3 { margin: 0 0 8px; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; font-weight: 500; }
.article-related > div { display: flex; flex-wrap: wrap; gap: 7px; }
.article-related-link { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 9px; border: 1px solid #395267; border-radius: 4px; background: #102638; color: #cbd6dc; font: inherit; font-size: .74rem; }
.article-related-link:hover { border-color: var(--gold); color: #f0c868; }
.related-articles { display: grid; gap: 5px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #395267; }
.related-articles .eyebrow { margin: 0; color: var(--gold); font-size: .62rem; }
.related-article-link { display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 2px 10px; width: 100%; padding: 8px 4px; border: 0; border-bottom: 1px solid #20394b; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.related-article-link strong { font-size: .78rem; }
.related-article-link small { grid-column: 1; color: #91a5b3; font-size: .68rem; }
.related-article-link > span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--gold); }
.related-article-link:hover { background: #102a3e; }
@media (max-width: 760px) {
  .articles-archive-hero { padding: 16px 12px; }
  .article-directory-row { gap: 8px; padding: 14px 2px; }
  .article-detail { padding-inline: 2px; }
  .article-detail-heading { padding-top: 14px; }
  .article-detail-heading h2 { font-size: 1.7rem; overflow-wrap: anywhere; }
  .article-detail-body { font-size: .88rem; line-height: 1.7; }
  .article-detail-body table { font-size: .7rem; }
}
.match-archive-controls { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.match-archive-modes { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.match-archive-toggle { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); width: min(440px, 100%); gap: 6px; }
.match-archive-toggle button { min-width: 0; min-height: 48px; padding: 10px 8px; border: 1px solid var(--filter-border); background: var(--filter-bg); color: var(--filter-text); font-size: .8rem; overflow-wrap: anywhere; }
.match-archive-toggle button.active { border-color: var(--gold); background: #20394b; color: #f0c868; }
.match-notable-control, .match-record-control { flex: 0 1 320px; max-width: 100%; }
.match-archive-description { margin: 10px 0 0; color: #8195a4; font-size: .76rem; }
.country-directory-hero { margin-top: 8px; }
.archive-overview-leader strong { font-size: .8rem; }
.country-directory { border-top: 1px solid var(--line); }
.country-directory-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(110px, auto) 20px; align-items: center; gap: 14px; width: 100%; padding: 13px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: left; }
.country-directory-row:hover, .country-club-row:hover, .country-match-row:hover { background: #102a3e; color: #f1f5f7; }
.country-directory-flag { display: grid; place-items: center; width: 38px; height: 30px; font-size: 1.45rem; }
.country-directory-name { display: grid; gap: 3px; min-width: 0; }
.country-directory-name strong { font-size: 1rem; }
.country-directory-name small, .country-directory-record small { color: var(--muted); font-size: .74rem; }
.country-directory-record { display: grid; justify-items: end; gap: 2px; font-variant-numeric: tabular-nums; }
.country-directory-record strong { color: var(--gold); }
.country-profile { min-width: 0; padding: 16px 24px; background: #0b1f30; color: #f1f5f7; }
.country-back { margin: 4px 0 12px; padding: 0; border: 0; background: transparent; color: #9aafbd; font-size: .82rem; }
.country-back:hover { color: var(--gold); }
.country-profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); align-items: end; gap: 30px; padding: 22px 4px 24px; border-bottom: 1px solid #395267; }
.country-profile-heading { min-width: 0; }
.country-profile-heading .eyebrow { margin: 0 0 8px; }
.country-profile-heading h3 { display: flex; align-items: center; gap: 12px; margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 2.6rem; font-weight: 500; overflow-wrap: anywhere; }
.country-profile-flag { flex: 0 0 auto; font-family: sans-serif; font-size: .72em; }
.country-profile-heading p:last-child { max-width: 720px; margin: 12px 0 0; color: #b5c3cc; line-height: 1.55; }
.country-profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #294358; }
.country-profile-stats div { display: grid; gap: 4px; padding: 12px 8px; background: var(--panel); text-align: center; }
.country-profile-stats strong { color: var(--gold); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.country-profile-stats span { color: #9aafbd; font-size: .72rem; }
.country-interaction-summary { grid-column: 1 / -1; margin-top: 16px; padding: 14px; border: 1px solid #294358; border-radius: 10px; background: rgba(8, 22, 34, .35); }
.country-interaction-summary h4 { margin: 0 0 12px; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; font-weight: 500; }
.country-interaction-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.country-interaction-columns h5 { margin: 0 0 7px; color: #9aafbd; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.country-interaction-columns ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.country-interaction-columns li { display: flex; align-items: center; gap: 7px; color: #c8d3da; font-size: .78rem; }
.country-interaction-columns li > span { color: #76c893; font-weight: 700; }
.country-interaction-columns > div:last-child li > span { color: #718593; }
.country-interaction-columns strong { margin-left: auto; color: #e6c978; font-variant-numeric: tabular-nums; }
.country-interaction-columns p { margin: 0; color: #8da0ad; font-size: .78rem; }
.country-section { padding: 24px 4px; border-bottom: 1px solid #294358; }
.country-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.country-section-heading .eyebrow { margin: 0 0 3px; }
.country-section-heading h4 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.28rem; font-weight: 500; }
.country-section-heading > span { color: #879ba9; font-size: .75rem; }
.country-match-sort-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0 0 8px; }
#country-movements-direction { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.country-club-list { border-top: 1px solid #294358; }
.country-club-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 80px 18px; align-items: center; gap: 10px; width: 100%; padding: 9px 4px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.country-club-row > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.country-club-row > span:nth-child(2) strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-club-row > span:nth-child(2) small, .country-club-count small { color: #879ba9; font-size: .7rem; }
.country-club-count { display: grid; justify-items: end; color: var(--gold); font-size: .78rem; font-variant-numeric: tabular-nums; }
.country-match-modes { display: inline-flex; margin-bottom: 12px; overflow: hidden; border: 1px solid #385267; border-radius: 5px; background: #0c2232; }
.country-match-modes button { padding: 7px 12px; border: 0; border-right: 1px solid #385267; border-radius: 0; background: transparent; color: #9aafbd; font-size: .76rem; }
.country-match-modes button:last-child { border-right: 0; }
.country-match-modes button.active { background: #20394b; color: #f0c868; box-shadow: inset 0 -2px #d2aa54; }
.country-match-group { margin-top: 18px; }
.country-match-group h5 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 4px; border-bottom: 1px solid #395267; color: #f1f5f7; font-size: .9rem; }
.country-match-group h5 small { margin-left: auto; color: #879ba9; font-size: .7rem; font-weight: 400; }
.country-match-list { border-top: 0; }
.country-match-row { display: grid; grid-template-columns: 112px 30px minmax(130px, 1fr) minmax(145px, auto) 58px 18px; align-items: center; gap: 9px; width: 100%; padding: 9px 4px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.country-match-row time { color: #91a5b3; font-size: .74rem; }
.country-match-opponent { display: flex; align-items: center; gap: 7px; min-width: 0; }
.country-match-opponent strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.country-match-competition { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: #9aafbd; font-size: .7rem; white-space: nowrap; }
.country-match-competition .competition-logo, .country-match-competition .competition-badge, .country-match-competition .competition-emoji { flex: 0 0 auto; }
.country-match-score { color: var(--gold); font-size: .82rem; font-variant-numeric: tabular-nums; text-align: right; }
.country-data-note { margin: -3px 0 12px; color: #879ba9; font-size: .76rem; line-height: 1.5; }
.country-movements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.country-movements h5 { margin: 0; padding: 0 0 9px; border-bottom: 1px solid #395267; color: #f0c868; font-size: .9rem; }
.country-movement-list { border-top: 0; }
.country-movement-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px; align-items: center; gap: 9px; min-height: 42px; padding: 7px 2px; border-bottom: 1px solid #294358; font-size: .78rem; }
.country-movement-player, .country-movement-club { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-movement-club button { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-decoration-color: #d2aa5488; text-underline-offset: 3px; }
.country-movement-period { color: #879ba9; font-size: .7rem; text-align: right; white-space: nowrap; }
@media (max-width: 700px) {
  .leadership-hero { grid-template-columns: 1fr; gap: 14px; padding: 16px 12px; }
  .leadership-lanes { grid-template-columns: 1fr; gap: 24px; }
  .leadership-board-members { grid-template-columns: 1fr; }
  .leadership-other-controls select { min-width: min(210px, calc(100vw - 56px)); }
  .leadership-period { grid-template-columns: minmax(72px, auto) minmax(0, 1fr); gap: 8px; padding-inline: 5px; }
  .leadership-period time { font-size: .65rem; }
  .leadership-person { font-size: .78rem; }
  .coach-timeline-section { padding: 16px 12px; }
  .coach-timeline-era { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
  .coach-timeline-row { grid-template-columns: 66px minmax(0, 1fr) 14px; gap: 7px; padding-left: 10px; }
  .coach-timeline-years { font-size: .64rem; }
  .coach-timeline-person strong { font-size: .76rem; }
  .coach-timeline-person small { font-size: .62rem; }
  .match-archive-modes { align-items: stretch; }
  .archive-overview-hero { grid-template-columns: 1fr; gap: 14px; padding: 16px 12px; }
  .archive-overview-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-overview-summary > div { min-height: 56px; }
  .venue-directory-summary > div { min-height: 56px; }
  .venue-archive-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .venue-archive-stats { justify-items: start; text-align: left; }
  .venue-timeline-item { grid-template-columns: minmax(0, 1fr); gap: 3px; padding-left: 13px; }
  .archive-overview-controls { align-items: end; }
  .archive-overview-controls label { width: 100%; }
  .country-directory-hero { padding-inline: 12px; }
  .country-profile-hero { grid-template-columns: 1fr; gap: 18px; padding: 17px 2px 21px; }
  .country-profile-heading h3 { gap: 9px; font-size: 1.9rem; }
  .country-profile-stats strong { font-size: 1.05rem; }
  .country-profile-stats span { font-size: .65rem; }
  .country-section { padding: 20px 2px; }
  .country-profile { padding: 12px; }
  .country-directory-row { grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 8px; padding: 11px 3px; }
  .country-directory-flag { width: 30px; font-size: 1.25rem; }
  .country-directory-record { grid-column: 2; display: flex; justify-items: initial; justify-content: space-between; gap: 8px; }
  .country-match-row { grid-template-columns: 76px 26px minmax(0, 1fr) 50px 16px; gap: 6px; padding: 9px 1px; }
  .country-match-row time { grid-column: 1; grid-row: 1; font-size: .68rem; }
  .country-match-row .match-side { grid-column: 2; grid-row: 1; width: 24px; height: 24px; }
  .country-match-opponent { grid-column: 3; grid-row: 1; }
  .country-match-competition { grid-column: 3 / 5; grid-row: 2; font-size: .65rem; }
  .country-match-score { grid-column: 4; grid-row: 1; font-size: .76rem; }
  .country-match-row .match-arrow { grid-column: 5; grid-row: 1; }
  .country-match-group h5 { font-size: .82rem; }
  .country-movements { grid-template-columns: 1fr; gap: 20px; }
  .country-movement-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 10px; }
  .country-movement-period { grid-column: 1 / -1; text-align: left; }
}
.opponent-form-section { padding-top: 23px; }
.country-view { min-width: 0; }
.country-directory-hero { margin: 8px 0 16px; }
.country-directory-controls { display: flex; align-items: end; gap: 10px; padding: 0 4px 10px; border-bottom: 1px solid #294358; }
.country-directory-controls label { display: grid; width: min(390px, 100%); gap: 5px; color: #a8b9c4; font-size: .72rem; }
.country-directory-controls select { width: 100%; min-height: 40px; border: 1px solid #52728d; border-radius: 4px; background: #0c2232; color: #f1f5f7; color-scheme: dark; }
.country-directory-controls #country-directory-direction { display: flex; }
.country-directory-summary { display: grid; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: #294358; }
.country-directory-summary > div { display: grid; align-content: center; gap: 4px; min-width: 0; min-height: 66px; padding: 8px 6px; background: #0e2030; text-align: center; }
.country-directory-summary strong { overflow: hidden; color: var(--gold); font-size: .98rem; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.country-directory-summary span { color: #9aafbd; font-size: .64rem; line-height: 1.25; }
@media (max-width: 700px) {
  .country-directory-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-directory-leader { min-width: 0; }
}
.country-source-caveat { margin: 8px 4px; color: #879ba9; font-size: .72rem; line-height: 1.4; }
.country-directory { border-top: 1px solid var(--line); }
.country-directory-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(110px, auto) 20px; align-items: center; gap: 14px; width: 100%; padding: 13px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: left; }
.country-directory-row:hover, .country-club-row:hover, .country-match-row:hover { background: #102a3e; color: #f1f5f7; }
.country-directory-flag { display: grid; place-items: center; width: 38px; height: 30px; font-size: 1.45rem; }
.country-directory-name { display: grid; gap: 3px; min-width: 0; }
.country-directory-name strong { font-size: 1rem; }
.country-directory-name small, .country-directory-record small { color: var(--muted); font-size: .74rem; }
.country-directory-record { display: grid; justify-items: end; gap: 2px; font-variant-numeric: tabular-nums; }
.country-directory-record strong { color: var(--gold); }
.country-profile { min-width: 0; }
.country-back { margin: 4px 0 12px; padding: 0; border: 0; background: transparent; color: #9aafbd; font-size: .82rem; }
.country-back:hover { color: var(--gold); }
.country-profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); align-items: end; gap: 30px; padding: 22px 4px 24px; border-bottom: 1px solid #395267; }
.country-profile-heading { min-width: 0; }
.country-profile-heading .eyebrow { margin: 0 0 8px; }
.country-profile-heading h3 { display: flex; align-items: center; gap: 12px; margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 500; overflow-wrap: anywhere; }
.country-profile-flag { flex: 0 0 auto; font-family: sans-serif; font-size: .72em; }
.country-profile-heading p:last-child { max-width: 720px; margin: 12px 0 0; color: #b5c3cc; line-height: 1.55; }
.country-profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #294358; }
.country-profile-stats div { display: grid; gap: 4px; padding: 12px 8px; background: var(--panel); text-align: center; }
.country-profile-stats strong { color: var(--gold); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.country-profile-stats span { color: #9aafbd; font-size: .72rem; }
.country-section { padding: 24px 4px; border-bottom: 1px solid #294358; }
.country-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.country-section-heading .eyebrow { margin: 0 0 3px; }
.country-section-heading h4 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.28rem; font-weight: 500; }
.country-section-heading > span { color: #879ba9; font-size: .75rem; }
.country-club-list { border-top: 1px solid #294358; }
.country-club-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 80px 18px; align-items: center; gap: 10px; width: 100%; padding: 9px 4px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.country-club-row > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.country-club-row > span:nth-child(2) strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-club-row > span:nth-child(2) small, .country-club-count small { color: #879ba9; font-size: .7rem; }
.country-club-count { display: grid; justify-items: end; color: var(--gold); font-size: .78rem; font-variant-numeric: tabular-nums; }
.country-match-modes { display: inline-flex; margin-bottom: 12px; overflow: hidden; border: 1px solid #385267; border-radius: 5px; background: #0c2232; }
.country-match-modes button { padding: 7px 12px; border: 0; border-right: 1px solid #385267; border-radius: 0; background: transparent; color: #9aafbd; font-size: .76rem; }
.country-match-modes button:last-child { border-right: 0; }
.country-match-modes button.active { background: #20394b; color: #f0c868; box-shadow: inset 0 -2px #d2aa54; }
.country-match-group { margin-top: 18px; }
.country-match-group h5 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 4px; border-bottom: 1px solid #395267; color: #f1f5f7; font-size: .9rem; }
.country-match-group h5 small { margin-left: auto; color: #879ba9; font-size: .7rem; font-weight: 400; }
.country-match-list { border-top: 0; }
.country-match-row { display: grid; grid-template-columns: 112px 30px minmax(130px, 1fr) minmax(145px, auto) 58px 18px; align-items: center; gap: 9px; width: 100%; padding: 9px 4px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.country-match-row time { color: #91a5b3; font-size: .74rem; }
.country-match-opponent { display: flex; align-items: center; gap: 7px; min-width: 0; }
.country-match-opponent strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.country-match-competition { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: #9aafbd; font-size: .7rem; white-space: nowrap; }
.country-match-competition .competition-logo, .country-match-competition .competition-badge, .country-match-competition .competition-emoji { flex: 0 0 auto; }
.country-match-score { color: var(--gold); font-size: .82rem; font-variant-numeric: tabular-nums; text-align: right; }
.country-data-note { margin: -3px 0 12px; color: #879ba9; font-size: .76rem; line-height: 1.5; }
.country-movements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.country-movements h5 { margin: 0; padding: 0 0 9px; border-bottom: 1px solid #395267; color: #f0c868; font-size: .9rem; }
.country-movement-list { border-top: 0; }
.country-movement-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px; align-items: center; gap: 9px; min-height: 42px; padding: 7px 2px; border-bottom: 1px solid #294358; font-size: .78rem; }
.country-movement-player, .country-movement-club { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-movement-club button { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-decoration-color: #d2aa5488; text-underline-offset: 3px; }
.country-movement-period { color: #879ba9; font-size: .7rem; text-align: right; white-space: nowrap; }
@media (max-width: 700px) {
  .country-profile { padding: 12px; }
  .country-profile-hero { grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 18px; padding: 17px 2px 21px; }
  .country-profile-heading h3 { flex-wrap: wrap; gap: 9px; font-size: clamp(1.7rem, 8vw, 2.2rem); overflow-wrap: normal; }
  .country-interaction-summary { grid-column: 1; margin-top: 0; padding: 12px; }
  .country-interaction-columns { grid-template-columns: minmax(0, 1fr); }
  .country-interaction-columns li { align-items: flex-start; }
  .country-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
  .country-section-heading > div { min-width: 0; }
  .country-club-row { grid-template-columns: 30px minmax(0, 1fr) 58px 16px; gap: 7px; padding-inline: 2px; }
}
.player-archive { min-width: 0; margin-bottom: 36px; padding: 20px 24px; background: #0b1f30; color: #f1f5f7; }
.player-archive-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); align-items: end; gap: 28px; padding: 2px 4px 21px; border-bottom: 1px solid #395267; }
.player-archive-hero .eyebrow { margin: 0 0 6px; }
.player-archive-hero h3 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; font-weight: 500; }
.player-archive-hero p:last-child { max-width: 620px; margin: 8px 0 0; color: #a8b9c4; font-size: .8rem; }
.player-archive-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 1px; background: transparent; }
.player-archive-summary div { display: grid; gap: 4px; min-width: 0; padding: 10px 7px; background: #0e2030; text-align: center; }
.player-archive-summary strong { color: var(--gold); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.player-archive-summary span { color: #9aafbd; font-size: .64rem; }
.player-archive-mode { display: flex; align-items: center; gap: 4px; margin-top: 12px; padding: 0 4px; border-bottom: 1px solid #294358; }
.player-archive-mode button, .player-position-groups button { min-height: 36px; padding: 6px 12px; border: 1px solid transparent; border-radius: 4px 4px 0 0; background: transparent; color: #a8b9c4; font-size: .76rem; font-weight: 650; }
.player-archive-mode button.active, .player-position-groups button.active { border-color: #395267; border-bottom-color: #0e2030; background: #0e2030; color: var(--gold); }
.player-archive-mode button:hover, .player-position-groups button:hover { border-color: #52728d; color: #f1f5f7; filter: none; }
.player-archive-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 13px 4px 10px; border-bottom: 1px solid #294358; }
.player-archive-controls label { display: grid; flex: 1 1 180px; min-width: 0; gap: 5px; color: #a8b9c4; font-size: .72rem; }
#player-archive-metric-label { flex-grow: 1.5; }
.player-archive-record-heading { margin: 14px 4px 8px; color: #e5edf2; font-size: 1rem; }
.player-archive-controls select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 0 42px 0 14px; appearance: none; -webkit-appearance: none; border: 1px solid #49667c; border-radius: 9px; background-color: #0d2536; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4' stroke='%23b5c5ce' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; color: #f1f5f7; color-scheme: dark; font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.25; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.player-archive-controls select:hover { border-color: #7594a8; background-color: #112d40; }
.player-archive-controls select:focus-visible { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px #f4c85d35; }
.player-archive-sort-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.sort-direction-toggle { display: inline-grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid #52728d; border-radius: 4px; background: #20394b; color: #f1f5f7; font-size: 1.1rem; font-weight: 700; line-height: 1; }
.sort-direction-toggle:hover { border-color: var(--gold); color: var(--gold); filter: none; }
.sort-direction-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.archive-directory-direction { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.player-current-filter-slot { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.player-current-filter-slot .player-current-filter { display: inline-flex; width: auto; min-height: 48px; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid #3c596d; border-radius: 10px; background: linear-gradient(145deg, #112a3b, #0d2232); color: #dce6eb; font-size: .85rem; font-weight: 650; cursor: pointer; white-space: nowrap; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease; }
.player-current-filter-slot .player-current-filter:hover { border-color: #7390a3; color: #fff; }
.player-current-filter-slot .player-current-filter:has(input:checked) { border-color: #58b77b; background: linear-gradient(145deg, #163b38, #102d35); color: #dff7e7; box-shadow: inset 0 0 0 1px #58b77b2b; }
.player-current-filter-slot .player-current-filter:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.player-current-filter input { appearance: none; -webkit-appearance: none; display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-content: center; margin: 0; border: 1.5px solid #718795; border-radius: 6px; background: #0a1d2b; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.player-current-filter input::before { content: ''; width: 10px; height: 6px; border: solid #082015; border-width: 0 0 2.5px 2.5px; opacity: 0; transform: translateY(-1px) rotate(-45deg) scale(.7); transition: opacity .12s ease, transform .12s ease; }
.player-current-filter input:checked { border-color: #6ed093; background: #6ed093; box-shadow: 0 0 0 3px #6ed09320; }
.player-current-filter input:checked::before { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.player-current-filter input:focus-visible { outline: none; }
.current-abroad-indicator { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; color: #a9d3bb; font-size: .7rem; }
.current-abroad-indicator .match-opponent-crest { width: 17px; height: 17px; }
.player-squad-focus-toggle { display: inline-flex; align-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; color: #a8b9c4; font-size: .72rem; font-weight: 650; text-decoration: underline; text-decoration-color: #526a79; text-underline-offset: 3px; }
.player-squad-focus-toggle:hover { color: var(--gold); }
#squad-view.current-squad-focus #player-archive { display: none; }
#squad-view:not(.current-squad-focus) #current-squad-section { display: none; }
#squad-view.current-squad-focus { display: flex; flex-direction: column; }
#squad-view.current-squad-focus #current-squad-section { margin-top: 0; }
.current-squad-focus-heading { margin-bottom: 10px; }
.current-squad-focus-heading > div:first-child { display: none; }
.current-squad-focus .player-current-squad-section { scroll-margin-top: 66px; }
.player-archive-switch-slot { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.player-archive-controls option { background: #0e2030; color: #f1f5f7; }
.player-position-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 12px 4px 10px; border-bottom: 1px solid #294358; }
.player-position-group-row { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.player-position-groups { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 3px; min-width: 0; }
.player-position-groups button { border-radius: 4px; border-color: #395267; }
.player-position-picker { display: grid; flex: 1 1 100%; gap: 6px; min-width: 0; color: #a8b9c4; font-size: .72rem; }
.player-position-options { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.player-position-options button { min-height: 34px; padding: 6px 10px; border: 1px solid #395267; border-radius: 4px; background: #0e2030; color: #c3d0d8; font-size: .74rem; font-weight: 600; }
.player-position-options button.active { border-color: var(--gold); background: #f4c85d18; color: var(--gold); }
.player-position-options button:hover { border-color: var(--gold); color: var(--gold); filter: none; }
.player-position-options button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.player-position-controls > label { display: grid; width: min(240px, 100%); gap: 5px; color: #a8b9c4; font-size: .72rem; }
.player-position-controls select { width: 100%; border-color: #52728d; background: #0c2232; color: #f1f5f7; color-scheme: dark; }
.player-position-controls option { background: #0e2030; color: #f1f5f7; }
.player-position-controls .player-position-alternative-filter { display: inline-flex; width: auto; min-height: 40px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #395267; border-radius: 4px; background: #0e2030; color: #d5e0e6; cursor: pointer; white-space: nowrap; }
.player-position-alternative-filter input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.player-position-footnote { margin: 7px 4px 10px; color: #9aafbd; font-size: .7rem; line-height: 1.45; }
.player-position-footnote strong { color: var(--gold); }
.player-archive-status { margin: 11px 4px 3px; color: #a8b9c4; font-size: .75rem; }
.player-archive-help { margin: 16px 4px 0; color: #a8b9c4; font-size: .75rem; }
.player-archive-help summary { cursor: pointer; }
.player-archive-list-actions { display: flex; justify-content: flex-end; margin: 4px 4px 8px; }
.player-archive-list-actions button { min-height: 32px; padding: 5px 10px; border: 1px solid #52728d; border-radius: 4px; background: #0c2434; color: #d8e2e9; font-size: .74rem; font-weight: 600; }
.player-archive-list-actions button:hover { border-color: var(--gold); color: var(--gold); filter: none; }
.player-archive-list { border-top: 1px solid #294358; }
.player-archive-row { display: grid; grid-template-columns: 34px minmax(190px, .8fr) minmax(130px, .55fr) minmax(220px, 1fr) 16px; align-items: center; gap: 12px; width: 100%; padding: 10px 4px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.player-archive-row:hover { background: #102a3e; }
.player-archive-rank { color: #8195a4; font-size: .72rem; font-variant-numeric: tabular-nums; }
.player-archive-name { display: grid; gap: 2px; min-width: 0; }
.player-archive-name strong { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; min-width: 0; font-size: .86rem; }
.player-archive-name small { color: #8195a4; font-size: .68rem; }
.player-archive-name .player-archive-card-status { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; color: #c8d8e1; font-size: .65rem; line-height: 1.2; }
.player-archive-warning-balance { display: inline-flex; align-items: center; gap: 3px; padding: 2px 5px; border: 1px solid #695b31; border-radius: 4px; background: #282719; color: #f0d78e; font-variant-numeric: tabular-nums; }
.player-archive-warning-balance b { color: #fff1bc; font-size: .7rem; }
.player-archive-warning-balance small { color: #c8d8e1; font-size: .6rem; }
.player-archive-name .player-archive-record-summary { color: #e6c36e; font-size: .65rem; line-height: 1.35; }
.current-squad-badge { display: inline-flex; align-items: center; gap: 5px; color: #74c697; font-size: .62rem; font-weight: 700; white-space: nowrap; }
.current-squad-badge::before { width: 6px; height: 6px; border-radius: 50%; background: #58b77b; content: ''; }
.current-loan-indicator { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; color: #e6c36e !important; font-size: .68rem !important; line-height: 1.3; }
.current-loan-indicator .match-opponent-crest { width: 18px; height: 18px; flex-basis: 18px; }
.answer-squad td > .current-loan-indicator { display: flex; width: max-content; max-width: 100%; margin-top: 3px; }
.player-archive-count { display: grid; justify-items: end; gap: 1px; }
.player-archive-count strong { color: var(--gold); font-size: .92rem; font-variant-numeric: tabular-nums; }
.player-archive-count small { color: #8195a4; font-size: .64rem; }
.player-archive-detail { color: #9aafbd; font-size: .7rem; text-align: right; }
.player-source-warning { display: block; margin-top: 3px; color: #e6c36e; font-size: .7rem; line-height: 1.35; }
.player-archive-detail .player-source-warning { margin-left: auto; }
.player-archive-empty { padding: 20px 4px; color: #a8b9c4; }
.player-archive-records h3 { margin-bottom: 8px; }
.player-archive-records h4 { margin: 0 0 6px; color: #f1f5f7; font-size: .86rem; font-weight: 600; }
.player-archive-records > p { margin: 0 0 8px; font-size: .72rem; }
.player-archive-records > ul { display: grid; gap: 0; max-width: 720px; margin: 0; padding: 0; list-style: none; border-top: 1px solid #33495c; }
.player-archive-records > ul > li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid #33495c; color: #c5d1d8; font-size: .82rem; }
.player-archive-records > ul > li strong { color: #e6c36e; font-weight: 600; }
.player-current-squad-section { margin-top: 32px; }
.player-current-squad-section > div:first-child { margin-bottom: 7px; }
.current-squad-eyebrow-row { display: flex; align-items: center; gap: 12px; min-height: 18px; }
.current-squad-eyebrow-row .eyebrow { margin: 0; }
.player-current-squad-section .eyebrow { margin: 0 0 4px; }
.player-current-squad-section h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; font-weight: 500; }
.current-squad-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; }
.current-squad-filters.squad-sort-buttons { gap: 6px; margin: 5px 0 7px; }
.current-squad-filters .squad-sort { padding: 5px 10px; font-size: .76rem; }
.current-squad-toolbar .current-squad-card-note { margin: 0 0 3px; font-size: .74rem; }
.current-squad-table h3 { margin: 7px 0 4px; font-size: 1.2rem; }
.international-view { min-width: 0; padding: 20px 24px; background: #0b1f30; color: #f1f5f7; }
.international-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); align-items: end; gap: 30px; padding: 18px 4px 24px; border-bottom: 1px solid #395267; }
.international-hero-copy { min-width: 0; }
.international-hero-copy .eyebrow { margin: 0 0 7px; }
.international-hero-copy h3 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; font-weight: 500; overflow-wrap: anywhere; }
.international-hero-copy p:last-child { max-width: 600px; margin: 10px 0 0; color: #a8b9c4; font-size: .9rem; line-height: 1.5; }
.international-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #294358; }
.international-summary div { display: grid; gap: 4px; min-width: 0; padding: 12px 8px; background: var(--panel); text-align: center; }
.international-summary strong { color: var(--gold); font-size: 1.1rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.international-summary span { color: #9aafbd; font-size: .68rem; }
.international-filter-bar { display: grid; grid-template-columns: minmax(150px, 1.25fr) minmax(170px, 1.35fr) repeat(3, minmax(112px, .9fr)) 40px auto; align-items: end; gap: 10px; padding: 16px 0 14px; border-bottom: 1px solid #294358; }
.international-direction-control { display: flex; align-items: flex-end; }
.player-match-direction, .season-match-direction, .coach-match-direction { display: flex; justify-content: flex-end; margin: 4px 0; }
.team-match-direction, .date-match-direction, .player-international-direction { display: flex; justify-content: flex-end; margin: 4px 0 8px; }
.player-season-timeline-heading, .career-group-heading, .answer-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.answer-list-heading h3, .player-season-timeline-heading h4, .career-group-heading { margin-top: 0; }
.season-sort-controls { display: flex; align-items: flex-end; gap: 8px; }
.season-sort-controls .season-sort-control { margin-bottom: 0; }
.squad-direction-control { display: inline-flex; }
.international-filter-bar label, .international-player-filter { display: grid; gap: 5px; min-width: 0; color: #a8b9c4; font-size: .72rem; }
.international-filter-bar input, .international-filter-bar select { box-sizing: border-box; width: 100%; min-width: 0; height: 42px; min-height: 42px; padding: 0 11px; border: 1px solid #52728d; border-radius: 4px; background: #0c2232; color: #f1f5f7; color-scheme: dark; font: inherit; font-size: .8rem; }
.international-filter-bar input::placeholder { color: #91a5b3; }
.international-filter-bar select option { background: #0e2030; color: #f1f5f7; }
.international-filter-bar input:focus-visible, .international-filter-bar select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.international-player-search-wrap { position: relative; min-width: 0; }
.international-player-suggestions { position: absolute; top: calc(100% + 4px); left: 0; z-index: 8; display: grid; width: 100%; max-height: 240px; overflow-y: auto; border: 1px solid #52728d; border-radius: 4px; background: #0e2030; box-shadow: 0 8px 22px #0006; }
.international-player-suggestion { min-height: 38px; padding: 8px 11px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #e7edf1; font-size: .78rem; text-align: left; }
.international-player-suggestion:last-child { border-bottom: 0; }
.international-player-suggestion:hover, .international-player-suggestion:focus-visible { background: #20394b; color: #f0c868; }
.international-filter-bar .sort-direction-toggle { width: 42px; height: 42px; }
.international-filter-bar > button { box-sizing: border-box; min-height: 42px; padding: 0 13px; border: 1px solid #52728d; border-radius: 4px; background: #20394b; color: #f1f5f7; font: inherit; font-size: .8rem; white-space: nowrap; }
.international-filter-bar > button:hover { background: #29485f; color: #fff; }
.international-selected-player-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 12px; border-bottom: 1px solid #294358; }
.international-player-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 4px 8px 4px 10px; border: 1px solid #52728d; border-radius: 4px; background: #20394b; color: #eaf0f3; font: inherit; font-size: .76rem; }
.international-player-chip:hover { border-color: var(--gold); background: #29485f; }
.international-player-chip-remove { color: #e6c36e; font-size: 1rem; line-height: 1; }
.international-player-mode-toggle { align-self: center; min-width: 56px; min-height: 32px; padding: 4px 9px; border: 1px solid var(--gold); border-radius: 4px; background: #102a3e; color: #e6c36e; font: inherit; font-size: .68rem; font-weight: 700; }
.international-player-mode-toggle:hover { background: #29485f; color: #fff; }
.international-status { margin: 13px 0 4px; color: #a8b9c4; font-size: .76rem; }
.international-year-group { margin-top: 21px; }
.international-year-group > h4 { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 0 4px 8px; border-bottom: 1px solid #395267; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; font-weight: 500; }
.international-year-group > h4 small { margin-left: auto; color: #8da1af; font-family: sans-serif; font-size: .7rem; font-weight: 400; }
.international-match-list { border-top: 0; }
.international-match { display: grid; grid-template-columns: 116px minmax(0, 1fr) 62px; align-items: start; gap: 16px; padding: 15px 4px; border-bottom: 1px solid #294358; }
.international-match-date { display: grid; gap: 6px; color: #91a5b3; font-size: .75rem; }
.international-match-date span { color: #acbbc5; }
.international-match-main { min-width: 0; }
.international-fixture { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; color: #8da1af; font-size: .78rem; }
.international-fixture strong { color: #f1f5f7; font-size: .98rem; font-weight: 600; }
.international-match-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 6px 0 8px; color: #8da1af; font-size: .7rem; }
.international-competition { padding: 3px 7px; border: 1px solid #395267; border-radius: 3px; color: #e6c36e; }
.international-player-list { display: flex; flex-wrap: wrap; gap: 5px 15px; margin: 0; padding: 0; list-style: none; }
.international-player-list li { display: inline-flex; align-items: baseline; gap: 4px; min-width: 0; }
.international-player-link { padding: 0; border: 0; border-radius: 0; background: transparent; color: #d6e1e8; font: inherit; font-size: .78rem; text-align: left; text-decoration: underline; text-decoration-color: #d2aa5488; text-underline-offset: 3px; }
.international-player-link:hover, .international-profile-link:hover { color: var(--gold); }
.international-player-list li > small { color: var(--gold); font-size: .67rem; white-space: nowrap; }
.international-score { padding-top: 1px; color: var(--gold); font-size: 1.1rem; font-variant-numeric: tabular-nums; text-align: right; }
.international-score.is-missing { color: #8295a2; }
.international-match-notes { margin-top: 8px; color: #91a5b3; font-size: .72rem; }
.international-match-notes summary { width: fit-content; cursor: pointer; }
.international-match-notes p { margin: 7px 0 0; color: #b5c3cc; line-height: 1.5; white-space: pre-line; }
.international-press { margin-top: 14px; padding: 12px 14px; border-left: 2px solid var(--gold); background: #142b3b; }
.international-press h4 { margin: 0; color: #e6c36e; font-family: Georgia, 'Times New Roman', serif; font-size: .95rem; font-weight: 500; }
.international-press .international-press-label { margin: 4px 0 10px; color: #91a5b3; font-size: .65rem; }
.international-press-entry + .international-press-entry { margin-top: 12px; padding-top: 12px; border-top: 1px solid #395267; }
.international-press-entry h5 { margin: 0; color: #f1f5f7; font-size: .78rem; }
.international-press-entry p { margin: 6px 0 0; color: #b5c3cc; font-size: .76rem; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.international-press-entry .international-press-source { color: #91a5b3; font-size: .68rem; }
.international-empty { padding: 26px 4px; color: #9aafbd; }
.international-profile-link { margin-top: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #e6c36e; font: inherit; font-size: .82rem; text-align: left; }
.international-profile-link span { margin-left: 4px; }
.international-expanded { grid-column: 1 / -1; width: 100%; min-width: 0; }
.international-expanded > summary { width: fit-content; padding: 9px 13px; border: 1px solid #52728d; border-radius: 5px; color: #e6c36e; font-size: .76rem; cursor: pointer; }
.international-expanded[open] > summary { margin-bottom: 14px; }
.international-report { border: 1px solid #395267; border-radius: 12px; overflow: hidden; background: #102638; }
.international-report-header { padding: 22px; background: linear-gradient(120deg, #123d61, #102638); border-bottom: 1px solid #52728d; }
.international-report-header h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0; color: #fff; font-family: Georgia, serif; font-size: clamp(1.2rem, 3vw, 1.8rem); }
.international-report-header h3 > span { color: var(--gold); font-family: sans-serif; font-variant-numeric: tabular-nums; }
.international-report-header > p:last-child { color: #b5c3cc; font-size: .8rem; }
.international-report-meta a, .international-report-meta button { padding: 0; border: 0; border-radius: 0; background: transparent; color: #d3e1eb; font: inherit; text-decoration: underline; text-decoration-color: #688599; text-underline-offset: 3px; }
.international-report-meta a:hover, .international-report-meta button:hover { color: #f0d78e; }
.international-year-group { scroll-margin-top: 20px; }
.international-report-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; padding: 22px; }
.international-report-grid > *, .international-lineups > * { min-width: 0; }
.international-lineups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.international-lineup h4, .international-fact-panel h4, .international-goals h4 { margin: 0 0 12px; color: #eaf0f3; font-size: .95rem; }
.international-pitch { position: relative; display: grid; grid-template-rows: repeat(4, minmax(82px, auto)); gap: 12px; padding: 18px 6px; background: repeating-linear-gradient(0deg, #17493e 0, #17493e 50px, #1c5346 50px, #1c5346 100px); border-radius: 8px; }
.international-pitch > svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #ffffff35; stroke-width: .5; pointer-events: none; }
.international-pitch-row { position: relative; display: grid; grid-template-columns: repeat(var(--lineup-columns, 1), minmax(0, 1fr)); align-items: start; justify-items: center; gap: 4px; }
.international-lineup-player { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; max-width: 115px; padding: 6px 3px; border: 1px solid transparent; border-radius: 7px; text-align: center; color: #f1f5f7; font-size: .7rem; overflow-wrap: anywhere; }
.international-pitch-row > .international-lineup-player { width: 100%; box-sizing: border-box; }
.international-player-symbol { position: relative; display: grid; place-items: center; width: 48px; height: 34px; flex-shrink: 0; }
.international-hbk-emblem { position: absolute; right: 0; bottom: 0; width: 18px; height: 22px; object-fit: contain; filter: drop-shadow(0 1px 2px #0009); }
.international-lineup-player .international-player-link { font-size: inherit; text-align: center; }
.international-lineup-player small { color: #c2d0d8; font-size: .6rem; }
.international-lineup-player.is-hbk { border-color: #e6c36e; background: #142b3bd9; box-shadow: 0 0 16px #e6c36e35; }
.international-lineup-player .international-sub-minute { display: inline-flex; align-items: center; gap: 3px; padding: 2px 5px; border-radius: 3px; background: #0b1f30d9; color: #eaf0f3; white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.2; }
.international-sub-minute.is-off > span { color: #ff9b96; }
.international-sub-minute.is-on > span { color: #94dfa9; }
.international-shirt { display: grid; place-items: center; width: 30px; height: 32px; background: #f1f5f7; color: #102638; font-weight: 800; clip-path: polygon(20% 0, 35% 10%, 65% 10%, 80% 0, 100% 20%, 84% 40%, 78% 30%, 78% 100%, 22% 100%, 22% 30%, 16% 40%, 0 20%); }
.international-lineup.is-sweden .international-shirt { background: #e6c36e; }
.international-unplaced { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: #0b1f30; border-radius: 6px; }
.international-bench { margin-top: 12px; color: #b5c3cc; font-size: .78rem; }
.international-bench > summary { cursor: pointer; padding: 8px 0; }
.international-data-note { margin: 0 0 12px; color: #9aafbd; font-size: .72rem; line-height: 1.5; }
.international-fact-panel { padding: 16px; border: 1px solid #395267; border-radius: 8px; background: #142f44; }
.international-fact-panel dl { margin: 0; }
.international-fact-panel dl > div { padding: 9px 0; border-top: 1px solid #395267; }
.international-fact-panel dt { color: #9aafbd; font-size: .68rem; }
.international-fact-panel dd { margin: 4px 0 0; color: #f1f5f7; font-size: .8rem; }
.international-report .international-press { padding: 18px; border: 1px solid #b4a588; border-radius: 3px; color: #342e24; background: linear-gradient(100deg, #eee3cd, #e2d3b5 50%, #eee3cd); box-shadow: 0 5px 15px #0003; }
.international-report .international-press h4 { color: #342e24; font-size: 1.2rem; border-bottom: 3px double #8c7d63; padding-bottom: 7px; }
.international-report .international-press h5 { color: #342e24; font-family: Georgia, serif; font-size: .95rem; }
.international-report .international-press p { color: #4d4435; }
.international-report .international-press .international-press-label, .international-report .international-press .international-press-source { color: #6d604d; }
.international-goals { margin-top: 20px; }
.international-goals ol { padding: 0; list-style: none; }
.international-goals li { display: grid; grid-template-columns: 45px 40px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid #395267; color: #c2d0d8; font-size: .8rem; }
.international-goals time, .international-goals strong { color: #e6c36e; }
.international-goals time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.international-source-notes { padding: 16px 22px; border-top: 1px solid #395267; background: #0b1f30; color: #9aafbd; font-size: .72rem; line-height: 1.6; }
.international-source-notes h4 { margin: 0; color: #d6e1e8; }
.international-source-notes ol { padding-left: 20px; }
@media (max-width: 1100px) {
  .international-report-grid { grid-template-columns: minmax(0, 1fr); }
  .international-report-grid aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .international-report .international-press { margin-top: 0; }
}
@media (max-width: 650px) {
  .international-lineups, .international-report-grid aside { grid-template-columns: minmax(0, 1fr); }
  .international-report-grid, .international-report-header { padding: 14px; }
}
.referee-archive { min-width: 0; padding: 20px 24px; background: #0b1f30; color: #f1f5f7; }
.referee-archive-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); align-items: end; gap: 28px; padding: 18px 4px 22px; border-bottom: 1px solid #395267; }
.referee-archive-hero .eyebrow { margin: 0 0 6px; }
.referee-archive-hero h3 { margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; font-weight: 500; }
.referee-archive-hero p:last-child { max-width: 650px; margin: 8px 0 0; color: #9aafbd; font-size: .78rem; line-height: 1.5; }
.referee-archive-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #294358; }
.referee-archive-summary div { display: grid; gap: 4px; padding: 11px 7px; background: var(--panel); text-align: center; }
.referee-archive-summary strong { color: var(--gold); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.referee-archive-summary span { color: #9aafbd; font-size: .66rem; }
.referee-benchmark-note { margin: 8px 4px 0; color: #a8b9c4; font-size: .72rem; line-height: 1.4; }
.referee-archive-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 16px; padding: 15px 0 13px; border-bottom: 1px solid #294358; }
.referee-archive-controls > label { display: grid; flex: 1 1 240px; gap: 5px; color: #a8b9c4; font-size: .72rem; }
.referee-archive-controls input { width: 100%; }
.referee-archive-controls > .referee-current-year-filter { display: inline-flex; flex: 0 0 auto; min-height: 40px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #395267; border-radius: 4px; background: #0e2030; cursor: pointer; }
.referee-current-year-filter input { width: 16px; height: 16px; margin: 0; accent-color: #58b77b; }
.referee-current-year-badge { display: inline-flex; align-items: center; gap: 5px; color: #74c697 !important; font-size: .64rem !important; white-space: nowrap; }
.referee-current-year-badge i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #58b77b; }
.referee-archive-sort { display: inline-flex; overflow: hidden; border: 1px solid #385267; border-radius: 4px; background: #0c2232; }
.referee-archive-sort button { padding: 8px 11px; border: 0; border-right: 1px solid #385267; border-radius: 0; background: transparent; color: #9aafbd; font-size: .75rem; white-space: nowrap; }
.referee-archive-sort button:last-child { border-right: 0; }
.referee-archive-sort button.active { background: #20394b; color: #f0c868; box-shadow: inset 0 -2px #d2aa54; }
.referee-archive-controls > .secondary { min-height: 40px; border-color: #52728d; background: #20394b; color: #f1f5f7; }
.referee-archive-controls > .secondary:hover { background: #29485f; color: #fff; }
.referee-archive-selected { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 14px 0 8px; padding: 12px 4px; border-bottom: 1px solid #395267; }
.referee-archive-selected > div:first-child { display: grid; gap: 2px; min-width: 0; }
.referee-archive-selected .eyebrow { margin: 0; }
.referee-archive-selected h4 { margin: 0; color: #f1f5f7; font-size: 1rem; }
.referee-archive-selected > div:first-child > span { color: #9aafbd; font-size: .72rem; }
.referee-selected-stats { display: flex; align-items: baseline; gap: 5px 7px; color: #9aafbd; font-size: .7rem; }
.referee-selected-stats strong { margin-left: 7px; color: var(--gold); font-size: .95rem; font-variant-numeric: tabular-nums; }
.referee-selected-stats strong:first-child { margin-left: 0; }
.referee-archive-selected > button { padding: 0; border: 0; border-radius: 0; background: transparent; color: #e6c36e; font: inherit; font-size: .76rem; }
.referee-archive-selected > button:hover { color: #fff; }
.referee-archive-status { margin: 12px 0 3px; color: #a8b9c4; font-size: .75rem; }
.referee-archive-list { border-top: 1px solid #294358; }
.referee-archive-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 76px 70px 76px 82px 16px; align-items: center; gap: 12px; width: 100%; padding: 10px 4px; border: 0; border-bottom: 1px solid #294358; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.referee-archive-row:hover, .referee-archive-row.is-selected { background: #102a3e; }
.referee-archive-rank { color: #8195a4; font-size: .72rem; font-variant-numeric: tabular-nums; }
.referee-archive-name { display: grid; gap: 2px; min-width: 0; }
.referee-archive-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }
.referee-archive-name small { color: #8195a4; font-size: .69rem; }
.referee-archive-count { display: grid; justify-items: end; gap: 1px; }
.referee-archive-count strong { color: var(--gold); font-size: .88rem; font-variant-numeric: tabular-nums; }
.referee-archive-count small { color: #8195a4; font-size: .64rem; }
.referee-archive-row .match-arrow { color: #8195a4; }
.referee-archive-empty { padding: 20px 4px; color: #9aafbd; }
.referee-archive-link { margin: 4px 0 8px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #e6c36e; font: inherit; font-size: .8rem; }
.referee-archive-link:hover { color: #fff; }
.referee-unlinked-note { color: #9aafbd; font-size: .68rem; font-weight: 400; }
@media (max-width: 960px) {
  .international-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .international-filter-bar .international-player-filter, .international-filter-bar .international-opponent-filter { grid-column: 1 / -1; }
  .international-filter-bar .international-direction-control { align-self: end; }
  .international-filter-bar > button { justify-self: end; }
}
@media (max-width: 760px) {
  .player-archive-mode { flex-wrap: wrap; }
  .player-current-filter-slot { flex: 1 1 100%; flex-wrap: wrap; margin-left: 0; padding-bottom: 8px; }
  .player-current-filter-slot .player-current-filter { flex: 1 1 0; min-width: 0; min-height: 44px; gap: 8px; padding: 6px 9px; font-size: .72rem; white-space: normal; }
  .player-archive { padding: 15px 12px; }
  .player-archive-hero { grid-template-columns: 1fr; gap: 8px; padding: 0 2px 8px; }
  .player-archive-hero h3 { font-size: 1.5rem; }
  .player-archive-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .player-archive-summary div { padding: 5px 2px; gap: 1px; }
  .player-archive-summary span { font-size: .6rem; line-height: 1.3; }
  .player-archive-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 2px; }
  .player-archive-controls label { width: 100%; }
  #player-archive-metric-label { grid-row: 2; grid-column: 1 / -1; }
  #player-archive-scope-label { grid-row: 1; grid-column: 2; }
  .player-archive-controls select { min-height: 44px; padding: 0 34px 0 10px; background-position: right 10px center; background-size: 13px; font-size: .76rem; }
  .player-archive-row { grid-template-columns: 22px minmax(0, 1fr) 70px 14px; gap: 6px; padding-inline: 1px; }
  .player-archive-name strong { font-size: .78rem; }
  .player-archive-count strong { font-size: .8rem; }
  .player-archive-count small, .player-archive-name small { font-size: .6rem; }
  .player-archive-detail { grid-column: 2 / 4; grid-row: 2; padding-bottom: 2px; font-size: .64rem; text-align: left; }
  .player-archive-row .match-arrow { grid-column: 4; grid-row: 1; }
  .international-view, .referee-archive { padding: 15px 12px; }
  .international-hero { grid-template-columns: 1fr; gap: 17px; padding: 16px 2px 20px; }
  .international-hero-copy h3 { font-size: 1.55rem; }
  .international-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .international-filter-bar .international-player-filter, .international-filter-bar .international-opponent-filter { grid-column: 1 / -1; }
  .international-filter-bar .international-direction-control { align-self: end; }
  .international-filter-bar > button { justify-self: end; }
  .international-match { grid-template-columns: 83px minmax(0, 1fr) 48px; gap: 8px; padding: 13px 2px; }
  .international-match-date { font-size: .68rem; }
  .international-fixture { gap: 5px; font-size: .7rem; }
  .international-fixture strong { font-size: .86rem; }
  .international-score { font-size: .98rem; }
  .referee-archive-hero { grid-template-columns: 1fr; gap: 15px; padding: 16px 2px 19px; }
  .referee-archive-hero h3 { font-size: 1.5rem; }
  .referee-archive-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .referee-archive-controls { align-items: stretch; gap: 10px 8px; }
  .referee-archive-controls > label { flex-basis: 100%; }
  .referee-archive-sort { flex: 1 1 auto; }
  .referee-archive-sort button { flex: 1 1 0; }
  .referee-archive-row { grid-template-columns: 22px minmax(0, 1fr) 52px 48px 52px 12px; gap: 6px; padding-inline: 1px; }
  .referee-archive-row .referee-archive-norm { display: none; }
  .referee-archive-name strong { font-size: .78rem; }
  .referee-archive-count strong { font-size: .78rem; }
  .referee-archive-count small { font-size: .58rem; }
  .referee-benchmark-meter.tiny { width: 48px; }
  .referee-archive-selected { align-items: flex-start; }
  .referee-selected-stats { width: 100%; flex-wrap: wrap; }
}
.opponent-chart-modes { display: inline-flex; max-width: 100%; margin: 1px 0 13px; overflow: auto; border: 1px solid #385267; border-radius: 5px; background: #0c2232; }
.opponent-chart-modes button { flex: none; padding: 8px 13px; border: 0; border-right: 1px solid #385267; border-radius: 0; background: transparent; color: #9aafbd; font-size: .76rem; }
.opponent-chart-modes button:last-child { border-right: 0; }
.opponent-chart-modes button:hover { color: #f1f5f7; }
.opponent-chart-modes button.active { background: #20394b; color: #f0c868; box-shadow: inset 0 -2px #d2aa54; }
.opponent-form-chart { min-height: 190px; }
.opponent-chart-caption { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 4px; color: #8da1af; font-size: .75rem; }
.opponent-chart-delta { color: #f0c868; font-size: .95rem; font-variant-numeric: tabular-nums; font-weight: 700; }
.opponent-chart-delta.behind { color: #d18a7d; }
.opponent-form-svg { display: block; width: 100%; height: auto; overflow: visible; }
.opponent-chart-grid { stroke: #294358; stroke-width: 1; }
.opponent-chart-baseline { stroke: #8193a0; stroke-width: 1; stroke-dasharray: 4 6; opacity: .66; }
.opponent-chart-axis { fill: #8195a4; font-family: inherit; font-size: 11px; }
.opponent-chart-line { fill: none; stroke: #e6bd59; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.opponent-chart-line-2 { stroke: #8eafc5; stroke-width: 2.3; stroke-dasharray: 7 5; }
.opponent-chart-legend { display: flex; align-items: center; gap: 17px; margin: 1px 0 0 48px; color: #97a9b5; font-size: .7rem; }
.opponent-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.opponent-chart-legend i { display: inline-block; width: 18px; height: 3px; background: #e6bd59; }
.opponent-chart-legend .legend-expected { height: 0; border-top: 2px dashed #8eafc5; background: none; }
.opponent-chart-baseline-label { color: #8195a4; }
@media (max-width: 700px) {
  .rivalry-streak-grid { grid-template-columns: 1fr; }
  .rivalry-streak-card { padding: 11px; }
  .rivalry-streak-leaderboards .opponent-section-heading { align-items: stretch; flex-direction: column; gap: 10px; }
  .rivalry-streak-filter { justify-content: space-between; }
  .rivalry-streak-filter select { flex: 1; min-width: 0; }
  .opponent-directory-row { grid-template-columns: 24px 30px minmax(0, 1fr) 52px 12px; gap: 8px; padding-inline: 2px; }
  .opponent-directory-row.has-streak-metric { grid-template-columns: 24px 30px minmax(0, 1fr) 86px 12px; }
  .opponent-directory-name strong { font-size: .9rem; }
  .opponent-directory-count strong { font-size: .9rem; }
  .opponent-profile-hero { grid-template-columns: 1fr; gap: 21px; padding: 17px 2px 21px; }
  .opponent-profile-identity { padding-right: 86px; }
  .opponent-profile-identity h2 { font-size: 2.3rem; }
  .opponent-profile-crest { width: 76px; height: 76px; }
  .opponent-profile-record { max-width: 430px; }
  dialog.archive-view-dialog:has(.opponent-profile-hero) { padding-top: 8px; }
  .opponent-rivalry-briefing { padding: 13px 12px 11px; }
  .opponent-rivalry-intro { align-items: start; flex-direction: column; gap: 6px; }
  .opponent-rivalry-grid { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
  .opponent-rivalry-stat { padding: 9px; }
  .opponent-profile-nav { top: 51px; gap: 19px; padding: 12px 2px; }
  .opponent-section { padding: 23px 2px 25px; scroll-margin-top: 102px; }
  .opponent-section-heading h3 { font-size: 1.2rem; }
  .opponent-two-column { grid-template-columns: 1fr; gap: 27px; }
  .opponent-highlight { grid-template-columns: 86px 48px minmax(0, 1fr) 12px; gap: 7px; padding: 11px 1px; }
  .opponent-highlight-date { font-size: .69rem; }
  .opponent-highlight-label { display: grid; justify-content: start; gap: 2px; font-size: .78rem; }
  .opponent-highlight-label > span { font-size: .68rem; }
  .opponent-player-list-head { display: none; }
  .opponent-player-row { grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 7px 9px; padding: 10px 0; }
  .opponent-player-rank { padding-top: 2px; }
  .opponent-player-name { grid-column: 2; }
  .opponent-player-name > button { font-size: .95rem; }
  .opponent-player-stats { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .opponent-player-stat { display: grid; justify-items: start; gap: 2px; min-width: 0; padding: 5px 7px; border-radius: 4px; background: #102a3e; font-size: .9rem; text-align: left; }
  .opponent-player-stat small { color: #9aafbd; font-size: .62rem; font-weight: 500; }
  .opponent-player-record { font-size: .68rem; }
  .opponent-player-row.opponent-career-row { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 4px; padding: 10px 0; }
  .opponent-career-row .opponent-player-record { white-space: normal; }
  .opponent-streak-record-heading { display: none; }
  .opponent-streak-record-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; }
  .opponent-streak-record-row > strong { grid-column: 1 / -1; }
  .opponent-streak-record-row > span::before { color: #8094a3; font-size: .6rem; font-weight: 700; }
  .opponent-streak-record-row > span:nth-of-type(1)::before { content: 'MOT LAGET'; }
  .opponent-streak-record-row > span:nth-of-type(2)::before { content: 'HBK-REKORD'; }
  .opponent-nemesis-row { grid-template-columns: minmax(0, 1fr) 52px; gap: 7px; padding: 6px 0; }
  .opponent-nemesis-row > span:last-child { grid-column: 1 / -1; padding-bottom: 3px; text-align: left; }
  .opponent-timeline-row { grid-template-columns: 70px minmax(0, 1fr); gap: 8px; }
  .opponent-timeline-row > small { grid-column: 2; margin-top: -9px; text-align: left; }
  .opponent-coach-row { align-items: flex-start; }
  .opponent-chart-modes { display: flex; width: 100%; }
  .opponent-chart-modes button { flex: 1; padding: 8px 6px; font-size: .68rem; }
  .opponent-chart-caption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .opponent-chart-legend { flex-wrap: wrap; gap: 10px; margin-left: 36px; }
}
.muted { color: var(--muted); }
.match-grid { border-top: 1px solid var(--line); }
.match-row { display: grid; grid-template-columns: 135px 42px minmax(180px, 1fr) 70px 28px; align-items: center; gap: 18px; width: 100%; padding: 11px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: left; font-weight: 400; }
.match-grid .match-row { grid-template-columns: 28px 135px 42px minmax(180px, 1fr) 70px 28px; }
.match-row:hover { background: #102a3e; color: #f1f5f7; }
.match-row:hover .match-date { color: #9aafbd; }
.match-opponent-copy { display: grid; min-width: 0; gap: 3px; }
.match-opponent > .match-opponent-copy { overflow: hidden; text-overflow: clip; white-space: normal; }
.match-opponent-copy > .match-opponent-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: normal; }
.match-memory-avatars { display: flex; flex: 0 0 auto; align-items: center; padding-top: 2px; }
.match-memory-avatar { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; margin-left: -5px; overflow: hidden; border: 2px solid #0a1d2b; border-radius: 50%; background: #173448; color: #e6c36e; font-size: .58rem; font-weight: 700; line-height: 1; }
.match-memory-avatar:first-child { margin-left: 0; }
.match-memory-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.match-memory-more { display: grid; flex: 0 0 auto; place-items: center; min-width: 25px; height: 25px; margin-left: -5px; padding: 0 4px; border: 2px solid #0a1d2b; border-radius: 13px; background: #294356; color: #e0e9ee; font-size: .62rem; font-weight: 700; line-height: 1; }
.match-editorial-badge { flex: 0 0 auto; }
.match-editorial-badge .editorial-hint { font-size: .62rem; }
.match-opponent-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dream-goal-match-badge .dream-goal-stars { color: #79c8d8; }
.dream-goal-description { display: none; }
html.editorial-hints-enabled .dream-goal-description { display: block; }
.match-opponent-copy .memorable-match-reason { display: -webkit-box; overflow: hidden; color: #a9bac6; font-size: .72rem; line-height: 1.3; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
html:not(.editorial-hints-enabled) .match-opponent-copy .memorable-match-reason { display: none; }
html.editorial-hints-enabled .match-opponent-copy .memorable-match-reason { display: -webkit-box; }
.match-round-label { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; font-weight: 500; }
.match-dialog .match-row, dialog .match-row { color: #f1f5f7; }
.match-dialog .match-date, dialog .match-date { color: #9aafbd; }
.competition-marker-group { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; }
.competition-fiveaside { border-color: #5da9a1; background: #164a4b; color: #d8f4e8; font-size: .65rem; font-weight: 800; }
.competition-unofficial { display: inline-grid; place-items: center; width: 12px; height: 12px; border: 1px solid #b9964b; border-radius: 50%; color: #f0c868; font-size: .66rem; font-weight: 800; line-height: 1; }
.match-training-label { display: block; color: var(--muted); font-size: .7rem; font-weight: 500; }
.match-dialog .match-opponent, dialog .match-opponent { color: #f1f5f7; }
.season-match-row { grid-template-columns: 28px 120px 42px minmax(180px, 1fr) 70px; }
.season-match-row[hidden] { display: none; }
.season-competition { color: var(--gold); text-align: center; font-size: 1.05rem; }
.player-match-row { grid-template-columns: 28px 120px 42px minmax(150px, 1fr) minmax(80px, auto) 70px minmax(100px, auto); }
.player-competition-mobile { display: none; }
.player-competition-card { border-top: 1px solid var(--line); }
.player-competition-card summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 4px; cursor: pointer; list-style: none; }
.player-competition-card summary::-webkit-details-marker { display: none; }
.player-competition-card summary::after { content: '+'; color: var(--gold); font-size: 1.1rem; }
.player-competition-card[open] summary::after { content: '−'; }
.player-competition-card summary strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-competition-card summary span { flex: 0 0 auto; color: var(--gold); font-size: .82rem; }
.player-competition-card > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; padding: 0 8px 12px; }
.player-competition-card > div span { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .8rem; }
.player-competition-card > div strong { color: #f1f5f7; font-variant-numeric: tabular-nums; }
.coach-match-row { grid-template-columns: 28px 120px 42px minmax(130px, 1fr) minmax(120px, auto) 70px 18px; }
.coach-match-row .player-match-position { text-align: right; }
.person-profile-panel { --text: #f1f5f7; --line: #395267; }
.person-profile-panel .match-row { border-bottom-color: #395267; color: #f1f5f7; }
.person-profile-panel .match-opponent { color: #f1f5f7; }
.person-profile-panel .match-date { color: #b5c3cc; }
.person-profile-panel .match-row:focus-visible { outline: 2px solid #e6c36e; outline-offset: -2px; background: #173448; }
@media (max-width: 700px) {
  .person-profile-panel .coach-match-row:not(.opponent-player-match-row) { grid-template-columns: 78px minmax(0, 1fr) 48px 18px; gap: 7px; min-height: 48px; padding: 10px 2px; }
  .person-profile-panel .coach-match-row:not(.opponent-player-match-row) .match-date { grid-column: 1; grid-row: 1; font-size: .7rem; }
  .person-profile-panel .coach-match-row:not(.opponent-player-match-row) .match-opponent { grid-column: 2; grid-row: 1; font-size: .84rem; }
  .person-profile-panel .coach-match-row:not(.opponent-player-match-row) .match-score { grid-column: 3; grid-row: 1; font-size: .9rem; white-space: nowrap; }
  .person-profile-panel .coach-match-row:not(.opponent-player-match-row) .match-arrow { grid-column: 4; grid-row: 1; font-size: 1rem; }
}
.player-match-status { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--gold); text-align: right; white-space: nowrap; font-size: .88rem; }
.player-match-captain { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid #ffe59a; border-radius: 50%; background: #f4c85d; color: #071824; font-size: .68rem; font-weight: 900; line-height: 1; }
.opponent-player-no-events { color: var(--muted); }
.player-match-position { color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-absent, .player-struck { color: var(--muted); }
.player-struck { text-decoration: line-through; }
.player-not-played { color: #718292 !important; background-image: linear-gradient(to bottom, transparent calc(50% - 1px), #526372 calc(50% - 1px), #526372 50%, transparent 50%); }
.player-not-played:hover { color: #a2afba; background-color: #102a3e; }
.player-not-played .match-score, .player-not-played .season-competition { color: #718292; }
.person-profile-panel .player-not-played,
.person-profile-panel .player-not-played .match-score,
.person-profile-panel .player-not-played .season-competition { color: #b5c3cc !important; }
.competition-badge { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border: 1px solid currentColor; border-radius: 50%; font-size: .82em; font-weight: 700; line-height: 1; }
.competition-superettan { border-color: #78b8dc; color: #8bc4e8; }
.competition-emoji { font-size: 1.05em; }
.competition-logo { display: inline-block; width: 1.45em; height: 1.45em; object-fit: contain; vertical-align: middle; }
.match-type-line .competition-logo { flex: 0 0 1.25em; width: 1.25em; height: 1.25em; }
.competition-logo-intertoto { background: #fff; border-radius: 50%; }
.competition-lottery { font-size: .95em; }
.competition-european { color: #d7b76b; }
.competition-qualifier { color: #f1c965; }
.competition-other { color: var(--muted); }
.competition-training { border-color: var(--muted); color: var(--muted); font-size: .95em; }
.match-type-line { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 2px 0 10px; font-size: .92rem; }
.match-type-line .competition-badge, .match-type-line .competition-emoji, .match-type-line .competition-lottery { color: var(--gold); }
.match-context-link { padding: 0; border: 0; border-bottom: 1px solid #f4c85d66; border-radius: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-align: inherit; }
.match-context-link:hover, .match-context-link:focus-visible { color: #fff; border-color: var(--gold); }
.match-type-line .match-context-link { color: var(--muted); }
.match-type-line .match-context-link:hover, .match-type-line .match-context-link:focus-visible { color: #fff; }
.competition-season-archive { border-bottom: 1px solid var(--line); }
.competition-season-archive details { border-top: 1px solid var(--line); }
.competition-season-archive summary { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 4px; cursor: pointer; list-style: none; }
.competition-season-archive summary::-webkit-details-marker { display: none; }
.competition-season-archive summary::before { content: '＋'; color: var(--gold); margin-right: 8px; }
.competition-season-archive details[open] summary::before { content: '−'; }
.competition-season-archive summary strong { margin-right: auto; }
.competition-season-archive summary span { color: var(--muted); font-size: .88rem; }
.competition-season-matches { padding: 0 6px 12px; }
.season-sort-control { display: flex; align-items: center; gap: 10px; width: min(420px, 100%); margin: 12px 0; color: var(--muted); font-size: .88rem; }
.season-sort-control select { width: auto; min-width: 190px; }
.round-form-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; }
.form-dot.form-current-round { outline: 2px solid var(--gold); outline-offset: 3px; }
.round-form-pending { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px dashed #52728d; border-radius: 50%; color: #9aafbd; }
.round-form-pending.selected { border-color: var(--gold); color: var(--gold); }
.round-current-table { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; padding: 12px; border-left: 3px solid var(--gold); background: #0c2434; }
.round-current-table strong { color: var(--gold); }
.round-history-table { margin-top: 10px; }
.round-match-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 18px; }
.round-match-heading h2 { margin: 0; }
.round-match-navigation { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.round-match-navigation button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #496072; border-radius: 50%; background: #102a3e; color: #f1f5f7; font-size: 1.25rem; line-height: 1; }
.round-match-navigation button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.round-match-navigation button:disabled { opacity: .4; cursor: not-allowed; }
.round-fixture-list { border-top: 1px solid var(--line); }
.round-fixture { display: grid; grid-template-columns: 105px minmax(0, 1fr) 66px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 60px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.round-fixture-date { color: var(--muted); font-size: .8rem; }
.round-fixture-team { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 4px; border: 0; background: transparent; color: var(--text); text-align: left; }
.round-fixture-team:hover { color: var(--gold); }
.round-fixture-team > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.round-fixture-team .match-opponent-crest { width: 30px; height: 30px; flex-basis: 30px; }
.round-fixture-score { justify-self: center; min-width: 60px; padding: 7px; border-color: #496072; background: #102a3e; font-variant-numeric: tabular-nums; }
.round-fixture-score:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 700px) {
  .round-match-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .round-fixture { grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); gap: 5px; }
  .round-fixture-date { grid-column: 1 / -1; }
  .round-fixture-team { gap: 5px; padding-inline: 0; font-size: .76rem; }
  .round-fixture-team .match-opponent-crest { width: 24px; height: 24px; flex-basis: 24px; }
  .round-fixture-score { min-width: 50px; padding: 6px 3px; }
}
.player-suspended { color: #ef6b73; font-size: 1.05rem; }
.match-date { color: var(--muted); font-size: .84rem; }
.match-side { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #52728d; border-radius: 50%; color: var(--muted); font-size: .78rem; font-weight: 700; }
.match-opponent { display: flex; min-width: 0; align-items: center; gap: 8px; overflow: hidden; font-size: .96rem; }
.match-opponent > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-opponent > .team-match-opponent-copy { display: grid; align-content: center; gap: 3px; white-space: normal; }
.team-match-opponent-copy > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-match-competition { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: var(--muted); font-size: .68rem; line-height: 1.2; white-space: nowrap; }
.team-match-competition .competition-logo, .team-match-competition .competition-badge, .team-match-competition .competition-emoji, .team-match-competition .competition-lottery { flex: 0 0 auto; }
.player-match-row .match-opponent .player-match-opponent-name { display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; white-space: normal; }
.player-qualification-label { color: var(--muted); font-size: .72rem; line-height: 1.2; }
.match-opponent-crest { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; }
.match-opponent-crest.crest-fallback { display: inline-grid; place-items: center; border: 1px solid #a27d35; border-radius: 50%; background: #071d33; color: #f4c85d; font-size: .55rem; font-weight: 800; line-height: 1; }
.match-opponent-crest.crest-fallback.national-team-flag { border: 0; background: transparent; font-size: 1rem; }
.match-dialog-team-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-weight: inherit; vertical-align: baseline; }
.match-dialog-team { display: inline-flex; align-items: center; gap: 8px; }
.match-report-scoreboard, .match-report-team-row { display: flex; align-items: center; gap: 8px; }
.match-report-scoreboard { align-items: flex-start; }
.match-report-score { font-variant-numeric: tabular-nums; }
.match-report-score-separator { flex: 0 0 auto; align-self: flex-start; margin-top: .28em; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.match-report-heading-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-width: 0; }
.match-report-heading-row .match-report-scoreboard { min-width: 0; }
.match-report-team-block { min-width: 0; max-width: 340px; }
.match-report-team-block h2 { margin: 0; }
.match-header-scorers { display: grid; gap: 2px; margin-top: 5px; color: #c0d0d8; font-size: .75rem; line-height: 1.45; overflow-wrap: anywhere; }
.match-header-scorers > span { display: block; }
.match-header-scorers button { padding: 0; font-size: inherit; }
.player-match-hockey-assist { display: inline-block; margin-left: 2px; color: #f4c85d; font-size: .68em; font-weight: 800; letter-spacing: .02em; vertical-align: .12em; }
.match-workspace { min-width: 0; }
.match-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0; border: 1px solid #385365; }
.match-facts-grid > div { min-width: 0; padding: 12px; }
.match-facts-grid > div + div { border-left: 1px solid #385365; }
.match-facts-grid dt { margin-bottom: 6px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.match-facts-grid dd { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0; font-size: .85rem; overflow-wrap: anywhere; }
.match-report-kit { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 10px 0; padding: 7px 12px 7px 7px; border: 1px solid #456276; border-radius: 8px; background: #0a2030; }
.match-report-kit img { flex: 0 0 48px; width: 48px; height: 60px; object-fit: contain; }
.match-report-kit span { display: grid; gap: 3px; min-width: 0; }
.match-report-kit small { color: var(--muted); font-size: .7rem; }
.match-report-kit strong { overflow-wrap: anywhere; }
.match-report-heading-row .match-report-kit { flex: 0 1 250px; margin: 0 0 0 auto; }
@media (max-width: 760px) {
  .match-report-heading-row .match-report-kit { margin: 8px 0 0; }
}
.match-report-layout:not(.has-standings) { display: contents; }
.match-report-layout.has-standings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 36%); align-items: start; gap: 24px; }
.match-report-copy { min-width: 0; }
.match-report-standings { min-width: 0; margin-top: 28px; padding: 14px; border: 1px solid #456276; border-top: 3px solid var(--gold); border-radius: 4px; background: linear-gradient(160deg, #102c3e 0%, #081d2b 68%); }
@media (min-width: 761px) {
  .match-report-team-block:last-child .match-report-team-row { flex-direction: row-reverse; }
  .match-report-team-block:last-child .match-dialog-team,
  .match-report-team-block:last-child .match-dialog-team-link { flex-direction: row-reverse; }
  .match-report-team-block:last-child .match-header-scorers { text-align: right; }
  .modern-formation-pitch .pitch-row-0 .player-events:has(.substitution-out) { transform: translateY(-6px); }
}
@media (max-width: 760px) {
  .match-report-heading-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .match-dialog-heading .match-report-scoreboard { display: grid; gap: 10px; }
  .match-report-heading-row .match-report-scoreboard { width: 100%; }
  .match-report-team-block { max-width: none; }
  .match-facts-grid { grid-template-columns: minmax(0, 1fr); }
  .match-facts-grid > div + div { border-left: 0; border-top: 1px solid #385365; }
  .match-report-team-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .match-report-team-row .match-dialog-team,
  .match-report-team-row .match-dialog-team-link { min-width: 0; text-align: left; }
  .match-report-team-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .match-report-team-row img { flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; }
  .match-report-score { text-align: right; }
  .match-report-score-separator { display: none; }
  .match-report-layout.has-standings { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .match-report-standings { margin-top: 18px; }
}
.match-dialog-team-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.match-dialog-team-link img { width: 32px; height: 32px; object-fit: contain; }
.match-score { color: var(--gold); font-weight: 700; text-align: right; }
.match-grid .match-record-value { display: block; margin-top: 3px; color: var(--muted); font-size: .67rem; font-weight: 500; white-space: nowrap; }
.match-arrow { color: var(--gold); font-size: 1.1rem; text-align: right; }
.secondary { display: block; margin: 24px auto; background: transparent; color: var(--text); }
dialog.archive-view-dialog #load-more { color: #f1f5f7; border-color: #52728d; }
.archive-note { max-width: 700px; margin: 100px auto 0; padding: 38px 0; border-top: 1px solid var(--line); text-align: center; }
.archive-note h2 { max-width: 520px; }
.archive-note h2, .archive-note p:last-child { margin-left: auto; margin-right: auto; }
.archive-note p:last-child { max-width: 540px; color: var(--muted); }
.archive-contact-line { margin: 8px 0 0; color: #9aafbd; font-size: .88rem; }
.archive-contact-line strong { color: #f1f5f7; }
.archive-contact-line a { color: #f0c868; text-underline-offset: 3px; }
.archive-contact-line a:hover { color: #fff; }
.archive-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 32px 0; background: var(--line); text-align: left; }
.archive-meta div { display: grid; gap: 4px; padding: 16px; background: #f3f8fa; }
.archive-meta strong { color: var(--text); font-size: .82rem; }
.archive-meta span { color: var(--muted); font-size: .9rem; }
.archive-about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; margin-top: 28px; text-align: left; }
.archive-about-grid h3 { font-size: 1.15rem; }
.archive-about-grid p { margin: 0; color: var(--muted); }
.change-log { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; text-align: left; }
.change-log-entry { display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.change-log-entry > strong { color: var(--text); font-size: .88rem; }
.change-log-groups { display: grid; gap: 12px; }
.change-log-group h4 { margin: 0 0 4px; color: var(--gold); font-size: .8rem; }
.change-log-group ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: var(--muted); font-size: .88rem; }
.archive-note-foot { margin-top: 32px !important; font-size: .88rem; }
.archive-admin-link { display: inline-flex; gap: 8px; margin-top: 8px; color: var(--text); font-weight: 700; text-underline-offset: 4px; }
.archive-admin-link:hover { color: var(--gold); }
.player-career-loan, .career-item-loan { position: relative; margin-left: 24px; padding: 10px 14px; border-left: 3px solid var(--gold); border-top: 1px solid #294358; background: #0b2638; }
.player-career-loan::before, .career-item-loan::before { content: '↳'; position: absolute; left: -18px; top: 10px; color: var(--gold); font-weight: 700; }
.player-career-loan + .player-year { border-top: 0; }
.player-career-loan .career-years, .career-item-loan .career-years { color: #9aafbd; }
.player-career-loan .career-stats, .career-item-loan .career-stats { color: #d5b04b; }
.player-career-guest { padding: 10px 14px; border-left: 3px solid var(--gold); background: #0b2638; }
.player-career-guest .career-years, .player-career-guest .career-stats { color: #d5b04b; }
.player-year-with-loan { margin-bottom: 0; }
.player-history-subheading { margin: 24px 6px 8px; color: var(--gold); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.player-year-with-loan + .player-career-loan { margin-top: 0; border-top: 0; border-radius: 0 0 6px 6px; }
@media (max-width: 700px) {
  .match-dialog-sticky { top: -25px; grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 8px; margin: -25px -16px 12px; padding: 11px 16px 8px; }
  .match-dialog-heading h2 { font-size: 1.02rem; }
  .match-dialog-heading .match-type-line { gap: 6px; font-size: .76rem; }
  .match-dialog-back, .match-dialog-close { width: 30px; height: 30px; font-size: 1.22rem; }
  #match-dialog .match-header-scorers { display: none; }
  #match-dialog .match-streak-comment { display: -webkit-box; margin-top: 5px; overflow: hidden; font-size: .75rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  #match-dialog .allsvenskan-record-comment { overflow: hidden; font-size: .7rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  #match-dialog .allsvenskan-record-comment ~ .allsvenskan-record-comment { display: none; }
  .player-career-loan, .career-item-loan { margin-left: 12px; }
  .archive-meta, .archive-about-grid { grid-template-columns: 1fr; }
  .archive-meta { margin-top: 26px; }
  .archive-about-grid { gap: 26px; }
}
dialog { width: min(1080px, calc(100% - 24px)); max-height: 94vh; overflow: auto; padding: 24px 28px 32px; border: 1px solid #254259; border-radius: 12px; background: var(--panel); color: #f1f5f7; color-scheme: dark; }
dialog.archive-view-dialog { width: min(1260px, calc(100% - 32px)); max-height: 94vh; padding: 18px 24px 28px; }
dialog.archive-view-dialog .match-dialog-sticky { top: -18px; margin: -18px -24px 16px; padding: 12px 24px 10px; }
dialog.archive-view-dialog .archive-view-dialog-content { min-width: 0; color: #f1f5f7; }
dialog.archive-view-dialog .section-heading { color: #f1f5f7; }
dialog.archive-view-dialog .section-heading h2, dialog.archive-view-dialog .section-heading .eyebrow { color: #f1f5f7; }
dialog.archive-view-dialog .section-heading .eyebrow { color: var(--gold); }
dialog.archive-view-dialog .country-directory { border-color: #294358; }
dialog.archive-view-dialog .country-directory-row { border-color: #294358; color: #f1f5f7; }
dialog.archive-view-dialog .country-directory-name small, dialog.archive-view-dialog .country-directory-record small { color: #9aafbd; }
dialog.about-dialog { width: min(960px, calc(100% - 32px)); }
dialog.archive-view-dialog.about-dialog .match-dialog-sticky { grid-template-columns: minmax(0, 1fr) 34px; }
.about-dialog .archive-note { max-width: none; margin: 0; padding: 12px 0 0; border-top: 0; text-align: left; }
.about-dialog .archive-note h2 { max-width: none; margin: 0 0 16px; color: #f1f5f7; font-size: 1.6rem; line-height: 1.25; }
.about-dialog .archive-meta { background: #294358; }
.about-dialog .archive-meta div { background: #0c2434; }
.about-dialog .archive-meta strong, .about-dialog .archive-about-grid h3, .about-dialog .change-log-entry > strong, .about-dialog .archive-admin-link { color: #f1f5f7; }
.about-dialog .archive-meta span, .about-dialog .archive-about-grid p, .about-dialog .change-log-group ul, .about-dialog .archive-note-foot { color: #9aafbd; }
.about-dialog .change-log-entry { border-color: #294358; }
.about-dialog .archive-admin-link:hover { color: var(--gold); }
@media (max-width: 700px) {
  dialog.archive-view-dialog { width: calc(100% - 16px); padding: 16px 12px 22px; }
  dialog.archive-view-dialog .match-dialog-sticky { top: -16px; margin: -16px -12px 14px; padding: 11px 12px 8px; }
  dialog.archive-view-dialog.about-dialog .match-dialog-sticky { grid-template-columns: minmax(0, 1fr) 30px; }
  dialog.archive-view-dialog.about-dialog .match-dialog-close { width: 30px; height: 30px; font-size: 1.22rem; }
}
dialog::backdrop { background: #000b; }
.match-dialog-sticky { position: sticky; top: -24px; z-index: 10; display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: start; gap: 12px; margin: -24px -28px 16px; padding: 14px 28px 10px; border-bottom: 1px solid #254259; background: var(--panel); box-shadow: 0 8px 14px #07182444; }
.match-dialog-back { width: 34px; height: 34px; padding: 0; border: 1px solid #496072; border-radius: 50%; background: #102a3e; color: #f1f5f7; font-size: 1.1rem; line-height: 1; }
.match-dialog-back:hover { border-color: var(--gold); color: var(--gold); }
.match-dialog-heading { min-width: 0; }
.match-dialog-heading > .eyebrow { margin: 0 0 3px; }
.match-dialog-heading h2 { margin: 0; font-size: 1.28rem; line-height: 1.2; overflow-wrap: anywhere; }
.archive-dialog-back { padding: 0; border: 0; border-radius: 0; background: transparent; color: #e6c36e; font: inherit; font-size: .78rem; text-align: left; }
.archive-dialog-back:hover { color: #fff; filter: none; }
.match-dialog-heading .match-type-line { margin: 5px 0 0; font-size: .82rem; }
.match-dialog-close { position: sticky; top: 0; width: 34px; height: 34px; padding: 0; border: 1px solid #496072; border-radius: 50%; background: #102a3e; color: #f1f5f7; font-size: 1.4rem; line-height: 1; }
.match-dialog-close:hover { border-color: var(--gold); color: var(--gold); }
#match-dialog:has(.form-dot:hover) .match-dialog-sticky { z-index: 0; }
.person-profile-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 110px; padding: 4px 4px 8px 0; overflow: hidden; }
.person-profile-heading { position: relative; z-index: 1; min-width: 0; }
.person-profile-heading h2 { overflow-wrap: anywhere; }
#match-detail:has(> .person-profile-header.is-player-profile) { --muted: #a9becd; --gold: #e6c36e; }
.person-profile-header.is-player-profile { align-items: flex-start; padding: 24px 4px; border-bottom: 1px solid #395267; }
.is-player-profile .person-profile-heading h2 { margin: 8px 0 12px; color: #f3f5f5; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 500; line-height: 1.08; }
.player-profile-period { margin: 12px 0 0; color: #e6c36e; font-size: .9rem; }
.player-profile-facts { margin: 12px 0 0; max-width: 720px; color: #9aafbd; font-size: .8rem; line-height: 1.6; }
.is-player-profile .player-bio { max-width: 720px; margin: 14px 0 0; color: #c3d0d7; font-size: .92rem; line-height: 1.6; }
.player-profile-record { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 20px; background: #294358; }
.player-profile-record > div { display: grid; align-content: start; gap: 7px; padding: 17px 12px; background: var(--panel); }
.player-profile-record strong { color: #f0d78e; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 500; font-variant-numeric: tabular-nums; }
.player-profile-record span { color: #9aafbd; font-size: .75rem; }
.coach-profile-record { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 14px; }
.person-profile-tablist { display: flex; gap: 22px; overflow-x: auto; margin-top: 24px; padding: 0 0 1px; border-bottom: 1px solid #395267; scrollbar-width: thin; }
.person-profile-tablist > button { flex: 0 0 auto; padding: 12px 0; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #a9becd; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.person-profile-tablist > button.active { border-bottom-color: #e6c36e; color: #f0d78e; }
.person-profile-tablist > button:focus-visible { outline: 2px solid #e6c36e; outline-offset: -2px; }
.person-profile-title { padding-top: 12px; }
.person-profile-navigation { position: sticky; top: var(--profile-navigation-top, 0px); z-index: 3; margin-left: calc(-1 * var(--profile-navigation-left, 0px)); margin-right: calc(-1 * var(--profile-navigation-right, 0px)); padding: 10px var(--profile-navigation-right, 0px) 0 var(--profile-navigation-left, 0px); background: var(--panel); box-shadow: 0 10px 16px #07182455; }
.person-profile-navigation .career-view-toggle { margin: 0 0 6px; }
.person-profile-navigation .person-profile-tablist { margin-top: 0; }
.person-profile-navigation .person-profile-tablist > button { min-height: 44px; }
.person-profile-panel { padding: 24px 0 8px; min-width: 0; }
.person-profile-panel > .detail-section:first-child { margin-top: 0; }
.person-profile-panel > h3 { color: #f0d78e; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; font-size: 1.45rem; }
.person-profile-panel:focus-visible { outline: 1px solid #688599; outline-offset: 4px; }
.coach-contract-list { padding-left: 22px; color: #c3d0d7; }
.coach-contract-list > li { padding: 10px 0; }
.coach-contract-list strong { color: #f1f5f7; }
.coach-contract-list p { margin: 5px 0; font-size: .82rem; }
.coach-percentage-details { margin-top: 20px; color: #c3d0d7; }
.coach-percentage-details > summary { width: fit-content; color: #e6c36e; cursor: pointer; }
.person-family-tree { padding-top: 4px; }
.person-family-tree h3 { margin-bottom: 12px; }
.person-family-tree-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.person-family-tree-list > li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; padding: 10px 12px; border-left: 2px solid #395267; background: #0c2434; }
.person-family-tree-list > li.is-direct-family { border-left-color: #e6c36e; }
.family-tree-person { padding: 2px 0; border: 0; background: transparent; color: #f1f5f7; font: inherit; text-align: left; text-decoration: underline; text-decoration-color: #688599; text-underline-offset: 3px; }
.family-tree-person:hover, .family-tree-person:focus-visible { color: #f0d78e; }
.family-tree-current { color: #f0d78e; }
.family-tree-relationship { color: #9aafbd; font-size: .8rem; }
.player-career-chart { position: relative; padding: 22px; border: 1px solid #395267; border-radius: 10px; background: radial-gradient(ellipse at 30% 0, #163c4a, #102638 70%); color: #eaf0f3; color-scheme: dark; }
.player-career-chart-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.player-career-chart-heading h3 { margin: 5px 0 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; font-weight: 500; }
.player-career-chart-heading .eyebrow { margin: 0; }
.player-career-chart-controls { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0; padding: 0; border: 0; }
.player-career-chart-controls legend { margin-bottom: 7px; color: #9aafbd; font-size: .65rem; }
.player-career-chart-controls label { display: inline-flex; align-items: center; gap: 5px; color: var(--series-color); font-size: .78rem; cursor: pointer; }
.player-career-chart-controls input { accent-color: var(--series-color); }
.player-career-chart .is-matches { --series-color: #75f0cb; }
.player-career-chart .is-clean_sheets { --series-color: #f294c8; }
.player-career-chart .is-goals { --series-color: #f4c85d; }
.player-career-chart .is-assists { --series-color: #d5b5fa; }
.player-career-chart .is-starts { --series-color: #8fc6ee; }
.player-career-chart .is-substitutes { --series-color: #e89170; }
.player-career-chart .is-wins { --series-color: #75f0cb; }
.player-career-chart .is-draws { --series-color: #8fc6ee; }
.player-career-chart .is-losses { --series-color: #ff9b96; }
.player-career-chart .is-unknown { --series-color: #c3d0d7; }
.player-career-chart .is-percentage { --series-color: #f4c85d; }
.player-career-series .season-evolution-line, .player-career-series .season-evolution-glow { stroke: var(--series-color); }
.player-career-series .season-evolution-dot { stroke: var(--series-color); filter: drop-shadow(0 0 4px var(--series-color)); }
.player-career-series.is-starts .season-evolution-line { stroke-dasharray: 7 4; }
.player-career-series.is-substitutes .season-evolution-line { stroke-dasharray: 3 5; }
.player-career-series.is-assists .season-evolution-line { stroke-dasharray: 10 4; }
.player-career-series .season-evolution-dot { cursor: help; }
.player-career-series .season-evolution-dot:focus-visible { outline: none; stroke-width: 4; }
.player-career-tooltip { position: absolute; z-index: 5; width: 230px; max-width: calc(100% - 8px); padding: 13px 16px; border: 1px solid #688599; border-radius: 8px; background: #091b29; color: #f1f5f7; box-shadow: 0 6px 24px #0008; pointer-events: none; }
.player-career-tooltip > strong { color: #f0d78e; font-size: 1rem; }
.player-career-tooltip dl { display: grid; gap: 5px; margin: 8px 0 0; font-size: .75rem; }
.player-career-tooltip dl > div { display: flex; justify-content: space-between; gap: 10px; }
.player-career-tooltip dt { color: var(--series-color); }
.player-career-tooltip dd { margin: 0; font-variant-numeric: tabular-nums; }
.player-career-tooltip-detail { margin: 9px 0 0; color: #c3d0d7; font-size: .7rem; line-height: 1.45; }
.player-career-chart-note { margin: 12px 0; color: #9aafbd; font-size: .72rem; line-height: 1.6; }
.player-career-chart-table { color: #c3d0d7; font-size: .78rem; }
.player-career-chart-table summary { width: fit-content; padding: 6px 0; color: #e6c36e; cursor: pointer; }
.player-career-chart-table table { width: 100%; margin-top: 10px; border-collapse: collapse; text-align: left; }
.player-career-chart-table th, .player-career-chart-table td { padding: 8px; border-bottom: 1px solid #294358; }
@media (max-width: 650px) {
  .person-profile-navigation .career-view-toggle button { min-height: 40px; }
  .player-career-chart { padding: 14px 10px; }
  .player-profile-record > div { padding: 14px 8px; }
  .player-profile-record span { font-size: .67rem; }
  .coach-profile-record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person-profile-tablist { gap: 18px; }
}
.person-card-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px; max-width: 920px; margin-top: 10px; color: #c5d3dd; font-size: .76rem; line-height: 1.4; }
.person-card-status-item { display: grid; align-content: start; gap: 5px; padding: 9px 11px; border: 1px solid #66582e; border-radius: 6px; background: linear-gradient(135deg, #302b1d, #152a37 70%); cursor: help; }
.person-card-status-cup { border-color: #3d6a7c; background: linear-gradient(135deg, #173b48, #152a37 70%); }
.person-card-status-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 8px; }
.person-card-status strong { color: #f0d78e; font-weight: 750; }
.person-card-status-cup .person-card-status-heading strong { color: #aee5ed; }
.person-card-warning-count { color: #fff1bc; font-size: .93rem; font-weight: 800; }
.person-card-warning-count span { font-size: .82em; }
.person-card-cup-count { color: #e1f5f6; font-size: .95rem; font-weight: 800; }
.person-card-warning-progress { display: flex; gap: 4px; }
.person-card-warning-progress span { width: 22px; height: 5px; border-radius: 4px; background: #425464; }
.person-card-warning-progress span.is-filled { background: #f0c868; box-shadow: 0 0 8px #f0c86855; }
.person-card-status-item p { margin: 0; }
.person-card-suspension { color: #f3d987; font-weight: 700; }
.person-card-expiry { color: #bdcbd4; }
.person-loan-badge { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 3px 7px; border: 1px solid #4e806d; border-radius: 5px; background: #122f2c; color: #c4ead8; font-size: .68rem; font-weight: 750; line-height: 1.2; vertical-align: middle; }
.person-loan-badge .match-opponent-crest { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.person-transfer-ranks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.person-transfer-rank { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid #8e702f; border-radius: 4px; background: #243323; color: #f1d98f; font-size: .68rem; font-weight: 650; line-height: 1.25; text-align: left; }
.person-transfer-rank:hover, .person-transfer-rank:focus-visible { border-color: #e3c267; background: #34452f; color: #fff0b5; }
.transfer-ranking-panel { scroll-margin-top: 12px; }
.transfer-ranking-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.transfer-ranking-header .eyebrow { margin-bottom: 5px; }
.transfer-ranking-header h3 { margin: 0; color: #f1f5f7; }
.transfer-ranking-close { width: 34px; height: 34px; flex: 0 0 34px; padding: 0; border: 1px solid #496072; border-radius: 50%; background: #102a3e; color: #f1f5f7; font-size: 1.25rem; line-height: 1; }
.transfer-ranking-tabs { display: flex; gap: 7px; margin: 14px 0 8px; border-bottom: 1px solid #395267; }
.transfer-ranking-tabs button { padding: 8px 10px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #9aafbd; font-size: .82rem; }
.transfer-ranking-tabs button.active { border-bottom-color: var(--gold); color: #f1d98f; }
.transfer-ranking-list { display: grid; }
.transfer-ranking-row { display: grid; grid-template-columns: 34px minmax(140px, .8fr) minmax(190px, 1fr) minmax(90px, auto); align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px solid #294358; }
.transfer-ranking-row.is-current { border-left: 3px solid var(--gold); background: #142b39; }
.transfer-ranking-position { color: var(--gold); font-variant-numeric: tabular-nums; }
.transfer-ranking-person { justify-self: start; padding: 0; border: 0; background: transparent; color: #f1f5f7; font-size: .85rem; text-align: left; }
.transfer-ranking-person:hover { color: var(--gold); text-decoration: underline; }
.transfer-ranking-person-block { display: grid; justify-items: start; gap: 3px; min-width: 0; }
.opponent-hbk-status { display: inline-flex; align-items: center; gap: 5px; color: #9aafbd; font-size: .66rem; line-height: 1.2; }
.opponent-hbk-status.is-current { color: #8fd6a8; }
.opponent-hbk-status i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #54b987; box-shadow: 0 0 0 2px #54b98722; }
.transfer-ranking-move { color: #9aafbd; font-size: .78rem; }
.transfer-ranking-amount { color: #f1d98f; font-size: .82rem; text-align: right; white-space: nowrap; }
.person-profile-heading .detail-meta { margin: 0; }
.person-profile-crest { position: absolute; top: -28px; right: 0; width: 150px; height: 150px; object-fit: contain; opacity: .12; pointer-events: none; }
.current-player-contract { position: relative; z-index: 1; display: grid; justify-items: end; gap: 4px; margin-left: auto; padding-right: 106px; text-align: right; }
.current-player-contract > strong { color: #f1f5f7; font-size: .98rem; }
.current-player-contract > span:last-child { color: #9aafbd; font-size: .84rem; }
.current-player-status { display: inline-flex; align-items: center; gap: 7px; color: #e3c267; font-size: .76rem; font-weight: 800; }
.current-player-status > span { width: 8px; height: 8px; border-radius: 50%; background: #58b77b; box-shadow: 0 0 0 3px #58b77b22; }
.player-year-shirt-number-column, .player-year-captain-column { display: grid; justify-items: center; align-content: center; gap: 2px; min-width: 42px; }
.player-shirt-number { justify-self: start; max-width: 100%; padding: 2px 4px; border: 1px solid #d5b04b88; border-radius: 4px; color: #e3c267 !important; font-size: .64rem !important; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-captain-badge { display: grid; justify-items: center; gap: 1px; flex: 0 0 auto; color: #f0c868 !important; font-size: .64rem !important; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.player-captain-ring { display: grid; width: 23px; height: 23px; place-items: center; padding: 2px; border-radius: 50%; background: conic-gradient(#f0c868 var(--captain-share), #38536a 0); }
.player-captain-ring strong { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 50%; background: #0e2030; color: #f0c868; font-size: .63rem; }
.player-captain-count { color: #f0c868 !important; font-size: .58rem !important; font-weight: 750; }
.player-captain-explanation { display: none; color: #f0c868; font-size: .68rem; line-height: 1.3; }
html.editorial-hints-enabled .player-captain-badge { display: none; }
html.editorial-hints-enabled .player-captain-explanation { display: inline; max-width: 190px; white-space: normal; }
.close { position: sticky; top: -12px; z-index: 4; display: block; margin: -12px -12px 0 auto; padding: 2px 9px; background: var(--panel); color: #f1f5f7; border: 0; font-size: 1.5rem; line-height: 1; }
.detail-meta { color: var(--muted); }
.match-opponent-division { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: -4px 0 10px; color: var(--muted); font-size: .82rem; }
.opponent-division-mark { display: inline-flex; align-items: center; gap: 6px; color: #f1f5f7; font-weight: 650; }
.opponent-division-mark .competition-badge { flex: 0 0 auto; }
.match-opponent-division .opponent-division-mark > span:last-child { color: var(--gold); }
.person-profile-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 22px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.person-profile-nav strong { color: var(--gold); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.person-profile-nav a { color: #f1f5f7; text-decoration: none; text-underline-offset: 3px; }
.person-profile-nav a:hover, .person-profile-nav a:focus-visible { color: var(--gold); text-decoration: underline; }
.person-profile-nav ~ .detail-section { scroll-margin-top: 16px; }
.person-timeline { margin: -8px 0 22px; }
.person-timeline > details { overflow: hidden; border: 1px solid #38536a; border-radius: 6px; background: #0c2434; }
.person-timeline > details > summary { display: flex; align-items: center; justify-content: flex-start; gap: 14px; min-height: 66px; padding: 11px 14px; cursor: pointer; list-style: none; }
.person-timeline > details > summary::-webkit-details-marker { display: none; }
.person-timeline > details > summary > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.person-timeline > details > summary:hover .person-timeline-disclosure { border-color: #f0c868; background: #3b301a; box-shadow: 0 0 16px #f0c86866, 0 0 4px #f0c868aa; }
.person-timeline > details > summary:focus-visible { outline: 2px solid #f0c868; outline-offset: -3px; }
.person-timeline .eyebrow { margin: 0; font-size: .66rem; }
.person-timeline-title, .person-timeline > details > summary strong { color: #f1f5f7; font-size: .98rem; }
.person-timeline-mobile-title { display: none; }
.person-timeline-mobile-list { display: none; }
.person-timeline > details > summary small { color: #9aafbd; font-size: .76rem; }
.person-timeline-disclosure { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 5px 7px 5px 10px; border: 1px solid #9d762c; border-radius: 999px; background: #2a281d; box-shadow: 0 0 12px #f0c86844, inset 0 0 8px #f0c86812; color: #f0c868; font-size: .78rem; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.person-timeline-disclosure b { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #d2aa54; border-radius: 50%; font-size: 1rem; }
.person-timeline-content { padding: 12px 14px 14px; border-top: 1px solid #38536a; }
.person-timeline-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.person-timeline-filters button { min-height: 30px; padding: 5px 9px; border: 1px solid #38536a; border-radius: 4px; background: transparent; color: #a8b9c4; font-size: .72rem; font-weight: 500; }
.person-timeline-filters button:hover { border-color: var(--gold); color: #f1f5f7; }
.person-timeline-filters button.active { border-color: var(--gold); background: #a27d35; color: #071824; font-weight: 700; }
.person-timeline-club-filters { align-items: center; margin-top: -5px; }
.person-timeline-club-filters > span { margin-right: 2px; color: #a8b9c4; font-size: .68rem; font-weight: 700; }
.person-timeline-filter-note { margin: -5px 0 12px; color: #c5b37e; font-size: .68rem; }
.person-timeline-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.person-timeline-chart { min-width: 690px; }
.person-timeline-axis, .person-timeline-row { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 12px; }
.person-timeline-axis { align-items: end; min-height: 28px; color: #9aafbd; font-size: .68rem; font-variant-numeric: tabular-nums; }
.person-timeline-axis .person-timeline-track { position: relative; height: 23px; border-bottom: 1px solid #52728d; }
.person-timeline-axis .person-timeline-track > span { position: absolute; bottom: 3px; transform: translateX(-50%); white-space: nowrap; }
.person-timeline-group { margin-top: 9px; }
.person-timeline-group h4 { margin: 0 0 2px; color: #e3c267; font-size: .74rem; }
.person-timeline-row { align-items: center; min-height: 44px; border-bottom: 1px solid #294358; }
.person-timeline-label { overflow: hidden; color: #d8e2e9; font-size: .76rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.person-timeline-club { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-width: 0; color: #f1f5f7; font: inherit; font-weight: 650; text-align: left; }
button.person-timeline-club { padding: 3px 0; border: 0; border-radius: 3px; background: transparent; cursor: pointer; }
button.person-timeline-club:hover { color: #e6c36e; }
button.person-timeline-club:focus-visible { outline: 2px solid #e6c36e; outline-offset: 2px; }
.person-timeline-club-name { overflow: hidden; text-overflow: ellipsis; }
.person-timeline-club .match-opponent-crest { flex: 0 0 28px; width: 28px; height: 28px; object-fit: contain; }
.person-timeline-country-flag { flex: 0 0 auto; font-size: .9rem; line-height: 1; }
.person-timeline-country-warning { display: inline-block; margin-left: 6px; padding: 1px 4px; border: 1px solid #9b772f; border-radius: 3px; color: #e3c267; font-size: .58rem; font-weight: 700; vertical-align: 1px; }
.person-timeline-track { position: relative; min-width: 0; height: 27px; background-image: linear-gradient(to right, #52728d33 1px, transparent 1px); background-size: 10% 100%; }
.person-timeline-block { position: absolute; top: 7px; min-width: 8px; height: 10px; border: 1px solid #e3c267; border-radius: 2px; background: #a27d35; }
.person-timeline-continuation { position: absolute; top: 7px; height: 10px; border: 1px dashed #a8b9c4; background: repeating-linear-gradient(135deg, #a8b9c466 0 2px, transparent 2px 5px); }
.person-timeline-continuation.continues-after { border-left: 0; border-radius: 0 2px 2px 0; }
.person-timeline-continuation.continues-before { border-right: 0; border-radius: 2px 0 0 2px; }
.person-timeline-row:has(.person-timeline-marker) .person-timeline-marker { position: absolute; top: 6px; width: 11px; height: 11px; border: 2px solid #f0c868; border-radius: 50%; background: #0c2434; transform: translateX(-50%); }
.person-timeline-row:has(.person-timeline-block) .person-timeline-block { box-shadow: inset 0 0 0 1px #f0c86844; }
.person-timeline-group[data-person-timeline-group="playing"] .person-timeline-block { border-color: #54a8d7; background: #176d9e; }
.person-timeline-group[data-person-timeline-group="playing"] .person-timeline-continuation { border-color: #68bce9; background: repeating-linear-gradient(135deg, #68bce966 0 2px, transparent 2px 5px); }
.person-timeline-group[data-person-timeline-group="playing"] .person-timeline-marker { border-color: #68bce9; }
.person-timeline-group[data-person-timeline-group="coaching"] .person-timeline-block { border-color: #70c596; background: #287c54; }
.person-timeline-group[data-person-timeline-group="coaching"] .person-timeline-continuation { border-color: #70c596; background: repeating-linear-gradient(135deg, #70c59666 0 2px, transparent 2px 5px); }
.person-timeline-group[data-person-timeline-group="coaching"] .person-timeline-marker { border-color: #70c596; }
.person-timeline-row.is-hbk .person-timeline-block {
  overflow: hidden;
  border-color: #ffe18a;
  background: linear-gradient(105deg, #9d762c 0%, #d2a642 38%, #fff0a5 52%, #c59535 68%, #9d762c 100%);
  background-size: 220% 100%;
  box-shadow: 0 0 5px #f0c868cc, 0 0 14px #a27d3599, inset 0 0 0 1px #ffe18a66;
  animation: person-timeline-hbk-glimmer 3.6s ease-in-out infinite;
}
.person-timeline-row.is-hbk .person-timeline-continuation { border-color: #ffe18a; background: repeating-linear-gradient(135deg, #ffe18a99 0 2px, transparent 2px 5px); }
.person-timeline-row.is-hbk .person-timeline-marker {
  border-color: #ffe18a;
  box-shadow: 0 0 6px #f0c868cc, 0 0 12px #a27d3588;
}
@keyframes person-timeline-hbk-glimmer {
  0%, 24% { background-position: 100% 50%; }
  78%, 100% { background-position: 0 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .person-timeline-row.is-hbk .person-timeline-block { animation: none; }
}
.person-timeline-period-list { grid-column: 2; margin: -5px 0 6px; color: #9aafbd; font-size: .64rem; font-variant-numeric: tabular-nums; line-height: 1.35; }
.person-timeline-undated { margin: 7px 0 10px 188px; padding: 8px 10px; border-left: 2px solid #70c596; background: #102b31; color: #9aafbd; font-size: .68rem; }
.person-timeline-undated-heading { margin: 0 0 5px; color: #c3d0d9; font-weight: 700; }
.person-timeline-undated ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.person-timeline-undated li { display: grid; gap: 2px; }
.person-timeline-undated li > strong { color: #f1f5f7; font-size: .72rem; }
.person-timeline-undated li > small { overflow-wrap: anywhere; color: #9aafbd; font-size: .64rem; }
.person-timeline-note { margin: 8px 0 0; color: #9aafbd; font-size: .68rem; }
.person-timeline-list { margin-top: 11px; color: #c3d0d9; font-size: .76rem; }
.person-timeline-list > summary, .person-role-details > summary { color: #e3c267; cursor: pointer; }
.person-timeline-list #person-career { margin: 8px 0 0; }
.person-role-details { margin-top: 12px; color: #c3d0d9; font-size: .8rem; }
.person-role-details ul { margin-bottom: 0; }
@media (max-width: 700px) {
  .person-timeline { margin: -4px 0 18px; }
  .person-timeline > details > summary { min-height: 60px; padding: 9px 10px; }
  .person-timeline-content { padding: 10px; }
  .person-timeline-desktop-title { display: none; }
  .person-timeline-mobile-title { display: block; }
  .person-timeline-content > .person-timeline-filters,
  .person-timeline-scroll,
  .person-timeline-note,
  .person-timeline-list { display: none; }
  .person-timeline-mobile-list { display: grid; gap: 14px; }
  .person-timeline-mobile-group h4 { margin: 0 0 4px; color: #e3c267; font-size: .74rem; }
  .person-timeline-mobile-group ul { margin: 0; padding: 0; list-style: none; }
  .person-timeline-mobile-row { position: relative; display: grid; gap: 7px; margin-left: 7px; padding: 5px 0 18px 22px; border-left: 2px solid #52728d; }
  .person-timeline-mobile-row::before { content: ''; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #68bce9; box-shadow: 0 0 8px #68bce944; }
  .person-timeline-mobile-row.is-hbk { border-left-color: #d2a642; }
  .person-timeline-mobile-row.is-hbk::before { background: #f0c868; box-shadow: 0 0 10px #f0c86866; }
  .person-timeline-mobile-row .person-timeline-club { font-size: .85rem; }
  .person-timeline-mobile-row > strong { color: #f1f5f7; font-size: .78rem; }
  .person-timeline-mobile-periods { grid-row: 1; color: #b5c3cc; font-size: .72rem; font-weight: 650; }
  .person-timeline-mobile-row details { color: #a8b9c4; font-size: .68rem; }
  .person-timeline-mobile-row details summary { color: #e3c267; cursor: pointer; }
  .person-timeline-mobile-row details p { margin: 4px 0 0; }
  .person-timeline-mobile-note { margin: 0; color: #b5c3cc; font-size: .72rem; line-height: 1.5; }
  .person-timeline-disclosure { font-size: .7rem; }
}
.player-international-teaser { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 8px 0 20px; padding: 9px 2px; border-bottom: 1px solid #294358; color: #f1f5f7; text-decoration: none; flex-wrap: wrap; }
.player-international-teaser .eyebrow { margin: 0; }
.player-international-teaser strong { color: var(--gold); font-size: .9rem; }
.player-international-teaser > span:not(.eyebrow) { color: #9aafbd; font-size: .78rem; }
.player-international-teaser > span:last-child { margin-left: 4px; color: var(--gold); font-size: 1rem; }
.player-international-teaser:hover strong, .player-international-teaser:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.form-guide { display: flex; align-items: center; gap: 0; margin: 2px 0 10px; flex-wrap: wrap; }
.form-guide-group { display: flex; align-items: center; }
.form-dot {
  box-sizing: border-box; position: relative; width: 24px; height: 24px; padding: 0; margin: 0;
  border-radius: 50%; border: 0; display: grid; place-items: center; color: #0e2030;
  font-size: .68rem; font-weight: 800; cursor: pointer; line-height: 1; transition: transform .12s ease;
}
.form-dot::after { content: attr(data-preview); position: absolute; left: 50%; bottom: calc(100% + 9px); z-index: 10; width: max-content; max-width: min(340px, 82vw); padding: 8px 10px; border: 1px solid #52728d; border-radius: 6px; background: #071824; color: #f1f5f7; font-size: .74rem; font-weight: 500; line-height: 1.35; white-space: normal; pointer-events: none; opacity: 0; transform: translate(-50%, 4px); transition: opacity .12s ease, transform .12s ease; }
.form-dot::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 3px); z-index: 11; width: 0; height: 0; border: 6px solid transparent; border-top-color: #52728d; pointer-events: none; opacity: 0; transform: translateX(-50%); transition: opacity .12s ease; }
.form-dot[data-tooltip-align="left"]::after { left: 0; transform: translate(0, 4px); }
.form-dot[data-tooltip-align="right"]::after { left: auto; right: 0; transform: translate(0, 4px); }
.form-dot:hover::after, .form-dot:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.form-dot:hover::before, .form-dot:focus-visible::before { opacity: 1; }
.form-dot[data-tooltip-align="left"]:hover::after, .form-dot[data-tooltip-align="left"]:focus-visible::after,
.form-dot[data-tooltip-align="right"]:hover::after, .form-dot[data-tooltip-align="right"]:focus-visible::after { transform: translate(0, 0); }
.form-sep { color: #3c5872; font-size: .7rem; margin: 0 1px; }
.form-dot.form-win { background: #4f9d69; }
.form-dot.form-draw { background: #d7b34a; }
.form-dot.form-loss { background: #c15c56; }
.form-dot:hover { filter: brightness(1.15); transform: scale(1.12); z-index: 1; position: relative; }
.form-guide-today { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: #16324a; box-shadow: 0 0 0 1.5px var(--gold); margin: 0 8px; position: relative; z-index: 2; }
.form-guide-today img { width: 20px; height: 20px; object-fit: contain; display: block; }
.detail-section { margin-top: 28px; }
.detail-section h3 { color: var(--gold); }
.match-referee { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.match-referee h3 { width: 100%; margin: 0; }
.referee-profile-link { padding: 0; border: 0; border-radius: 0; background: transparent; color: #f1f5f7; font: inherit; font-weight: 700; }
.referee-profile-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.referee-unrated { color: var(--muted); font-size: .8rem; }
.referee-rating-meter { display: inline-flex; align-items: center; gap: 3px; color: #d5e0e6; white-space: nowrap; }
.referee-rating-meter i { width: 9px; height: 6px; border-radius: 1px; background: #3c5263; }
.referee-rating-meter b { margin-left: 4px; font-size: .78rem; font-variant-numeric: tabular-nums; }
.referee-rating-meter.level-1 i.filled { background: #df665d; }
.referee-rating-meter.level-2 i.filled { background: #e39a54; }
.referee-rating-meter.level-3 i.filled { background: #70a9c4; }
.referee-rating-meter.level-4 i.filled { background: #7fbd83; }
.referee-rating-meter.level-5 i.filled { background: #e4bd5d; }
.referee-rating-meter.compact i { width: 7px; height: 5px; }
.referee-profile-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 22px 0 12px; padding: 20px 0; border-top: 1px solid #33495c; border-bottom: 1px solid #33495c; }
.referee-approval-circle { position: relative; display: grid; place-items: center; width: 132px; height: 132px; flex: 0 0 132px; border-radius: 50%; background: conic-gradient(var(--gold) var(--approval), #33495c 0); }
.referee-approval-circle::before { position: absolute; inset: 9px; border-radius: 50%; background: var(--panel); content: ""; }
.referee-approval-circle span { position: relative; color: #f1f5f7; font-size: 1.65rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.referee-approval-circle.empty { background: #33495c; }
.referee-rating-summary { display: grid; gap: 5px; min-width: 0; }
.referee-rating-summary strong { color: #f1f5f7; font-size: 1.02rem; }
.referee-rating-summary > span, .referee-rating-disclaimer { color: #9aafbd; font-size: .82rem; }
.referee-rating-summary .referee-benchmark-detail { color: #b7c5ce; font-size: .76rem; line-height: 1.45; }
.referee-benchmark-meter { display: grid; gap: 4px; width: min(100%, 340px); margin: 3px 0 4px; }
.referee-benchmark-meter-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 8px; color: #c4d0d8; font-size: .7rem; }
.referee-benchmark-meter-heading strong { color: #dce5ea; font-size: .72rem; }
.referee-benchmark-meter-heading span { font-size: .68rem; }
.referee-benchmark-meter.tone-below { --benchmark-tone: #54b987; }
.referee-benchmark-meter.tone-near { --benchmark-tone: #e5b94e; }
.referee-benchmark-meter.tone-above { --benchmark-tone: #d96c68; }
.referee-benchmark-track { display: block; position: relative; width: 100%; height: 8px; overflow: visible; border-radius: 5px; background: #33495c; }
.referee-benchmark-fill { position: absolute; top: 0; bottom: 0; left: 0; width: var(--benchmark-position); border-radius: inherit; background: var(--benchmark-tone); }
.referee-benchmark-normal { position: absolute; top: -3px; bottom: -3px; left: 50%; border-left: 2px solid #f1f5f7; opacity: .85; }
.referee-benchmark-current { position: absolute; top: -2px; left: var(--benchmark-position); width: 3px; height: 12px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px #0b1f30; transform: translateX(-50%); }
.referee-benchmark-scale { display: flex; justify-content: space-between; color: #8195a4; font-size: .61rem; font-variant-numeric: tabular-nums; }
.referee-benchmark-meter.compact { width: min(100%, 260px); flex: 0 1 260px; margin: 0; }
.referee-benchmark-meter.compact .referee-benchmark-meter-heading { font-size: .64rem; }
.referee-benchmark-meter.compact .referee-benchmark-meter-heading strong { font-size: .66rem; }
.referee-benchmark-meter.tiny { display: block; width: 72px; flex: none; margin: 0; }
.referee-benchmark-meter.tiny .referee-benchmark-track { height: 7px; }
.referee-benchmark-explainer { flex: 0 0 100%; padding-top: 8px; border-top: 1px solid #33495c; color: #b7c5ce; }
.referee-benchmark-explainer summary { width: fit-content; color: #d7e1e7; font-size: .75rem; cursor: pointer; }
.referee-benchmark-explainer summary:hover { color: var(--gold); }
.referee-benchmark-explainer p { max-width: 760px; margin: 7px 0 0; color: #a8b9c4; font-size: .76rem; line-height: 1.5; }
.referee-rating-distribution { width: 100%; max-width: 260px; margin-top: 3px; }
.referee-distribution-curve { display: block; width: 100%; height: auto; overflow: visible; }
.referee-distribution-glow { fill: none; stroke: #efb83f; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: .52; filter: blur(4px); }
.referee-distribution-line { fill: none; stroke: #fff0bb; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.referee-distribution-point-glow { fill: #f4c85d; opacity: .38; filter: blur(2.5px); }
.referee-distribution-point { fill: #fff0bb; stroke: #eab944; stroke-width: .8; }
.referee-distribution-label { fill: #9aafbd; font-family: inherit; font-size: 7px; text-anchor: middle; }
.referee-rating-disclaimer { max-width: 760px; margin: 0; }
.referee-bio { max-width: 760px; color: #d5e0e6; }
.referee-competition-stats { margin-top: 22px; }
.referee-competition-stats h3 { margin-top: 0; }
.referee-competition-stats-scroll { overflow-x: auto; border-top: 1px solid #395267; border-bottom: 1px solid #395267; }
.referee-competition-stats table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.referee-competition-stats th, .referee-competition-stats td { padding: 10px 12px; border-bottom: 1px solid #294358; text-align: right; white-space: nowrap; }
.referee-competition-stats thead th { color: #a8b9c4; font-size: .69rem; letter-spacing: .035em; }
.referee-competition-stats thead th:first-child, .referee-competition-stats tbody th { text-align: left; }
.referee-competition-stats tbody th { color: #f1f5f7; font-size: .82rem; font-weight: 600; }
.referee-competition-stats tbody td { color: #d5e0e6; font-size: .82rem; }
.referee-competition-stats tbody tr:last-child th, .referee-competition-stats tbody tr:last-child td { border-bottom: 0; }
.referee-competition-stats-total th, .referee-competition-stats-total td { border-top: 1px solid #b48b3e; color: #f5d67b !important; font-weight: 800; }
.referee-competition-stats-note { margin: 7px 0 0; color: #9aafbd; font-size: .7rem; }
.referee-match-heading, .referee-filter-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.referee-match-heading h3 { margin: 0; }
.referee-match-heading > span { color: var(--muted); font-size: .82rem; }
.referee-filter-row { justify-content: flex-start; margin: 12px 0; }
.referee-venue-filters { display: inline-flex; }
.referee-venue-filters button { padding: 6px 10px; border: 1px solid #52728d; border-right: 0; border-radius: 0; background: transparent; color: #d5e0e6; font-size: .82rem; font-weight: 400; }
.referee-venue-filters button:first-child { border-radius: 4px 0 0 4px; }
.referee-venue-filters button:last-child { border-right: 1px solid #52728d; border-radius: 0 4px 4px 0; }
.referee-venue-filters button.active { background: #f4c85d20; color: #f4c85d; box-shadow: inset 0 0 0 1px #f4c85d; }
.referee-competition-filter { display: flex; align-items: center; gap: 8px; color: #9aafbd; font-size: .82rem; }
.referee-competition-filter select { max-width: min(280px, 54vw); padding: 6px 8px; border: 1px solid #52728d; border-radius: 4px; background: var(--panel); color: #f1f5f7; font: inherit; }
.referee-match-list { border-top: 1px solid #33495c; }
.referee-match-row { grid-template-columns: 22px 105px 30px minmax(180px, 1fr) 68px 92px minmax(115px, auto); gap: 10px; }
.referee-match-row[hidden] { display: none; }
.referee-fixture { gap: 5px; font-size: .86rem; }
.referee-fixture .match-opponent-crest { width: 21px; height: 21px; flex-basis: 21px; }
.referee-match-competition { overflow: hidden; color: #9aafbd; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.referee-match-row .season-competition { color: var(--gold); }
.referee-benchmark-meter.tiny.unavailable { display: grid; place-items: center; color: #8195a4; font-size: .8rem; }
.player-year { border-top: 1px solid var(--line); }
.player-year:last-child { border-bottom: 1px solid var(--line); }
.player-year summary { display: grid; grid-template-columns: 20px minmax(80px, .8fr) minmax(72px, auto) 42px repeat(6, minmax(54px, auto)); gap: 10px; align-items: center; padding: 13px 6px; cursor: pointer; list-style: none; }
.player-year summary strong { margin-right: 0; }
.player-year summary::-webkit-details-marker { display: none; }
.player-year summary::before { content: '＋'; color: var(--gold); font-size: 1.1rem; }
.player-year[open] summary::before { content: '−'; }
.player-year summary span { color: var(--muted); font-size: .88rem; }
.player-year-captain-column .player-captain-explanation { text-align: center; }
.player-year-matches { padding: 0 6px 12px; }
.player-history-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.player-history-heading h3 { margin: 0; }
.player-history-toggle { margin: 0; }
.player-history-toggle button { border-color: #52728d; border-radius: 16px; color: #d5e0e6; }
.player-history-toggle button.active { border-color: #f4c85d; background: #f4c85d; color: #071824; }
.player-match-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.official-match-filters { padding-top: 9px; border-top: 1px solid var(--line); }
.unofficial-subcategories { margin-left: 10px; padding-left: 10px; border-left: 3px solid var(--gold); }
.player-match-filter { padding: 5px 10px; border: 1px solid #52728d; border-radius: 16px; background: transparent; color: #d5e0e6; font-size: .82rem; cursor: pointer; }
.player-match-filter:hover, .player-match-filter:focus-visible { border-color: #d5e0e6; }
.player-match-filter.active { border-color: #f4c85d; background: #f4c85d20; color: #f4c85d; }
.player-match-opponent-control { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; color: #b9c8d1; font-size: .84rem; }
.player-match-opponent-control select { max-width: 100%; padding: 7px 28px 7px 9px; border: 1px solid #52728d; border-radius: 5px; background: #0c2232; color: #e7eef2; color-scheme: dark; font: inherit; }
.player-match-opponent-control select:focus-visible { outline: 2px solid #f4c85d; outline-offset: 2px; }
.player-match-filter-summary { margin: 8px 0; color: var(--muted); font-size: .84rem; }
.season-match-stats { margin: 14px 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 480px) {
  .season-match-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.unofficial-match-label { display: block; color: #a27d35; font-size: .74rem; font-weight: 700; }
.season-match-explorer .match-filters { margin-top: 0; }
.player-match-row[hidden] { display: none; }
.player-career-stint { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 12px 6px; border-top: 1px solid var(--line); }
.player-career-main { display: grid; gap: 3px; min-width: 0; }
.player-career-main .player-source-warning { margin-top: 0; text-align: left; }
.career-event-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.career-event-heading strong { min-width: 0; }
.career-event-loan-badge { flex: 0 0 auto; border: 1px solid #d5b04b; border-radius: 999px; padding: 2px 8px; background: #d5b04b1a; color: #d5b04b; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
@media (max-width: 700px) {
  .player-career-stint { grid-template-columns: 78px minmax(0, 1fr); gap: 6px; }
  .player-career-stint > .career-stats { grid-column: 2; }
}
.answer-result-list { margin-top: 22px; border-top: 1px solid var(--line); }
.answer-result-list h3 { margin-bottom: 8px; color: var(--gold); }
.answer-result-list ol { margin: 0; padding: 0; list-style-position: inside; }
.answer-result-list li { border-bottom: 1px solid var(--line); }
.answer-result-link { display: inline-flex; width: calc(100% - 8px); justify-content: space-between; gap: 16px; padding: 9px 4px; color: #f1f5f7; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; }
.answer-result-link:hover span { color: var(--gold); text-decoration: underline; }
.answer-result-link strong { color: #9aafbd; white-space: nowrap; font-weight: 500; }
.answer-round-points { margin-top: 18px; }
.answer-round-points h3 { margin: 16px 0 8px; color: var(--gold); font-size: 1rem; }
.answer-round-points ol { max-height: 320px; margin: 0; padding: 0; overflow: auto; list-style-position: inside; border-top: 1px solid #33495c; }
.answer-round-points li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 2px; border-bottom: 1px solid #33495c; color: #f1f5f7; }
.answer-round-points li strong { color: #d7b76b; white-space: nowrap; }
.answer-round-points .muted { margin-top: 8px; font-size: .82rem; }
.match-report p { white-space: pre-line; color: #d5e0e6; }
.match-interesting-facts { display: grid; gap: 8px; margin: 0; padding-left: 22px; color: #d5e0e6; }
.match-interesting-facts li { padding-left: 3px; line-height: 1.55; }
.match-report a { color: var(--gold); text-decoration: underline; text-decoration-color: #f4c85d88; text-underline-offset: 3px; }
.match-report a:hover { color: #fff; text-decoration-color: var(--gold); }
.goal-list { border-top: 1px solid var(--line); }
.match-report-illustrations { margin-top: 18px; }
.match-report-illustration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.match-report-illustration { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #456276; border-radius: 8px; background: #0b2030; }
.match-report-illustration img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #f4f0e6; }
.match-report-illustration figcaption { display: grid; gap: 4px; padding: 10px 12px 12px; }
.match-report-illustration figcaption strong { color: #f1f5f7; }
.match-report-illustration figcaption small { color: var(--muted); font-size: .78rem; }
.match-interview-memories, .goal-interview-memories { display: grid; gap: 12px; }
.match-interview-memories { margin: 0 0 20px; }
.goal-interview-memories { margin-top: 14px; }
.interview-memory { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px; border: 1px solid #526779; border-left: 4px solid var(--gold); border-radius: 8px; background: linear-gradient(120deg, #173349, #10283b); }
.interview-memory-portrait { display: grid; place-items: center; width: 68px; aspect-ratio: 1; border: 2px solid #d8bb6e; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #39596d, #0b2031 70%); color: #f3d886; font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; font-weight: 700; box-shadow: 0 3px 12px #06131c77; }
.interview-memory img.interview-memory-portrait { display: block; object-fit: cover; filter: contrast(1.06) saturate(1.08); }
.interview-memory-copy { min-width: 0; }
.interview-memory-copy > .eyebrow { margin: 0 0 6px; color: #f0d78e; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.interview-memory-copy blockquote { position: relative; margin: 0; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1.02rem; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.interview-memory-copy blockquote::before { content: '\201C'; margin-right: 3px; color: #e6c36e; font-size: 1.4em; line-height: 0; vertical-align: -.15em; }
.interview-memory-speaker { margin: 9px 0 0; color: #c0d0d8; font-size: .82rem; text-align: right; }
.interview-memory-speaker .answer-person-link { padding: 0; border: 0; background: transparent; color: #f0d78e; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.goal-interview-memories .interview-memory-copy > .eyebrow,
.goal-interview-memories .interview-memory-speaker { margin-inline: 0; }
.goal-interview-memories .interview-memory-copy > .eyebrow { margin-top: 0; margin-bottom: 6px; }
.goal-interview-memories .interview-memory-speaker { margin-top: 9px; margin-bottom: 0; }
@media (max-width: 600px) {
  .interview-memory { grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .interview-memory-portrait { width: 48px; }
  .interview-memory-copy blockquote { font-size: .96rem; }
  .goal-item summary { grid-template-columns: 16px 50px minmax(0, 1fr); gap: 7px; }
  .goal-item summary::before { grid-column: 1; grid-row: 1; }
  .goal-item summary > .goal-score { grid-column: 2; grid-row: 1; }
  .goal-item summary > .goal-minute { grid-column: 3; grid-row: 1; text-align: right; }
  .goal-item summary > strong { grid-column: 2 / -1; grid-row: 2; min-width: 0; overflow-wrap: anywhere; }
  .goal-item summary > .goal-type { grid-column: 2 / -1; grid-row: 3; }
}
.goal-item { border-bottom: 1px solid var(--line); }
.goal-item summary { display: grid; grid-template-columns: 16px 56px 70px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 4px; cursor: pointer; list-style: none; }
.goal-item summary::-webkit-details-marker { display: none; }
.goal-item summary::before { content: "+"; color: var(--muted); font-size: 1.1rem; }
.goal-item[open] summary::before { content: "−"; color: var(--gold); }
.goal-score { color: #f1f5f7; font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.goal-minute { color: var(--gold); font-variant-numeric: tabular-nums; }
.goal-type { color: var(--muted); font-size: .82rem; }
.goal-interview-badge { color: var(--gold); font-size: .76rem; font-weight: 700; }
.goal-item p { margin: 0 35px 14px 104px; color: var(--muted); white-space: pre-line; }
.match-person-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
.match-person-link:hover, .match-person-link:focus-visible { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.former-hbk-badge { display: inline-block; margin-left: 5px; padding: 2px 6px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: .62rem; font-weight: 700; vertical-align: middle; }
.formation-player .match-person-link { font-weight: 700; }
.matchstat-legend { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 700; margin-bottom: 14px; }
.matchstat-legend-item { position: relative; padding-left: 16px; }
.matchstat-legend-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 3px; }
.matchstat-legend-own { color: var(--gold); }
.matchstat-legend-own::before { background: var(--gold); }
.matchstat-legend-opp { color: var(--blue); text-align: right; padding-left: 0; padding-right: 16px; }
.matchstat-legend-opp::before { left: auto; right: 0; background: var(--blue); }
.matchstat-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; }
.matchstat-value { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .92rem; }
.matchstat-value.matchstat-own { color: var(--gold); text-align: right; }
.matchstat-value.matchstat-opp { color: var(--blue); text-align: left; }
.matchstat-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #0c2434; }
.matchstat-fill { height: 100%; }
.matchstat-fill-own { background: var(--gold); }
.matchstat-fill-opp { background: var(--blue); }
.matchstat-label { margin: 4px 0 16px; color: var(--muted); font-size: .74rem; text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.matchstat-single { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; padding: 8px 10px; border-radius: 6px; background: #0c2434; }
.matchstat-single .matchstat-label { margin: 0; text-align: left; }
.matchstat-single strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.matchstat-halves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.matchstat-half h4 { margin: 0 0 10px; color: #cddbe4; font-size: .82rem; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.country-profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.country-directory-name small { line-height: 1.45; }
.country-players-section > summary, .country-match-archive > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; list-style: none; }
.country-players-section > summary::-webkit-details-marker, .country-match-archive > summary::-webkit-details-marker { display: none; }
.country-players-section > summary::before, .country-match-archive > summary::before { content: '+'; flex: 0 0 auto; color: var(--gold); font-size: 1.15rem; }
.country-players-section[open] > summary::before, .country-match-archive[open] > summary::before { content: '−'; }
.country-players-section > summary > span, .country-match-archive > summary > span { display: grid; gap: 4px; margin-right: auto; }
.country-players-section > summary .eyebrow, .country-match-archive > summary .eyebrow { margin: 0; font-style: normal; }
.country-players-section > summary strong, .country-match-archive > summary strong { color: #f1f5f7; font-size: 1.08rem; }
.country-players-section > summary > small, .country-match-archive > summary > small { color: #9aafbd; font-size: .75rem; text-align: right; }
.country-player-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 18px; border-top: 1px solid #294358; }
.country-player-row { min-width: 0; padding: 9px 3px; border-bottom: 1px solid #294358; }
.country-player-link { max-width: 100%; overflow: hidden; color: #f1f5f7; text-overflow: ellipsis; white-space: nowrap; }
.country-transfer-list { border-top: 1px solid #294358; }
.country-transfer-row { display: grid; grid-template-columns: 92px minmax(120px, .8fr) minmax(0, 1.6fr) 150px; align-items: center; gap: 12px; min-height: 46px; padding: 8px 4px; border-bottom: 1px solid #294358; font-size: .78rem; }
.country-transfer-row time, .country-transfer-row > small { color: #9aafbd; font-size: .7rem; }
.country-transfer-player { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-transfer-route { display: flex; align-items: center; gap: 8px; min-width: 0; }
.country-transfer-route button { min-width: 0; overflow: hidden; padding: 0; border: 0; background: transparent; color: #f1f5f7; font: inherit; text-align: left; text-overflow: ellipsis; white-space: nowrap; text-decoration: underline; text-decoration-color: #d2aa5488; text-underline-offset: 3px; }
.country-transfer-route span { flex: 0 0 auto; color: var(--gold); }
.country-transfer-row > small { text-align: right; }
.country-match-archive[open] > .country-match-modes { margin-top: 16px; }
.family-archive-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); }
.family-directory-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #294358; }
.family-directory-summary > div { display: grid; align-content: center; gap: 4px; min-height: 64px; padding: 9px; background: #0e2030; text-align: center; }
.family-directory-summary strong { color: var(--gold); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.family-directory-summary span { color: #9aafbd; font-size: .68rem; }
.family-directory-controls { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 8px 14px; padding: 12px 4px; border-bottom: 1px solid #294358; }
.family-directory-controls label { display: grid; gap: 5px; color: #a8b9c4; font-size: .72rem; }
.family-directory-controls input, .family-directory-controls select { width: 100%; min-width: 0; min-height: 40px; }
.family-data-note { margin: 12px 4px; color: #879ba9; font-size: .76rem; line-height: 1.5; }
.family-group { border-top: 1px solid #395267; }
.family-group:last-child { border-bottom: 1px solid #395267; }
.family-group > summary { display: flex; align-items: center; gap: 18px; padding: 14px 7px; cursor: pointer; list-style: none; }
.family-group > summary::-webkit-details-marker { display: none; }
.family-group > summary::before { content: '+'; color: var(--gold); font-size: 1.2rem; }
.family-group[open] > summary::before { content: '−'; }
.family-group-title { display: grid; gap: 4px; margin-right: auto; }
.family-group-title .eyebrow { margin: 0; font-style: normal; }
.family-group-title strong { color: #f1f5f7; font-size: 1rem; }
.family-group-summary { color: #9aafbd; font-size: .74rem; text-align: right; }
.family-group-content { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 24px; padding: 0 8px 18px 28px; }
.family-group-content h4 { margin: 0; padding: 8px 0; border-bottom: 1px solid #395267; color: #f0c868; font-size: .82rem; }
.family-tree-diagram { grid-column: 1 / -1; min-width: 0; }
.family-tree-diagram > h4 { display: flex; align-items: baseline; gap: 10px; }
.family-tree-diagram > h4 small { color: #879ba9; font-size: .68rem; font-weight: 400; }
.family-tree-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid #294358; border-radius: 5px; background: #0b1d2b; }
.family-tree-canvas { position: relative; min-width: 100%; }
.family-tree-connectors { position: absolute; inset: 0; overflow: visible; }
.family-tree-connectors path { fill: none; stroke: #d2aa54aa; stroke-width: 2; }
.family-tree-generation-label { position: absolute; left: 12px; z-index: 1; color: #879ba9; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.family-tree-node { position: absolute; z-index: 2; display: grid; align-content: center; gap: 3px; min-height: 70px; padding: 8px 34px 8px 10px; border: 1px solid #456176; border-radius: 5px; background: #102a3e; color: #f1f5f7; text-align: left; }
.family-tree-node strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.family-tree-node span { color: #9aafbd; font-size: .68rem; }
.family-tree-node small { position: absolute; top: 7px; right: 7px; padding: 2px 5px; border: 1px solid #d2aa5488; border-radius: 999px; color: var(--gold); font-size: .58rem; }
.family-tree-node:hover, .family-tree-node:focus-visible { border-color: var(--gold); background: #17354b; }
.family-tree-network { padding-bottom: 4px; }
.family-group-members ul, .family-group-edges ul { margin: 0; padding: 0; list-style: none; }
.family-group-members li { display: flex; align-items: center; gap: 8px; min-height: 36px; border-bottom: 1px solid #294358; }
.family-group-person { padding: 0; border: 0; background: transparent; color: #f1f5f7; font: inherit; text-align: left; }
.family-group-person:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.family-group-members li > small { color: #879ba9; font-size: .7rem; }
.family-group-members li > .family-hbk-badge { margin-left: auto; padding: 2px 6px; border: 1px solid #d2aa5488; border-radius: 999px; color: var(--gold); }
.family-group-edges li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; min-height: 36px; padding: 8px 0; border-bottom: 1px solid #294358; font-size: .76rem; }
.family-group-edges li > span { color: #9aafbd; }
@media (max-width: 700px) {
  .country-profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-players-section > summary, .country-match-archive > summary { align-items: flex-start; }
  .country-players-section > summary > small, .country-match-archive > summary > small { max-width: 100px; padding-top: 18px; }
  .country-player-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .country-transfer-row { grid-template-columns: 72px minmax(0, 1fr); gap: 6px 9px; }
  .country-transfer-route { grid-column: 1 / -1; grid-row: 2; }
  .country-transfer-row > small { grid-column: 2; grid-row: 1; }
  .family-archive-hero { grid-template-columns: 1fr; }
  .family-directory-controls { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .family-directory-controls input { margin-bottom: 8px; }
  .family-group > summary { align-items: flex-start; gap: 9px; }
  .family-group-summary { max-width: 120px; padding-top: 18px; }
  .family-group-content { grid-template-columns: 1fr; gap: 16px; padding-left: 18px; }
  .family-tree-diagram > h4 { align-items: flex-start; flex-direction: column; gap: 4px; }
}
.matchstat-note { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--gold); background: #0c2434; color: #cddbe4; font-size: .86rem; }
.matchstat-note strong { display: block; margin-bottom: 7px; color: var(--gold); font-size: .8rem; }
.matchstat-note p { margin: 0; white-space: pre-line; }
@media (max-width: 700px) { .matchstat-halves { grid-template-columns: 1fr; gap: 16px; } }
.formation-label { margin: 0 0 10px; color: var(--muted); text-align: center; }
.formation-label strong { color: var(--gold); font-size: 1.2rem; }
.football-pitch { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 8px; min-height: 590px; padding: 20px 14px 18px; overflow: hidden; border: 1px solid #ffffff35; border-radius: 12px; background: #102c35; isolation: isolate; }
.modern-formation-pitch { min-height: clamp(480px, 60vh, 680px); }
.football-pitch::before { content: none; }
.football-pitch-markings { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.pitch-surface { fill: #18794a; }
.pitch-lines { fill: none; stroke: #d5f1d8; stroke-width: 2.3; vector-effect: non-scaling-stroke; opacity: .86; }
.pitch-mark-dots circle { fill: #d5f1d8; stroke: none; }
.football-pitch::after { position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(180deg, #ffffff0b 0 44px, transparent 44px 88px); clip-path: polygon(25.78% 3.23%, 74.22% 3.23%, 100% 96.77%, 0 96.77%); content: ""; pointer-events: none; }
.pitch-kit-badge { position: absolute; top: 10px; right: 14px; z-index: 2; width: 72px; height: 72px; object-fit: contain; border: 1px solid #ffffff70; border-radius: 8px; background: #092b20d9; padding: 4px; }
.pitch-kit-showcase { position: absolute; top: 10px; left: 10px; z-index: 2; width: 124px; height: 144px; margin: 0; pointer-events: none; }
.pitch-kit-showcase img { position: absolute; top: 0; left: 50%; z-index: 2; width: 112px; height: 120px; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 4px 5px #061b20b0); }
.pitch-kit-shorts { position: absolute; top: 105px; left: 50%; z-index: 1; width: 78px; height: 51px; overflow: visible; transform: translateX(-50%); filter: drop-shadow(0 4px 3px #061b20a8); }
.pitch-kit-shorts-fabric { fill: var(--kit-shorts-color, #111820); stroke: #101820; stroke-width: 3; stroke-linejoin: round; }
.pitch-kit-shorts-waist { fill: #ffffff12; stroke: #101820; stroke-width: 2; stroke-linejoin: round; }
.pitch-kit-shorts-seam { fill: none; stroke: #ffffff55; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.formation-row { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; gap: clamp(8px, 3vw, 38px); }
.formation-modern-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-self: center; width: min(100%, 880px); margin-inline: auto; gap: 0; }
.formation-modern-row.pitch-row-0 { width: 60%; }
.formation-modern-row.pitch-row-1 { width: 64%; }
.formation-modern-row.pitch-row-2 { width: 62%; }
.formation-modern-row.pitch-row-3 { width: 72%; }
.formation-modern-row.pitch-row-4 { width: 70%; }
.formation-modern-row.pitch-row-5 { width: 82%; }
.formation-modern-row.pitch-row-6 { width: 82%; }
.formation-modern-row.pitch-row-7,
.formation-modern-row.pitch-row-8 { width: 48%; }
.formation-attack { width: 70%; }
.formation-midfield { width: 90%; }
.formation-defence { width: 96%; }
.formation-goalkeeper { width: 48%; }
.formation-grid-cell { display: flex; min-width: 0; justify-content: center; align-items: flex-start; }
.formation-grid-cell > .formation-player { width: min(100%, 156px); max-width: 100%; }
.formation-player.is-new-starter { border: 2px solid #f4c85d; box-shadow: 0 0 0 3px #f4c85d40; }
.formation-player.is-new-starter::after { content: "NY"; position: absolute; top: -9px; right: -6px; padding: 1px 5px; border-radius: 6px; background: #f4c85d; color: #071d33; font-size: .6rem; font-weight: 800; }
.position-estimated { font-style: italic; opacity: .85; }
.lineup-changes { display: grid; gap: 6px; margin: 8px 0 14px; padding: 0; list-style: none; }
.lineup-changes li { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.lineup-change-in { color: #7bddaa; font-weight: 700; }
.lineup-change-out { color: #ffb4a9; }
.formation-player { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 72px; padding: 8px 6px; border: 1px solid #ffffff55; border-radius: 7px; background: #092b20d9; color: #fff; font-size: .78rem; text-align: center; }
.football-pitch .formation-player { width: min(100%, 116px); min-width: 0; min-height: 122px; box-sizing: border-box; padding: 0 2px 2px; border: 0; border-radius: 0; background: transparent; font-size: .74rem; }
.football-pitch .formation-shirt-link { position: absolute; top: 0; left: 50%; z-index: 1; display: block; width: 64px; height: 58px; padding: 0; transform: translateX(-50%); overflow: visible; border: 0; background: transparent; cursor: pointer; }
.football-pitch .formation-shirt-link::before { position: absolute; inset: 0; transform: translateY(0); clip-path: polygon(26% 0, 41% 8%, 59% 8%, 74% 0, 100% 19%, 86% 42%, 75% 34%, 75% 100%, 25% 100%, 25% 34%, 14% 42%, 0 19%); background: var(--lineup-shirt-color, #f0f4f4); content: ""; filter: drop-shadow(0 5px 4px #061b20a8); transition: transform .2s ease, filter .2s ease; }
.football-pitch .formation-shirt-link:hover::before { transform: translateY(-4px); filter: drop-shadow(0 9px 7px #061b20b8); }
.football-pitch .formation-shirt-link:focus-visible { outline: 2px solid #f4c85d; outline-offset: 3px; border-radius: 5px; }
.football-pitch .formation-player.has-shirt-art .formation-shirt-link::before { content: none; }
.football-pitch .formation-shirt-art { position: absolute; top: -9px; left: 50%; z-index: 1; width: 72px; height: 84px; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 5px 5px #061b20b0); pointer-events: none; transition: transform .2s ease, filter .2s ease; }
.football-pitch .formation-shirt-link:hover .formation-shirt-art { transform: translate(-50%, -4px); filter: drop-shadow(0 9px 8px #061b20c0); }
.football-pitch .formation-player-default,
.football-pitch .formation-player-blue { --lineup-shirt-color: #176a9b; }
.football-pitch .formation-player-white { --lineup-shirt-color: #f0f4f4; }
.football-pitch .formation-player-black { --lineup-shirt-color: #111820; }
.football-pitch .formation-player-yellow { --lineup-shirt-color: #f2c648; }
.football-pitch .formation-player-green { --lineup-shirt-color: #17633e; }
.football-pitch .formation-player-orange { --lineup-shirt-color: #e87528; }
.football-pitch .formation-player-pink { --lineup-shirt-color: #df78a6; }
.football-pitch .formation-player-gray { --lineup-shirt-color: #8e9ba2; }
.modern-formation-pitch .formation-player { min-height: 78px; padding: 18px 6px 6px; }
.football-pitch.modern-formation-pitch .formation-player { min-height: 122px; padding: 0 2px 2px; }
.formation-player.is-captain { border-color: #f4c85d; box-shadow: 0 0 0 1px #f4c85d55, 0 4px 12px #07182466; }
.football-pitch .formation-player.is-captain { border: 0; box-shadow: none; }
.football-pitch .formation-player.is-captain .formation-shirt-link::before { filter: drop-shadow(0 0 4px #f4c85d); }
.formation-shirt-number { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); min-width: 22px; height: 20px; padding: 0 4px; border: 1px solid transparent; border-radius: 10px; background: #f4c85d; color: #071824; font-size: .64rem; font-weight: 800; line-height: 18px; font-variant-numeric: tabular-nums; }
.football-pitch .formation-shirt-number { top: 17px; z-index: 2; min-width: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: #10202a; font-size: .96rem; font-weight: 800; line-height: 1; text-shadow: 0 1px 1px #ffffffa6; pointer-events: none; }
.football-pitch .formation-player.has-shirt-art .formation-shirt-number { top: 24px; }
.football-pitch .formation-player-black .formation-shirt-number,
.football-pitch .formation-player-blue .formation-shirt-number,
.football-pitch .formation-player-green .formation-shirt-number { color: #fff; text-shadow: 0 1px 2px #000b; }
.football-pitch .shirt-number-prefix { display: none; }
.formation-shirt-number.shirt-number-white { border-color: #d3e0ea; background: #fff; color: #102b48; }
.formation-shirt-number.shirt-number-blue { border-color: #72b9e4; background: #145d91; color: #fff; }
.formation-shirt-number.shirt-number-black { border-color: #f4c85d99; background: #101820; color: #f4c85d; }
.formation-shirt-number.shirt-number-yellow { border-color: #fff0a6; background: #f4c85d; color: #071824; }
.formation-shirt-number.shirt-number-green { border-color: #b7dec9; background: #17633e; color: #fff; }
.formation-shirt-number.shirt-number-orange { border-color: #ffd0a8; background: #f28a3b; color: #132638; }
.formation-shirt-number.shirt-number-pink { border-color: #ffd0e1; background: #f4a8c8; color: #132638; }
.formation-shirt-number.shirt-number-gray { border-color: #d6dee3; background: #e4e9ec; color: #132638; }
.football-pitch .captain-armband { position: static; flex: 0 0 auto; width: 15px; height: 15px; margin: 0; border-width: 1px; font-size: .58rem; }
.captain-armband { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; margin-bottom: 3px; border: 2px solid #fff2bd; border-radius: 50%; background: #f4c85d; color: #071824; font-size: .72rem; font-weight: 900; line-height: 1; box-shadow: 0 1px 5px #0008; }
.formation-player strong { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; font-size: .78rem; }
.football-pitch .formation-player strong { position: relative; z-index: 2; width: max-content; max-width: 100%; min-height: 23px; margin-top: 64px; padding: 3px 10px; border: 1px solid #ffffff32; border-radius: 999px; background: linear-gradient(180deg, #0c4054f2, #062838f5); box-shadow: 0 4px 9px #0718248c, inset 0 1px #ffffff1c; font-size: .75rem; line-height: 1.25; }
.football-pitch .formation-player strong .match-person-link { color: #fff; text-decoration: none; }
.football-pitch .formation-player strong .match-person-link:hover { color: #f4d477; }
.football-pitch .formation-player > small { display: none; }
.football-pitch .player-events { position: relative; z-index: 2; margin-top: 2px; font-size: .68rem; }
.formation-card-symbols { display: inline-flex; flex: 0 0 auto; gap: 2px; white-space: nowrap; }
.formation-card-symbols span { cursor: help; }
.formation-inline-goals { display: none; }
.formation-goal-symbol { display: inline; }
.football-pitch .formation-player > strong > .formation-card-symbols { display: none; }
.football-pitch .player-events .formation-card-symbols { display: inline-flex; }
.football-pitch .formation-inline-goals { display: none; }
.football-pitch .formation-goal-symbol { display: inline; }
.football-pitch .player-events { min-height: 19px; align-items: center; font-size: .8rem; }
.mobile-formation-list .player-events .formation-card-symbols { display: none; }
.formation-player small { color: #b9d5c6; font-size: .67rem; }
.player-events { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin-top: 4px; font-size: .72rem; }
.player-events span { cursor: help; }
.milestone-badge { padding: 1px 4px; border-radius: 999px; background: #f4c85d; color: #071824; font-size: .58rem; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.substitution-arrow { font-weight: 700; }
.substitution-in { color: #55d98b; }
.substitution-out { color: #ff746d; }
.event-legend { margin: 9px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.milestone-legend { margin-top: 3px; font-size: .7rem; }
.mobile-formation-list { display: none; }
.mobile-formation-list li { border: 1px solid #ffffff35; border-radius: 8px; background: #092b20d9; overflow: hidden; }
.mobile-formation-list .formation-player { border: 0; border-radius: 0; background: transparent; }
.mobile-formation-list .formation-player:not(:first-child) { position: relative; margin-left: 18px; padding-left: 12px; border-top: 1px dashed #ffffff30; border-left: 2px solid #55d98b; }
.substitution-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.substitution-list li { display: grid; grid-template-columns: 48px 1fr 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.substitution-list strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.substitution-events { display: inline-flex; flex-wrap: wrap; gap: 3px; margin-left: 5px; vertical-align: middle; }
.substitution-events span { cursor: help; }
.formation-unknown { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; color: #d7e9dc; font-size: .72rem; }
.formation-unknown > span { width: 100%; text-align: center; }
.bench-list { display: flex; flex-wrap: wrap; gap: 7px; }
.bench-list span { padding: 6px 9px; border: 1px solid #8da6b8; border-radius: 5px; color: #f1f5f7; font-size: .86rem; }
.bench-list small { color: var(--gold); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-size: .82rem; text-transform: uppercase; }
.career-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 10px; background: transparent; border: 1px solid var(--line); color: inherit; padding: 10px 14px; font-weight: 400; }
.career-toggle:hover { filter: none; border-color: var(--gold); }
.career-summary { font-size: .9rem; }
.career-toggle-icon { color: var(--gold); font-weight: 700; font-size: 1.1rem; line-height: 1; }
.career-details { margin-top: 12px; display: grid; gap: 16px; }
.career-view-toggle { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.career-view-toggle button { padding: 7px 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .86rem; font-weight: 400; }
.career-view-toggle button:hover { border-color: var(--gold); color: #fff; }
.career-view-toggle button.active { border-color: var(--gold); background: var(--gold); color: var(--navy); font-weight: 700; }
.opponent-role-tabs { margin-bottom: 16px; }
.opponent-role-panel > h4 { margin: 0 0 8px; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; font-weight: 500; }
.opponent-data-note { margin: 0 0 10px; font-size: .78rem; }
.opponent-hbk-points { display: flex; align-items: center; gap: 12px; margin: 8px 0 14px; }
.opponent-hbk-points-circle { position: relative; display: grid; flex: 0 0 54px; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--gold) var(--points-share), #294358 0); }
.opponent-hbk-points-circle::before { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); content: ""; }
.opponent-hbk-points-circle strong { z-index: 1; color: #f3f5f5; font-size: .76rem; font-variant-numeric: tabular-nums; }
.opponent-hbk-points-copy { display: grid; gap: 3px; }
.opponent-hbk-points-copy strong { color: #f1f5f7; font-size: .8rem; }
.opponent-hbk-points-copy small, .opponent-hbk-points.is-insufficient { color: #9aafbd; font-size: .72rem; }
.opponent-hbk-points.is-insufficient { margin-top: 4px; }
.opponent-record-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.opponent-record-badge { padding: 4px 8px; border: 1px solid #e6c36e80; border-radius: 4px; background: #e6c36e18; color: #f2d783; font-size: .74rem; font-weight: 700; text-align: left; }
.opponent-record-badge:hover, .opponent-record-badge:focus-visible { border-color: var(--gold); background: #e6c36e30; color: #fff0b5; }
.opponent-goal-ranking-panel { margin-top: 14px; padding: 14px 0; border-top: 1px solid #395267; scroll-margin-top: 12px; }
.opponent-player-match-row { grid-template-columns: 28px 120px 42px minmax(150px, 1fr) minmax(80px, auto) 70px minmax(100px, auto); }
.classic-duo-note { margin: 0 0 9px; font-size: .78rem; }
.classic-duos ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.classic-duo-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; max-width: 100%; padding: 6px 9px; border: 1px solid #e6c36e80; border-radius: 4px; background: #e6c36e18; color: #f2d783; font-size: .78rem; }
.classic-duo-rank { display: inline-grid; flex: 0 0 20px; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; font-size: .66rem; font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1; }
.classic-duo-rank-1 { border-color: #e6c36e; background: #e6c36e; color: #071824; }
.classic-duo-rank-2 { border-color: #c3cdd4; background: #c3cdd4; color: #142736; }
.classic-duo-rank-3 { border-color: #bf8b6b; background: #bf8b6b; color: #142736; }
.classic-duo-rank-other { border-color: #617b8d; background: #274053; color: #e4edf2; }
.classic-duo-badge .match-person-link { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #91a9bb; text-underline-offset: 3px; }
.classic-duo-badge .match-person-link:hover, .classic-duo-badge .match-person-link:focus-visible { color: var(--gold); text-decoration-color: currentColor; }
.classic-duo-badge strong { white-space: nowrap; }
.coach-career-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 14px 0 22px; }
.person-editorial ul { margin-top: 8px; }
.person-editorial li { margin: 5px 0; }
.person-editorial li p { margin: 3px 0 8px; color: var(--muted); }
.person-editorial h4 { margin: 18px 0 6px; }
.person-editorial details { margin-top: 14px; color: var(--muted); }
.person-editorial details summary { cursor: pointer; }
.coach-career > .detail-section { margin-top: 24px; }
.coach-career > .detail-section h4 { margin: 0 0 10px; }
.coach-group-memberships { margin-top: 18px; padding-top: 13px; border-top: 1px solid #395267; }
.coach-group-memberships h4 { margin: 0 0 8px; color: #f1f5f7; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; font-weight: 500; }
.coach-group-memberships ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.coach-group-memberships li { padding: 10px 0; border-bottom: 1px solid #294358; }
.coach-group-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.coach-group-heading strong { color: #e6c36e; font-size: .84rem; }
.coach-group-heading small, .coach-group-period { color: #8195a4; font-size: .68rem; }
.coach-group-memberships li > p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 5px 0; color: #c5d1d8; font-size: .78rem; }
.coach-group-member { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; gap: 0 5px; }
.coach-group-member-status { color: #7ebf9c; font-size: .64rem; }
.coach-group-member-note { grid-column: 1 / -1; color: #8195a4; font-size: .64rem; }
.coach-group-period { display: block; line-height: 1.4; }
.career-group h4 { margin: 0 0 6px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.career-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.career-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; padding: 7px 10px; border-left: 3px solid transparent; align-items: baseline; }
.career-item-own { border-left-color: var(--gold); background: #f4c85d14; }
.career-years { color: var(--muted); font-size: .82rem; }
.career-stats { color: var(--muted); font-size: .82rem; }
.career-team-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-decoration-color: #f4c85d66; text-underline-offset: 3px; cursor: pointer; }
.career-team-link:hover { color: var(--gold); text-decoration-color: var(--gold); filter: none; }
.career-team-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.career-source { margin-top: 2px; font-size: .76rem; }
.trophies-section { padding-top: 0; border-top: none; }
.trophy-list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trophy-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid #52728d; background: #0c2434; font-size: .82rem; }
.trophy-badge-link { color: inherit; font: inherit; cursor: pointer; }
.trophy-badge-link:hover, .trophy-badge-link:focus-visible { border-color: var(--gold); color: #fff; }
.trophy-icon { font-size: 1rem; }
.trophy-placement { color: #765917; font-size: .65rem; font-weight: 800; white-space: nowrap; }
.trophy-note { margin-top: 4px; }
.top-ten-merits { margin-top: 14px; padding-top: 12px; border-top: 1px solid #395267; }
.top-ten-merits h4 { margin: 0 0 9px; color: #a8b9c4; font-size: .72rem; font-weight: 600; }
.top-ten-merit-list { gap: 7px; }
.top-ten-merit-badge { display: inline-flex; align-items: center; gap: 9px; min-width: 175px; padding: 7px 10px; border: 1px solid #8e702f; border-radius: 4px; background: linear-gradient(110deg, #493b1d, #102638 76%); color: #f1f5f7; }
.top-ten-merit-rank { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid #d2aa54; border-radius: 50%; color: #f0c868; font-size: .72rem; font-variant-numeric: tabular-nums; font-weight: 700; }
.top-ten-merit-copy { display: grid; gap: 2px; min-width: 0; }
.top-ten-merit-copy strong { font-size: .74rem; font-weight: 600; }
.top-ten-merit-copy small { color: #b9c5cd; font-size: .68rem; }
.season-detail-heading { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 14px; margin-bottom: 4px; }
.season-kit-archive { margin: 16px 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #0c2434; }
.season-kit-archive > h3 { margin: 0 0 14px; color: var(--gold); }
.season-kit-cards { display: grid; grid-template-columns: repeat(var(--kit-count), minmax(140px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.season-kit-card { display: grid; grid-template-rows: 220px 1fr; align-content: start; min-width: 0; margin: 0; padding: 0; overflow: hidden; text-align: left; white-space: normal; border: 1px solid var(--line); border-radius: 8px; background: #10283a; color: #f1f5f7; }
.season-kit-card:hover { border-color: var(--gold); background: #163247; }
.season-kit-card:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.season-kit-image { display: block; min-height: 0; padding: 8px; }
.season-kit-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.season-kit-caption { display: grid; align-content: start; gap: 6px; padding: 12px; font-size: .8rem; line-height: 1.45; overflow-wrap: anywhere; }
.season-kit-caption > span { color: #b8c8d2; font-size: .75rem; font-weight: 400; }
.season-kit-caption > small { color: var(--gold); font-size: .7rem; }
@media (max-width: 700px) { .season-kit-archive { padding: 12px; } .season-kit-cards { grid-template-columns: repeat(var(--kit-count), minmax(160px, 1fr)); gap: 8px; } .season-kit-card { grid-template-rows: 190px 1fr; } }
.season-detail-heading h2, .season-detail-heading .eyebrow { margin-bottom: 0; }
.season-detail-heading .eyebrow { margin-bottom: 6px; }
.season-heading-main { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-width: 0; }
.season-heading-achievements { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.season-champions-badge { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 10px; min-width: 190px; padding: 9px 13px 18px; overflow: hidden; border: 1px solid #e3bd63; border-left: 4px solid #f1c65e; border-radius: 2px; background: linear-gradient(105deg, #75530f 0%, #302713 78%); box-shadow: inset 0 0 0 1px #f9df8c33; color: #fff1c4; }
.season-champions-badge::after { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 9px, #ffffff08 9px 10px); content: ''; pointer-events: none; }
.season-champions-badge > strong { grid-row: span 2; color: #f3ca67; font-size: 2.8rem; line-height: .9; font-variant-numeric: tabular-nums; }
.season-champions-badge > span { display: grid; gap: 4px; line-height: 1.05; }
.season-champions-badge b { color: #fff; font-size: .75rem; letter-spacing: .04em; }
.season-champions-badge small { color: #f0d58e; font-size: .68rem; font-weight: 700; }
.season-heading-title { min-width: 0; }
.season-streak-badge { position: relative; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 10px; min-width: 190px; padding: 9px 13px 18px; overflow: hidden; border: 1px solid #9c782c; border-left: 4px solid var(--gold); background: linear-gradient(105deg, #533f16 0%, #152b39 78%); color: #fff5d9; }
.season-streak-badge::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 9px, #ffffff08 9px 10px); pointer-events: none; }
.season-streak-badge > strong { grid-row: span 2; color: var(--gold); font-size: 2.8rem; line-height: .9; font-variant-numeric: tabular-nums; }
.season-streak-badge > span { display: grid; gap: 2px; line-height: 1.05; }
.season-streak-badge b { color: #fff; font-size: .75rem; }
.season-streak-badge small { color: #d8c58f; font-size: .62rem; font-weight: 700; }
.season-streak-badge em { position: absolute; right: 12px; bottom: 4px; color: #b8c8d2; font-size: .65rem; font-style: normal; }
.season-detail-summary { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 6px 0 0; color: #b5c5ce; font-size: .82rem; }
.season-detail-summary span[aria-hidden="true"] { color: var(--gold); }
.season-nav-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #9bb1bf; border-radius: 50%; background: #edf4f7; color: var(--navy); font-size: 1.35rem; line-height: 1; }
.season-nav-arrow:hover:not(:disabled) { border-color: var(--gold); background: #fff4d6; color: #6d5016; }
.season-nav-arrow:disabled { opacity: .35; cursor: default; }
.season-archive-tabs { display: flex; gap: 6px; margin: 8px 0 18px; padding-bottom: 8px; border-bottom: 1px solid #395267; }
.season-archive-tabs [role="tab"] { min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 5px 5px 0 0; background: transparent; color: #b6c7d0; font-size: .88rem; font-weight: 700; }
.season-archive-tabs [role="tab"]:hover, .season-archive-tabs [role="tab"]:focus-visible { border-color: #456276; background: #102c3e; color: #fff; }
.season-archive-tabs [role="tab"].active, .season-archive-tabs [role="tab"][aria-selected="true"] { border-color: #456276; border-bottom-color: #102c3e; background: #102c3e; color: var(--gold); }
.season-archive-tab-panel[hidden], .season-archive-tab-panel.hidden { display: none; }
.season-history-panel { margin: 0 0 42px; }
.season-history-heading { margin-bottom: 14px; }
.season-history-heading h3 { margin: 0; }
.season-history-mode { display: inline-flex; gap: 3px; margin: 0 0 12px; padding: 3px; border: 1px solid #29465a; border-radius: 6px; background: #0b2030; }
.season-history-mode button { padding: 7px 14px; border: 0; border-radius: 4px; background: transparent; color: #a7bdc9; font-size: .82rem; }
.season-history-mode button.active { background: #1b4966; color: #fff; }
.season-history-mode button:hover { filter: none; color: #fff; }
.season-history-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.season-history-controls .archive-directory-direction { margin: 0; }
.season-history-sort { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; }
.season-history-sort select { width: auto; padding: 7px 10px; }
.season-review-overview-heading { max-width: 760px; margin: 8px 0 18px; }
.season-review-overview-heading .eyebrow { margin: 0 0 5px; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.season-review-overview-heading h3 { margin: 0 0 7px; color: #f1f5f7; font-size: 1.4rem; }
.season-review-overview-heading p:last-child { margin: 0; color: #b6c7d0; font-size: .9rem; line-height: 1.55; }
.season-review-overview-controls { display: grid; grid-template-columns: minmax(140px, 1.4fr) minmax(180px, 1.2fr) minmax(160px, 1fr) minmax(170px, 1fr); gap: 10px; margin: 0 0 12px; }
.season-review-overview-controls label { display: grid; gap: 5px; color: #b6c7d0; font-size: .76rem; font-weight: 650; }
.season-review-overview-controls input, .season-review-overview-controls select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #466176; border-radius: 5px; background: #0b2030; color: #f1f5f7; font: inherit; }
.season-review-overview-count { margin: 0 0 12px; color: #c3d1d9; font-size: .82rem; }
.season-review-overview-empty { margin: 0 0 12px; color: #b6c7d0; font-size: .84rem; }
.season-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; }
.season-review-card { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 15px; border: 1px solid #345064; border-left: 4px solid #d5b45c; border-radius: 6px; background: #0b2030; color: #f1f5f7; text-align: left; }
.season-review-card[hidden] { display: none; }
.season-review-card.is-red { border-left-color: #e76d67; }
.season-review-card:hover { border-color: #7692a5; background: #122e40; }
.season-review-card:focus-visible { outline: 3px solid #e5c36f; outline-offset: 2px; }
.season-review-card-year { color: #fff; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.season-review-card-report { color: #b6c7d0; font-size: .73rem; font-weight: 700; }
.season-review-card-label { color: #f2d078; font-size: .79rem; font-weight: 750; }
.season-review-card.is-red .season-review-card-label { color: #ffaaa4; }
.season-review-card-copy, .season-review-card-detail { color: #b6c7d0; font-size: .8rem; line-height: 1.5; }
.season-review-card-detail { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.season-review-card-detail strong { color: #e1eaf0; }
.season-review-card-link { margin-top: 3px; color: #e2c56f; font-size: .75rem; font-weight: 700; }
.season-review-error { color: #ffaaa4; }
#season-history-show-kits { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 12px; border: 1px solid #7692a5; border-radius: 5px; background: #18374b; color: #f7fbfd; font-size: .82rem; font-weight: 700; }
#season-history-show-kits:hover { border-color: #e5c36f; background: #234b63; color: #fff; }
#season-history-show-kits:focus-visible { outline: 3px solid #e5c36f; outline-offset: 2px; }
#season-history-show-kits.active { border-color: #e5c36f; background: #e5c36f; color: #12202a; }
.kit-catalog-view { padding: 18px 0 36px; color: #f1f5f7; }
.kit-catalog-heading { margin-bottom: 18px; }
.kit-catalog-heading .eyebrow { margin: 0 0 5px; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kit-catalog-heading h3 { margin: 0 0 6px; font-size: 1.45rem; }
.kit-catalog-heading p:last-child { margin: 0; color: #a9bdc9; font-size: .88rem; }
.kit-catalog-controls { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kit-catalog-controls label { display: grid; align-content: start; gap: 5px; color: #b9c8d1; font-size: .76rem; font-weight: 650; }
.kit-catalog-controls input, .kit-catalog-controls select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #466176; border-radius: 5px; background: #0b2030; color: #f1f5f7; font: inherit; }
.kit-catalog-view > [data-kit-catalog-count] { margin: 10px 0; }
.kit-catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 12px; }
.kit-catalog-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 12px; width: 100%; min-width: 0; padding: 12px; border: 1px solid #345064; border-radius: 7px; background: #0c2434; color: #f1f5f7; text-align: left; }
button.kit-catalog-card:hover { border-color: #d8b75f; background: #132f42; }
.kit-catalog-card img { width: 76px; height: 102px; object-fit: contain; }
.kit-catalog-card-copy { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.kit-catalog-card-copy strong { font-size: .88rem; line-height: 1.3; }
.kit-catalog-card-copy small { color: #e2c56f; font-size: .68rem; line-height: 1.35; }
.kit-catalog-card-copy > span { color: #a9bdc9; font-size: .75rem; line-height: 1.4; }
@media (max-width: 700px) {
  .kit-catalog-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-catalog-controls label:first-child { grid-column: 1 / -1; }
  .kit-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kit-catalog-card { grid-template-columns: 1fr; justify-items: center; gap: 7px; padding: 9px; }
  .kit-catalog-card img { width: 100%; max-width: 100px; height: 120px; }
  .kit-catalog-card-copy { width: 100%; }
}
.season-history-kits { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; grid-column: 1 / -1; }
.season-history-kits img { width: 40px; height: 54px; object-fit: contain; }
.season-history-kit-preview { position: fixed; inset: auto; margin: 0; width: 244px; max-width: calc(100vw - 16px); padding: 12px; border: 1px solid #547da0; border-radius: 8px; background: #10283a; color: #fff; box-shadow: 0 10px 32px #0008; pointer-events: none; }
.season-history-kit-preview:popover-open { display: grid; justify-items: center; gap: 8px; }
.season-history-kit-preview img { width: 220px; max-width: 100%; height: 260px; object-fit: contain; }
.season-history-kit-preview span { text-align: center; font-size: .78rem; line-height: 1.3; overflow-wrap: anywhere; }
.season-history-kits small { white-space: normal; color: #718493; font-size: .65rem; }
.season-history-supplier-segment { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; padding: 10px 12px; border-block: 1px solid #507087; border-left: 4px solid var(--gold); background: #17394d; }
.season-history-supplier-segment > span { color: #a9bdc9; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.season-history-supplier-segment > strong { color: #fff; font-size: .92rem; }
.season-history-supplier-segment > small { margin-left: auto; color: var(--gold); font-size: .78rem; }
.season-history-name .season-history-supplier-label { grid-column: 1 / -1; color: var(--gold); font-size: .6rem; white-space: normal; }
.season-history-color-segment { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border-block: 1px solid #3c627a; border-left: 4px solid #79b8e2; background: #123044; }
.season-history-color-segment > span { color: #a9bdc9; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.season-history-color-segment > strong { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; }
.season-history-color-segment > small { margin-left: auto; color: #b6d9ef; font-size: .78rem; }
.season-kit-color-item { display: inline-flex; align-items: center; gap: 5px; }
.season-kit-color-swatch { display: inline-block; width: 11px; height: 11px; flex: 0 0 11px; border: 1px solid #8eabbc; border-radius: 50%; }
.season-kit-color-swatch.is-blue { background: #24549b; }
.season-kit-color-swatch.is-black { background: #15191e; }
.season-kit-color-swatch.is-white { background: #f3f3ef; }
.season-kit-color-swatch.is-unknown { background: transparent; border-style: dashed; }
.season-history-name .season-history-color-label { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .6rem; color: #b6d9ef; white-space: normal; }
.season-history-name .season-history-color-note { grid-column: 1 / -1; font-size: .6rem; color: #b6d9ef; white-space: normal; }
.season-history-chart.has-kits .season-history-row { min-height: 78px; padding-block: 5px; }
.season-history-chart.has-kits .season-history-name { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 7px; }
.season-history-chart.has-kits .season-history-plot { align-self: stretch; height: auto; min-height: 28px; }
.season-history-chart { overflow: hidden; border: 1px solid #29465a; border-radius: 6px; background: #071824; color: #f1f5f7; }
.season-history-axis, .season-history-row { display: grid; grid-template-columns: minmax(104px, 160px) minmax(180px, 1fr) minmax(112px, 150px); align-items: center; gap: 12px; }
.season-history-axis { position: sticky; top: 0; z-index: 2; min-height: 38px; padding: 5px 8px; border-bottom: 1px solid #29465a; background: #0c2434; color: #9aafbd; font-size: .7rem; font-weight: 700; }
.season-history-axis-plot { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; text-transform: uppercase; }
.season-history-axis-plot span:first-child { color: #79c8ab; }
.season-history-axis-plot span:nth-child(2) { color: #f1c965; }
.season-history-axis-plot span:last-child { color: #8bc4e8; }
.season-history-axis > span:last-child { text-align: right; }
.season-history-row { width: 100%; min-height: 29px; padding: 0 8px; border: 0; border-bottom: 1px solid #1c3748; border-radius: 0; background: transparent; color: #f1f5f7; text-align: left; }
.season-history-row:hover { background: #102a3e; filter: none; }
.season-history-name { display: flex; min-width: 0; align-items: center; gap: 8px; }
.season-history-name strong { flex: 0 0 auto; font-size: .78rem; }
.season-history-name small { overflow: hidden; color: #718493; font-size: .68rem; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.season-history-plot { position: relative; display: block; height: 28px; background: linear-gradient(to right, #0d2b3c 0 33.33%, #10334a 33.33% 66.67%, #123b56 66.67% 100%); }
.season-history-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.season-history-tier-guide { stroke: #8395a055; stroke-dasharray: 2 3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.season-history-line { stroke: var(--gold); stroke-linecap: round; stroke-width: 2; vector-effect: non-scaling-stroke; }
.season-history-point { position: absolute; top: 50%; display: grid; width: 20px; height: 20px; place-items: center; border: 2px solid var(--gold); border-radius: 50%; background: #0b1f30; color: #f1f5f7; font-size: .62rem; font-weight: 700; line-height: 1; transform: translate(-50%, -50%); }
.season-history-level-1 { border-color: #547da0; }
.season-history-level-2 { border-color: #a57925; }
.season-history-level-3 { border-color: #3b9270; }
.season-history-position { color: #b3c6d0; font-size: .7rem; text-align: right; white-space: nowrap; }
.season-history-chart.is-calendar-year .season-history-axis, .season-history-chart.is-calendar-year .season-history-row { grid-template-columns: minmax(90px, 150px) minmax(0, 1fr); }
.season-calendar-year-detail { color: #a7bdc9; font-size: .78rem; }
.season-history-search-results { margin-top: 20px; }
@media (max-width: 700px) {
  .search-form { flex-wrap: wrap; }
  .memorable-match-filter { white-space: normal; }
  .season-history-axis, .season-history-row { grid-template-columns: minmax(68px, 82px) minmax(110px, 1fr) minmax(75px, 92px); gap: 5px; }
  .season-history-chart.is-calendar-year .season-history-axis, .season-history-chart.is-calendar-year .season-history-row { grid-template-columns: 58px minmax(0, 1fr); }
  .season-history-axis { padding-inline: 4px; font-size: .58rem; }
  .season-history-axis-plot span { overflow: hidden; font-size: .55rem; text-overflow: ellipsis; }
  .season-history-row { padding-inline: 4px; }
  .season-history-name { display: block; }
  .season-history-name strong, .season-history-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .season-history-name strong { font-size: .7rem; }
  .season-history-name small, .season-history-position { font-size: .6rem; }
  .season-calendar-year-detail { font-size: .68rem; }
  .season-history-position { overflow-wrap: anywhere; line-height: 1.1; white-space: normal; }
  .season-history-point { width: 18px; height: 18px; font-size: .58rem; }
  .season-history-kits img { width: 29px; height: 40px; }
  .season-history-chart.has-kits .season-history-name { grid-template-columns: minmax(0, 1fr); }
  .season-history-chart.has-kits .season-history-row { min-height: 70px; }
}
.season-achievements { display: grid; gap: 9px; margin: 12px 0 18px; padding: 13px 15px; border-left: 4px solid var(--gold); border-radius: 6px; background: #f7f9fa; }
.season-league-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin: 0; }
.season-league-label span { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.season-league-label strong { color: var(--navy); font-size: 1.05rem; }
.season-achievements .trophies-section { margin: 0; padding: 0; border: 0; }
.season-achievements .trophies-section h3 { margin-bottom: 7px; color: #72540f; font-size: .82rem; }
.season-achievements .trophy-badge { border-color: #d6ad57; background: #fff5dc; color: #59420d; font-weight: 700; }
.season-no-trophies { margin: 0; color: var(--muted); font-size: .85rem; }
.season-facts-box { display: grid; gap: 16px; margin: 14px 0 20px; padding: 20px 22px; border: 1px solid #456276; border-top: 3px solid var(--gold); border-radius: 4px; background: linear-gradient(160deg, #102c3e 0%, #081d2b 68%); color: #f1f5f7; box-shadow: inset 0 1px 0 #ffffff0c, 0 14px 32px #0002; }
.season-facts-note .eyebrow { margin: 0 0 5px; color: #9aafbd; }
.season-facts-note p { margin: 0; color: #f1f5f7; }
.season-facts-note p + p { margin-top: 8px; color: #c0d0d8; }
.season-overview-story p { max-width: 78ch; margin: 5px 0 0; color: #f1f5f7; line-height: 1.55; }
.season-overview-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #4b6170; border: 1px solid #4b6170; }
.season-overview-results div { display: grid; gap: 6px; min-height: 72px; align-content: center; padding: 12px 15px; background: #0c2333; }
.season-overview-results span, .season-editorial-list h4 { color: #9aafbd; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.season-overview-results strong { color: #f2c653; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.season-standings-panel, .next-fixture-standings { min-width: 0; padding: 16px; border: 1px solid #456276; border-top: 3px solid var(--gold); border-radius: 4px; background: linear-gradient(160deg, #102c3e 0%, #081d2b 68%); }
.next-fixture-standings { max-width: 560px; }
.season-standings-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.season-standings-heading .eyebrow { margin: 0 0 4px; color: #d7b76b; }
.season-standings-heading h3 { margin: 0; color: #f1f5f7; font-size: 1.05rem; }
.season-standings-heading select { max-width: 165px; padding: 6px 8px; font-size: .72rem; }
.season-standings-meta { margin: 0 0 8px; color: #9aafbd; font-size: .72rem; }
.season-standings-scroll { overflow-x: auto; overflow-y: visible; overscroll-behavior: contain; }
.season-standings-table { width: 100%; table-layout: fixed; border-collapse: collapse; color: #dfe8ed; font-size: .72rem; font-variant-numeric: tabular-nums; }
.season-standings-table th, .season-standings-table td { padding: 6px 4px; border-bottom: 1px solid #385365; text-align: right; white-space: nowrap; }
.season-standings-table thead th { position: sticky; top: 0; z-index: 1; background: #0b2130; color: #9aafbd; font-size: .64rem; }
.season-standings-table th:nth-child(1), .season-standings-table td:nth-child(1) { width: 26px; text-align: center; }
.season-standings-table th:nth-child(2) { width: auto; text-align: left; }
.season-standings-table td:nth-child(2) { overflow: hidden; text-align: left; text-overflow: ellipsis; }
.season-standings-table th:nth-child(3), .season-standings-table td:nth-child(3) { width: 27px; }
.season-standings-table th:nth-child(4), .season-standings-table td:nth-child(4) { width: 32px; }
.season-standings-table th:nth-child(5), .season-standings-table td:nth-child(5) { width: 30px; }
.season-standings-table td strong { color: #f2c653; }
.season-standings-table tr.is-own-team { background: #d7b76b18; color: #fff; }
.season-standings-table tr.is-opponent-team { background: #4e91b51a; color: #fff; }
.season-standings-table tr.is-own-team th:first-child,
.season-standings-table tr.is-own-team td:first-child { border-left: 3px solid #d7b76b; }
.season-standings-table tr.is-opponent-team th:first-child,
.season-standings-table tr.is-opponent-team td:first-child { border-left: 3px solid #75b9dd; }
.season-standings-table tr.is-table-zone-boundary > th,
.season-standings-table tr.is-table-zone-boundary > td { border-top: 2px solid #91a6b4; }
.season-standings-table tr.is-own-team.is-table-zone-boundary > th,
.season-standings-table tr.is-own-team.is-table-zone-boundary > td { border-top-color: #d7b76b; }
.season-standings-team { display: flex; align-items: center; gap: 5px; min-width: 0; color: inherit; text-decoration: none; }
.season-standings-team:hover, .season-standings-team:focus-visible { color: var(--gold); text-decoration: underline; }
.season-standings-team img { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.season-standings-team > span { overflow: hidden; text-overflow: ellipsis; }
.next-fixture-match-card { margin-bottom: 18px; padding: 16px; border: 1px solid #456276; border-radius: 6px; background: #0c2434; }
.next-fixture-matchup { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.2rem; }
.next-fixture-matchup > span[aria-hidden="true"] { color: #d7b76b; }
.next-fixture-opponent { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.next-fixture-opponent img { width: 32px; height: 32px; object-fit: contain; }
.next-fixture-match-card .detail-meta { margin: 7px 0 0; }
.next-fixture-standings { margin-top: 14px; }
.next-fixture-preview { display: grid; gap: 16px; max-width: 980px; margin: 0 auto 20px; }
.next-fixture-hero { position: relative; overflow: hidden; padding: 10px 16px; border: 1px solid #35566d; border-top: 3px solid var(--gold); border-radius: 14px; background: radial-gradient(ellipse at 50% -30%, #28485c 0, #102b3d 50%, #0b1e2c 100%); box-shadow: 0 16px 38px #0003; }
.next-fixture-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.next-fixture-live-label { display: inline-flex; align-items: center; gap: 8px; color: #d8b85f; font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.next-fixture-live-label i { width: 7px; height: 7px; border-radius: 50%; background: #d8b85f; box-shadow: 0 0 0 4px #d8b85f22; }
.next-fixture-countdown { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; border: 1px solid #557184; border-radius: 999px; background: #071824aa; font-variant-numeric: tabular-nums; }
.next-fixture-countdown span { color: #9fb3c2; font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.next-fixture-countdown strong { color: #fff; font-size: .78rem; }
.next-fixture-hero .next-fixture-matchup { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(10px, 3vw, 32px); margin: 10px auto; max-width: 760px; }
.next-fixture-team { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; color: #f6f8fa; text-decoration: none; }
.next-fixture-team-role { color: #91a6b4; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.next-fixture-team-identity { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.next-fixture-own-team:hover, .next-fixture-own-team:focus-visible { color: var(--gold); }
.next-fixture-team img, .next-fixture-crest-placeholder { width: clamp(36px, 5vw, 50px); height: clamp(36px, 5vw, 50px); flex: 0 0 auto; object-fit: contain; }
.next-fixture-crest-placeholder { display: grid; place-items: center; border: 1px solid #496477; border-radius: 50%; color: #d7b76b; font-size: 1.5rem; }
.next-fixture-team strong { min-width: 0; font-size: clamp(1.05rem, 3vw, 1.55rem); line-height: 1.15; overflow-wrap: anywhere; }
.next-fixture-opponent { border-radius: 10px; padding: 8px; transition: background .15s; }
.next-fixture-opponent:hover { background: #ffffff12; color: #f3d889; }
.next-fixture-hero .confidence-meter { width: min(100%, 380px); margin: 0 auto 10px; }
.next-fixture-versus { color: #8399a8; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.next-fixture-details { display: grid; gap: 16px; max-width: 760px; margin: 14px auto 0; padding-top: 14px; border-top: 1px solid #35566d; }
.next-fixture-details.has-referee { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.next-fixture-date-row { display: grid; justify-items: start; align-content: start; gap: 5px; text-align: left; }
.next-fixture-date-row > strong { color: #fff; font-size: clamp(.95rem, 2.6vw, 1.16rem); font-weight: 750; text-transform: capitalize; }
.next-fixture-date-row > span { color: #b0c0c9; font-size: .8rem; }
.next-fixture-location { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #b0c0c9; font-size: .8rem; }
.next-fixture-location .venue-surface-badge { font-size: .65rem; padding: 2px 6px; }
.match-weather { margin-top: 8px; color: #b0c0c9; font-size: .85rem; }
.match-weather-summary { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.match-weather-summary strong { color: #eef3f6; }
.match-weather-summary:focus-visible { outline: 2px solid #d7b76b; outline-offset: 3px; border-radius: 3px; }
.match-weather-source { display: block; margin: 24px 0 4px; padding-top: 10px; border-top: 1px solid #ffffff12; color: #91a6b4; font-size: .65rem; line-height: 1.6; }
.match-weather-source a { color: inherit; }
.match-weather-note { margin: 5px 0 0; }
.next-fixture-location-weather { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.next-fixture-date-row .match-weather { margin: 0; font-size: .8rem; }
.next-fixture-date-row .match-weather-summary strong { font-size: .85rem; font-weight: 650; }
.weather-site-footer { margin: 24px auto; color: #526776; font-size: .75rem; line-height: 1.6; }
.weather-site-footer a { color: inherit; }
.next-fixture-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 0; }
.next-fixture-facts > div { display: flex; align-items: baseline; gap: 6px; }
.next-fixture-facts dt { color: #91a6b4; font-size: .61rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.next-fixture-facts dd { margin: 0; color: #f1f5f7; font-size: .78rem; font-weight: 650; }
.next-fixture-referee { display: grid; justify-items: stretch; gap: 7px; min-width: 0; padding-left: 16px; border-left: 1px solid #35566d; }
.next-fixture-referee .next-fixture-facts { justify-content: start; margin: 0; }
.next-fixture-referee-norm { width: 100%; font-size: .65rem; text-align: left; }
.next-fixture-ticket { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 15px auto 0; color: #f0d079; font-size: .78rem; font-weight: 750; text-decoration: none; }
.next-fixture-ticket:hover { color: #fff; }
.next-fixture-preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); align-items: start; gap: 14px; }
.next-fixture-preview-main, .next-fixture-preview-side { display: grid; align-content: start; gap: 14px; min-width: 0; }
.next-fixture-panel { min-width: 0; padding: 17px; border: 1px solid #2f4b60; border-radius: 12px; background: linear-gradient(145deg, #112b3c, #0b1e2b); }
.next-fixture-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.next-fixture-section-heading .eyebrow, .next-fixture-standings-summary .eyebrow { margin: 0 0 3px; color: #d7b76b; font-size: .61rem; }
.next-fixture-section-heading h3, .next-fixture-standings-summary h3 { margin: 0; color: #f3f6f8; font-size: 1rem; }
.next-fixture-status { flex: 0 0 auto; padding: 5px 9px; border: 1px solid #466173; border-radius: 999px; color: #bfd0d9; font-size: .63rem; font-weight: 750; }
.next-fixture-status.attention { border-color: #9f6835; background: #50321955; color: #ffd08b; }
.next-fixture-status.confirmed { border-color: #3d9366; color: #7bddaa; }
.next-fixture-starting-xi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px; margin: 0; padding: 0; list-style: none; counter-reset: preview-player; }
.next-fixture-starting-xi li { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; align-items: center; gap: 7px; min-width: 0; min-height: 36px; padding: 4px 7px; border: 1px solid #294358; border-radius: 7px; background: #07182477; }
.next-fixture-player-number { color: #d4b761; font-size: .62rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.next-fixture-player-name { overflow: hidden; color: #e9eff3; font-size: .73rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.next-fixture-player-position { overflow: hidden; max-width: 92px; color: #8fa5b4; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.next-fixture-clearance { margin: 0; color: #d5e0e5; font-size: .78rem; line-height: 1.5; }
.next-fixture-clearance.attention { color: #ffd08b; }
.next-fixture-source-note { margin: 10px 0 0; color: #849aa9; font-size: .62rem; line-height: 1.45; }
.next-fixture-absence-list { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.next-fixture-absence-list li { display: flex; justify-content: space-between; gap: 10px; color: #e8edf0; font-size: .72rem; }
.next-fixture-absence-list strong { color: #f0c16e; }
.next-fixture-absence-list span { text-align: right; }
.next-fixture-suspension-note { margin: 0; color: #e1e7eb; font-size: .75rem; }
.next-fixture-warning-list { margin-top: 12px; color: #e8d18b; font-size: .7rem; }
.next-fixture-warning-list summary { cursor: pointer; font-weight: 700; }
.next-fixture-warning-list ul { display: grid; gap: 5px; margin: 8px 0 0; padding-left: 17px; color: #dce5ea; }
.next-fixture-standings-summary > div { display: grid; gap: 6px; margin-top: 12px; }
.next-fixture-standings-summary > div p { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 8px; margin: 0; padding-top: 7px; border-top: 1px solid #294358; color: #cddbe4; font-size: .72rem; }
.next-fixture-standings-summary > div strong { color: #f2c653; }
.next-fixture-standings-summary > div small { color: #91a6b4; }
.next-fixture-preview > .next-fixture-standings { width: 100%; max-width: none; margin: 0; padding: 10px 13px; border: 1px solid #2f4b60; border-radius: 9px; background: #0b1e2b; }
.next-fixture-preview > .next-fixture-standings > summary { color: #b5c4cc; cursor: pointer; font-size: .7rem; font-weight: 700; }
.next-fixture-preview > .next-fixture-standings[open] { padding: 14px; }
.next-fixture-table-panel .season-standings-scroll { max-height: none; overflow-x: auto; }
.next-fixture-table-panel .season-standings-meta { margin: 0 0 8px; }
.next-fixture-table-panel .season-standings-table { width: 100%; min-width: 0; }
.next-fixture-table-panel .season-standings-table td,
.next-fixture-table-panel .season-standings-table th { padding: 5px 4px; }
.next-fixture-table-panel .season-standings-team { gap: 4px; }
.next-fixture-table-panel .season-standings-team img { width: 15px; height: 15px; flex-basis: 15px; }
.next-fixture-lineup .football-pitch { min-height: 380px; padding: 14px 8px 10px; gap: 5px; }
.next-fixture-lineup .formation-row:not(.formation-modern-row) { width: 100%; gap: 5px; }
.next-fixture-lineup .formation-modern-row { gap: 0; }
.next-fixture-lineup .football-pitch .formation-player { min-height: 78px; width: 105px; flex: 0 1 105px; }
.next-fixture-lineup .football-pitch .formation-shirt-link { width: 46px; height: 42px; }
.next-fixture-lineup .football-pitch .formation-shirt-art { width: 52px; height: 60px; top: -6px; }
.next-fixture-lineup .football-pitch .formation-player strong { margin-top: 46px; padding: 3px 5px; font-size: .68rem; max-width: none; white-space: nowrap; overflow-wrap: normal; }
.next-fixture-lineup .formation-attack:empty { min-height: 78px; }
.next-fixture-lineup .football-pitch .formation-shirt-number { top: 12px; font-size: .76rem; }
.next-fixture-lineup .football-pitch .formation-player.has-shirt-art .formation-shirt-number { top: 17px; }
.next-fixture-lineup .formation-label { margin: 0 0 7px; font-size: .72rem; }
.next-fixture-preview-side .next-fixture-panel { padding: 12px; }
.next-fixture-preview-side .next-fixture-section-heading { margin-bottom: 9px; flex-wrap: wrap; }
@media (min-width: 701px) {
  .next-fixture-lineup .modern-formation-pitch { display: grid; grid-template-rows: repeat(8, minmax(60px, auto)); justify-items: center; align-items: start; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .next-fixture-preview-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .next-fixture-preview { gap: 11px; }
  .next-fixture-hero { padding: 16px 12px; border-radius: 10px; }
  .next-fixture-hero .next-fixture-matchup { gap: 5px; margin: 10px auto; }
  .next-fixture-team { flex-direction: column; gap: 6px; text-align: center; }
  .next-fixture-team strong { font-size: .88rem; }
  .next-fixture-versus { font-size: .58rem; }
  .next-fixture-date-row strong { font-size: .92rem; }
  .next-fixture-date-row > span { font-size: .7rem; }
  .next-fixture-details.has-referee { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .next-fixture-referee { padding: 12px 0 0; border-left: 0; border-top: 1px solid #35566d; }
  .next-fixture-location { font-size: .7rem; }
  .next-fixture-lineup .mobile-formation-list .formation-player.has-shirt-art { padding-left: 58px; min-height: 54px; box-sizing: border-box; }
  .next-fixture-lineup .mobile-formation-list .has-shirt-art .formation-shirt-link { display: block; position: absolute; top: 4px; left: 8px; width: 40px; height: 46px; padding: 0; border: 0; background: transparent; }
  .next-fixture-lineup .mobile-formation-list .formation-shirt-art { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px #0008); }
  .next-fixture-lineup .mobile-formation-list .has-shirt-art .formation-shirt-number { top: 17px; left: 8px; z-index: 1; width: 40px; height: 16px; padding: 0; background: transparent; clip-path: none; filter: none; pointer-events: none; text-shadow: 0 1px 2px #000b; }
  .next-fixture-lineup .mobile-formation-list .has-shirt-art .formation-shirt-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
  .next-fixture-facts { gap: 6px 12px; margin-top: 8px; }
  .next-fixture-preview-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .next-fixture-preview-main, .next-fixture-preview-side { gap: 10px; }
  .next-fixture-panel { padding: 13px; }
  .next-fixture-starting-xi { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .next-fixture-starting-xi li { min-height: 34px; }
  .next-fixture-player-name { font-size: .75rem; }
  .next-fixture-team-identity { gap: 6px; }
  .next-fixture-team-role { font-size: .5rem; }
}
.season-form-strip { display: flex; align-items: center; gap: 0; overflow: hidden; border: 1px solid #314d60; background: #071a28; }
.season-form-strip span, .season-form-strip strong { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; color: #ccd8de; font-size: .78rem; }
.season-form-strip span + span, .season-form-strip strong { border-left: 1px solid #314d60; }
.season-form-strip i { width: 8px; height: 8px; border-radius: 50%; }
.season-form-strip i.win { background: #63d5a5; box-shadow: 0 0 8px #63d5a577; }
.season-form-strip i.draw { background: #e3bd5d; box-shadow: 0 0 8px #e3bd5d77; }
.season-form-strip i.loss { background: #ec796d; box-shadow: 0 0 8px #ec796d77; }
.season-form-strip strong { margin-left: auto; color: #f1f5f7; font-variant-numeric: tabular-nums; }
.season-evolution { margin: 4px 0 18px; padding: 14px 0 16px; border-top: 1px solid #29465a; border-bottom: 1px solid #29465a; }
.season-evolution-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.season-evolution-heading h3 { margin: 0; color: #f1f5f7; }
.season-evolution-heading p { margin: 4px 0 0; font-size: .86rem; }
.season-evolution-heading label { display: grid; gap: 3px; min-width: 180px; color: #9aafbd; font-size: .76rem; }
.season-evolution-league { color: var(--gold); font-weight: 700; }
.season-evolution-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin: 12px 0 4px; }
.season-evolution-mode, .season-evolution-controls fieldset { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.season-evolution-mode button { padding: 6px 12px; border: 1px solid #52728d; background: transparent; color: #c0d0d8; font-size: .8rem; }
.season-evolution-mode button.active { border-color: var(--gold); background: var(--gold); color: #071824; font-weight: 700; }
.season-evolution-controls fieldset { gap: 12px; flex-wrap: wrap; }
.season-evolution-controls legend { float: left; margin-right: 8px; color: #9aafbd; font-size: .75rem; }
.season-evolution-controls fieldset label { display: inline-flex; align-items: center; gap: 5px; color: #c0d0d8; font-size: .78rem; white-space: nowrap; }
.season-evolution-controls input { width: 14px; min-width: 14px; height: 14px; margin: 0; accent-color: var(--gold); }
.season-evolution-key { display: inline-block; width: 17px; height: 0; border-top: 2px dashed currentColor; }
.season-evolution-key.leader { color: #f4c85d; }
.season-evolution-key.medal { color: #8fc6ee; }
.season-evolution-key.qualifying { color: #e89170; }
.season-evolution-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.season-evolution-svg { display: block; width: 100%; min-width: 780px; height: auto; overflow: visible; }
.season-evolution-grid { stroke: #29465a; stroke-width: 1; }
.season-evolution-tick { stroke: #1d394d; stroke-width: 1; }
.season-evolution-y-label, .season-evolution-x-label, .season-evolution-axis-label { fill: #93aab8; font-size: 11px; }
.season-evolution-axis-label { font-size: 10px; }
.season-evolution-line { fill: none; stroke: #75f0cb; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.season-evolution-glow { fill: none; stroke: #45e6b8; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; opacity: .22; filter: blur(5px); }
.season-evolution-dot { fill: #eafff7; stroke: #45e6b8; stroke-width: 2; filter: drop-shadow(0 0 5px #45e6b8); }
.season-evolution-expected-line, .season-evolution-sample-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.season-evolution-expected-line { stroke: #f4c85d; stroke-dasharray: 8 5; }
.season-evolution-sample-line { stroke: #e89170; }
.season-evolution-expected-dot { fill: #fff4c7; stroke: #f4c85d; }
.season-evolution-sample-dot { fill: #ffded2; stroke: #e89170; }
.season-evolution-expected-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; color: #c0d0d8; font-size: .8rem; }
.season-evolution-expected-legend span { display: inline-flex; align-items: center; gap: 7px; }
.season-evolution-expected-legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid currentColor; }
.season-evolution-expected-legend i.expected { border-top-style: dashed; color: #f4c85d; }
.season-evolution-expected-legend i.sample { color: #e89170; }
.season-evolution-reference { fill: none; stroke-width: 1.5; stroke-dasharray: 5 5; opacity: .78; }
.season-evolution-reference.leader { stroke: #f4c85d; }
.season-evolution-reference.medal { stroke: #8fc6ee; }
.season-evolution-reference.qualifying { stroke: #e89170; }
.season-evolution-caption { margin: 2px 0 0; color: #aebfc8; font-size: .82rem; }
.season-editorial-list ul { margin: 5px 0 0; padding-left: 20px; color: #d5e0e5; }
.season-editorial-list li + li { margin-top: 4px; }
.season-records { padding-top: 2px; border-top: 1px solid #29465a; }
.season-fact-highlight { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.season-fact-highlight span, .season-fact-internationals h4 { color: #9aafbd; font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.season-fact-highlight strong { color: var(--gold); }
.season-fact-internationals ul { margin: 6px 0 0; padding-left: 20px; color: #d5e0e5; }
.season-fact-internationals li + li { margin-top: 4px; }
.season-international-match { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.season-international-match:hover { color: #fff; text-decoration: underline; }
.season-international-match strong { color: inherit; }
.international-match.is-season-match-target { outline: 2px solid var(--gold); outline-offset: 3px; }
.season-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.season-header-honours { min-width: 0; }
.season-header-honours .trophies-section { margin: 0; padding: 0; border: 0; }
.season-header-honours .trophies-section h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.season-header-honours .trophy-list { margin: 0; }
.season-header-honours .trophy-badge { max-width: 100%; border-color: #d6ad57; background: #fff5dc; color: #59420d; font-weight: 700; }
.player-internationals ul { margin: 0; padding-left: 20px; }
.player-internationals li { padding: 4px 0; }
.player-internationals li strong { display: inline-block; min-width: 78px; color: var(--gold); }
.player-internationals li span { color: var(--muted); }
.person-header-honours { margin: 0 0 18px; }
.person-header-honours .trophies-section { margin-top: 0; }
.person-header-honours h3 { margin: 0 0 8px; font: 700 .7rem/1.4 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #e6c36e; }
.person-header-honours .trophy-badge { padding: 9px 15px; color: #ffe5a1; border-color: #b79952; background: linear-gradient(120deg, #3b3521, #293222); box-shadow: 0 2px 12px #e6c36e14; font-size: .9rem; font-weight: 750; }
.person-header-honours .trophy-note { max-width: 620px; margin: 5px 0 10px; font-size: .7rem; }
.player-international-matches > h3 { color: #f1f5f7; font-size: 1.1rem; }
.player-internationals .player-international-match-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.player-international-match-list > li { padding: 0; border: 1px solid #395267; border-radius: 7px; background: #102638; overflow: hidden; }
.player-international-match-card { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 14px; color: #f1f5f7; text-decoration: none; }
.player-international-match-card:hover, .player-international-match-card:focus-visible { background: #1b3b50; outline: 2px solid #e6c36e; outline-offset: -2px; }
.player-international-match-card time { color: #b5c3cc; font-size: .76rem; }
.player-internationals .player-international-fixture { color: #f1f5f7; font-weight: 700; }
.player-internationals .player-international-fixture > span { color: #9aafbd; font-size: .75rem; font-weight: 400; }
.player-internationals .player-international-score { min-width: 0; color: #f0d78e; font-size: 1.2rem; }
.player-international-score { text-decoration: underline; text-underline-offset: 4px; }
.international-goal-symbol { display: inline-block; margin-right: 6px; color: #f1f5f7; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.international-player-list .international-goal-symbol { margin: 0 0 0 5px; }
.leadership-merit-list { display: grid; gap: 20px; padding: 0; list-style: none; }
.leadership-merit-list li { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.leadership-merit-list p { margin: 8px 0; }
.leadership-merit-list small { display: block; line-height: 1.5; }
.leadership-merit-list a { color: #f0d78e; }
.player-international-competition { grid-column: 1 / -1; color: #b5c3cc; font-size: .76rem; }
.player-international-match-list > .international-qualifying-card,
.international-match.international-qualifying-card { border-left: 3px solid #79c8d8; background: #102b3d; }
.international-qualifying-card .player-international-competition { color: #a8e2ef; font-weight: 700; }
.player-international-match-list > .international-finals-card,
.international-match.international-finals-card { border: 1px solid #e6c36e; border-left: 4px solid #e6c36e; background: linear-gradient(120deg, #263b3b, #142d40); box-shadow: inset 0 1px 0 #f0d78e33; }
.international-finals-card .player-international-competition { color: #f0d78e; font-size: .84rem; font-weight: 800; letter-spacing: .04em; }
.player-international-facts { margin: 0; padding: 0 14px 12px; color: #d9e5ed; font-size: .8rem; line-height: 1.5; }
.player-internationals .player-international-report-link { grid-column: 2 / -1; color: #e6c36e; font-size: .72rem; }
.player-international-press { margin: 0 14px 14px; padding: 10px 12px; border-left: 2px solid #e6c36e; background: #173448; color: #d9e5ed; font-size: .8rem; }
.player-international-press p { margin: 0 0 5px; }
.player-international-press strong { color: #f0d78e; }
.player-international-press small { color: #b5c3cc; font-size: .7rem; }
.player-international-goals { margin: 0; padding: 0 14px 10px; color: #f0d78e; font-size: .75rem; }
@media (max-width: 650px) {
  .player-international-match-card { grid-template-columns: minmax(0, 1fr) auto; }
  .player-international-match-card time { grid-column: 1 / -1; }
  .player-internationals .player-international-report-link { grid-column: 1 / -1; }
}
.person-source-note { margin: 22px 0 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .78rem; }
@media (max-width: 700px) {
  .season-heading-main { align-items: flex-start; flex-direction: column; }
  .season-heading-achievements { justify-content: flex-start; }
  .season-champions-badge { min-width: 0; width: max-content; }
  .season-streak-badge { min-width: 0; width: max-content; }
  .season-overview-results { grid-template-columns: 1fr; }
  .season-standings-panel { padding: 12px; }
  .season-form-strip { flex-wrap: wrap; }
  .season-form-strip span, .season-form-strip strong { min-height: 34px; padding: 0 8px; font-size: .7rem; }
}
.match-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.venue-side-filters { gap: 5px; margin: 6px 0 12px; }
.venue-side-filters .match-filter { min-width: 34px; padding: 5px 9px; text-align: center; }
.match-filters.official-match-filters { margin-top: 0; padding-top: 9px; border-top: 1px solid #38536a; }
.match-filters.unofficial-subcategories { margin-left: 10px; padding-left: 10px; border-left: 3px solid var(--gold); }
.match-filter { padding: 7px 12px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 400; }
.match-filter:hover { filter: none; border-color: var(--gold); color: #fff; }
.match-filter.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.squad-sort-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.squad-sort { padding: 7px 12px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 400; }
.squad-sort:hover { filter: none; border-color: var(--gold); color: #fff; }
.squad-sort.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.season-workspace { margin-top: 14px; }
.season-tabs { display: flex; gap: 4px; overflow-x: auto; overscroll-behavior-inline: contain; margin: 0 -2px 14px; padding: 0 2px 8px; border-bottom: 1px solid #385365; scrollbar-width: thin; }
.season-tab { flex: 0 0 auto; min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 5px 5px 0 0; background: transparent; color: #aebfc8; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.season-tab:hover { border-color: #456276; background: #102c3e; color: #fff; }
.season-tab.active { border-color: #456276; border-bottom-color: #102c3e; background: #102c3e; color: var(--gold); }
.season-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.season-tab-panel { min-width: 0; }
.season-tab-panel[hidden], .season-tab-panel.hidden { display: none; }
.calendar-year-review { display: grid; gap: 18px; }
.calendar-year-review-heading { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid #395267; }
.calendar-year-review-heading h2 { margin: 0; color: #f1f5f7; font-size: 1.65rem; }
.calendar-year-review-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calendar-year-review-navigator { display: flex; align-items: center; gap: 7px; }
.calendar-year-review-navigator > button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid #456276; border-radius: 6px; background: #0b2232; color: #f1f5f7; font-size: 1rem; }
.calendar-year-review-navigator > button:hover:not(:disabled), .calendar-year-review-navigator > button:focus-visible { border-color: var(--gold); color: var(--gold); }
.calendar-year-review-navigator > button:disabled { opacity: .4; cursor: default; }
.calendar-year-review-navigator label { display: grid; gap: 2px; color: #9fb3c2; font-size: .62rem; font-weight: 700; }
.calendar-year-review-navigator select { min-width: 88px; padding: 5px 8px; border: 1px solid #456276; border-radius: 5px; background: #0b2232; color: #f1f5f7; font: inherit; font-size: .82rem; }
.calendar-year-review-navigator small { max-width: 170px; color: #d7b76b; font-size: .65rem; }
.year-review-tablist { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 7px; border-bottom: 1px solid #395267; scrollbar-width: thin; }
.year-review-tablist [role="tab"] { flex: 0 0 auto; padding: 9px 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #b6c7d0; font: inherit; font-size: .82rem; font-weight: 700; }
.year-review-tablist [role="tab"]:hover, .year-review-tablist [role="tab"]:focus-visible { border-color: #456276; color: #f1f5f7; }
.year-review-tablist [role="tab"].active, .year-review-tablist [role="tab"][aria-selected="true"] { border-color: #8a7135; background: #312a18; color: #f2d078; }
.year-review-panel.hidden { display: none; }
.year-review-panel { min-width: 0; }
.year-review-intro { padding: 16px 18px; border: 1px solid #456276; border-left: 3px solid var(--gold); border-radius: 6px; background: linear-gradient(145deg, #102c3e, #0a2030); }
.year-review-intro h3 { margin: 3px 0 8px; color: #f1f5f7; font-size: 1.15rem; }
.year-review-intro > small { color: #aebfc8; }
.year-review-comparison-status { width: fit-content; padding: 5px 9px; border: 1px solid #607988; border-radius: 999px; background: #0b2232; font-size: .88rem !important; }
.year-review-comparison-status.is-correct { border-color: #348864; color: #76d2a4; }
.year-review-comparison-status.is-discrepancy { border-color: #9c4b47; color: #ffaaa4; }
.year-review-comparison-status.is-incomplete { border-color: #9a7a32; color: #f2d078; }
.year-review-comparison-values { display: grid; gap: 7px; }
.year-review-comparison-pair { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #345064; border-radius: 5px; background: #0b2232; }
.year-review-comparison-pair p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0; color: #aebfc8; font-size: .78rem; }
.year-review-comparison-pair strong { color: #f1f5f7; font-variant-numeric: tabular-nums; text-align: right; }
.year-review-background { margin-top: 12px; border-top: 1px solid #345064; color: #c3d1d9; }
.year-review-background > summary { padding-top: 10px; color: #d7b76b; cursor: pointer; font-size: .8rem; font-weight: 700; }
.year-review-background > div { padding-top: 8px; }
.year-review-background > div > p { max-width: 90ch; line-height: 1.5; }
.year-review-assessments { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px; margin: 16px 0; }
.year-review-assessment-card { display: grid; align-content: start; gap: 0; min-width: 0; padding: 0 12px 9px; border: 1px solid #456276; border-radius: 6px; background: #0b2232; }
.year-review-assessment-card.is-correct { border-color: #348864; background: #102b27; }
.year-review-assessment-card.is-discrepancy { border-color: #8e514b; background: #2b2023; }
.year-review-assessment { display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; align-items: start; gap: 10px; width: 100%; padding: 12px 0 6px; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.year-review-assessment:hover, .year-review-assessment:focus-visible { color: #fff; }
.year-review-assessment:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.year-review-assessment > span:nth-child(2) { display: grid; gap: 4px; }
.year-review-assessment > span:nth-child(2) strong { color: #f1f5f7; font-size: .82rem; }
.year-review-assessment > span:nth-child(2) > span { color: #c3d1d9; font-size: .76rem; line-height: 1.45; }
.year-review-assessment-arrow { align-self: center; color: var(--gold); font-size: 1rem; font-weight: 800; }
.year-review-assessment-status { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid #607988; border-radius: 50%; color: #c3d1d9; font-weight: 800; }
.year-review-assessment-card.is-correct .year-review-assessment-status, .year-review-assessment.is-correct .year-review-assessment-status { border-color: #348864; color: #76d2a4; }
.year-review-assessment-card.is-uncertain .year-review-assessment-status { border-color: #9a7a32; color: #f2d078; }
.year-review-assessment-card.is-discrepancy .year-review-assessment-status { border-color: #9c4b47; color: #ffaaa4; }
.year-review-assessment-card.is-missing .year-review-assessment-status { border-color: #607988; color: #aebfc8; }
.year-review-assessment-card .year-review-citation { margin: 0 0 3px 38px; }
.year-review-meeting-report { display: grid; gap: 5px; margin: 14px 0; }
.year-review-meeting-report-link { display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; align-items: start; gap: 10px; width: 100%; padding: 12px; border: 1px solid #456276; border-radius: 6px; background: #0b2232; color: #f1f5f7; font: inherit; text-align: left; cursor: pointer; }
.year-review-meeting-report-link:hover, .year-review-meeting-report-link:focus-visible { border-color: var(--gold); background: #102c3e; }
.year-review-meeting-report-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.year-review-meeting-report-link > span:nth-child(2) { display: grid; gap: 4px; }
.year-review-meeting-report-link > span:nth-child(2) > strong { color: #f1f5f7; font-size: .85rem; }
.year-review-meeting-report-link > span:nth-child(2) > span { color: #c3d1d9; font-size: .76rem; line-height: 1.45; }
.year-review-meeting-report-source { margin-left: 50px; color: var(--gold); font-size: .72rem; }
.year-review-meeting-report-status { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid #607988; border-radius: 50%; color: #c3d1d9; font-weight: 800; }
.year-review-meeting-report h4 { margin: 0 0 4px; color: #f1f5f7; font-size: .85rem; }
.year-review-meeting-report p { margin: 0; color: #c3d1d9; font-size: .78rem; }
.year-review-meeting-report small { display: block; margin-top: 5px; color: #aebfc8; font-size: .72rem; line-height: 1.45; }
.year-review-meeting-report a { color: var(--gold); }
.year-review-meeting-report.is-linked .year-review-meeting-report-status { border-color: #348864; color: #76d2a4; }
.year-review-meeting-report.is-missing .year-review-meeting-report-status { border-color: #9c4b47; color: #ffaaa4; }
@media (max-width: 700px) {
  .season-review-overview-controls { grid-template-columns: 1fr; gap: 8px; }
  .season-review-grid { grid-template-columns: 1fr; }
  .year-review-assessments { grid-template-columns: 1fr; }
  .calendar-year-review-title-row { align-items: flex-start; }
  .calendar-year-review-navigator { flex-wrap: wrap; gap: 4px; }
  .calendar-year-review-navigator > button { width: 30px; height: 30px; }
  .calendar-year-review-navigator small { flex-basis: 100%; }
}
.year-review-severity { display: inline-flex; width: fit-content; margin: 10px 0 5px; padding: 4px 9px; border: 1px solid #8a7135; border-radius: 999px; background: #312a18; color: #f2d078; font-size: .73rem; font-weight: 700; }
.year-review-severity.is-red { border-color: #9c4b47; background: #3a2021; color: #ffaaa4; }
.year-review-severity-note { margin: 0 0 10px; color: #c4d2da; font-size: .82rem; line-height: 1.5; }
.year-review-table-scroll { overflow-x: auto; }
.year-review-table-scroll table { width: 100%; min-width: 650px; border-collapse: collapse; }
.year-review-table-scroll th, .year-review-table-scroll td { padding: 10px 12px; border-bottom: 1px solid #395267; text-align: left; vertical-align: top; }
.year-review-table-scroll thead th { color: #d7b76b; font-size: .75rem; }
.year-review-table-scroll tbody th { color: #f1f5f7; white-space: nowrap; }
.year-review-stat-line, .year-review-stat-goals { display: block; font-variant-numeric: tabular-nums; white-space: nowrap; }
.year-review-stat-goals { margin-top: 3px; color: #c3d1d9; font-size: .78rem; }
.year-review-table-scroll td small { display: block; max-width: 44ch; margin-top: 5px; color: #aebfc8; font-size: .72rem; white-space: normal; }
.year-review-citation { display: block; max-width: 60ch; margin-top: 7px; color: #aebfc8; font-size: .72rem; line-height: 1.45; white-space: normal; }
.year-review-citation a { color: var(--gold); }
.year-review-findings > div, .year-review-items > div { display: grid; gap: 10px; }
.year-review-item { padding: 14px 16px; border: 1px solid #395267; border-radius: 6px; background: #0b2232; }
.year-review-item-heading { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.year-review-item-type, .year-review-item-status, .year-review-item-role { padding: 3px 7px; border: 1px solid #527083; border-radius: 999px; color: #d1dfe6; font-size: .68rem; font-weight: 700; }
.year-review-item-status { border-color: #806a32; color: #f0d78e; }
.year-review-item-role { border-color: #426d77; color: #a8e2ef; }
.year-review-match-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; margin: 10px 0; }
.year-review-match-link { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #456276; border-radius: 6px; background: #102c3e; color: #dce7ec; text-align: left; }
.year-review-match-link:hover, .year-review-match-link:focus-visible { border-color: var(--gold); background: #17384c; }
.year-review-match-link > span { color: #d7b76b; font-size: .72rem; font-weight: 700; }
.year-review-match-link > strong { color: #f1f5f7; font-size: .85rem; }
.year-review-match-link > small { color: #aebfc8; font-size: .7rem; }
.year-review-item h4 { margin: 0 0 6px; color: #f1f5f7; font-size: .95rem; }
.year-review-item p { margin: 0 0 7px; max-width: 92ch; color: #d4dfe5; }
.year-review-item > small { color: #aebfc8; }
.year-review-item .season-inline-match { margin: 0 0 7px; }
.year-review-person-linker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.year-review-person-linker > span { color: #c3d1d9; font-size: .82rem; }
.year-review-link-person { padding: 5px 9px; border: 1px solid #507187; border-radius: 5px; background: #153449; color: #e5c36f; font-size: .74rem; font-weight: 700; }
.year-review-link-person:hover, .year-review-link-person:focus-visible { border-color: #e5c36f; background: #1c4358; color: #fff; }
.review-person-dialog { width: min(620px, calc(100vw - 28px)); max-width: 620px; max-height: min(80vh, 760px); padding: 0; border: 1px solid #456276; border-radius: 9px; background: #0c2231; color: #f1f5f7; box-shadow: 0 20px 70px #000b; }
.review-person-dialog::backdrop { background: #02080dc9; }
.review-person-dialog .match-dialog-sticky { position: sticky; top: 0; z-index: 1; }
.review-person-dialog .match-dialog-heading h2 { margin: 0; font-size: 1.15rem; }
.review-person-dialog-content { padding: 16px 20px 22px; }
.review-person-source-name { margin: 0 0 5px; color: #f2d078; font-size: 1rem; font-weight: 750; }
.review-person-help { color: #b6c7d0; font-size: .84rem; line-height: 1.5; }
.review-person-search { display: grid; gap: 7px; margin: 16px 0 8px; color: #d4dfe5; font-size: .82rem; font-weight: 700; }
.review-person-search > div { display: flex; gap: 8px; }
.review-person-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #527083; border-radius: 5px; background: #071824; color: #fff; font: inherit; }
.review-person-search button { padding: 9px 14px; border: 1px solid #d5b45c; border-radius: 5px; background: #d5b45c; color: #152431; font-weight: 750; }
.review-person-dialog-content > [aria-live] { min-height: 1.2em; font-size: .8rem; }
.review-person-search-results { display: grid; gap: 7px; }
.review-person-result { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #39596c; border-radius: 5px; background: #102c3e; color: #f1f5f7; text-align: left; }
.review-person-result:hover, .review-person-result:focus-visible { border-color: #e5c36f; background: #17384c; }
.review-person-result > span { color: #aebfc8; font-size: .75rem; }
.review-person-dialog a { color: #e5c36f; font-weight: 700; }
.year-review-sources ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #d4dfe5; }
.year-review-sources li > span { color: #aebfc8; }
.year-review-sources a { color: var(--gold); }
.season-period-insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.season-insight-section { min-width: 0; margin: 0; }
.season-insight-section:last-child { grid-column: 1 / -1; }
.season-insight-section > :last-child { margin-bottom: 0; }
.season-story-disclosure { margin: 16px 0; overflow: hidden; border: 1px solid #456276; border-radius: 8px; background: linear-gradient(145deg, #102c3e, #0a2030); }
.season-story-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; padding: 12px 16px; cursor: pointer; list-style: none; }
.season-story-disclosure > summary::-webkit-details-marker { display: none; }
.season-story-disclosure > summary::after { content: "+"; display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border: 1px solid #547083; border-radius: 50%; color: var(--gold); font-size: 1.2rem; }
.season-story-disclosure[open] > summary::after { content: "−"; }
.season-story-disclosure > summary > span:first-child { display: grid; gap: 3px; }
.season-story-disclosure > summary .eyebrow { color: #d7b76b; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.season-story-disclosure > summary strong { color: #f1f5f7; font-size: 1.05rem; }
.season-story-count { padding: 5px 9px; border: 1px solid #456276; border-radius: 999px; color: #c3d1d9; font-size: .72rem; white-space: nowrap; }
.season-story-content { padding: 0 16px 18px; }
.season-story-content > .muted { max-width: 90ch; margin: 0 0 12px; font-size: .78rem; }
.season-story-timeline { display: grid; gap: 0; margin: 0; padding: 2px 0 2px 15px; list-style: none; border-left: 1px solid #456276; }
.season-story-event { position: relative; padding: 0 0 14px 18px; }
.season-story-event:last-child { padding-bottom: 0; }
.season-story-marker { position: absolute; top: 15px; left: -20px; width: 9px; height: 9px; border: 2px solid #102c3e; border-radius: 50%; background: #d7b76b; box-shadow: 0 0 0 1px #d7b76b; }
.season-story-event.is-strong .season-story-marker { background: #76c798; box-shadow: 0 0 0 1px #76c798; }
.season-story-event.is-difficult .season-story-marker { background: #e39a87; box-shadow: 0 0 0 1px #e39a87; }
.season-story-card { padding: 12px 14px; border: 1px solid #345064; border-radius: 7px; background: #0b2130; }
.season-story-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; margin-bottom: 5px; color: #aebfc8; font-size: .72rem; }
.season-story-kind { color: #d7b76b; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.is-strong .season-story-kind { color: #91d6a9; }
.is-difficult .season-story-kind { color: #e9a28f; }
.season-story-card h4 { margin: 0; color: #f1f5f7; font-size: .96rem; line-height: 1.4; }
.season-story-card > p { margin: 4px 0 0; color: #b6c5ce; font-size: .82rem; line-height: 1.5; }
.season-story-card .season-story-context { color: #d7b76b; font-size: .74rem; }
.season-story-card .season-inline-match { color: inherit; }
.season-story-empty { margin: 0; padding: 14px; border: 1px dashed #456276; border-radius: 6px; color: #b6c5ce; }
.season-story-context-note { margin: 12px 0 0; color: #9aafbd; font-size: .78rem; }
.season-insight-list p { margin: 4px 0 8px; color: #b6c5ce; }
.season-insight-list, .season-player-list { margin: 10px 0 0; padding-left: 22px; }
.season-insight-list li, .season-player-list li { margin: 5px 0; }
.season-key-match-list { list-style: none; padding: 0; }
.season-key-match-list li { padding: 10px 0; border-top: 1px solid #345064; }
.season-key-match-list li:first-child { border-top: 0; }
.season-key-match-list .season-inline-match { color: #f2d27a; }
.season-inline-match { padding: 0; border: 0; background: transparent; color: var(--gold); font: inherit; font-weight: 400; text-align: left; }
.season-inline-match:hover { filter: none; text-decoration: underline; }
.season-transfers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.season-transfer-column { min-width: 0; padding: 14px 16px; border: 1px solid #345064; border-radius: 7px; background: #0c2434; }
.season-transfer-column h3 { display: flex; align-items: center; gap: 9px; margin: 0; }
.season-transfer-direction { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.15rem; }
.season-transfer-column.is-arrival .season-transfer-direction { color: #91d6a9; }
.season-transfer-column.is-departure .season-transfer-direction { color: #e6b38a; }
.season-transfer-column li, .season-transfer-column p { overflow-wrap: anywhere; }
.season-transfer-column > p { margin-bottom: 0; }
@media (max-width: 600px) {
  .season-period-insights { grid-template-columns: 1fr; }
  .season-insight-section:last-child { grid-column: auto; }
  .season-story-disclosure > summary { padding: 11px 12px; }
  .season-story-content { padding: 0 12px 14px; }
  .season-story-event { padding-left: 13px; }
  .season-story-card { padding: 10px 11px; }
  .season-transfers { grid-template-columns: 1fr; gap: 12px; }
}
.next-match-card { width: 100%; background: #071824f5; border: 1px solid #52728d; border-radius: 12px; padding: 18px 20px; color: #f1f5f7; box-shadow: 0 16px 35px #0006; font-size: .85rem; }
.next-match-card-loading { min-height: 94px; display: grid; place-items: center; color: #9fb3c2; }
.next-match-card-loading p { margin: 0; }
.next-match-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 9px; }
.next-match-head .eyebrow { display: flex; justify-content: space-between; margin: 0; }
.next-match-heading-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.next-match-heading-meta { display: flex; align-items: center; gap: 12px; color: #dbe5eb; font-size: .74rem; margin-left: auto; }
.next-match-heading-meta .match-weather { margin: 0; }
.next-match-head h2 { font-size: .95rem; margin: 0; text-transform: capitalize; color: #fff; font-weight: 700; }
.next-match-team-row { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0 5px; border-bottom: 1px solid #ffffff20; }
.next-match-team { display: flex; align-items: center; gap: 8px; min-width: 0; color: #fff; font-size: .82rem; text-decoration: none; }
.next-match-team > strong { min-width: 0; overflow-wrap: anywhere; }
.next-match-team-row > :last-child { flex-direction: row-reverse; text-align: right; }
.next-match-team .next-match-crest { width: 36px; height: 36px; }
.next-match-versus { color: #9fb3c2; font-size: .75rem; font-weight: 700; text-align: center; }
.next-match-header-meta { margin: 3px 0 0; color: #9fb3c2; font-size: .68rem; text-align: center; }
.next-match-count { color: #9fb3c2; }
.next-match-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin: 0 0 10px; padding: 3px; border: 1px solid #ffffff1a; border-radius: 8px; background: #04121c; }
.next-match-tabs [role="tab"] { min-width: 0; padding: 6px 4px; border: 0; border-radius: 5px; background: transparent; color: #9fb3c2; font-size: .7rem; font-weight: 650; line-height: 1.2; text-align: center; white-space: nowrap; }
.next-match-tabs [role="tab"][aria-selected="true"] { background: #18364a; color: #fff; box-shadow: inset 0 -2px var(--gold); }
.next-match-tabs [role="tab"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.next-match-tab-count { display: inline-grid; min-width: 16px; height: 16px; margin-left: 2px; padding: 0 4px; place-items: center; border-radius: 999px; background: #ffffff18; color: inherit; font-size: .65rem; line-height: 1; }
.next-match-carousel-slide { min-width: 0; }
.next-match-body { display: flex; flex-direction: column; gap: 12px; }
.next-match-opponent { display: flex; flex-direction: row; align-items: center; gap: 12px; min-width: 0; text-align: left; text-decoration: none; color: inherit; border-radius: 8px; padding: 4px; margin: -4px; transition: background .15s; }
.next-match-team.next-match-opponent { padding: 0; margin: 0; }
.next-match-team.next-match-opponent > strong { display: block; }
.next-match-team.next-match-opponent:hover { background: transparent; color: var(--gold); }
.next-match-team.next-match-opponent:hover .next-match-opponent-arrow,
.next-match-team.next-match-opponent:focus-visible .next-match-opponent-arrow { opacity: 1; transform: translateX(0); }
.next-match-opponent-row { display: flex; align-items: flex-end; gap: 10px; min-width: 0; }
.next-match-opponent-row .next-match-opponent { flex: 1 1 auto; }
.next-match-opponent:hover { background: #ffffff14; }
.next-match-opponent:hover .next-match-opponent-arrow { opacity: 1; transform: translateX(0); }
.next-match-opponent > span { display: flex; flex-direction: column; min-width: 0; }
.next-match-crest { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.next-match-opponent-name { font-weight: 700; font-size: .95rem; color: #fff; display: block; }
.next-match-opponent-name .next-match-division-badge { display: inline-flex; vertical-align: middle; margin-left: 2px; }
.next-match-opponent-arrow { display: inline-block; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.next-match-meta { font-size: .74rem; color: #9fb3c2; display: block; margin-top: 2px; }
.next-match-preview-link { display: inline-block; padding: 2px 6px; border: 1px solid #d7b76b80; border-radius: 5px; background: #d7b76b18; color: #ffe4a0; font-weight: 750; box-shadow: 0 0 12px #d7b76b40; text-shadow: 0 0 8px #d7b76b66; }
.next-match-opponent:hover .next-match-preview-link,
.next-match-opponent:focus-visible .next-match-preview-link { background: #d7b76b30; box-shadow: 0 0 16px #d7b76b70; }
.next-match-division { display: block; margin-top: 4px; color: #d7b76b; font-size: .7rem; }
@media (max-width: 700px) {
  .next-match-team { gap: 6px; font-size: .75rem; }
  .next-match-team .next-match-crest { width: 32px; height: 32px; }
}
.next-match-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #ffffff20; margin-top: 10px; }
.next-match-controls > button { width: 30px; height: 30px; border: 0; padding: 0; color: #f1f5f7; background: transparent; font-size: 1.15rem; }
.next-match-controls > button:disabled { opacity: .3; cursor: default; }
.next-match-squad-link { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 5px; padding: 5px 0; border: 0; background: transparent; color: #d7b76b; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.next-match-squad-link:hover { color: #fff; }
.next-match-squad-link span { color: #f4d58d; }
.next-match-dots { display: flex; align-items: center; gap: 9px; }
.next-match-dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; padding: 0; background: #708796; }
.next-match-dots button[aria-current="true"] { background: var(--gold); transform: scale(1.2); }
.next-match-tickets { display: inline-block; margin-top: 4px; color: var(--gold); font-weight: 700; text-decoration: none; }
.next-match-tickets:hover { color: #fff; }
.next-match-facts { font-size: .8rem; }
.next-match-warning-risk { margin: 0 0 9px; border: 1px solid #806a32; border-radius: 6px; background: #28271980; color: #f0d78e; font-size: .73rem; }
.next-match-warning-risk summary { padding: 7px 9px; cursor: pointer; font-weight: 750; }
.next-match-warning-risk ul { display: grid; gap: 5px; margin: 0; padding: 0 9px 8px; list-style: none; }
.next-match-warning-risk li { display: flex; justify-content: space-between; gap: 10px; color: #e5edf2; }
.next-match-warning-risk li span { color: #f0d78e; white-space: nowrap; }
.next-match-live-indicator { display: inline-flex; align-items: center; gap: 6px; color: #7bddaa; font-size: .72rem; font-weight: 800; }
.next-match-live-indicator i { width: 7px; height: 7px; border-radius: 50%; background: #55d38b; box-shadow: 0 0 0 3px #55d38b22; animation: next-match-live-pulse 1.6s ease-out infinite; }
@keyframes next-match-live-pulse { 50% { box-shadow: 0 0 0 6px #55d38b08; } }
.next-match-live-center { margin: 8px 0 10px; padding: 10px 0; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; }
.next-match-scoreboard { display: flex; justify-content: center; align-items: center; margin-bottom: 9px; text-align: center; }
.next-match-scoreboard strong { color: #fff; font-size: 1.55rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.next-match-live-events { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.next-match-live-events li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: baseline; gap: 6px; color: #dbe5eb; font-size: .68rem; }
.next-match-live-events time { color: #9fb3c2; font-size: .63rem; font-variant-numeric: tabular-nums; }
.next-match-live-empty { margin: 6px 0 0; color: #9fb3c2; font-size: .68rem; }
.next-match-lineup-forecast { margin: 8px 0 11px; padding: 9px 0; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; }
.lineup-forecast-accuracy { display: grid; gap: 3px; margin: 8px 0; padding: 8px 10px; border-left: 3px solid var(--gold); background: #ffffff0a; color: #f1d48d; font-size: .7rem; line-height: 1.4; }
.lineup-forecast-accuracy small { color: #aebfca; font-size: .63rem; font-weight: 400; }
.next-match-lineup-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; color: #fff; }
.next-match-lineup-heading > strong { margin-right: auto; }
.next-match-lineup-status { flex: 0 0 auto; padding: 3px 7px; border: 1px solid #9b772f; border-radius: 4px; color: #f4c85d; font-size: .62rem; font-weight: 700; }
.next-match-lineup-status.confirmed { border-color: #3d9366; color: #7bddaa; }
.next-match-lineup-starters, .next-match-lineup-bench ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.next-match-lineup-starters li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; color: #dbe5eb; font-size: .7rem; }
.next-match-lineup-starters li > span { flex: 1 1 46%; min-width: 0; color: #9fb3c2; font-size: .63rem; }
.next-match-lineup-starters li > strong { flex: 1 1 54%; min-width: 0; text-align: right; overflow-wrap: anywhere; }
.next-match-lineup-bench { margin-top: 7px; color: #cddbe4; font-size: .68rem; }
.next-match-lineup-bench summary { color: #9fb3c2; cursor: pointer; }
.next-match-lineup-bench ul { margin-top: 5px; }
.next-match-standings { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; padding: 10px; background: #0c2434; border-radius: 8px; }
.next-match-standing-row { display: grid; grid-template-columns: 1fr 34px 46px; align-items: baseline; gap: 8px; color: #cddbe4; }
.next-match-standing-row strong { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.next-match-standing-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.next-match-facts p { margin: 0 0 8px; color: #cddbe4; }
.next-match-opponent-streaks { margin: 9px 0 10px; padding: 10px 11px; border: 1px solid #806a32; border-left: 3px solid var(--gold); border-radius: 6px; background: linear-gradient(110deg, #302a1d, #10283a 76%); }
.next-match-opponent-streaks h3 { margin: 0 0 6px; color: #f0d78e; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.next-match-opponent-streaks ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.next-match-opponent-streaks li { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 4px; }
.next-match-opponent-streak-scopes { grid-column: 1 / -1; color: #aebfc9; font-size: .65rem; font-weight: 700; letter-spacing: .025em; }
.next-match-opponent-streaks li > strong { color: #fff2c7; font-size: .84rem; }
.next-match-opponent-streaks li > small { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #c0ced7; font-size: .7rem; text-align: left; }
.next-match-opponent-streak-record { display: inline-block; max-width: 100%; padding: 2px 5px; border: 1px solid #806a32; border-radius: 999px; color: #f0d78e; font-size: .62rem; font-weight: 800; overflow-wrap: anywhere; text-transform: uppercase; }
.next-match-history { margin: 0 0 10px; padding: 0 2px 9px; border-bottom: 1px solid #ffffff20; color: #cddbe4; }
.next-match-history h3 { margin: 0 0 3px; color: #9fb3c2; font-size: .72rem; }
.next-match-history p { margin: 0 0 4px; font-size: .7rem; }
.next-match-upcoming-heading { margin-bottom: 9px; }
.next-match-upcoming-heading h3 { margin: 0; color: #f0d78e; font-size: .82rem; }
.next-match-upcoming-heading p { margin: 3px 0 0; color: #9fb3c2; font-size: .68rem; }
.next-match-upcoming-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.next-match-upcoming-item { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid #294358; border-radius: 7px; background: linear-gradient(110deg, #0c2434, #102a3e); }
.next-match-upcoming-number { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #806a32; border-radius: 50%; color: #f0d78e; font-size: .68rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.next-match-upcoming-details { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 3px 10px; min-width: 0; }
.next-match-upcoming-details time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: #9fb3c2; font-size: .68rem; }
.next-match-upcoming-details time strong { color: #f0d78e; font-variant-numeric: tabular-nums; }
.next-match-upcoming-opponent { grid-column: 1 / -1; color: #fff; font-size: .9rem; overflow-wrap: anywhere; }
.next-match-upcoming-meta { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 5px; color: #b7c8d2; font-size: .64rem; }
.next-match-upcoming-meta span { padding: 2px 6px; border: 1px solid #456276; border-radius: 999px; }
.next-match-upcoming-meta .next-match-upcoming-venue { border-color: #806a32; color: #f0d78e; }
.next-match-recent { list-style: none; margin: 0 0 8px; padding: 0; font-size: .76rem; color: #9fb3c2; display: flex; flex-direction: column; gap: 3px; }
.next-match-recent-link { display: block; width: 100%; text-align: left; background: none; border: none; padding: 2px 0; margin: 0; color: inherit; font: inherit; cursor: pointer; border-radius: 4px; transition: color .15s; }
.next-match-recent-link:hover { color: var(--gold); text-decoration: underline; }
.confidence-meter { margin: 0 0 10px; }
.confidence-meter-label { display: flex; justify-content: space-between; font-size: .72rem; color: #9fb3c2; margin-bottom: 5px; }
.confidence-meter-bar { height: 6px; border-radius: 4px; background: #0c2434; overflow: hidden; }
.confidence-meter-fill { height: 100%; background: var(--gold); }
.next-match-suspended { color: #e8b34a !important; }
.next-match-absences { margin: 6px 0; padding: 0; list-style: none; font-size: .9rem; }
.next-match-absences li { margin: 2px 0; }
.next-match-absences strong { color: #e8b34a; }
.next-match-tickets { display: inline-block; margin-top: 4px; color: var(--gold); font-weight: 700; text-decoration: none; }
@media (max-width: 700px) { .wrap { width: min(100% - 28px, 1180px); } .site-header nav { display: flex; justify-content: flex-end; gap: 0; } .site-header nav .nav-primary { display: none; } .site-header nav .nav-admin { display: inline-block; font-size: .8rem; color: #9aafbd; } .hero { min-height: 880px; } .hero-visual { position: relative; z-index: 2; right: auto; top: auto; transform: none; align-items: center; justify-content: center; padding: 92px 0 0; gap: 16px; } .hero-visual .hero-crest { width: 130px; height: auto; } .next-match-card { width: min(320px, 88vw); } .hero-content { min-height: 880px; padding-bottom: 80px; padding-top: 300px; text-align: center; } .hero-copy { width: 100%; transform: none; } .hero h1 { font-size: clamp(3rem, 15vw, 5rem); } .ask-form { margin: 42px auto 0; } .chips { justify-content: center; } .answer { margin-left: auto; margin-right: auto; } .hero-caption { bottom: 34px; } .section-heading { display: block; } .search-form { margin-top: 18px; } .quick-links { gap: 18px; margin-bottom: 48px; font-size: .85rem; } .match-row { grid-template-columns: 82px 32px minmax(0, 1fr) 52px 16px; gap: 8px; padding: 10px 0; } .player-match-row { grid-template-columns: 22px 82px 32px minmax(80px, 1fr) minmax(48px, auto) 52px minmax(60px, auto); } .answer-year-summary .team-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .season-summary { grid-template-columns: repeat(5, minmax(88px, 1fr)); overflow-x: auto; } .coach-career-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .coach-career-stats div:first-child { grid-column: 1 / -1; } .year-summary-matches .match-row { grid-template-columns: 24px 82px 30px minmax(0, 1fr) 52px; gap: 7px; padding: 10px 0; } .year-summary-matches .match-opponent { font-size: .86rem; } .match-date { font-size: .76rem; } .match-opponent { font-size: .88rem; } .match-side { width: 25px; height: 25px; font-size: .72rem; } .match-arrow { font-size: .9rem; } .team-result-link { display: block; } .team-result-link span { display: block; margin-top: 5px; } .team-stats strong { font-size: 1.2rem; } .bench-columns { grid-template-columns: 1fr; gap: 18px; } .football-pitch { display: none; } .mobile-formation-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; } .mobile-formation-list li { display: grid; grid-template-columns: minmax(0, 1fr); } .mobile-formation-list .formation-player { align-items: flex-start; min-width: 0; padding: 8px 10px; text-align: left; } .mobile-formation-list .formation-player strong { font-size: .82rem; } .mobile-formation-list .formation-player small { font-size: .74rem; } .substitution-list li { grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; font-size: .86rem; } .formation-player { min-width: 57px; padding: 6px 3px; font-size: .68rem; } .formation-player strong { font-size: .68rem; } .goal-item summary { grid-template-columns: 52px minmax(0, 1fr) minmax(0, auto) 16px; gap: 7px; padding-left: 0; } .goal-item summary .goal-type { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 90px; } .goal-item p { margin-left: 59px; margin-right: 8px; } .player-year summary { display: flex; flex-wrap: wrap; gap: 0 12px; padding: 9px 6px; } .player-year summary strong { margin-right: auto; } .player-year summary span { font-size: .78rem; } dialog { padding: 25px 16px; } .career-item { grid-template-columns: 70px minmax(0, 1fr); } .career-stats { grid-column: 2; } }
@media (max-width: 700px) { .match-grid .match-row { grid-template-columns: 20px 82px 32px minmax(0, 1fr) 52px 16px; } }
@media (max-width: 700px) { .opponent-highlight .competition-badge, .opponent-highlight .competition-emoji, .opponent-highlight .competition-logo { margin-right: 2px; } }
@media (max-width: 700px) {
  .site-header .nav { gap: 8px; min-height: 60px; }
  .site-header .brand { flex: 0 0 auto; }
  .site-header .brand-logo { width: 36px; height: 36px; flex-basis: 36px; }
  .site-header .brand-copy strong { font-size: .82rem; }
  .site-header .brand-copy small { font-size: .5rem; }
  .site-header nav { flex: 1 1 auto; justify-content: flex-end; gap: 9px; min-width: 0; overflow: visible; }
  .site-header nav .nav-primary { display: inline-block; font-size: .68rem; white-space: nowrap; }
  .site-header nav > .nav-primary[data-open-about], .quick-links > a[data-open-about] { display: none; }
  .about-mobile-archive { display: block; }
  .site-header nav .archive-nav { flex: none; }
  .site-header nav .archive-nav summary { font-size: .68rem; }
  .site-header nav .archive-nav-menu { right: 0; }
  .transfer-ranking-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 7px; }
  .transfer-ranking-person { min-width: 0; overflow-wrap: anywhere; }
  .transfer-ranking-move { grid-column: 2; grid-row: 2; }
  .transfer-ranking-amount { grid-column: 3; grid-row: 1 / 3; font-size: .74rem; }
  .quick-links .archive-nav-inline .archive-nav-menu { right: 0; left: auto; }
  .referee-profile-rating { align-items: flex-start; gap: 16px; }
  .referee-approval-circle { width: 100px; height: 100px; flex-basis: 100px; }
  .referee-approval-circle::before { inset: 7px; }
  .referee-approval-circle span { font-size: 1.35rem; }
  .referee-rating-summary strong { font-size: .92rem; }
  .referee-filter-row { align-items: flex-start; flex-direction: column; }
  .referee-match-row { grid-template-columns: 20px 82px 25px minmax(0, 1fr) 52px; gap: 7px; }
  .referee-match-row .referee-rating-meter { grid-column: 4; grid-row: 2; }
  .referee-match-competition { grid-column: 5; grid-row: 2; text-align: right; }
  .coach-match-row { grid-template-columns: 20px 82px 25px minmax(80px, 1fr) 52px; gap: 7px; }
  .coach-match-row .season-competition { grid-column: 1; grid-row: 1; }
  .coach-match-row .match-date { grid-column: 2; grid-row: 1; }
  .coach-match-row .match-side { grid-column: 3; grid-row: 1; }
  .coach-match-row .match-opponent { grid-column: 4; grid-row: 1; }
  .coach-match-row .match-score { grid-column: 5; grid-row: 1; }
  .coach-match-row .player-match-position { grid-column: 4; grid-row: 2; text-align: left; }
  .coach-match-row .match-arrow { grid-column: 5; grid-row: 2; }
  .opponent-player-match-row .player-match-status { grid-column: 5; grid-row: 2; }
  .referee-fixture { font-size: .78rem; }
  .referee-fixture .match-opponent-crest { width: 18px; height: 18px; flex-basis: 18px; }
  .goal-item summary { grid-template-columns: 16px 48px 52px minmax(0, 1fr) auto; gap: 6px; }
  .goal-score { font-size: .78rem; }
  .goal-minute { font-size: .82rem; }
  .goal-item p { margin-left: 85px; }
  .form-dot::after { display: none; }
}

/* Tabellkurva i säsongsvyn (visas när filtret Allsvenskan är valt) */
.season-trend-cell, .season-trend-header { display: none; }
.season-match-list.show-table-trend { --trend-row-pad: 11px; }
.season-match-list.show-table-trend .season-match-row,
.season-match-list.show-table-trend .season-trend-header { grid-template-columns: 28px 120px 42px minmax(120px, 190px) minmax(150px, 1fr) 70px; }
.season-match-list.show-table-trend .season-trend-header { display: grid; gap: 18px; padding: 4px 8px 6px; border-bottom: 1px solid var(--line); }
.season-trend-header > span:first-child { grid-column: 1 / 5; }
.season-trend-title { align-self: end; color: #9aafbd; font-size: .7rem; letter-spacing: .04em; text-align: right; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.season-trend-scale { display: flex; justify-content: space-between; gap: 8px; color: #9aafbd; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.season-trend-scale span:last-child { color: var(--gold); font-weight: 700; }
.season-match-list.show-table-trend .season-trend-cell { display: block; position: relative; align-self: stretch; margin: calc(var(--trend-row-pad) * -1) 0 calc(var(--trend-row-pad) * -1 - 1px); }
.season-trend-cell svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.season-match-list.show-table-trend .qualifier-round-label { display: grid; place-items: center; color: var(--gold); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.season-trend-cell .trend-line { stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.season-trend-cell .trend-guide { stroke: #a27d3566; stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.season-trend-cell .trend-zone-bottom { fill: #c0392b1f; }
.trend-dot { position: absolute; top: 50%; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--gold); border-radius: 50%; background: #0b1f30; color: #f1f5f7; font-size: .64rem; font-weight: 700; line-height: 1; transform: translate(-50%, -50%); }
.trend-dot.trend-up { border-color: #3fb77a; }
.trend-dot.trend-down { border-color: #e0605a; }
.season-match-row:hover .trend-dot { background: #102a3e; }
.season-match-row.is-period-match { position: relative; background: #17364b; box-shadow: inset 4px 0 var(--gold); }
.season-match-row.is-period-match .trend-dot { border-color: var(--gold); box-shadow: 0 0 0 3px #c89a3c35; }
.season-match-row.is-period-match:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.year-summary-matches .season-match-list.show-table-trend .season-match-row,
.year-summary-matches .season-match-list.show-table-trend .season-trend-header { grid-template-columns: 28px 112px 42px minmax(110px, 180px) minmax(140px, 1fr) 64px; gap: 12px; }
@media (max-width: 700px) {
  .season-match-list.show-table-trend { --trend-row-pad: 10px; }
  .season-match-list.show-table-trend .season-match-row,
  .season-match-list.show-table-trend .season-trend-header,
  .year-summary-matches .season-match-list.show-table-trend .season-match-row,
  .year-summary-matches .season-match-list.show-table-trend .season-trend-header { grid-template-columns: 62px 26px minmax(0, 1fr) 78px 40px; gap: 6px; }
  .season-match-list.show-table-trend .season-competition { display: none; }
  .season-trend-header > span:first-child { grid-column: 1 / 4; }
  .season-match-list.show-table-trend .season-trend-header { padding: 4px 0 6px; }
  .season-trend-title { font-size: .6rem; }
  .season-trend-scale { font-size: .62rem; }
  .trend-dot { width: 17px; height: 17px; font-size: .56rem; }
}

.season-evolution-selection { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border: 1px solid #52728d; border-radius: 8px; background: #0b2030; }
.season-evolution-selection p { margin: 0; color: #cddbe4; font-size: .84rem; }
.season-evolution-selection > div { display: flex; flex-wrap: wrap; gap: 8px; }
.season-evolution-selection-action { padding: 6px 10px; font-size: .8rem; }
.season-evolution-period-band { fill: #c89a3c20; stroke: #c89a3c85; stroke-width: 1; pointer-events: none; }
.season-evolution-period-target { fill: transparent; stroke: transparent; cursor: pointer; }
.season-evolution-period-target:hover,
.season-evolution-period-target:focus-visible { stroke: #c89a3c; stroke-width: 2; }
.season-evolution-period-target.is-period-selected { fill: #c89a3c55; stroke: #f1c45e; stroke-width: 2; }
.season-story-select-period { margin-top: 4px; padding: 5px 9px; border-color: #52728d; background: transparent; color: #d9e5ed; font-size: .76rem; }
.season-story-select-period:hover { border-color: var(--gold); color: var(--gold); }
.season-story-matches { display: grid; gap: 4px; margin-top: 8px; }
.season-period-match-link { display: grid; grid-template-columns: minmax(78px, auto) minmax(0, 1fr) auto auto; align-items: center; gap: 6px 10px; width: 100%; padding: 7px 9px; border-color: #345064; background: #102c3e; text-align: left; }
.season-period-match-link:hover { border-color: var(--gold); background: #17364b; }
.season-period-match-link time, .season-period-match-link small { color: #aebfc8; font-size: .72rem; }
.season-period-match-link > span { min-width: 0; overflow: hidden; color: #f1f5f7; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.season-period-match-link strong { color: var(--gold); font-size: .8rem; white-space: nowrap; }
.season-league-matches { scroll-margin-top: 18px; }
@media (max-width: 600px) {
  .season-period-match-link { grid-template-columns: 1fr auto; gap: 2px 8px; }
  .season-period-match-link time { grid-column: 1; }
  .season-period-match-link > span { grid-column: 1; grid-row: 2; }
  .season-period-match-link small { grid-column: 1; grid-row: 3; }
  .season-period-match-link strong { grid-column: 2; grid-row: 1 / 4; }
}

@media (max-width: 700px) {
  .player-match-row { grid-template-columns: 62px minmax(0, 1fr) 30px 52px; gap: 4px 7px; padding: 8px 2px; }
  .player-match-row .season-competition, .player-match-row .match-side, .player-match-row .player-match-position { display: none; }
  .player-match-row .match-date { grid-column: 1; grid-row: 1; font-size: .7rem; white-space: nowrap; }
  .player-match-row .match-opponent { grid-column: 2; grid-row: 1; gap: 6px; font-size: .84rem; }
  .player-match-row .match-opponent-crest { width: 22px; height: 22px; flex-basis: 22px; }
  .player-match-row .match-score { grid-column: 4; grid-row: 1; font-size: .8rem; }
  .player-match-row .player-match-status { grid-column: 3; grid-row: 1; justify-content: center; font-size: .78rem; text-align: center; }
  .player-match-row .player-match-opponent-name .match-round-label,
  .player-match-row .player-match-opponent-name .player-qualification-label { display: none; }
  .player-competition-desktop { display: none; }
  .player-competition-mobile { display: block; }
  .player-competition-card summary { padding: 10px 4px; }
  .player-competition-card > div { grid-template-columns: 1fr 1fr; }
  .person-profile-panel .player-match-row .match-opponent { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
  .person-profile-panel .match-opponent .player-match-opponent-name { white-space: normal; overflow-wrap: anywhere; }
  .person-profile-panel .player-competition-card summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; }
  .person-profile-panel .player-competition-card summary strong { grid-column: 1; grid-row: 1; white-space: normal; }
  .person-profile-panel .player-competition-card summary span { grid-column: 1; grid-row: 2; }
  .person-profile-panel .player-competition-card summary::after { grid-column: 2; grid-row: 1 / 3; }
  .hero { min-height: 0; }
  .hero-visual { padding-top: 64px; gap: 12px; }
  .hero-visual .hero-crest { width: 104px; }
  .hero-content { min-height: 0; padding-top: 20px; padding-bottom: 96px; }
  .hero h1 { margin-bottom: 8px; }
  .hero .ask-form { margin-top: 16px; }
}

@media (max-width: 700px) {
  .person-profile-header { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 16px; }
  .person-profile-crest { top: -12px; right: -12px; width: 110px; height: 110px; }
  .current-player-contract { justify-items: start; margin-left: 0; padding-right: 62px; text-align: left; }
}

@media (max-width: 700px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero.has-match-center { min-height: 0; }
  .hero-content { display: block; order: 0; min-height: 0; padding: 32px 0 16px; text-align: left; }
  .hero-copy { width: 100%; transform: none; }
  .hero .ask-form { margin: 16px 0 0; }
  .hero-visual { order: 1; width: min(560px, calc(100vw - 28px)); padding: 12px 0 56px; }
  .hero-visual .hero-crest { display: none; }
  .next-match-card { width: 100%; }
  .hero-caption { position: static; margin-top: 24px; text-align: left; }
  .hero-title-row { display: flex; align-items: center; gap: 12px; }
  .hero-title-crest { display: block; width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; }
  .hero-title-row h1 { margin: 0; font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-caption span { display: block; }
  .hero-caption span::before { content: none; }
}

@media (max-width: 700px) {
  .rivalry-hero { grid-template-columns: 1fr; gap: 12px; padding: 16px 2px 18px; }
  .rivalry-summary { justify-content: start; }
  .rivalry-designated-row { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .rivalry-designation { grid-column: 2; justify-self: start; }
  .rivalry-team-row { grid-template-columns: 22px 28px minmax(0, 1fr) 44px; gap: 6px; padding-inline: 1px; }
  .rivalry-team-count { grid-column: 4; grid-row: 1; }
  .rivalry-team-record { grid-column: 3; grid-row: 2; }
  .rivalry-team-row .opponent-win-loss-meter { grid-column: 4; grid-row: 2; }
  .rivalry-team-row .match-arrow { display: none; }
  .rivalry-person-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; }
  .rivalry-person-note { grid-column: 2 / -1; }
}

@media (max-width: 700px) {
  .country-match-row { grid-template-columns: 76px 26px minmax(0, 1fr) 50px 16px; gap: 6px; padding: 9px 1px; }
  .country-match-row time { grid-column: 1; grid-row: 1; font-size: .68rem; }
  .country-match-row .match-side { grid-column: 2; grid-row: 1; width: 24px; height: 24px; }
  .country-match-opponent { grid-column: 3; grid-row: 1; }
  .country-match-competition { grid-column: 3 / 5; grid-row: 2; font-size: .65rem; }
  .country-match-score { grid-column: 4; grid-row: 1; font-size: .76rem; }
  .country-match-row .match-arrow { grid-column: 5; grid-row: 1; }
}

@media (max-width: 700px) {
  dialog { overflow-x: hidden; overflow-y: auto; }
  #match-dialog .match-dialog-sticky { margin: -25px -16px 12px; }
  #match-dialog.archive-view-dialog .match-dialog-sticky { margin: -16px -12px 14px; }
  .current-squad-table .answer-table-wrap { overflow: visible; }
  .answer-squad .current-squad-data-table { display: block; width: 100%; min-width: 0; table-layout: fixed; }
  .answer-squad .current-squad-data-table thead { display: block; }
  .answer-squad .current-squad-data-table thead tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .answer-squad .current-squad-data-table th { display: none; padding: 5px 1px; text-align: center; }
  .answer-squad .current-squad-data-table th.squad-matches-heading,
  .answer-squad .current-squad-data-table th.squad-starts-heading,
  .answer-squad .current-squad-data-table th.squad-goals-heading,
  .answer-squad .current-squad-data-table th.squad-assists-heading,
  .answer-squad .current-squad-data-table th.squad-cards-heading { display: block; position: sticky; top: 0; z-index: 5; }
  .answer-squad .current-squad-data-table .squad-sort-heading { max-width: 100%; overflow: hidden; font-size: .57rem; letter-spacing: -.02em; text-overflow: clip; white-space: nowrap; }
  .answer-squad .current-squad-data-table tbody { display: block; }
  .answer-squad .current-squad-data-table tbody tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 5px 0 7px; border-bottom: 1px solid var(--line); }
  .answer-squad .current-squad-data-table tbody td { min-width: 0; padding: 3px 1px; border: 0; text-align: center; }
  .answer-squad .current-squad-data-table .squad-player-cell { grid-column: 1 / -1; padding: 7px 2px 5px; text-align: left; }
  .answer-squad .current-squad-data-table .squad-number-cell,
  .answer-squad .current-squad-data-table .squad-contract-cell,
  .answer-squad .current-squad-data-table .squad-position-cell { display: none; }
  .answer-squad .current-squad-data-table .squad-matches-cell,
  .answer-squad .current-squad-data-table .squad-starts-cell,
  .answer-squad .current-squad-data-table .squad-goals-cell,
  .answer-squad .current-squad-data-table .squad-assists-cell,
  .answer-squad .current-squad-data-table .squad-cards-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .78rem; font-variant-numeric: tabular-nums; }
  .answer-squad .current-squad-data-table td[data-label]::before { color: #91a6b4; content: attr(data-label); font-size: .52rem; font-weight: 650; letter-spacing: .015em; text-transform: uppercase; }
  .answer-squad .current-squad-data-table .squad-player-cell::before { content: none; }
  #match-detail .detail-section:has(> table) {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
}

.venue-primary-filters { gap: 6px; }
.venue-competition-filters { margin-top: -6px; padding: 9px 0 0 12px; border-top: 1px solid #38536a; }
.venue-match-competition { display: block; margin-top: 2px; color: #91a5b3; font-size: .68rem; line-height: 1.2; }
.venue-match-memorable { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; color: #c8a75b; font-size: .66rem; line-height: 1.2; }
.venue-match-memorable span { letter-spacing: .04em; }
.venue-match-explorer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
.venue-match-explorer > .venue-primary-filters,
.venue-match-explorer > .venue-competition-filters,
.venue-match-explorer > .venue-match-list { grid-column: 1 / -1; }
.venue-match-explorer > .player-match-filter-summary { align-self: center; margin: 8px 0; }
.venue-match-explorer > .season-match-direction { align-self: center; margin: 4px 0; }

@media (max-width: 700px) {
  .venue-primary-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; padding: 0 0 7px; }
  .venue-primary-filters .match-filter { min-width: 0; padding: 7px 8px; font-size: .74rem; white-space: nowrap; }
  .venue-competition-filters { flex-wrap: wrap; gap: 6px; margin-top: -4px; padding-left: 0; }
  .venue-competition-filters .match-filter { padding: 6px 9px; font-size: .72rem; }
  .venue-match-list .season-match-row { grid-template-columns: 72px 27px minmax(0, 1fr) 54px; gap: 7px; min-width: 0; padding: 10px 2px; }
  .venue-match-list .season-match-row .season-competition { display: none; }
  .venue-match-list .season-match-row .match-date { font-size: .72rem; white-space: nowrap; }
  .venue-match-list .season-match-row .match-side { width: 24px; height: 24px; font-size: .68rem; }
  .venue-match-list .season-match-row .match-opponent { gap: 6px; min-width: 0; font-size: .82rem; white-space: normal; }
  .venue-match-list .season-match-row .match-opponent > span { display: grid; gap: 2px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: normal; }
  .venue-match-list .season-match-row .match-opponent-crest { width: 23px; height: 23px; flex-basis: 23px; }
  .venue-match-list .season-match-row .match-score { font-size: .82rem; white-space: nowrap; }
}

@media (max-width: 700px) {
  .mobile-formation-list .formation-player,
  .mobile-formation-list .formation-player:not(:first-child) { padding-left: 48px; }
  .mobile-formation-list .formation-shirt-link { display: none; }
  .mobile-formation-list .formation-shirt-number {
    position: absolute;
    top: 8px;
    left: 10px;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 30px;
    min-width: 0;
    height: 32px;
    padding: 0 0 2px;
    border: 0;
    border-radius: 0;
    clip-path: polygon(28% 0, 42% 9%, 58% 9%, 72% 0, 100% 15%, 84% 42%, 74% 36%, 74% 100%, 26% 100%, 26% 36%, 16% 42%, 0 15%);
    font-size: .67rem;
    line-height: 1;
    filter: drop-shadow(0 1px 2px #0008);
  }
  .mobile-formation-list .formation-shirt-number.shirt-number-default {
    border-color: #d6dee3;
    background: #e4e9ec;
    color: #132638;
  }
  .mobile-formation-list .shirt-number-prefix { display: none; }
  .mobile-formation-list .formation-player strong { justify-content: flex-start; gap: 5px; }
  .mobile-formation-list .captain-armband { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; border-width: 1px; font-size: .64rem; }
  .mobile-formation-list .formation-inline-goals { display: inline-flex; align-items: center; font-size: .95rem; line-height: 1; }
  .mobile-formation-list .formation-goal-symbol { display: none; }
}

@media (max-width: 700px) {
  .season-match-explorer:not(.venue-match-explorer) .season-match-row,
  .season-league-matches .season-match-row,
  .season-match-list.show-table-trend .season-match-row {
    grid-template-columns: 24px 28px minmax(0, 1fr) 52px;
    grid-template-rows: auto auto;
    gap: 5px 8px;
    min-width: 0;
    padding: 9px 2px;
  }

  @media (max-width: 700px) {
    .goal-item.has-interview-memory summary {
      grid-template-columns: 16px 50px minmax(0, 1fr);
      grid-template-rows: auto auto auto;
      align-items: start;
      gap: 7px;
    }
    .goal-item.has-interview-memory summary::before { grid-column: 1; grid-row: 1; }
    .goal-item.has-interview-memory summary > .goal-score { grid-column: 2; grid-row: 1; }
    .goal-item.has-interview-memory summary > .goal-minute { grid-column: 3; grid-row: 1; text-align: right; }
    .goal-item.has-interview-memory summary > strong { grid-column: 2 / -1; grid-row: 2; min-width: 0; overflow-wrap: anywhere; }
    .goal-item.has-interview-memory summary > .goal-type {
      grid-column: 2 / -1;
      grid-row: 3;
      max-width: none;
      overflow: visible;
      text-align: left;
      text-overflow: clip;
      white-space: normal;
    }
  }
  .season-match-row .season-competition { grid-column: 1; grid-row: 1; }
  .season-match-row .match-side { grid-column: 2; grid-row: 1; width: 24px; height: 24px; font-size: .68rem; }
  .season-match-row .match-opponent { grid-column: 3; grid-row: 1; gap: 7px; min-width: 0; font-size: .86rem; white-space: normal; }
  .season-match-row .match-opponent-crest { width: 24px; height: 24px; flex: 0 0 24px; }
  .season-match-row .match-opponent > span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
  .season-match-row .match-date { grid-column: 1 / 4; grid-row: 2; font-size: .72rem; white-space: nowrap; }
  .season-match-row .match-score { grid-column: 4; grid-row: 1; font-size: .86rem; text-align: right; white-space: nowrap; }
  .season-match-list.show-table-trend .season-match-row .season-trend-cell {
    grid-column: 4;
    grid-row: 2;
    align-self: center;
    height: 18px;
    margin: 0;
  }
  .season-match-list.show-table-trend .season-match-row .qualifier-round-label { min-height: 18px; font-size: .65rem; }
  #season-panel-table .season-standings-heading { flex-wrap: wrap; }
  #season-panel-table .season-standings-heading > label { min-width: 0; max-width: 100%; }
  #season-panel-table .season-standings-heading select { max-width: 100%; }
  .season-league-matches .match-round-label { color: #a8b9c4; }
}

.season-top-lists { margin: 4px 0 22px; }
.season-top-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 10px; }
.season-top-heading h3 { margin: 0; }
.season-top-heading span { color: #9aafbd; font-size: .82rem; }
.season-top-list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.season-top-list { padding: 12px 12px 10px; border: 1px solid #385365; border-radius: 6px; background: linear-gradient(180deg, #0d2a3d, #0b2233); }
.season-top-list h4 { margin: 0 0 8px 6px; color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.season-top-list ol { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.season-top-list li { display: grid; grid-template-columns: 1.3em minmax(0, 1fr); align-items: center; gap: 4px; }
.season-top-rank { color: #7f96a5; font-size: .78rem; font-variant-numeric: tabular-nums; text-align: right; }
.season-top-list .is-leader .season-top-rank { color: var(--gold); font-weight: 800; }
.season-top-list .answer-result-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 32px; padding: 5px 8px; border: 0; border-radius: 4px; background: linear-gradient(90deg, #1a4660 var(--share), transparent var(--share)); color: #f1f5f7; font-size: .88rem; text-align: left; }
.season-top-list .is-leader .answer-result-link { background: linear-gradient(90deg, #5d4a21 var(--share), transparent var(--share)); font-weight: 700; }
.season-top-list .answer-result-link:hover { filter: brightness(1.2); }
.season-top-list .answer-result-link > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.season-top-list .answer-result-link strong { display: inline-flex; align-items: baseline; gap: 3px; color: #f6d98f; font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.season-top-list .answer-result-link strong small { color: #9aafbd; font-size: .68rem; font-weight: 500; }
.season-journey-card { position: relative; display: flex; align-items: center; gap: 18px; margin: 6px 0 18px; padding: 22px 24px; overflow: hidden; border: 2px solid var(--gold); border-radius: 10px; background: radial-gradient(circle at 12% 0%, #6d531f 0, transparent 55%), linear-gradient(135deg, #0b2a44, #071d33 70%); color: #fff; text-decoration: none; box-shadow: 0 10px 28px #071d3345, inset 0 0 0 1px #f6d98f30; transition: transform .18s ease, box-shadow .18s ease; }
.season-journey-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, #f6d98f22 50%, transparent 65%); transform: translateX(-100%); animation: season-journey-shine 4.5s ease-in-out 1.2s infinite; pointer-events: none; }
.season-journey-card:hover, .season-journey-card:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px #071d3360, inset 0 0 0 1px #f6d98f66; outline: none; }
.season-journey-play { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(180deg, #f6d98f, #d9a441); color: #071d33; box-shadow: 0 0 0 6px #f6d98f26; animation: season-journey-pulse 2.4s ease-out infinite; }
.season-journey-play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.season-journey-text { display: grid; gap: 5px; min-width: 0; flex: 1 1 auto; }
.season-journey-kicker { color: #f6d98f; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.season-journey-card strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 700; line-height: 1.1; color: #fff3cf; }
.season-journey-sub { color: #c9d8e0; font-size: .98rem; max-width: 60ch; }
.season-journey-cta { flex: 0 0 auto; padding: 12px 20px; border-radius: 999px; background: linear-gradient(180deg, #f6d98f, #d9a441); color: #071d33; font-weight: 800; white-space: nowrap; }
@keyframes season-journey-shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes season-journey-pulse { 0% { box-shadow: 0 0 0 0 #f6d98f66; } 70%, 100% { box-shadow: 0 0 0 16px #f6d98f00; } }
@media (max-width: 640px) { .season-journey-card { flex-wrap: wrap; padding: 18px; gap: 14px; } .season-journey-play { width: 52px; height: 52px; } .season-journey-cta { width: 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .season-journey-card, .season-journey-card::after, .season-journey-play { animation: none; transition: none; } }
.season-top-subheading { margin-top: 18px; }
@media (max-width: 480px) { .site-header .brand-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .site-header nav { gap: 12px; } }

/* Global sökruta i sidhuvudet */
.site-search { position: relative; flex: 0 1 300px; min-width: 0; margin: 0 22px; }
.site-search input { width: 100%; box-sizing: border-box; padding: 9px 12px 9px 34px; border: 1px solid #ffffff33; border-radius: 999px; background: #ffffff12 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aafbd' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 12px center; color: #f1f5f7; font: inherit; font-size: .88rem; }
.site-search input::placeholder { color: #9aafbd; }
.site-search input:focus { outline: none; border-color: var(--gold); background-color: #ffffff1f; }
.site-search-results { position: absolute; top: calc(100% + 8px); left: 0; z-index: 80; width: min(520px, 92vw); max-height: min(70vh, 640px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 48px #07111b40; color: var(--text); }
.site-search-results[hidden] { display: none; }
.site-search-group + .site-search-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid #e3e9ee; }
.site-search-group h3 { display: flex; justify-content: space-between; margin: 4px 8px 4px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.site-search-group h3 span { font-weight: 400; }
.site-search-hit { display: grid; gap: 2px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.site-search-hit strong { font-size: .9rem; font-weight: 600; }
.site-search-hit small { overflow: hidden; color: var(--muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.site-search-hit:hover, .site-search-hit:focus { outline: none; background: #eef4f8; }
.site-search-hit.is-best { border-left: 3px solid var(--gold); background: #faf6ec; }
.site-search-hit.is-best strong { font-size: 1rem; }
.site-search-more { margin: 2px 8px 4px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: .8rem; cursor: pointer; }
.site-search-ask { margin-top: 6px; border-top: 1px solid #e3e9ee; border-radius: 0 0 8px 8px; }
.site-search-ask strong { color: var(--blue); font-weight: 600; }
.site-search-empty { margin: 8px; color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) {
  .site-search { flex-basis: 180px; margin: 0 10px; }
}
@media (max-width: 700px) {
  .site-header .wrap.nav { position: relative; flex-wrap: wrap; }
  .site-search { position: static; order: 3; flex: 1 1 100%; margin: 0 0 10px; }
  .site-search input { padding: 8px 10px 8px 32px; background-position: 10px center; font-size: .9rem; }
  .site-search-results { top: 100%; left: 0; right: 0; width: auto; }
}
