/* Existing event cards expand into one responsive spectator workspace. */
.match-centre{min-width:0;padding:0;overflow:clip;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:16px 0}
.match-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;padding:24px;list-style:none;background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--accent) 10%,transparent),transparent 75%)}
.match-summary::-webkit-details-marker{display:none}.match-summary-title{font-size:clamp(21px,3vw,30px);line-height:1.15;font-weight:750;letter-spacing:-.035em;overflow-wrap:anywhere}.match-summary-action{display:flex;align-items:center;gap:12px;flex-shrink:0;font-size:12px;font-weight:650;color:var(--accent-strong)}.match-summary-action>span{transition:transform .2s}.match-centre[open] .match-summary-action>span{transform:rotate(180deg)}
.match-content{padding:0 24px 24px}.match-action-bar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;padding:16px 0;border-top:1px solid var(--line)}.match-action-bar .action-row{margin:0;gap:8px}.match-connection{font-size:11px;color:var(--muted)}.match-connection[data-connection=connected]{color:var(--good)}.match-connection[data-connection=reconnecting]{color:var(--warn)}
.match-tabs{display:none}.match-pane{min-width:0;padding:20px 0;border-top:1px solid var(--line)}.match-pane h3{font-size:18px;margin:0}.match-pane .section-header{align-items:center;margin-bottom:12px}.match-standings-scroll{border:1px solid var(--line);border-radius:14px}.match-standings-table{width:100%;margin:0}.match-standings-table td,.match-standings-table th{padding:12px;white-space:nowrap}.match-standings-table th{font-size:10px}.match-standings-table .score-value{font-size:17px;font-weight:750}.match-standings-table .leaderboard-team{gap:9px}.match-team-logo,.match-standings-table .team-logo{width:28px;height:28px;object-fit:contain;border-radius:6px}.match-standings-table strong{display:block;max-width:240px;white-space:normal;overflow-wrap:anywhere}
.match-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.match-selectors label{display:grid;gap:7px;font-size:11px;color:var(--muted);margin:0}.match-selectors select{width:100%;margin:0;min-height:42px}.match-comparison-summary{padding:12px 15px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent) 6%,var(--surface-2));font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.match-board-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.match-board-grid.is-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}.match-board-slot{min-width:0}.match-board-slot .public-board-panel{margin:0;padding:16px;box-shadow:none;background:var(--surface-2)}.match-board-slot:nth-child(2) .public-board-panel{border-color:color-mix(in srgb,#2f8a9a 45%,var(--line))}.match-board-slot .public-board-controls{gap:12px}.match-board-slot .public-board-controls h4{font-size:16px;overflow-wrap:anywhere}.match-board-slot .public-board-zoom input{width:80px}.match-board-slot .board-scroll{max-height:590px}.match-tile-comparison{position:static;display:block;flex:0 0 auto;max-width:100%;font-size:8px;line-height:1.1;font-weight:700;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-objective-tile[data-comparison=ab] .match-tile-comparison{color:var(--good)}.public-objective-tile[data-comparison=a] .match-tile-comparison{color:var(--accent-strong)}.public-objective-tile[data-comparison=b] .match-tile-comparison{color:#2f8a9a}.public-objective-tile.is-unassigned{opacity:.55}
.match-feed-scroll{max-height:360px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:14px;padding:0 16px;background:var(--surface-2);scrollbar-gutter:stable}.match-feed{list-style:none;padding:0;margin:0}.match-feed-item{display:flex;justify-content:space-between;gap:18px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.match-feed-item:last-child{border:0}.match-feed-item time{white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0}.match-feed-item.is-superseded{color:var(--muted)}.match-feed-scroll>p{padding:18px 0}.match-event-details{margin:24px 0}.match-event-details>summary{cursor:pointer;padding:14px 0;color:var(--muted);font-size:13px}.match-event-details[open]>summary{margin-bottom:12px}
.match-pane[hidden],.match-board-slot[hidden],.match-content[hidden],.match-centre [data-match-unavailable][hidden],.match-comparison-summary[hidden],.match-centre [data-match-new][hidden],.match-centre [data-match-lifecycle][hidden]{display:none}
@media(min-width:1150px){.match-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.38fr);column-gap:24px}.match-action-bar,.match-content>.notice,.match-standings-pane{grid-column:1/-1}.match-board-pane{grid-column:1}.match-updates-pane{grid-column:2}.match-feed-scroll{max-height:650px}.match-feed-item{display:grid;gap:5px}.match-board-grid.is-comparison{grid-template-columns:minmax(0,1fr)}.match-board-grid.is-comparison .board-scroll{max-height:390px}}
@media(max-width:760px){.match-summary{padding:18px;gap:12px}.match-summary-action{font-size:0;gap:0}.match-summary-action>span{font-size:22px}.match-content{padding:0 14px 16px}.match-action-bar{align-items:flex-start;gap:12px}.match-action-bar .action-row{width:100%;flex-wrap:wrap}.match-tabs{display:flex;gap:5px;padding:6px;border-radius:14px;background:var(--surface-2);margin:8px 0 16px}.match-tabs [role=tab]{flex:1;margin:0;border:0;background:transparent;color:var(--muted);padding:10px 7px;min-height:40px;border-radius:10px;font-size:12px;box-shadow:none}.match-tabs [aria-selected=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.match-pane{padding-top:12px}.match-board-grid.is-comparison{grid-template-columns:minmax(0,1fr)}.match-selectors{gap:10px}.match-board-slot .public-board-panel{padding:10px}.match-feed-item{display:grid;gap:5px}.match-standings-table strong{max-width:150px}.match-board-slot .board-scroll{max-height:480px}}
@media(prefers-reduced-motion:reduce){.match-summary-action>span{transition:none}}

.match-unavailable{margin:0 24px 24px}
@media(min-width:1150px){.match-centre.is-comparison .match-board-pane,.match-centre.is-comparison .match-updates-pane{grid-column:1/-1}.match-centre.is-comparison .match-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.match-centre.is-comparison .match-feed-scroll{max-height:360px}}

.match-standings-toggle, .match-standings-breakdown { display: none; }
.match-standings-provisional { display: block; font-size: .63rem; color: var(--warn); font-weight: 700; }
.match-standings-provisional[hidden] { display: none; }
.match-standings-table .team-logo { flex: 0 0 28px; }
@media (max-width: 760px) {
  .match-standings-toggle { display: inline-flex; margin-block: 0 .65rem; }
  .match-standings-scroll:not(.is-detailed) .match-standings-detail { display: none; }
  .match-standings-scroll:not(.is-detailed) .match-standings-breakdown {
    display: flex; flex-wrap: wrap; gap: .12rem .48rem; padding-inline-start: 37px;
    font-size: .7rem; color: var(--muted);
  }
  .match-standings-scroll:not(.is-detailed) .match-standings-table { min-width: 0 !important; table-layout: fixed; }
  .match-standings-scroll:not(.is-detailed) th:first-child { width: 3.2rem; }
  .match-standings-scroll:not(.is-detailed) th:nth-child(3) { width: 4.5rem; }
  .match-standings-scroll:not(.is-detailed) :is(td,th) { padding: .55rem .4rem; white-space: normal; }
  .match-standings-scroll:not(.is-detailed) .score-value { text-align: end; font-variant-numeric: tabular-nums; }
}

/* Comparison has its own in-flow footer row, including inside round tiles. */
.match-board-grid.is-comparison .public-objective-tile .public-tile-picture{flex-basis:52px;max-height:52px}
.match-board-grid.is-comparison .public-objective-tile .public-tile-picture img{height:52px}
.match-board-grid.is-comparison .public-objective-tile .tile-status{flex:0 0 auto;line-height:1.2}
