:root {
  color-scheme: light;
  --ink: #101d2c;
  --muted: #5d6876;
  --paper: #f4f6f8;
  --surface: #fff;
  --line: #dfe5eb;
  --accent: #cbf58b;
  --left: #365fce;
  --right: #a83e73;
  --radius: 18px;
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.55; }
button, input, select { font: inherit; color: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; }
img { max-width: 100%; }
button:disabled, select:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 3px solid #547fe5; outline-offset: 4px; }
.main-content:focus { outline: none; }
[hidden] { display: none !important; }
.wrap { width: min(1440px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--accent); color: var(--ink); padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 10px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-main { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 56px; height: 64px; object-fit: contain; flex-shrink: 0; }
.brand strong { display: block; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.055em; font-weight: 850; }
.brand small { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; }
.edition-control { display: flex; align-items: end; gap: 12px; min-width: 0; }
.edition-field { min-width: 0; }
.edition-field label { display: block; font-size: .875rem; font-weight: 650; color: var(--muted); margin-bottom: 5px; }
.season-field { width: 108px; }
.country-field { width: 158px; }
.tournament-field { width: 300px; }
select { max-width: 100%; min-height: 46px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%235d6876' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 42px 10px 14px; font-size: .9375rem; }
.edition-control select { width: 100%; text-overflow: ellipsis; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 650; font-size: .9375rem; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.button:hover { background: #263c55; }
.button:active { transform: translateY(1px); }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #b8e674; }
.button-quiet { background: #edf1f5; color: var(--ink); }
.button-quiet:hover { background: #e0e7ee; }
.button-outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.button-outline:hover { background: #f0f4f7; }
.button-small { min-height: 38px; font-size: .875rem; padding: 8px 13px; }
.primary-nav { display: flex; align-items: center; gap: 28px; min-height: 52px; overflow-x: auto; }
.primary-nav a { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 52px; border-bottom: 3px solid transparent; text-decoration: none; color: var(--muted); font-size: .9375rem; font-weight: 650; padding: 0 2px; }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
.main-content { min-height: 65vh; padding-top: 32px; padding-bottom: 56px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.035em; }
h1 { font: 500 clamp(2.1rem, 4.1vw, 3.5rem)/1.1 Georgia, "Times New Roman", serif; margin-bottom: 18px; }
h2 { font: 500 1.8rem/1.2 Georgia, "Times New Roman", serif; margin-bottom: 12px; }
h3 { font-size: 1.1rem; letter-spacing: -.025em; }
.eyebrow { display: block; font-size: .875rem; text-transform: uppercase; font-weight: 750; letter-spacing: .12em; margin-bottom: 16px; color: var(--muted); }
.muted { color: var(--muted); }
.metadata { font-size: .875rem; color: var(--muted); }
.numeric { font-variant-numeric: tabular-nums; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 42px; align-items: end; border-radius: 22px; background: var(--ink); color: #fff; padding: 42px; min-height: 328px; margin-bottom: 34px; isolation: isolate; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 75%; height: 100%; object-fit: cover; opacity: .33; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101d2c 5%, rgba(16,29,44,.84) 48%, rgba(16,29,44,.28)); z-index: -1; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { max-width: 620px; }
.hero-meta { color: #d4deea; margin-bottom: 24px; }
.hero-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.hero-stat { display: flex; align-items: baseline; gap: 7px; font-size: .875rem; color: #c6d2df; }
.hero-stat strong { font-size: 1.65rem; font-weight: 650; color: #fff; letter-spacing: -.04em; }
.hero-latest { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.19); border-radius: 14px; padding: 20px; backdrop-filter: blur(12px); }
.hero-latest .eyebrow { color: #d8e5c9; margin-bottom: 12px; }
.hero-score-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.hero-score-row span { font-size: .9375rem; }
.hero-score-row strong { font-size: 1.6rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.hero-latest .winner { color: var(--accent); }
.hero-latest > a { display: inline-flex; margin-top: 10px; font-size: .875rem; font-weight: 650; text-underline-offset: 5px; }
.hero-score-row a { text-decoration: none; }
.hero-score-row a:hover { text-decoration: underline; }
.coverage-note { border-left: 3px solid #bc7a12; background: #fff5df; border-radius: 0 8px 8px 0; padding: 12px 16px; font-size: .9375rem; margin-bottom: 24px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr); gap: 28px; align-items: start; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.text-link { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; font-size: .9375rem; font-weight: 650; }
.match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.match-card { position: relative; display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; transition: border-color .15s ease, box-shadow .15s ease; }
.match-card:hover { border-color: #97a8b9; box-shadow: 0 7px 22px #101d2c08; }
.match-card-cover { margin: -19px -19px 17px; }
.match-card-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.match-cover { margin: 0 0 24px; }
.match-cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.match-cover figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.match-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 17px; color: var(--muted); font-size: .875rem; }
.final-badge { font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; border-radius: 5px; padding: 3px 6px; background: #edf1f5; color: #465362; }
.match-team { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 0; }
.match-team-name { font-size: .9375rem; font-weight: 550; line-height: 1.35; }
.match-team-link { position: relative; z-index: 1; grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.match-team-link:hover .match-team-name { text-decoration: underline; text-underline-offset: 4px; }
.match-team.winner .match-team-name { font-weight: 750; }
.match-card-score { font-size: 1.5rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.match-card-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: .875rem; }
.match-card-foot a { color: var(--ink); font-weight: 650; text-underline-offset: 4px; }
.match-card-foot a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #edf1f5; color: #3c4b60; flex: 0 0 auto; font-size: .875rem; font-weight: 750; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-team { border-radius: 9px; }
.avatar-small { width: 30px; height: 30px; font-size: .8125rem; }
.avatar-large { width: 60px; height: 60px; font-size: 1.3rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-padding { padding: 24px; }
.leader-row { display: grid; grid-template-columns: 24px 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.leader-row:last-child { border-bottom: 0; padding-bottom: 0; }
.leader-rank { color: var(--muted); font-size: .875rem; }
.leader-name { font-size: .9375rem; font-weight: 650; line-height: 1.35; }
.leader-team { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
.leader-goals { font-size: 1.4rem; font-weight: 650; text-align: right; }
.leader-goals small { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.full-section { margin-top: 36px; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th { padding: 13px 18px; font-size: .875rem; font-weight: 600; color: var(--muted); background: #f9fafb; white-space: nowrap; }
td { padding: 16px 18px; font-size: .9375rem; border-top: 1px solid var(--line); }
.number-cell { text-align: right; }
.table-identity { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.table-identity a { text-decoration: none; font-weight: 650; }
.table-identity a:hover { text-decoration: underline; text-underline-offset: 4px; }
.table-note { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; margin: 0; }
.record-group + .record-group { margin-top: 24px; }
.record-group-heading { margin-bottom: 12px; font-size: 1.2rem; }
.page-heading { margin: 8px 0 30px; }
.page-heading h1 { margin-bottom: 12px; }
.page-heading p { color: var(--muted); margin-bottom: 0; max-width: 740px; }
.page-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.filters { display: flex; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 200px; }
.field label { font-size: .875rem; font-weight: 650; }
.search-field { flex: 1; }
input[type="search"] { min-height: 46px; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 14px; }
.result-count { color: var(--muted); font-size: .875rem; margin-bottom: 17px; }
.matches-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state, .error-state, .loading-state { padding: 62px 24px; text-align: center; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.empty-state h2, .error-state h1 { margin-bottom: 12px; }
.empty-state p, .error-state p, .loading-state p { color: var(--muted); max-width: 560px; margin-inline: auto; }
.loading-bars { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.loading-bars span { width: 7px; height: 24px; border-radius: 3px; background: #a9c881; animation: pulse 1s ease-in-out infinite alternate; }
.loading-bars span:nth-child(2) { animation-delay: .15s; }
.loading-bars span:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { to { opacity: .25; transform: scaleY(.5); } }
.comparison-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-bottom: 22px; }
.segmented { display: inline-flex; flex-wrap: wrap; background: #e7ecf1; border-radius: 10px; padding: 4px; gap: 3px; }
.segmented button { min-height: 38px; font-size: .875rem; font-weight: 650; background: transparent; padding: 8px 13px; border-radius: 7px; color: #536172; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 5px #101d2c12; }
.compare-picks { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); align-items: center; gap: 18px; margin-bottom: 24px; }
.compare-versus { text-align: center; color: var(--muted); font-size: .875rem; font-weight: 650; }
.entity-card { border: 1px solid var(--line); border-top: 4px solid var(--side); background: #fff; padding: 24px; border-radius: var(--radius); min-width: 0; }
.side-left { --side: var(--left); }
.side-right { --side: var(--right); }
.entity-card label { display: block; font-size: .875rem; color: var(--muted); font-weight: 650; margin-bottom: 7px; }
.entity-card select { width: 100%; margin-bottom: 21px; }
.entity-heading { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.entity-heading h2 { font-family: inherit; font-weight: 700; font-size: 1.35rem; letter-spacing: -.04em; margin: 0; overflow-wrap: anywhere; }
.entity-heading p { margin: 4px 0 0; color: var(--muted); font-size: .875rem; }
.entity-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.entity-highlights strong { display: block; font-size: 1.6rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.25; }
.entity-highlights span { color: var(--muted); font-size: .875rem; }
.comparison-context { padding: 17px 22px; background: #edf1f5; border-radius: 10px; margin-bottom: 24px; color: #465363; font-size: .9375rem; }
.comparison-context strong { color: var(--ink); }
.metric-section { margin-bottom: 24px; }
.metric-section-heading { padding: 22px 26px 12px; font-size: 1.2rem; font-weight: 700; margin: 0; }
.comparison-row { display: grid; grid-template-columns: minmax(0,1fr) 190px minmax(0,1fr); gap: 22px; padding: 18px 26px; border-bottom: 1px solid #edf0f3; align-items: center; }
.comparison-row:last-child { border: 0; }
.metric-label { text-align: center; font-size: .9375rem; font-weight: 550; }
.metric-label small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; margin-top: 4px; }
.metric-value { font-size: 1.3rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.metric-side-left { text-align: right; }
.metric-side-left .metric-value { color: var(--left); }
.metric-side-right .metric-value { color: var(--right); }
.metric-track { height: 5px; background: #edf1f5; border-radius: 10px; overflow: hidden; margin-top: 9px; }
.metric-fill { height: 100%; background: var(--side); border-radius: inherit; }
.metric-side-left .metric-fill { margin-left: auto; }
.metric-unavailable { color: var(--muted) !important; }
.comparison-help { color: var(--muted); font-size: .875rem; margin-top: 20px; }
.shared-matches { margin-top: 34px; }
.back-link { display: inline-block; margin-bottom: 22px; font-size: .9375rem; font-weight: 650; text-underline-offset: 5px; }
.scoreboard { background: var(--ink); color: #fff; border-radius: 22px; padding: 30px; margin-bottom: 24px; text-align: center; }
.scoreboard .eyebrow { color: var(--accent); margin-bottom: 22px; }
.scoreboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 30px; max-width: 850px; margin: auto; }
.scoreboard-team { display: flex; align-items: center; flex-direction: column; gap: 14px; }
.scoreboard-team h1, .scoreboard-team h2 { font-family: inherit; font-weight: 650; font-size: 1.3rem; line-height: 1.35; letter-spacing: -.03em; margin: 0; }
.scoreboard-team .avatar { background: #fff; color: var(--ink); }
.scoreboard-numbers { display: flex; gap: 24px; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 650; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.scoreboard-numbers .winner { color: var(--accent); }
.scoreboard-numbers .separator { color: #718096; font-weight: 300; }
.scoreboard-meta { color: #c4cfda; font-size: .875rem; margin-top: 26px; margin-bottom: 0; }
.chukker-table { min-width: 500px; text-align: center; }
.chukker-table th:first-child, .chukker-table td:first-child { text-align: left; min-width: 190px; }
.chukker-table td:last-child { font-weight: 750; background: #f5f9f0; }
.match-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.match-layout .comparison-row { grid-template-columns: 1fr 175px 1fr; gap: 14px; padding: 14px 22px; }
.match-layout .metric-value { font-size: 1.1rem; }
.side-heading { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; padding: 18px 22px; background: #f9fafb; color: var(--muted); border-bottom: 1px solid var(--line); }
.award { padding: 21px 0; border-bottom: 1px solid var(--line); }
.award:first-of-type { padding-top: 10px; }
.award:last-child { padding-bottom: 0; border: 0; }
.award-type { display: block; color: #526d32; text-transform: uppercase; font-size: .875rem; font-weight: 750; letter-spacing: .07em; margin-bottom: 7px; }
.award h3 { margin-bottom: 3px; }
.award p { margin: 0; font-size: .9375rem; color: var(--muted); }
.recap { margin-top: 24px; }
.recap .segmented { margin: 12px 8px 0 0; }
.recap h2 { margin-top: 16px; }
.recap .excerpt { font-size: 1.1rem; }
.recap .narrative { color: #3f4c5a; line-height: 1.8; white-space: pre-line; }
.player-stats-table { min-width: 1080px; }
.player-stats-table td { padding-block: 13px; }
.fan-choices-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fan-choice-card { padding: 24px; }
.fan-choice-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.fan-choice-winner { font-size: 1.1rem; font-weight: 650; margin-bottom: 0; }
.fan-choice-winner small { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.fan-result + .fan-result { margin-top: 18px; }
.fan-result-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 7px; font-size: .9375rem; }
.fan-result-heading strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fan-result-heading a { text-underline-offset: 4px; }
.fan-result-track { height: 7px; border-radius: 8px; background: #edf1f5; overflow: hidden; }
.fan-result-fill { height: 100%; background: var(--left); border-radius: inherit; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 36px; font-size: .875rem; color: var(--muted); }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.footer-brand > strong { color: var(--ink); letter-spacing: -.04em; }
.engine-credit { display: inline-flex; align-items: center; gap: 8px; }
.engine-credit b { color: var(--ink); font-weight: 650; }
.site-footer p { margin: 0; text-align: right; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 12px 22px; background: var(--ink); color: #fff; box-shadow: 0 5px 25px #101d2c33; border-radius: 10px; z-index: 60; font-size: .9375rem; text-align: center; max-width: calc(100% - 32px); }
.copy-fallback { width: min(700px, 100%); padding: 12px; border: 1px solid var(--line); border-radius: 8px; margin-top: 12px; background: #fff; }
.team-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-directory-card { display: flex; align-items: flex-start; flex-direction: column; padding: 26px; text-decoration: none; }
.team-directory-card:hover { border-color: #97a8b9; }
.team-directory-card h2 { font-family: inherit; font-size: 1.25rem; font-weight: 700; margin-top: 20px; }
.team-directory-card p { color: var(--muted); font-size: .9375rem; }
.team-directory-record { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.team-directory-record strong { font-size: 2rem; font-weight: 650; }
.team-directory-record span { color: var(--muted); font-size: .875rem; }
.team-directory-card .text-link { margin-top: auto; }
.team-profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.team-profile-identity { display: flex; align-items: center; gap: 22px; min-width: 0; }
.team-profile-identity .avatar { width: 86px; height: 86px; }
.team-profile-identity .eyebrow { margin-bottom: 10px; }
.team-profile-identity h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 12px; overflow-wrap: anywhere; }
.team-profile-identity p { color: var(--muted); margin-bottom: 0; }
.team-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; justify-content: end; max-width: 210px; }
.team-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.team-stat { padding: 22px; }
.team-stat dt { color: var(--muted); font-size: .9375rem; }
.team-stat dd { font-size: 2rem; line-height: 1.3; font-weight: 650; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.team-stat small { display: block; font-size: .875rem; color: var(--muted); margin-top: 8px; }
.team-matches { display: grid; gap: 20px; }
.team-match-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; }
.team-match-heading h3 { font-size: 1.2rem; margin: 6px 0 0; }
.team-match-heading h3 a { text-decoration: none; }
.team-match-heading h3 a:hover { text-decoration: underline; }
.team-match-score { margin-left: auto; text-align: right; white-space: nowrap; }
.team-match-score strong { display: block; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.team-match-score span { color: var(--muted); font-size: .875rem; }
.team-match summary { padding: 16px 24px; cursor: pointer; background: #f9fafb; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 650; }
.team-match .lineup-panel { border: 0; border-radius: 0; }
.match-lineups { margin-bottom: 30px; }
.lineups-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lineup-panel { padding: 24px; min-width: 0; }
.lineup-panel h3 { margin-bottom: 20px; }
.lineup-panel h3 a { text-decoration: none; }
.lineup-panel h3 a:hover { text-decoration: underline; }
.lineup-panel .eyebrow { margin-bottom: 12px; }
.lineup-panel h4 { font-size: 1rem; margin: 24px 0 12px; }
.lineup-list, .substitution-list { padding: 0; margin: 0; list-style: none; }
.lineup-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.shirt-number { width: 24px; font-size: .9375rem; color: var(--muted); text-align: center; flex-shrink: 0; }
.lineup-player { min-width: 0; flex: 1; font-size: .9375rem; }
.lineup-player strong { font-weight: 650; }
.player-status { display: block; font-size: .875rem; color: #855132; margin-top: 3px; }
.lineup-handicap { text-align: right; font-size: 1.1rem; font-weight: 650; }
.lineup-handicap small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; }
.substitution-list li { border-left: 3px solid #90ae70; background: #f6f8f3; border-radius: 0 8px 8px 0; margin-top: 12px; padding: 14px; font-size: .9375rem; }
.substitution-list p { margin-bottom: 8px; }
.substitution-list li > div + div { margin-top: 5px; }
.sub-label { display: inline-block; width: 36px; font-size: .875rem; text-transform: uppercase; font-weight: 700; }
.sub-in { color: #406827; }
.sub-out { color: #855132; }
.lineup-note { color: var(--muted); font-size: .875rem; margin: 16px 0 0; }
.scoreboard-team h2 a, .entity-heading h2 a { text-decoration: none; }
.scoreboard-team h2 a:hover, .entity-heading h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .header-main { flex-wrap: wrap; padding-block: 20px; gap: 20px; }
  .edition-control { width: 100%; }
  .tournament-field { flex: 1; }
  .hero { padding: 32px; gap: 26px; grid-template-columns: 1.2fr .8fr; }
  .overview-grid { grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr); gap: 20px; }
  .match-grid { grid-template-columns: 1fr; }
  .matches-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-layout { grid-template-columns: 1fr; }
  .team-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .header-main { min-height: auto; padding-block: 20px 16px; flex-wrap: wrap; gap: 18px; }
  .brand strong { font-size: 1.25rem; }
  .brand-mark { width: 48px; height: 56px; }
  .edition-control { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
  .edition-field { width: auto; }
  .country-field { grid-column: 2 / -1; }
  .tournament-field { grid-column: 1 / 3; }
  .edition-control .button { grid-column: 3; }
  .primary-nav { gap: 18px; justify-content: flex-start; }
  .primary-nav a { font-size: .875rem; min-height: 48px; white-space: nowrap; }
  .main-content { padding-top: 22px; padding-bottom: 38px; }
  .hero { grid-template-columns: 1fr; padding: 28px 24px; min-height: auto; gap: 26px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-image { width: 100%; opacity: .25; }
  .hero-latest { padding: 16px 20px; }
  .hero-stats { gap: 18px; margin-top: 20px; }
  .overview-grid { grid-template-columns: 1fr; gap: 30px; }
  .match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading h2 { font-size: 1.6rem; }
  .panel-padding { padding: 20px; }
  .leader-row { padding-block: 14px; }
  .page-heading-row { display: block; }
  .page-heading-row .button { margin-top: 18px; }
  .compare-picks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
  .compare-versus { display: none; }
  .entity-card { padding: 16px 12px; }
  .entity-card select { font-size: .875rem; padding-left: 9px; padding-right: 28px; background-position: right 7px center; margin-bottom: 17px; }
  .entity-heading { flex-direction: column; text-align: center; gap: 10px; min-height: 150px; }
  .entity-heading h2 { font-size: 1.05rem; }
  .entity-heading .avatar-large { width: 48px; height: 48px; font-size: 1.1rem; }
  .entity-highlights { grid-template-columns: 1fr; gap: 8px; text-align: center; margin-top: 15px; padding-top: 14px; }
  .entity-highlights div { display: flex; justify-content: space-between; align-items: baseline; gap: 5px; }
  .entity-highlights strong { font-size: 1.3rem; }
  .entity-highlights span { font-size: .875rem; text-align: right; }
  .comparison-row, .match-layout .comparison-row { grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 16px 20px; }
  .metric-label { grid-column: 1 / -1; grid-row: 1; }
  .metric-side-left { grid-column: 1; grid-row: 2; }
  .metric-side-right { grid-column: 2; grid-row: 2; }
  .metric-section-heading { padding: 20px 20px 10px; }
  .scoreboard { padding: 26px 18px; }
  .scoreboard-grid { gap: 14px; }
  .scoreboard-numbers { gap: 10px; }
  .scoreboard-team h1, .scoreboard-team h2 { font-size: 1rem; }
  .scoreboard-team .avatar-large { width: 45px; height: 45px; font-size: 1rem; }
  .team-profile-heading { display: block; }
  .team-profile-identity { gap: 16px; align-items: flex-start; }
  .team-profile-identity .avatar { width: 60px; height: 60px; }
  .team-profile-actions { max-width: none; justify-content: start; margin-top: 20px; }
  .team-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-stat { padding: 18px; }
  .team-stat dd { font-size: 1.7rem; }
  .lineups-grid { grid-template-columns: 1fr; gap: 18px; }
  .fan-choices-grid { grid-template-columns: 1fr; gap: 18px; }
  .fan-choice-card { padding: 20px; }
  .team-match-heading { flex-wrap: wrap; padding: 20px; gap: 18px; }
  .team-match-heading .button { width: 100%; }
  .team-match summary { padding-inline: 20px; }
  .lineup-panel { padding: 20px; }
  .team-profile-heading + #copy-link-fallback + .full-section > .section-heading { flex-wrap: wrap; }
  .site-footer { display: block; }
  .site-footer p { margin-top: 12px; text-align: left; }
}
@media (max-width: 480px) {
  .primary-nav { gap: 10px; }
  .primary-nav a { font-size: .875rem; }
  .match-grid { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stat { display: block; }
  .hero-stat strong { display: block; }
  .comparison-toolbar { align-items: stretch; }
  .comparison-toolbar .segmented { flex: 1; }
  .comparison-toolbar .segmented button { flex: 1; padding-inline: 10px; }
  .entity-heading { min-height: 162px; }
  .filters .field { min-width: 100%; }
  .scoreboard-numbers { font-size: 2.5rem; gap: 8px; }
  .scoreboard-grid { gap: 9px; }
  .team-directory { grid-template-columns: 1fr; }
  .team-profile-identity { flex-direction: column; }
  .team-profile-heading ~ .full-section > .section-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
