/* Match status leads; utilities share a quiet, predictable right edge. */
html:root body #board .stage-header.kt-match-header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:44px!important;gap:16px!important;border:0!important;color:var(--sg-ink,var(--board-ink,#f0ebe1))}
html:root body #board .kt-match-header h2{display:none!important}
html:root body #board .kt-match-header .kt-match-status{display:flex!important;align-items:center;gap:20px;min-width:0;flex:1}
html:root body #board .kt-match-header .astra-board-caption{display:flex!important;align-items:center;gap:0;min-width:0;margin:0!important;max-width:none!important;color:inherit!important;font:500 16px/1.35 Archivo,Arial,sans-serif!important;white-space:nowrap}
html:root body #board .kt-match-header .astra-board-caption::before{content:'';width:7px;height:7px;flex:none;margin-right:9px;border-radius:50%;background:var(--turn-color,#e0bd72)}
html:root body #board .kt-match-header #currentTeamName{overflow:hidden;text-overflow:ellipsis;font-weight:650;color:inherit!important}
html:root body #board .kt-match-header .astra-progress{display:flex!important;position:static!important;flex:none;margin:0!important;text-align:left;color:var(--sg-muted,#c0c9c7)!important;font:400 12px/1.4 Archivo,Arial,sans-serif!important}
html:root body #board .kt-match-header .astra-progress>div:first-child{display:flex!important;align-items:center;gap:8px}
html:root body #board .kt-match-header .astra-progress strong{display:inline!important;margin:0!important;color:inherit!important;font:inherit!important;text-transform:capitalize}
html:root body #board .kt-match-header #astra-progress-label::before{content:'·';margin-right:8px}
html:root body #board .kt-match-header .stage-header__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;position:static!important;flex-wrap:nowrap!important;flex:none;margin:0 0 0 auto!important;gap:4px!important;transform:none!important}
html:root body #board .kt-match-header .astra-sound-slot{order:1;margin:0!important}
html:root body #board .kt-match-header #kt-tv-toggle{order:2}
html:root body #board .kt-match-header .kt-kebab-wrap{order:3;flex:none}
html:root body #board .kt-match-header #astra-undo{order:0}
html:root body #board .kt-match-header :is(.astra-sound-button,#kt-tv-toggle,.kt-kebab-btn){display:inline-flex!important;position:static!important;inset:auto!important;align-items:center!important;justify-content:center!important;flex:none!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:var(--sg-muted,#c0c9c7)!important;box-shadow:none!important;backdrop-filter:none!important;transform:none!important;cursor:pointer}
html:root body #board .kt-match-header :is(.astra-sound-button,#kt-tv-toggle,.kt-kebab-btn):hover{background:#ffffff0d!important;color:#fff!important}
html:root body #board .kt-match-header :is(.astra-sound-button,#kt-tv-toggle,.kt-kebab-btn):focus-visible{outline:2px solid var(--sg-brass,#e0bd72)!important;outline-offset:1px}
html:root body #board .kt-match-header .astra-sound-button span{display:none!important}
html:root body #board .kt-match-header .astra-sound-button svg{width:19px!important;height:19px!important}
html:root body #board .kt-match-header .kt-kebab-btn{font:600 24px/1 Arial,sans-serif!important}
html:root body #board .kt-match-header #kt-tv-toggle{font-size:0!important}
html:root body #board .kt-match-header #kt-tv-toggle::before{content:'';width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' d='M9 3H3v6m12-6h6v6M3 15v6h6m12-6v6h-6'/%3E%3C/svg%3E") center/contain no-repeat}
html:root body.kt-tv #board .kt-match-header #kt-tv-toggle::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' d='M3 9h6V3m6 0v6h6M9 21v-6H3m18 0h-6v6'/%3E%3C/svg%3E")}
@media(max-width:700px){
 html:root body #board .kt-match-header .kt-match-status{flex-direction:column;align-items:flex-start;gap:2px}
 html:root body #board .stage-header.kt-match-header{gap:8px!important}
 html:root body #board .kt-match-header .astra-board-caption{font-size:13px!important;max-width:100%!important}
 html:root body #board .kt-match-header .astra-progress{font-size:11px!important}
 html:root body #board .kt-match-header .stage-header__actions{gap:0!important}
}

html:root body #board .kt-match-header #kt-tv-toggle svg{display:none!important}
