/* Compact broadcast-style HUD. Does not resize the logical pitch. */
.game-shell .shell-match-hud{grid-template-columns:minmax(145px,1fr) minmax(320px,660px) minmax(170px,1fr);grid-template-rows:42px 22px;gap:2px 16px;padding:4px 20px;background:linear-gradient(#2b2024f2,#1a1720ed);border-bottom:1px solid #ad80444d;align-items:center}
.game-shell .shell-match-hud>.hud:first-child{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)!important;gap:0;align-self:stretch;border:1px solid #ac824a;border-radius:4px;background:#18151d;overflow:hidden}
.game-shell .shell-match-hud .scoreboard>.hudbox{height:40px;border:0;border-radius:0;background:transparent;box-shadow:none;gap:14px;padding:4px 12px;display:flex;justify-content:flex-end;position:relative}
.game-shell .shell-match-hud .scoreboard>.hudbox:last-child{justify-content:flex-start}
.game-shell .scoreboard .hudbox.team-in-turn{background:linear-gradient(90deg,#71503255,#b17e3022)}
.game-shell .scoreboard .hudbox.team-in-turn:after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:2px;background:#f5cc76}
.game-shell .scoreboard .score{display:grid;place-items:center;min-width:34px;max-width:none;height:32px;color:#fff1cf;font:700 30px/1 Consolas,monospace;text-shadow:2px 2px #000;font-variant-numeric:tabular-nums}
.game-shell .scoreboard .badge-team{font-size:12px;min-width:0;max-width:calc(100% - 50px);border-radius:3px;padding:4px 7px;gap:6px;white-space:nowrap}
.game-shell .scoreboard .versus{display:grid;place-items:center;color:#a28a6b;font-size:13px;background:#100e15;align-self:stretch}
.scoreboard-clocks{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;align-self:stretch}
.game-shell .scoreboard-clocks .status-token{padding:2px 9px;border:1px solid #745b3b66;border-radius:3px;background:#0f1018;color:#e6d5b9;font-size:10px;min-height:20px;display:flex;align-items:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.game-shell .scoreboard-clocks #shot-timer{color:#ffe19c}
.game-shell .scoreboard-clocks #touch-display{color:#9edcca;border-color:#6fa78f99;background:#142c27}
.game-shell .shell-match-hud>.hud-turn{grid-column:3;grid-row:1/3;align-items:flex-start;gap:5px;min-width:0}
.game-shell .shell-match-hud .hud-turn>.hudbox{height:auto;min-height:20px;padding:0;gap:7px;max-width:100%;font-size:10px}
.game-shell .hud-turn #turn-label{font-size:10px;max-width:180px}.game-shell .hud-turn #turn-details{font-size:8px;max-width:100px}
.game-shell .shell-match-hud .hud-turn .hud-right{color:#bea47e;font-size:8px;min-height:15px;gap:5px}
.game-shell .shell-match-hud .hud-turn .hud-right strong{font-size:9px}
.game-shell .shell-match-hud>.match-status{grid-column:1;grid-row:1/3;flex-wrap:wrap;justify-content:flex-end;align-content:center;gap:5px;max-height:64px;overflow:hidden}
.game-shell .shell-match-hud>.match-status .status-token{font-size:8px;background:transparent;color:#bfa98b;padding:1px 3px;min-height:14px}
@media(max-width:1100px) and (min-width:621px){.game-shell .shell-match-hud{grid-template-columns:minmax(0,1fr) 200px;gap:2px 12px;padding:4px 12px}.game-shell .shell-match-hud>.hud:first-child,.scoreboard-clocks{grid-column:1}.game-shell .shell-match-hud>.hud-turn{grid-column:2}.game-shell .shell-match-hud>.match-status{display:none!important}.game-shell .hud-turn #turn-details{display:none}}
@media(max-width:620px) and (orientation:portrait){
 .game-shell .shell-match-hud{grid-template-columns:1fr;grid-template-rows:32px 18px 20px 12px;padding:3px 8px;gap:0}
 .game-shell .shell-match-hud>.hud:first-child{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)!important}
 .game-shell .shell-match-hud .scoreboard>.hudbox{height:30px;padding:2px 5px;gap:5px}
 .game-shell .scoreboard .score{font-size:24px;min-width:27px;height:27px}
 .game-shell .scoreboard .badge-team{font-size:9px;padding:3px 4px;gap:3px;max-width:calc(100% - 30px)}
 .scoreboard-clocks{grid-column:1;grid-row:2;gap:6px}
 .game-shell .scoreboard-clocks .status-token{font-size:8px;padding:0 6px;min-height:16px}
 .game-shell .shell-match-hud>.hud-turn{grid-column:1;grid-row:3;flex-direction:row;justify-content:center;align-items:center;gap:10px}
 .game-shell .shell-match-hud .hud-turn>.hudbox{min-height:16px;font-size:8px;gap:4px}.game-shell .hud-turn #turn-label{font-size:8px;max-width:105px;padding:2px 4px}.game-shell .hud-turn #turn-details{display:none}
 .game-shell .shell-match-hud .hud-turn .hud-right{font-size:7px;min-height:14px}.game-shell .shell-match-hud .hud-turn .hud-right strong{font-size:8px}
 .game-shell .shell-match-hud>.match-status{display:flex!important;grid-column:1;grid-row:4;justify-content:center;flex-wrap:nowrap;gap:2px;max-height:12px}.game-shell .shell-match-hud>.match-status .status-token{font-size:6px;min-height:10px;white-space:nowrap;padding:0 2px}
}
@media(orientation:landscape) and (max-height:500px){
 .game-shell .shell-match-hud{grid-template-columns:minmax(0,1fr) 155px;grid-template-rows:32px 18px;padding:3px 9px;gap:1px 10px}
 .game-shell .shell-match-hud>.hud:first-child{grid-column:1;grid-row:1}.scoreboard-clocks{grid-column:1;grid-row:2}
 .game-shell .shell-match-hud>.hud-turn{grid-column:2;grid-row:1/3;flex-direction:column;align-items:flex-start;gap:3px}
 .game-shell .shell-match-hud>.match-status{display:none!important}
 .game-shell .shell-match-hud .scoreboard>.hudbox{height:30px;padding:2px 6px;gap:7px}.game-shell .scoreboard .score{font-size:25px;min-width:28px;height:28px}.game-shell .scoreboard .badge-team{font-size:9px;padding:2px 5px;max-width:calc(100% - 35px)}
 .game-shell .scoreboard-clocks .status-token{font-size:8px;min-height:16px;padding:0 7px}.game-shell .hud-turn #turn-details{display:none}.game-shell .hud-turn #turn-label{font-size:9px;max-width:115px}
}
