.match-detail {
    --md-brand: #111827; --md-head: #2b343d; --md-accent: #f6c44f; --md-away: #3f63e8;
    --md-ink: #17212d; --md-muted: #64717c; --md-line: #d9dee5; --md-link: #337ab7; --md-live: #dc2626;
    width: min(100%, 980px);
    margin: 0 auto;
    color: var(--md-ink);
    font-family: Arial, "Microsoft JhengHei", "PingFang HK", "PingFang TC", sans-serif;
}
.match-detail a { color: var(--md-link); text-decoration: none; }
.match-detail a:hover { text-decoration: underline; }
.match-detail .section-title { margin: 0; padding-left: 10px; font-size: 17px; font-weight: 900; border-left: 4px solid var(--md-accent); }

/* 1. 精簡分數欄 */
.match-detail .md-scorebar { color: #fff; background: var(--md-brand); border-radius: 10px; overflow: hidden; }
.match-detail .sb-main { display: flex; align-items: center; gap: 10px; padding: 16px 14px 14px; }
.match-detail .sb-side { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.match-detail .sb-side:hover { text-decoration: none; }
.match-detail .sb-side.away { flex-direction: row-reverse; }
.match-detail .sb-logo { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.match-detail .sb-nm { min-width: 0; }
.match-detail .sb-side.away .sb-nm { text-align: right; }
.match-detail .sb-name { display: block; font-size: 15px; font-weight: 800; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-detail .sb-bar { display: block; height: 3px; width: 40px; margin-top: 5px; border-radius: 2px; }
.match-detail .sb-side.away .sb-bar { margin-left: auto; }
.match-detail .sb-bar.home { background: var(--md-accent); }
.match-detail .sb-bar.away { background: var(--md-away); }
.match-detail .sb-score { flex: 0 0 auto; font-size: 42px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.match-detail .sb-score.win { color: #fff; }
.match-detail .sb-score.lose { color: #67727e; }
.match-detail .sb-center { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 60px; }
.match-detail .sb-status { font-size: 13px; font-weight: 800; letter-spacing: .5px; color: #cbd5e1; white-space: nowrap; }
.match-detail .sb-status .dot { display: none; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #fff; vertical-align: middle; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.match-detail .sb-tri { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.match-detail .sb-tri.to-away { border-left: 8px solid var(--md-accent); }
.match-detail .sb-tri.to-home { border-right: 8px solid var(--md-accent); }
.match-detail .txt-live { display: none; }
.match-detail.is-live .sb-status { color: #fff; }
.match-detail.is-live .sb-status .dot { display: inline-block; animation: md-pulse 1.2s infinite; }
.match-detail.is-live .txt-final { display: none; }
.match-detail.is-live .txt-live { display: inline; }
.match-detail.is-live .sb-tri { visibility: hidden; }
@keyframes md-pulse { 0% { opacity: 1; } 50% { opacity: .3; } 100% { opacity: 1; } }
.match-detail .sb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 9px 14px; font-size: 12px; font-weight: 700; color: #aeb8c4; background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.08); }
.match-detail .sb-meta .live-detail { display: none; color: var(--md-accent); }
.match-detail.is-live .sb-meta .live-detail { display: inline; }

/* 通用區塊 */
.match-detail .md-section { margin-top: 12px; padding: 14px; background: #fff; border: 1px solid var(--md-line); border-radius: 10px; }

/* 2. 逐節比分 */
.match-detail .md-linescore { margin-top: 12px; padding: 4px 6px; background: #fff; border: 1px solid var(--md-line); border-radius: 10px; }
.match-detail table.linescore { width: 100%; border-collapse: collapse; font-size: 14px; }
.match-detail table.linescore th, .match-detail table.linescore td { padding: 10px 6px; text-align: center; }
.match-detail table.linescore thead th { color: var(--md-muted); font-size: 12px; font-weight: 700; border-bottom: 1px solid #edf0f3; }
.match-detail table.linescore tbody th { text-align: left; font-weight: 800; white-space: nowrap; padding-left: 12px; }
.match-detail table.linescore thead th:first-child { text-align: left; padding-left: 12px; }
.match-detail table.linescore tbody tr + tr td, .match-detail table.linescore tbody tr + tr th { border-top: 1px solid #f1f3f5; }
.match-detail table.linescore .q-total { font-weight: 900; font-size: 16px; }
.match-detail .ls-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; vertical-align: middle; }
.match-detail .ls-dot.home { background: var(--md-accent); }
.match-detail .ls-dot.away { background: var(--md-away); }

/* 3. 內嵌影片 */
.match-detail .md-video-wrap { margin-top: 12px; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--md-line); }
.match-detail .md-video { position: relative; aspect-ratio: 16 / 9; cursor: pointer; }
.match-detail .md-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.match-detail .md-video .poster { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 0%, #243b55 0%, #0f172a 70%); }
.match-detail .md-video .play { width: 70px; height: 70px; border-radius: 50%; background: rgba(0,0,0,.45); border: 2px solid #fff; display: grid; place-items: center; }
.match-detail .md-video .play::after { content: ""; margin-left: 5px; border-left: 22px solid var(--md-accent); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.match-detail .md-video .vlabel { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 14px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.match-detail .md-video .vtag { position: absolute; left: 14px; top: 12px; padding: 4px 10px; font-size: 11px; font-weight: 800; color: #111827; background: var(--md-accent); border-radius: 999px; }
.match-detail .md-video-modebar { display: flex; align-items: center; gap: 7px; min-height: 52px; padding: 6px 10px; border-top: 1px solid #dce3ec; background: #f8fafc; }
.match-detail .md-video-mode-label { margin-right: auto; color: #526174; font-size: 12px; font-weight: 800; }
.match-detail .md-video-mode { min-height: 40px; padding: 0 15px; border: 1px solid #cbd5e1; border-radius: 8px; color: #334155; background: #fff; font-size: 13px; font-weight: 800; }
.match-detail .md-video-mode:hover, .match-detail .md-video-mode:focus { border-color: #94a3b8; color: #17212d; background: #fff; outline: 0; }
.match-detail .md-video-mode.active { border-color: var(--md-accent); color: #111827; background: var(--md-accent); }
.match-detail .md-video-mode:focus-visible { box-shadow: 0 0 0 3px rgba(251,191,36,.55); }
.match-detail .vphoto { display: flex; }
.match-detail .vphoto a { flex: 1; text-align: center; padding: 11px; font-size: 13px; font-weight: 800; color: #fff; background: var(--md-head); }
.match-detail .vphoto a:hover { color: #fff; text-decoration: none; opacity: .92; }

/* 4. TOP PERFORMERS */
.match-detail .perf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.match-detail .perf-toggle { display: inline-flex; padding: 3px; background: #eef1f4; border-radius: 999px; }
.match-detail .pt-btn { appearance: none; border: 0; cursor: pointer; padding: 7px 18px; font-size: 13px; font-weight: 800; color: var(--md-muted); background: transparent; border-radius: 999px; }
.match-detail .pt-btn.active { color: #15202b; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.match-detail .perf-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: #9aa6b2; }
.match-detail .perf-view { display: grid; gap: 10px; }
.match-detail .perf-view[hidden] { display: none; }
.match-detail .perf-row { display: grid; grid-template-columns: minmax(0,1.3fr) repeat(3, minmax(48px,.5fr)); gap: 8px; align-items: center; padding: 13px; background: #f9fafb; border: 1px solid #edf0f3; border-radius: 10px; }
.match-detail .perf-info { display: flex; align-items: center; gap: 11px; min-width: 0; }
.match-detail .perf-av { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto; color: #fff; background: var(--md-head); border-radius: 50%; overflow: hidden; font-size: 15px; font-weight: 900; }
.match-detail .perf-av.home { box-shadow: 0 0 0 2px var(--md-accent); }
.match-detail .perf-av.away { box-shadow: 0 0 0 2px var(--md-away); }
.match-detail .perf-name { display: block; overflow: hidden; font-size: 16px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.match-detail .perf-team { color: var(--md-muted); font-size: 12px; font-weight: 700; }
.match-detail .perf-stat { text-align: center; }
.match-detail .perf-stat strong { display: block; font-size: 26px; font-weight: 900; line-height: 1; }
.match-detail .perf-stat span { display: block; margin-top: 5px; color: #17212d; font-size: 12px; font-weight: 800; }

/* 5. 球隊數據對比（摺疊） */
.match-detail .md-collapsible { padding: 0; overflow: hidden; }
.match-detail .coll-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 14px; background: none; border: 0; cursor: pointer; text-align: left; }
.match-detail .coll-chevron { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; color: var(--md-muted); transition: transform .2s ease; }
.match-detail .coll-chevron::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
.match-detail .coll-head[aria-expanded="true"] .coll-chevron { transform: rotate(180deg); }
.match-detail .coll-body { padding: 2px 14px 16px; }
.match-detail .coll-body[hidden] { display: none; }
.match-detail .compare-teams { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-weight: 900; font-size: 14px; }
.match-detail .compare-team { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.match-detail .compare-team.away { flex-direction: row-reverse; }
.match-detail .mini-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.match-detail .mini-dot.home { background: var(--md-accent); }
.match-detail .mini-dot.away { background: var(--md-away); }
.match-detail .compare-list { display: grid; gap: 14px; }
.match-detail .compare-values { display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; align-items: end; gap: 8px; margin-bottom: 6px; }
.match-detail .compare-values .v { font-size: 21px; font-weight: 900; line-height: 1; color: #9aa3ac; }
.match-detail .compare-values .v:last-child { text-align: right; }
.match-detail .compare-values .v.is-better { color: var(--md-ink); }
.match-detail .compare-values .v small { display: block; font-size: 10px; font-weight: 700; color: var(--md-muted); }
.match-detail .compare-label { color: #17212d; font-size: 14px; font-weight: 900; text-align: center; }
.match-detail .compare-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.match-detail .bar-track { height: 10px; overflow: hidden; background: #eef0f2; }
.match-detail .bar-track:first-child { border-radius: 999px 0 0 999px; }
.match-detail .bar-track:last-child { border-radius: 0 999px 999px 0; }
.match-detail .bar-fill { display: block; height: 100%; }
.match-detail .bar-fill-home { margin-left: auto; background: var(--md-accent); }
.match-detail .bar-fill-away { background: var(--md-away); }

/* 6. 數據統計表 */
.match-detail .md-rosters { margin-top: 10px; }
.match-detail .roster { border: 1px solid var(--md-line); border-radius: 10px; overflow: hidden; }
.match-detail .roster + .roster { margin-top: 12px; }
.match-detail .roster-title { display: flex; align-items: center; gap: 9px; padding: 11px 12px; color: #fff; background: var(--md-head); font-size: 15px; font-weight: 800; border-left: 4px solid var(--md-accent); }
.match-detail .roster.away .roster-title { border-left-color: var(--md-away); }
.match-detail .roster-title a { color: #fff; }
.match-detail .md-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.match-detail table.box { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 760px; font-size: 12px; white-space: nowrap; }
.match-detail table.box th, .match-detail table.box td { padding: 9px 8px; text-align: center; border-bottom: 1px solid #eef0f3; }
.match-detail table.box thead th { position: sticky; top: 0; color: #cdd5dd; background: var(--md-head); font-weight: 700; font-size: 11px; z-index: 2; }
.match-detail table.box thead th abbr { color: #cdd5dd; text-decoration: none; border: 0; }
.match-detail table.box .col-name { position: sticky; left: 0; z-index: 1; text-align: left; background: #fff; box-shadow: 1px 0 0 #eef0f3; }
.match-detail table.box thead .col-name { z-index: 3; background: var(--md-head); }
.match-detail table.box tbody tr:nth-child(even) .col-name { background: #fafbfc; }
.match-detail table.box tbody tr:nth-child(even) td { background: #fafbfc; }
.match-detail table.box .col-no { color: var(--md-muted); font-weight: 800; }
.match-detail table.box .col-name a { color: var(--md-ink); font-weight: 800; }
.match-detail table.box .pts { font-weight: 900; color: var(--md-ink); }
.match-detail table.box .eff { font-weight: 800; }
.match-detail table.box tbody tr:last-child td { border-bottom: 0; }
.match-detail table.box tfoot td { padding: 10px 8px; color: var(--md-ink); background: #eaf0f7; border-top: 2px solid #c5d1df; border-bottom: 0; font-weight: 800; }
.match-detail table.box tfoot .col-name { z-index: 1; background: #eaf0f7; box-shadow: 1px 0 0 #c5d1df; }
.match-detail table.box tfoot .pts { color: var(--md-ink); }

/* Box score: match-scoped period tabs, sortable columns and shared totals. */
.match-detail .md-boxscore { border-radius: 0; border-color: #d6dce3; }
.match-detail .md-boxscore + .md-boxscore { margin-top: 28px; }
.match-detail .md-boxscore .roster-title { justify-content: space-between; border: 0; padding: 15px 16px; background: #111827; font-size: 17px; }
.match-detail .md-boxscore .roster-title > span { color: #b8c4d3; font-size: 11px; letter-spacing: .06em; }
.match-detail .md-boxscore .box-orientation-hint { display: none; }
.match-detail .box-orientation-hint { position: relative; justify-content: center; width: 44px; height: 44px; margin: -10px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.match-detail .box-orientation-hint:focus-visible { outline: 2px solid var(--md-accent); outline-offset: -2px; }
.match-detail .box-orientation-note { display: none; position: absolute; top: 34px; right: -4px; z-index: 12; padding: 8px 10px; border: 1px solid #52657a; border-radius: 4px; background: #263140; color: #fff; font-size: 12px; font-weight: 400; white-space: nowrap; }
.match-detail .box-orientation-hint[aria-expanded="true"] .box-orientation-note { display: block; }
@media (hover: hover) {
    .match-detail .box-orientation-hint:hover .box-orientation-note { display: block; }
}
.match-detail .box-orientation-hint svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) and (orientation: portrait) {
    .match-detail .md-boxscore .box-score-label { display: none; }
    .match-detail .md-boxscore .box-orientation-hint { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; color: #f6c44f; letter-spacing: 0; }
}
.match-detail .box-periods { display: flex; gap: 0; padding: 0 8px; background: #111827; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #52657a #111827; }
.match-detail .box-periods[hidden] { display: none; }
.match-detail .box-periods button { flex: 1 0 auto; min-height: 46px; min-width: 44px; margin: 0; padding: 10px 13px; border: 0; border-bottom: 3px solid transparent; color: #c8d2df; background: transparent; font-size: 12px; font-weight: 800; line-height: 1.4; cursor: pointer; }
.match-detail .box-periods button[aria-selected="true"] { border-bottom-color: var(--md-accent); color: var(--md-accent); }
.match-detail .box-periods button:hover:not(:disabled) { background: #263140; color: #fff; }
.match-detail .box-periods button:disabled { color: #8290a1; cursor: default; }
.match-detail .box-periods button:focus-visible, .match-detail .box-sort:focus-visible { outline: 2px solid var(--md-accent); outline-offset: -3px; }
.match-detail .md-boxscore .box { width: max-content; min-width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.match-detail .md-boxscore table.box th, .match-detail .md-boxscore table.box td { height: 44px; padding: 8px; border-bottom: 1px solid #dce2e9; }
.match-detail .md-boxscore table.box th:nth-child(n+3), .match-detail .md-boxscore table.box td:nth-child(n+3) { min-width: 64px; }
.match-detail .md-boxscore table.box thead th { padding: 0; background: #283341; color: #f3f6fa; font-size: 12px; }
.match-detail .box-sort { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 44px; padding: 8px; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.match-detail .box-sort:hover { background: #364353; }
.match-detail .sort-mark { flex: 0 0 9px; width: 9px; height: 14px; fill: #9daaba; }
.match-detail th[aria-sort="ascending"] .sort-up, .match-detail th[aria-sort="descending"] .sort-down { fill: var(--md-accent); }
.match-detail .md-boxscore .col-no, .match-detail .md-boxscore .col-first, .match-detail .md-boxscore table.box .col-name { position: sticky; z-index: 2; background: #fff; }
.match-detail .md-boxscore .col-no { left: 0; width: 56px; min-width: 56px; max-width: 56px; box-sizing: border-box; }
/* The name slides over the starter column as the statistics scroll. */
.match-detail .md-boxscore .col-first { position: relative; left: auto; z-index: 0; width: 56px; min-width: 56px; max-width: 56px; box-sizing: border-box; }
.match-detail .md-boxscore table.box .col-name { left: 56px; width: 136px; min-width: 136px; max-width: 136px; box-sizing: border-box; box-shadow: 1px 0 0 #c3ccd7; }
.match-detail .md-boxscore table.box .col-name a { display: block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.match-detail .md-boxscore table.box thead .col-no, .match-detail .md-boxscore table.box thead .col-first, .match-detail .md-boxscore table.box thead .col-name { z-index: 4; background: #283341; }
.match-detail .md-boxscore table.box thead .col-first { z-index: 0; }
.match-detail .md-boxscore table.box tbody tr:nth-child(even) .col-no, .match-detail .md-boxscore table.box tbody tr:nth-child(even) .col-first { background: #fafbfc; }
.match-detail .md-boxscore table.box tbody tr:hover td { background: #f0f4f8; }
.match-detail .md-boxscore table.box tbody tr:hover .col-no, .match-detail .md-boxscore table.box tbody tr:hover .col-first, .match-detail .md-boxscore table.box tbody tr:hover .col-name { background: #f0f4f8; }
.match-detail .md-boxscore table.box tfoot td { border-top: 2px solid #adb9c8; border-bottom: 0; background: #edf1f6; color: #17212d; }
.match-detail .md-boxscore table.box tfoot .col-no, .match-detail .md-boxscore table.box tfoot .col-first, .match-detail .md-boxscore table.box tfoot .col-name { background: #edf1f6; }
.match-detail .box-starter { display: inline-block; width: 9px; height: 9px; border: 1px solid #64717c; border-radius: 50%; background: #64717c; font-size: 0; }
.match-detail .box-note { margin: 0; padding: 10px 14px; color: #465467; background: #f2f5f8; font-size: 12px; }
.match-detail .md-boxscore ::selection { background: #f6c44f; color: #111827; }
.match-detail .md-boxscore .md-table-scroll { scrollbar-width: thin; scrollbar-color: #64717c #edf1f6; }
.match-detail .md-boxscore .md-table-scroll:focus-visible { outline: 2px solid #337ab7; outline-offset: -2px; }
@media (max-width: 480px) {
    .match-detail .md-boxscore .roster-title { padding: 13px 12px; }
    .match-detail .box-periods { padding: 0 4px; }
    .match-detail .box-periods button { padding: 10px 9px; }
    .match-detail .md-boxscore table.box .col-name { width: 120px; min-width: 120px; max-width: 120px; }
    .match-detail .md-boxscore table.box .col-name a { max-width: 104px; }
}

@media (min-width: 720px) {
    .match-detail .sb-logo { width: 64px; height: 64px; }
    .match-detail .sb-score { font-size: 52px; }
    .match-detail .sb-name { font-size: 17px; }
    .match-detail table.box { min-width: 0; }
}
@media (max-width: 480px) {
    .match-detail .sb-main { gap: 6px; padding: 14px 10px 12px; }
    .match-detail .sb-side { gap: 8px; }
    .match-detail .sb-logo { width: 40px; height: 40px; }
    .match-detail .sb-name { font-size: 12px; }
    .match-detail .sb-score { font-size: 30px; }
    .match-detail .sb-center { min-width: 44px; }
    .match-detail .sb-status { font-size: 12px; }
    .match-detail .md-section { padding: 11px; }
    .match-detail .perf-row { grid-template-columns: minmax(0,1fr) repeat(3, 40px); gap: 6px; padding: 11px; }
    .match-detail .perf-av { width: 42px; height: 42px; }
    .match-detail .perf-name { font-size: 14px; }
    .match-detail .perf-stat strong { font-size: 21px; }
    .match-detail .compare-values { grid-template-columns: 50px minmax(0,1fr) 50px; }
    .match-detail .compare-values .v { font-size: 18px; }
    .match-detail .compare-label { font-size: 13px; }
    .match-detail .pt-btn { padding: 7px 14px; }
}


/* BGCA adaptations: logo-free teams and the same fluid content width as the masthead. */
body.bgca-public-match .match-detail{width:100%;max-width:none;padding:0;margin:24px 0;color:var(--md-ink);--md-brand:#111827;--md-head:#2b343d;--md-accent:#f6c44f;--md-away:#3f63e8}
.match-detail .sb-side{min-width:0}.match-detail .sb-name{white-space:normal;overflow-wrap:anywhere}
.match-detail .sb-main{display:flex}.match-detail .sb-nm{max-width:100%}
.match-detail .md-section,.match-detail .md-linescore,.match-detail .md-video-wrap{box-shadow:none}
.match-detail [hidden]{display:none!important}.match-detail .md-table-scroll{max-width:100%}
.match-detail .md-linescore table{min-width:0}.match-detail .md-linescore th:first-child{max-width:240px;white-space:normal;overflow-wrap:anywhere}
.match-detail .md-linescore td,.match-detail .md-linescore th{font-size:inherit}
.match-detail .md-video{display:block;color:inherit}.match-detail .md-video .poster{border:0;width:100%;padding:0;cursor:pointer;font:inherit}
.match-detail .md-video .poster:focus-visible{outline:3px solid var(--md-accent);outline-offset:-3px}
.match-detail .md-video .vlabel{text-align:left}.match-detail .md-video-modebar .md-video-mode:disabled{opacity:.4;cursor:default}
.match-detail .perf-row{grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(48px,.5fr))}.match-detail .perf-info>div{min-width:0}
.match-detail .perf-team{display:block}.match-detail .md-video-wrap.has-video{position:relative}
.match-detail .box-note{margin:0;padding:10px 12px;color:#64717c;background:#f8fafc;font-size:12px}
@media(max-width:480px){body.bgca-public-match .match-detail{margin-top:16px}.match-detail .perf-row{grid-template-columns:minmax(0,1fr) repeat(3,40px)}.match-detail .perf-info{gap:6px}.match-detail .perf-av{width:32px;height:32px}.match-detail .perf-team{font-size:10px}.match-detail .perf-stat span{font-size:10px}.match-detail .sb-main{gap:6px}.match-detail .sb-meta{font-size:11px;gap:4px 10px}.match-detail table.linescore{font-size:12px}.match-detail table.linescore th,.match-detail table.linescore td{padding:8px 4px}.match-detail .md-section{padding:10px}.match-detail .md-collapsible{padding:0}}
body.bgca-public-match .match-detail { --md-accent:#f87917; --md-away:#0874bd; }
.match-detail .sb-tri.to-home { border-left:0; }
.match-detail .sb-tri.to-away { border-right:0; }

/* Live scorer feedback shares the scorebar's responsive metadata treatment. */
.match-detail .sb-live-state { display:flex; flex-wrap:wrap; gap:6px 18px; padding:8px 14px; color:#d6dee8; font-size:12px; border-top:1px solid rgba(255,255,255,.08); }
.match-detail .sb-live-state[hidden] { display:none; }
