/* Match detail: reference-aligned compact summary. */
.detail-head{display:grid;grid-template-columns:1fr auto;gap:0;padding:16px 16px 12px}.detail-head>.crumb{font-size:12px;font-weight:800;text-align:left;align-self:center}.detail-date{font-size:12px;font-weight:700;color:#b5b9c0}.detail-head>.scoreboard{grid-column:1/-1;margin-top:16px}.detail-head .big-score{font-size:32px;letter-spacing:0}.detail-head .live-time{font-size:11px;text-transform:uppercase;color:#aab3c0;font-weight:800;margin-top:7px}.detail-head .team-label{font-size:14px}.detail-tabs{display:flex}.detail-tabs button{flex:1;min-width:0;font-size:12px;padding:14px 2px;font-weight:700}.detail-tabs button:before{display:block;font-size:17px;line-height:1.1;margin-bottom:5px;content:'▥'}.detail-tabs [data-tab=summary]:before{content:'●'}.detail-tabs [data-tab=broadcasts]:before{content:'▣'}.detail-tabs [data-tab=lineups]:before{content:'♟'}.detail-tabs [data-tab=h2h]:before{content:'↔'}.detail-content{padding:0 16px 16px}.detail-content h3{font-size:12px;margin:16px 0 8px;letter-spacing:.2px}.fact-row{display:flex;align-items:baseline;gap:8px;font-size:13px;line-height:1.65;color:#b5bac4;margin:3px 0;overflow-wrap:anywhere}.fact-row a{color:#f5f4ee;font-weight:700;text-decoration:none}.fact-icon{color:#efca45;display:inline-block;width:17px;flex-shrink:0;text-align:center}.form-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.form-team{min-width:0}.form-team-name{display:block;font-size:12px;font-weight:800;color:#fff;text-decoration:none;overflow-wrap:anywhere}.form-badges{display:flex;gap:3px;margin:5px 0}.form-badge{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;flex:0 0 15px;border-radius:3px;color:#fff;font-size:9px;font-weight:800;line-height:15px}.result-G{background:#22b994}.result-B{background:#7c8796}.result-M{background:#ef5374}.form-match{display:flex;align-items:center;gap:5px;min-height:28px;border-bottom:1px solid #ffffff09;color:#ddd;text-decoration:none;font-size:11px}.form-match .asset-logo{height:16px;width:16px;min-width:16px;background:transparent;border-radius:0}.form-opponent{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-match b{font-size:12px;white-space:nowrap;color:#fff}.h2h-counts{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;text-align:center}.h2h-counts b{display:block;font-size:24px;line-height:1.2;color:#efca45}.h2h-counts>div:nth-child(2) b{color:#fff}.h2h-counts>div:nth-child(3) b{color:#8eb0ff}.h2h-counts span{font-size:10px;text-transform:uppercase;color:#bababa;overflow-wrap:anywhere}.h2h-track{display:flex;height:6px;border-radius:6px;overflow:hidden;margin-top:8px;background:#ffffff15}.h2h-G{background:#efca45}.h2h-B{background:#bbb}.h2h-M{background:#8eb0ff}.history-note{font-size:10px;color:#a89f8b;margin:6px 0 8px}.history-match{display:grid;grid-template-columns:70px minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:center;padding:8px 0;border-bottom:1px solid #ffffff09;text-decoration:none;color:#eee;font-size:11px}.history-match>small{color:#aaa;font-size:10px;line-height:1.2}.history-match>small span{display:block}.history-match>span{overflow-wrap:anywhere}.history-match>span:first-of-type{text-align:right}.history-match>b{padding:1px 5px;background:#efca4520;border-radius:4px;white-space:nowrap}.match-facts+.empty,.h2h-summary>.empty,.form-team>.empty{padding:14px 0;min-height:0;text-align:left;font-size:12px}.recent-form,.h2h-summary,.incident-section{margin-top:14px}.broadcast-list .channel{font-size:13px}.detail-content>.empty{padding:20px 0}.detail-content>.error-message{margin-top:16px}
@media(max-width:420px){.detail-content{padding:0 12px 12px}.form-columns{gap:10px}.form-match{gap:3px}.history-match{grid-template-columns:58px minmax(0,1fr) auto minmax(0,1fr);gap:4px}.detail-head{padding:14px 12px}.detail-tabs button{font-size:11px}.fact-row{font-size:12px}}

.detail-icon{width:17px;height:17px;vertical-align:middle;flex-shrink:0}.detail-tabs button:before{display:none}.detail-tabs .detail-icon{display:block;margin:0 auto 6px;width:19px;height:19px}.fact-icon .detail-icon{width:15px;height:15px}
/* Sidebar standings, scoped so league/team page tables retain their layout. */
:is(#standings-panel,#match-tab-standings) .small-panel-title{display:flex;align-items:center;gap:10px;border:0;background:none;padding:14px 16px 8px;font:800 12px var(--font-display);text-transform:uppercase;color:#efca45}
:is(#standings-panel,#match-tab-standings) .small-panel-title:after{content:'';height:1px;background:#efca452b;flex:1}
:is(#standings-panel,#match-tab-standings) .small-panel-title a{color:inherit;text-decoration:none}
:is(#standings-panel,#match-tab-standings) .small-table{padding:0 16px 16px}
:is(#standings-panel,#match-tab-standings) .compact-standings-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.2}
:is(#standings-panel,#match-tab-standings) .compact-standings-table th,:is(#standings-panel,#match-tab-standings) .compact-standings-table td{padding:5px 2px;border-bottom:1px solid #ffffff08;background:none;vertical-align:middle}
:is(#standings-panel,#match-tab-standings) .compact-standings-table thead th{font-size:10px;color:#a9aaad;font-weight:800;text-align:center;padding-block:7px}
:is(#standings-panel,#match-tab-standings) .compact-standings-table thead th:nth-child(2){text-align:left;text-transform:uppercase}
:is(#standings-panel,#match-tab-standings) .compact-standings-table th:first-child,:is(#standings-panel,#match-tab-standings) .compact-standings-table td:first-child{width:24px;text-align:center}
:is(#standings-panel,#match-tab-standings) .compact-standings-table thead th:nth-child(n+3){width:23px}
:is(#standings-panel,#match-tab-standings) .compact-standings-table thead th:nth-child(7){width:30px}
:is(#standings-panel,#match-tab-standings) .compact-standings-table td{color:#d4d5da;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
:is(#standings-panel,#match-tab-standings) .compact-standings-table tbody th{font-weight:700;text-align:left;min-width:0}
:is(#standings-panel,#match-tab-standings) .standings-team{display:flex;align-items:center;gap:7px;min-width:0;color:#f0f0ee;text-decoration:none;font:700 12px/1.2 var(--font-display)}
:is(#standings-panel,#match-tab-standings) .standings-team>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#standings-panel,#match-tab-standings) .standings-team .asset-logo{width:18px;min-width:18px;height:18px;border-radius:0;background:transparent}
:is(#standings-panel,#match-tab-standings) .rank-badge{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:5px;font:800 12px var(--font-display);color:#fff}
:is(#standings-panel,#match-tab-standings) .zone-champions{background:#26bc96;color:#102b25}
:is(#standings-panel,#match-tab-standings) .zone-champions-qual{background:#32a8eb;color:#102332}
:is(#standings-panel,#match-tab-standings) .zone-europa{background:#edcc3e;color:#29230b}
:is(#standings-panel,#match-tab-standings) .zone-conference{background:#ac69ef;color:#241233}
:is(#standings-panel,#match-tab-standings) .zone-relegation{background:#ed7c99;color:#3b1722}
:is(#standings-panel,#match-tab-standings) .zone-promotion{background:#26bc96;color:#102b25}
:is(#standings-panel,#match-tab-standings) .zone-other{background:#8b929f;color:#10151b}
:is(#standings-panel,#match-tab-standings) .compact-standings-table .goal-positive{color:#29c49c}
:is(#standings-panel,#match-tab-standings) .compact-standings-table .goal-negative{color:#ed7c99}
:is(#standings-panel,#match-tab-standings) .compact-standings-table .standings-points{font-weight:900;color:#fff}
:is(#standings-panel,#match-tab-standings) .compact-standings-table .selected-team>*{background:#efca451e}
:is(#standings-panel,#match-tab-standings) .selected-team .standings-team{color:#f4da72}
:is(#standings-panel,#match-tab-standings) .standings-legend{list-style:none;margin:14px 0 0;padding:0 12px;font-size:11px;color:#b7b7bb;line-height:1.6}
:is(#standings-panel,#match-tab-standings) .standings-legend li{display:flex;align-items:center;gap:8px;margin:2px 0}
:is(#standings-panel,#match-tab-standings) .zone-dot{width:10px;height:10px;flex:0 0 10px;border-radius:3px}
:is(#standings-panel,#match-tab-standings) .standings-group{font-size:12px;color:#efca45;margin:12px 0 4px}
@media(max-width:380px){:is(#standings-panel,#match-tab-standings) .small-table{padding-inline:10px}:is(#standings-panel,#match-tab-standings) .standings-team{gap:5px;font-size:11px}:is(#standings-panel,#match-tab-standings) .compact-standings-table thead th:nth-child(n+3){width:21px}:is(#standings-panel,#match-tab-standings) .compact-standings-table thead th:nth-child(7){width:27px}}
:is(#standings-panel,#match-tab-standings) .compact-standings-table tbody th{text-transform:none;letter-spacing:normal}
/* Match narrative: source-backed pressure, two-sided events, visual metrics. */
.scorers-placeholder{grid-column:1/-1}.goal-scorers{display:grid;grid-template-columns:1fr 1fr;gap:30px;font-size:11px;color:#bfc4ce;line-height:1.35;margin-top:10px}.goal-scorers>div:last-child{text-align:right}
.match-flow h3,.pressure-section h3,.visual-stats h3{display:flex;align-items:center;gap:10px}.match-flow h3:after,.pressure-section h3:after,.visual-stats h3:after{content:'';height:1px;background:#efca4525;flex:1}
.flow-event{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);min-height:42px;align-items:center;border-bottom:1px solid #ffffff08;padding:8px 0;gap:5px;font-size:12px;line-height:1.3}
.flow-event time{grid-column:2;grid-row:1;text-align:center;color:#efca45;font-size:12px;font-weight:800;white-space:nowrap}
.flow-home .flow-content{grid-column:1;grid-row:1;text-align:right}.flow-away .flow-content{grid-column:3;grid-row:1;text-align:left}.flow-neutral .flow-content{grid-column:1/-1;grid-row:2;text-align:center;color:#c1c5cf}
.flow-content{overflow-wrap:anywhere;color:#eee}.flow-content small{display:block;color:#a3a8b2;font-size:10px;margin-top:2px}.flow-content .flow-goal{font-weight:800}.flow-event .player-in{color:#29d3b1}.flow-event .player-out{color:#f0778a;font-size:11px}.flow-divider{text-align:center;padding:5px;margin:9px 0;border-radius:5px;background:#efca4512;color:#c0b9a9;text-transform:uppercase;font-weight:800;font-size:11px}.event-symbol{font-size:12px}.stats-periods{display:flex;gap:5px;margin:12px 0}.stats-period{flex:1;min-width:0;background:#ffffff05;color:#a9aab0;border:1px solid #ffffff0d;border-radius:6px;font-size:11px;padding:7px 3px}.stats-period.active{color:#efca45;border-color:#efca4560;background:#efca4512}.metric-row{padding:10px 0;border-bottom:1px solid #ffffff06}.metric-values{display:grid;grid-template-columns:45px minmax(0,1fr) 45px;align-items:center;gap:8px;font-size:12px;text-align:center;color:#bdc1c9}.metric-values b{font-size:14px;color:#f2f2ef;font-variant-numeric:tabular-nums}.metric-values .metric-home{text-align:left}.metric-values .metric-away{text-align:right}.stat-track{height:5px;display:flex;gap:3px;overflow:hidden;border-radius:8px;background:#ffffff0a;margin-top:7px}.stat-home{display:block;background:#efca45;border-radius:5px}.stat-away{display:block;background:#8cafff;border-radius:5px}.pressure-chart{padding:8px;border:1px solid #ffffff0c;background:#0c0b0890;border-radius:12px}.pressure-chart svg{display:block;width:100%;height:auto}.pressure-baseline{stroke:#aaa;stroke-width:.6;stroke-dasharray:3 3}.pressure-half{stroke:#ffffff18;stroke-width:1;stroke-dasharray:3 3}.pressure-home{fill:#efca45}.pressure-away{fill:#8cafff}.pressure-goal{font-size:8px}.pressure-legend{display:flex;justify-content:space-between;gap:8px;font-size:9px;font-weight:800;text-transform:uppercase;color:#ddd}.pressure-legend>span:first-child{color:#efca45}.pressure-legend>span:last-child{color:#8cafff}.pressure-section>.empty,.match-flow>.empty{padding:16px 0;text-align:left;min-height:0}.visual-stats{margin-top:20px}
@media(max-width:380px){.flow-event{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);font-size:11px}.metric-values{font-size:11px}}
.extra-stats>summary{color:#e8cc68;font-size:12px;padding:14px 0;cursor:pointer}.extra-stats[open]>summary{border-bottom:1px solid #ffffff10}
/* Team sheets: source formation, schematic pitch and readable substitutes. */
.lineup-controls{display:flex;align-items:center;gap:4px;margin:14px 0 8px}.lineup-controls h3{margin:0 8px 0 0}.lineup-controls:after{content:'';height:1px;background:#efca4530;flex:1}.lineup-controls button{padding:4px 10px;border:0;border-radius:6px;background:#ffffff09;color:#a8a8ad;font-size:10px;font-weight:800}.lineup-controls button.active{background:#efca45;color:#171407}.lineup-controls button:disabled{opacity:.4;cursor:default}.lineup-status{font-size:11px;color:#a8adb7;margin:10px 0}.lineup-pitch{position:relative;border:1px solid #52997055;border-radius:14px;overflow:hidden;background:repeating-linear-gradient(to bottom,#123b24 0,#123b24 58px,#17482b 58px,#17482b 116px)}.lineup-pitch:before{content:'';position:absolute;top:50%;left:0;right:0;height:1px;background:#ffffff30;pointer-events:none}.lineup-pitch:after{content:'';position:absolute;top:50%;left:50%;width:64px;height:64px;border:1px solid #ffffff30;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.pitch-half{position:relative;padding:10px 8px;z-index:1}.pitch-half.pitch-home{padding-top:20px}.pitch-team-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;text-transform:uppercase;font-weight:800;margin:1px 2px 10px;color:#a8c9ff}.pitch-home .pitch-team-label{margin:10px 2px 1px;color:#efca45}.pitch-team-label>span{color:#a1bea9;font-size:10px}.pitch-player-row{display:flex;justify-content:space-around;align-items:flex-start;gap:2px;min-height:70px;padding:10px 0 3px}.pitch-player{flex:1;min-width:0;text-align:center;position:relative}.player-disc{position:relative;display:flex;width:31px;height:31px;margin:0 auto 5px;align-items:center;justify-content:center;border-radius:50%;font-size:13px;font-weight:900;box-shadow:0 2px 5px #0007;border:2px solid #ffffff30;color:#14233b;background:radial-gradient(circle at 40% 25%,#e7f2ff,#8bb6f6 70%,#5a85c7)}.pitch-home .player-disc{background:radial-gradient(circle at 40% 25%,#fff2b9,#efca45 70%,#b48d24);color:#30280c}.pitch-player-name{display:block;font-size:10px;line-height:1.2;font-weight:700;color:#e6eee8;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;padding:0 1px}.lineup-rating{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;line-height:1;min-width:26px;padding:3px 4px;border-radius:4px;white-space:nowrap}.rating-high{background:#21bf9a;color:#05271e}.rating-mid{background:#edc743;color:#2b2307}.rating-low{background:#ee657f;color:#3a1019}.player-disc>.lineup-rating{position:absolute;left:23px;top:-6px;min-width:22px;padding:2px;font-size:9px}.lineup-badges{display:inline-flex;align-items:center;gap:2px;font-size:10px;flex-wrap:wrap}.player-disc>.lineup-badges{position:absolute;top:-10px;right:21px;white-space:nowrap;flex-wrap:nowrap}.lineup-in{color:#32dda9;font-size:12px;font-weight:900}.lineup-out{color:#ff728c;font-size:12px;font-weight:900}.lineup-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.lineup-columns section{min-width:0}.lineup-columns h4{font-size:12px;margin:8px 0;color:#eee;overflow-wrap:anywhere}.lineup-list-player{display:flex;align-items:center;gap:6px;border-bottom:1px solid #ffffff09;padding:7px 0;min-width:0;font-size:11px}.jersey-no{flex:0 0 20px;color:#9aa9bd;font-size:12px;text-align:center}.lineup-full-name{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.25;color:#eee}.lineup-full-name small{display:block;font-size:9px;color:#9098a8}.lineup-list-player>.lineup-rating{font-size:9px;min-width:24px;padding:3px}.lineup-list-player>.lineup-badges{max-width:24px;gap:0}.lineup-note{font-size:10px;color:#9ea59e;line-height:1.4;margin:10px 0}.lineup-view [hidden]{display:none!important}.lineup-columns .empty{padding:10px 0;text-align:left;min-height:0;font-size:11px}
@media(max-width:380px){.pitch-half{padding-inline:6px}.pitch-player-name{font-size:9px}.player-disc{width:28px;height:28px;font-size:12px}.player-disc>.lineup-rating{left:20px;font-size:8px;min-width:19px}.lineup-columns{gap:10px}.lineup-list-player{gap:4px;font-size:10px}.jersey-no{flex-basis:16px}}
