.ctf-round-page .ctf-window-status { color:var(--public-text-muted); font-size:.8rem; }
.ctf-round-page .ctf-window-status:has([data-ctf-status]:empty):has([data-ctf-error][hidden]) { display:none; }
.ctf-round-page .ctf-timeline-pagination { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; padding-top:10px; font-size:.8rem; }
.ctf-round-page .ctf-timeline-pagination button, .ctf-round-page [data-ctf-retry] { min-height:44px; padding:8px 12px; border:1px solid var(--public-border); border-radius:8px; color:inherit; background:var(--public-surface-raised); }
.ctf-round-page .ctf-timeline-pagination button:focus-visible, .ctf-round-page [data-ctf-retry]:focus-visible { outline:2px solid var(--public-focus); outline-offset:3px; }
.ctf-round-page .ctf-timeline-pagination button:disabled { opacity:.45; }
.ctf-round-page .ctf-result-evidence { padding:12px 16px; border:1px solid var(--public-border); border-radius:var(--public-radius-md); margin:16px 0; font-size:.85rem; }
.ctf-round-page .ctf-result-evidence summary { min-height:44px; display:flex; align-items:center; cursor:pointer; }
.ctf-round-page .ctf-selection-context { font-size:.8rem; padding:8px; border:1px solid currentColor; }
.ctf-round-page .ctf-member-list { display:grid; gap:6px; max-height:300px; overflow-y:auto; }
.ctf-round-page .ctf-member-list button { display:flex; gap:8px; align-items:center; min-height:44px; width:100%; padding:8px; border:1px solid var(--public-border); border-radius:8px; background:var(--public-surface-raised); color:inherit; text-align:left; }
.ctf-round-page .ctf-member-list strong { min-width:0; overflow-wrap:anywhere; white-space:normal; overflow:visible; text-overflow:clip; }
.ctf-round-page .round-popover-score-chain:has(.ctf-member-list) { max-height:none; overflow:visible; }
.ctf-round-page .ctf-member-list { max-height:210px; }
.ctf-round-page .ctf-member-list button { content-visibility:visible; contain-intrinsic-size:none; }
.ctf-round-page [data-ctf-member-panel] { margin:8px 0; }
.ctf-round-page [data-ctf-progression-label] { max-width:140px; font-size:.72rem; color:var(--public-text-muted); }
@media (max-width:680px) {
    .ctf-round-page .round-scoreboard-table { overflow:visible; }
    .ctf-round-page .round-scoreboard-data { width:100%; min-width:0; max-width:100%; }
    .ctf-round-page .round-scoreboard-data :is(tbody,tr,td) { min-width:0; max-width:100%; }
    .ctf-round-page .round-scoreboard-data tbody tr>td { width:auto; flex-wrap:wrap; overflow-wrap:anywhere; }
    .ctf-round-page .round-player-identity { min-width:0; max-width:100%; }
    .ctf-round-page .round-player-identity-meta { white-space:normal; overflow-wrap:anywhere; }
}

.ctf-round-page [data-ctf-cluster-zoom] { min-height:44px; border:1px solid var(--public-border); border-radius:8px; background:var(--public-surface-raised); color:inherit; padding:8px 12px; }

/* The established timeline stays dark in either page theme. */
.ctf-round-page [data-round-timeline] :is(.ctf-member-list button, .ctf-timeline-pagination button, [data-ctf-retry], [data-ctf-cluster-zoom]) {
    background:rgba(255,255,255,.035);
    border-color:var(--timeline-line-soft);
    color:var(--timeline-text);
}
.ctf-round-page [data-round-timeline] :is(.ctf-member-list button, .ctf-timeline-pagination button, [data-ctf-retry], [data-ctf-cluster-zoom]):is(:hover,:focus-visible) {
    background:rgba(var(--timeline-neutral-rgb),.1);
}
.ctf-round-page [data-round-timeline] :is(.ctf-window-status, [data-ctf-progression-label]) { color:var(--timeline-muted); }
