.score-page{padding-top:26px;padding-bottom:44px}.score-page h1{font-size:clamp(25px,3.2vw,38px);line-height:1.2;margin:15px 0}.score-intro{color:#596171;line-height:1.65}.score-breadcrumb{font-size:13px;color:#666}.score-breadcrumb a{color:#b4212d}.score-panel{margin:22px 0 30px;padding:22px;background:#fff;border:1px solid #e2e5e9;border-radius:12px;box-shadow:0 4px 20px #18202d0a}.score-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.score-panel-head h2{font-size:21px;margin:0}.score-panel-head span,.score-updated{font-size:12px;color:#657083}.score-list{display:grid;gap:8px}.score-match{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);align-items:center;gap:8px;padding:13px 10px;background:#f7f8fa;border-radius:7px}.score-team{font-weight:650;font-size:14px;overflow-wrap:anywhere}.score-away{text-align:right}.score-result{text-align:center;font-size:17px;font-weight:800;white-space:nowrap}.score-result small{display:block;font-size:11px;color:#657083;font-weight:500;margin-top:3px}.score-empty{padding:15px;background:#f7f8fa;border-radius:7px;color:#586171}.score-table-wrap{overflow-x:auto}.score-table{width:100%;border-collapse:collapse;min-width:490px;font-size:14px}.score-table th,.score-table td{padding:11px 8px;border-bottom:1px solid #e8ebef;text-align:center}.score-table th:nth-child(2),.score-table td:nth-child(2){text-align:left}.score-table thead{background:#f6f7f9}.score-home{margin:22px 0 28px}.score-more{font-size:13px;font-weight:700;color:#b4212d;text-decoration:none}@media(max-width:600px){.score-panel{padding:14px}.score-panel-head h2{font-size:18px}.score-match{grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr);padding:10px 8px}.score-team{font-size:12px}.score-result{font-size:14px}}
/* Homepage: news first, compact scores below editorial grid */
.score-home{margin:36px 0 28px;border-top:3px solid #b4212d}
.score-home .score-panel-head{flex-wrap:wrap}
.score-home .score-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.score-home .score-match{min-width:0;grid-template-columns:minmax(0,1fr) minmax(86px,auto) minmax(0,1fr);gap:10px;border:1px solid #e8ebef;background:#fafbfc}
.score-home .score-team{line-height:1.35}
.score-home .score-result{font-size:15px}
.score-page .score-match{border:1px solid #e8ebef;gap:12px}
.score-table tbody tr:nth-child(even){background:#fbfcfd}
.score-table td:last-child{font-weight:800}
@media(max-width:760px){.score-home .score-list{grid-template-columns:1fr}.score-home{margin-top:28px}.score-match{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr)}.score-home .score-match{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr)}}

/* Mobile-first scores: no horizontal scroll or squeezed team names. */
.score-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.score-table{table-layout:auto}
.score-team{min-width:0;overflow-wrap:break-word;word-break:normal;hyphens:auto}
@media(max-width:600px){
 .score-page{min-width:0;padding-top:14px;padding-bottom:24px}
 .score-page h1{font-size:clamp(23px,6vw,29px);line-height:1.24}
 .score-intro{font-size:14px}
 .score-panel{margin:16px 0 22px;padding:12px;border-radius:10px;min-width:0}
 .score-panel-head{gap:8px;flex-wrap:wrap}
 .score-panel-head h2{font-size:18px}
 .score-table-wrap{overflow-x:visible}
 .score-table{min-width:0;width:100%;table-layout:fixed;font-size:13px}
 .score-table .score-detail{display:none}
 .score-table th,.score-table td{padding:11px 4px}
 .score-table th:nth-child(1),.score-table td:nth-child(1){width:36px}
 .score-table th:nth-child(2),.score-table td:nth-child(2){width:auto;overflow-wrap:anywhere;line-height:1.3}
 .score-table th:nth-child(3),.score-table td:nth-child(3){width:38px}
 .score-table th:last-child,.score-table td:last-child{width:40px}
 .score-match,.score-home .score-match{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);gap:5px;padding:11px 7px}
 .score-team{font-size:12px;line-height:1.35}
 .score-result{font-size:14px}
 .score-result small{font-size:10px;line-height:1.3;white-space:normal}
 .score-home .score-list{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){
 .score-match,.score-home .score-match{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr)}
 .score-team{font-size:11px}
 .score-table{font-size:12px}
}

/* Keep mobile team names readable after hiding detailed columns. */
@media(max-width:600px){.score-table th:nth-child(2),.score-table td:nth-child(2){overflow-wrap:normal;word-break:normal;hyphens:none;text-align:left}.score-table .score-detail{display:none!important}.score-table th:nth-child(1),.score-table td:nth-child(1){width:34px}.score-table th:nth-child(3),.score-table td:nth-child(3){width:34px}.score-table th:last-child,.score-table td:last-child{width:38px}}

/* Mobile standings: compact summary plus expandable per-team stats. */
.score-mobile-stats,.score-stats-toggle{display:none}
@media(max-width:600px){
 .score-table-wrap{width:100%;max-width:100%;overflow-x:hidden}
 .score-table{min-width:0;width:100%;table-layout:fixed}
 .score-table .score-main-row .score-detail,.score-table thead .score-detail{display:none!important}
 .score-table th:nth-child(1),.score-table td:nth-child(1){width:42px}
 .score-table th:nth-child(2),.score-table td:nth-child(2){width:auto;word-break:normal;overflow-wrap:normal;hyphens:none}
 .score-table th:nth-child(3),.score-table td:nth-child(3){width:36px}
 .score-table th:last-child,.score-table .score-main-row td:last-child{width:40px}
 .score-table .score-team-name{white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.3}
 .score-table th,.score-table td{padding:10px 5px}
 .score-stats-toggle{display:block;width:100%;margin-top:14px;border:1px solid #d5d9e0;background:#fff;border-radius:9px;padding:12px;font:inherit;font-weight:700;color:#253044;cursor:pointer}
 .score-stats-toggle:focus-visible{outline:3px solid #b4212d;outline-offset:2px}
 .score-table-wrap.stats-expanded .score-mobile-stats{display:table-row}
 .score-mobile-stats td{padding:0 8px 12px!important;background:#f7f8fa;text-align:left!important}
 .score-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;text-align:center;font-size:12px;padding:10px 4px;color:#586171}
 .score-stats-grid strong{color:#19202b;margin-left:3px}
}

/* v4: independent mobile standings markup; desktop table stays intact. */
.bg-mobile-standings{display:none}
@media(max-width:600px){
 .bg-desktop-standings{display:none!important}
 .bg-mobile-standings{display:block!important;width:100%;min-width:0;font-size:14px}
 .bg-standing-header,.bg-standing-card>summary{display:grid;grid-template-columns:28px minmax(0,1fr) 28px 36px 16px;align-items:center;gap:7px;width:100%;box-sizing:border-box}
 .bg-standing-header{padding:10px 7px;background:#f5f6f8;font-weight:750;color:#364152;font-size:12px;border-radius:7px 7px 0 0}
 .bg-standing-header span:nth-child(3),.bg-standing-header span:nth-child(4){text-align:center}
 .bg-standing-card{margin:0;border-bottom:1px solid #e7e9ed;background:#fff}
 .bg-standing-card:nth-of-type(even){background:#fafbfc}
 .bg-standing-card>summary{list-style:none;padding:13px 7px;cursor:pointer;min-height:51px}
 .bg-standing-card>summary::-webkit-details-marker{display:none}
 .bg-standing-card>summary::marker{content:''}
 .bg-standing-card .bg-team-label{min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;font-weight:600;line-height:1.25}
 .bg-rank,.bg-played,.bg-points{text-align:center;font-variant-numeric:tabular-nums}
 .bg-points{font-weight:800}
 .bg-expand{font-size:17px;color:#6c7788;line-height:1;text-align:center;transition:transform .15s ease}
 .bg-standing-card[open] .bg-expand{transform:rotate(180deg)}
 .bg-standing-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 8px 13px;background:#f4f6f8;font-size:12px;color:#445064}
 .bg-standing-details span{display:flex;justify-content:space-between;gap:5px;padding:7px 9px;border-radius:6px;background:#fff}
 .bg-standing-details strong{color:#162133}
}
