.combined-basketball-page { background: #08090c; }
.combined-basketball-app, .combined-basketball-app * { box-sizing: border-box; }
.combined-basketball-app {
    min-height: 100vh;
    color: #f5f0e6;
    background: radial-gradient(circle at 50% 0, rgba(226,174,53,.08), transparent 34%), #08090c;
}
.combined-master-toolbar {
    position: sticky; z-index: 80; top: 0;
    border-bottom: 1px solid #2d3038;
    background: rgba(13,14,18,.97); backdrop-filter: blur(12px);
}
.combined-master-toolbar .scorekeeper-toolbar__inner {
    width: min(100%,1560px); min-height: 54px;
    grid-template-columns: auto minmax(100px,1fr) auto;
    padding: 6px clamp(12px,2.4vw,36px); gap: 14px;
}
.combined-master-toolbar .scorekeeper-toolbar__inner > span:nth-child(2) { color: #c7c8ce; text-align: center; }
.combined-master-toolbar .scorekeeper-toolbar__actions { gap: 6px; }
.combined-master-toolbar button { min-height: 38px; padding: 7px 10px; white-space: nowrap; }
.combined-game-surface { width: min(100%,1580px); margin: 0 auto; padding: 12px clamp(10px,2vw,30px) 28px; }
.combined-clock-actions {
    min-height: 48px; padding: 6px 0 10px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    color: #a9aab1; font-size: 12px;
}
.combined-clock-actions > span { color: #e8c45f; }
.combined-clock-actions > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.combined-clock-actions button, .combined-statusbar button, .combined-operator-controls button {
    min-height: 38px; padding: 7px 10px;
    border: 1px solid #3c3f48; color: #d7d7dc; background: #1a1c22;
    font-weight: 800; cursor: pointer;
}
.combined-clock-actions [data-sound-toggle].is-ready { color: #72eba1; border-color: #2f6847; }
.combined-clock-actions [data-sound-toggle].is-off { color: #ff9a9d; border-color: #63383a; }
.combined-clock-actions .clock-independent-lock { color: #f0c65b; border-color: #745a22; }
.combined-clock-actions .clock-independent-lock.is-unlocked { color: #111; border-color: #e2ae35; background: #e2ae35; }
.combined-live-board {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(300px,.68fr) minmax(0,1fr);
    grid-template-areas: "home centre visitor" "home possession visitor";
    grid-template-rows: minmax(0,1fr) auto;
    gap: clamp(10px,1.4vw,20px); padding: clamp(10px,1.4vw,20px);
    border: 1px solid #4a3812; border-radius: 20px;
    background: rgba(2,3,5,.94);
    box-shadow: 0 18px 50px rgba(0,0,0,.26), inset 0 0 36px rgba(226,174,53,.035);
}
.combined-live-board .score-team {
    min-width: 0; padding: clamp(10px,1.4vw,18px);
    display: flex; flex-direction: column;
    border: 1px solid #30333b; border-radius: 16px;
    background: linear-gradient(180deg,#0d0e12,#08090c);
}
.combined-live-board .score-team--home { grid-area: home; }
.combined-live-board .score-team--visitor { grid-area: visitor; }
.combined-live-board .score-team.is-selected { border-color: #8a6821; box-shadow: inset 0 0 0 1px rgba(226,174,53,.2); }
.combined-live-board .score-team.has-possession { border-color: #43cd7b; box-shadow: 0 0 22px rgba(69,199,122,.12), inset 0 0 0 1px rgba(69,199,122,.2); }
.combined-live-board .score-team > header { min-height: 36px; }
.combined-live-board .score-team > header button { font-size: clamp(17px,2vw,25px); }
.combined-live-board .score-display { flex: 1 1 230px; min-height: 190px; height: auto; margin-top: 7px; border-radius: 10px; }
.combined-live-board .score-display output { font-size: clamp(150px,18vw,290px); }
.combined-live-board .score-team--home .score-display output { color: #f3c84f; }
.combined-live-board .score-team--visitor .score-display output { color: #59c7ff; }
.combined-live-board .team-counters { margin-top: 8px; gap: 7px; }
.combined-live-board .team-counters section { padding: 8px; }
.combined-live-board .team-counters h2 { margin-bottom: 6px; }
.combined-live-board .team-counters section > div { grid-template-columns: 34px 1fr 34px; gap: 5px; }
.combined-live-board .team-counters button { width: 34px; height: 34px; }
.combined-live-board .team-counters output { font-size: 28px; }
.combined-live-board .score-buttons { margin-top: 8px; gap: 6px; }
.combined-live-board .score-buttons button { min-height: 52px; }
.combined-centre-console { grid-area: centre; min-width: 0; display: grid; align-content: start; gap: 8px; }
.combined-centre-console .segment-control, .combined-centre-console .clock-column, .combined-live-board > .possession-control {
    padding: 10px; border: 1px solid #30333b; border-radius: 12px; background: #101116;
}
.combined-centre-console .segment-control {
    display: grid; grid-template-columns: auto 1fr auto;
    grid-template-areas: "label period format" "buttons buttons buttons";
    align-items: center; gap: 3px 10px;
}
.combined-centre-console .segment-control > span { grid-area: label; }
.combined-centre-console .segment-control > strong { grid-area: period; margin: 0; font-size: clamp(42px,5vw,66px); }
.combined-centre-console .segment-control > small { grid-area: format; }
.combined-centre-console .segment-control > div { grid-area: buttons; margin-top: 5px; }
.combined-centre-console .clock-column--main, .combined-centre-console .clock-column--shot { padding: 10px; border-right: 1px solid #30333b; }
.combined-centre-console .clock-column { display: block; }
.combined-centre-console .clock-panel-heading { min-height: 28px; }
.combined-centre-console .clock-panel-heading h2 { font-size: 14px; }
.combined-centre-console .clock-panel-heading__status { gap: 5px; }
.combined-centre-console .clock-state, .combined-centre-console .clock-power-switch { min-height: 27px; padding: 5px 7px; font-size: 9px; }
.combined-centre-console .clock-face { height: auto; min-height: 104px; margin-top: 5px; border-radius: 8px; }
.combined-centre-console .clock-face--shot output { font-size: clamp(72px,8vw,116px); }
.combined-centre-console .clock-face--main output { font-size: clamp(60px,6.7vw,96px); }
.combined-centre-console .shot-reset-actions { margin-top: 6px; grid-template-columns: 1fr 1fr; gap: 6px; }
.combined-centre-console .shot-reset-action { min-height: 52px; }
.combined-centre-console .shot-reset-action strong { font-size: 29px; }
.combined-centre-console .shot-primary-actions { margin-top: 6px; }
.combined-centre-console .shot-primary-actions button { min-height: 42px; font-size: 12px; }
.combined-centre-console .main-primary-actions { margin-top: 6px; grid-template-columns: 1fr 1fr; gap: 6px; }
.combined-centre-console .main-primary-actions .clock-primary-action { grid-column: 1 / -1; min-height: 48px; }
.combined-centre-console .main-primary-actions .clock-secondary-action,
.combined-centre-console .clock-reset-both-action {
    min-height: 40px; padding: 6px 5px; border: 1px solid #4a4d57;
    color: #f2f2f4; background: #272a31; font-size: 11px; font-weight: 900;
    letter-spacing: .02em; text-transform: uppercase; cursor: pointer;
}
.combined-centre-console .clock-reset-both-action { color: #111; border-color: #d7a42f; background: #e2ae35; }
.combined-centre-console .clock-independent-lock {
    grid-column: 1 / -1; min-height: 34px; padding: 5px;
    border: 1px solid #745a22; color: #f0c65b; background: #19160f;
    font-size: 10px; font-weight: 900; text-transform: uppercase; cursor: pointer;
}
.combined-centre-console .clock-independent-lock.is-unlocked { color: #111; border-color: #e2ae35; background: #e2ae35; }
.combined-live-board > .possession-control { grid-area: possession; }
.combined-live-board > .possession-control strong { min-height: auto; margin-top: 4px; }
.combined-live-board > .possession-control > div { margin-top: 7px; gap: 5px; }
.combined-live-board > .possession-control button { min-height: 34px; }
.combined-live-board > .possession-control .possession-control__note { display: none; }
.combined-operator-controls { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.combined-operator-controls details { border: 1px solid #30333b; background: #101116; }
.combined-operator-controls summary { padding: 13px 15px; color: #e7c35d; font-weight: 900; cursor: pointer; }
.combined-clock-details, .combined-score-details { padding: 0 12px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.clock-detail-group { min-width: 0; padding: 10px; border: 1px solid #292c33; background: #0b0c10; }
.clock-detail-group > strong { display: block; margin-bottom: 8px; color: #aaaab2; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.clock-detail-group .clock-adjustments { margin-top: 7px; }
.clock-detail-group .clock-adjustments--main { grid-template-columns: repeat(6,1fr); }
.clock-detail-group .clock-adjustments--shot { grid-template-columns: repeat(4,1fr); }
.clock-detail-group .clock-adjustments button { min-width: 0; padding-inline: 4px; }
.clock-detail-group .clock-game-actions { margin-top: 7px; }
.clock-detail-group > button, .clock-detail-group .shot-primary-actions button, .clock-detail-group .clock-secondary-action { width: 100%; }
.clock-sync-control, .clock-status-control {
    min-width: 0; padding: 8px;
    display: flex; align-items: center; gap: 10px;
    border: 1px solid #3b3523; background: #12110e;
}
.clock-sync-control button {
    min-width: 270px; color: #c9cbd1; border-color: #4a4d56; background: #202229;
}
.clock-sync-control button.is-locked { color: #111; border-color: #e2ae35; background: #e2ae35; }
.clock-sync-control small { color: #92949b; font-size: 10px; line-height: 1.35; }
.clock-status-control { border-color: #292c33; background: #0b0c10; }
.clock-status-control button { flex: 0 0 auto; }
.clock-status-control p {
    min-width: 0; margin: 0; overflow: hidden;
    color: #aaaab2; font-size: 11px; line-height: 1.35;
    text-overflow: ellipsis; white-space: nowrap;
}
.combined-score-details .segment-score-summary, .combined-score-details .segment-history, .combined-score-details .game-reset-actions { padding: 10px; }
.combined-score-details .arrow-scoring-warning, .combined-score-details .game-reset-actions { grid-column: 1 / -1; }
.combined-statusbar {
    min-height: 48px; margin-top: 10px; padding: 7px;
    display: grid; grid-template-columns: auto minmax(0,1fr);
    align-items: center; gap: 8px; border: 1px solid #30333b; background: #101116;
}
.combined-statusbar p { margin: 0; overflow: hidden; color: #aaaab2; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.combined-game-surface .clock-fullscreen-brand { margin-top: 10px; border: 1px solid #30333b; }
.combined-about {
    width: min(100%,1500px); margin: 0 auto; padding: 46px clamp(16px,3vw,44px) 54px;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,76px); color: #f0ece3;
}
.combined-about > div > p:first-child { margin: 0 0 7px; color: #e2ae35; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.combined-about h2 { margin: 0; font: 900 clamp(32px,4vw,52px)/1 "Barlow Condensed",sans-serif; text-transform: uppercase; }
.combined-about h2 + p, .combined-about li { color: #a8a9b0; font-size: 13px; line-height: 1.65; }
.combined-about ul { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.combined-about li { padding: 13px 15px 13px 42px; border: 1px solid #30323a; background: #121319; }
.combined-about li::before { content: "✓"; margin-left: -27px; margin-right: 12px; color: #65e99a; font-weight: 900; }

@media (max-width: 980px) {
    .combined-master-toolbar .scorekeeper-toolbar__inner { grid-template-columns: auto 1fr; }
    .combined-master-toolbar .scorekeeper-toolbar__actions { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; }
    .combined-clock-actions { align-items: start; flex-direction: column; }
    .combined-clock-actions > div { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    .combined-live-board { grid-template-columns: minmax(0,1fr) minmax(250px,.78fr) minmax(0,1fr); }
    .combined-live-board .score-display output { font-size: clamp(105px,15vw,170px); }
    .combined-clock-details, .combined-score-details { grid-template-columns: 1fr; }
    .combined-score-details .arrow-scoring-warning, .combined-score-details .game-reset-actions { grid-column: auto; }
}

/*
 * Regular desktop is an operator dashboard, not a long-form page. Compacting
 * vertical chrome keeps every game control visible before fullscreen while
 * preserving the large score digits and three-column KSMS-style hierarchy.
 */
@media (min-width: 981px) {
    .combined-game-surface { padding-top: 7px; padding-bottom: 12px; }
    .combined-clock-actions { min-height: 40px; padding: 3px 0 6px; }
    .combined-clock-actions button { min-height: 34px; padding-block: 5px; }
    .combined-live-board { gap: 10px; padding: 10px; }
    .combined-live-board .score-team { padding: 10px; }
    .combined-live-board .score-team > header { min-height: 30px; }
    .combined-live-board .score-display { flex-basis: 160px; min-height: 145px; margin-top: 4px; }
    .combined-live-board .team-counters { margin-top: 5px; gap: 5px; }
    .combined-live-board .team-counters section { padding: 5px; }
    .combined-live-board .team-counters h2 { margin-bottom: 3px; }
    .combined-live-board .team-counters section > div { grid-template-columns: 30px 1fr 30px; }
    .combined-live-board .team-counters button { width: 30px; height: 30px; }
    .combined-live-board .team-counters output { font-size: 24px; }
    .combined-live-board .score-buttons { margin-top: 5px; gap: 5px; }
    .combined-live-board .score-buttons button { min-height: 44px; }
    .combined-centre-console { gap: 6px; }
    .combined-centre-console .segment-control { padding: 6px 8px; }
    .combined-centre-console .segment-control > strong { font-size: clamp(40px,4vw,54px); }
    .combined-centre-console .segment-control > div { margin-top: 3px; }
    .combined-centre-console .segment-control button { min-height: 32px; padding-block: 4px; }
    .combined-centre-console .clock-column--main,
    .combined-centre-console .clock-column--shot { padding: 7px; }
    .combined-centre-console .clock-panel-heading { min-height: 24px; }
    .combined-centre-console .clock-face { min-height: 82px; margin-top: 3px; }
    .combined-centre-console .clock-face--shot output { font-size: clamp(68px,6.6vw,96px); }
    .combined-centre-console .clock-face--main output { font-size: clamp(54px,5.5vw,82px); }
    .combined-centre-console .shot-reset-actions,
    .combined-centre-console .shot-primary-actions,
    .combined-centre-console .main-primary-actions { margin-top: 4px; }
    .combined-centre-console .shot-reset-action { min-height: 42px; }
    .combined-centre-console .shot-reset-action strong { font-size: 25px; }
    .combined-centre-console .shot-primary-actions button { min-height: 32px; }
    .combined-centre-console .main-primary-actions .clock-primary-action { min-height: 38px; }
    .combined-centre-console .main-primary-actions .clock-secondary-action,
    .combined-centre-console .clock-reset-both-action { min-height: 31px; }
    .combined-centre-console .clock-independent-lock { min-height: 29px; }
    .combined-live-board > .possession-control { padding: 6px 7px; }
    .combined-live-board > .possession-control strong { margin-top: 2px; }
    .combined-live-board > .possession-control > div { margin-top: 4px; }
    .combined-live-board > .possession-control button { min-height: 30px; }
    .combined-operator-controls { margin-top: 7px; gap: 7px; }
    .combined-operator-controls summary { padding: 9px 11px; }
    .combined-clock-details, .combined-score-details { padding: 0 8px 8px; gap: 7px; }
    .clock-detail-group { padding: 7px; }
    .clock-detail-group > strong { margin-bottom: 5px; }
    .clock-detail-group .clock-adjustments,
    .clock-detail-group .clock-game-actions { margin-top: 4px; }
    .combined-operator-controls button { min-height: 28px; padding: 3px 6px; font-size: 10px; }
    .clock-detail-group .clock-adjustments { gap: 4px; }
    .clock-detail-group .clock-game-actions { gap: 4px; }
    .clock-sync-control, .clock-status-control { padding: 5px 7px; }
    .combined-statusbar { min-height: 40px; margin-top: 7px; padding: 4px 6px; }
    .combined-statusbar button { min-height: 32px; }
}

@media (max-width: 760px) {
    .combined-master-toolbar { position: static; }
    .combined-master-toolbar .scorekeeper-toolbar__inner { padding: 7px 10px; gap: 7px; }
    .combined-master-toolbar .scorekeeper-toolbar__actions { gap: 5px; }
    .combined-master-toolbar button { min-height: 36px; padding: 6px 9px; font-size: 11px; }
    .combined-game-surface { padding: 7px 7px 22px; display: flex; flex-direction: column; }
    .combined-live-board { order: 1; }
    .combined-clock-actions { order: 2; margin-top: 7px; }
    .combined-operator-controls { order: 3; }
    .combined-statusbar { order: 4; }
    .clock-fullscreen-brand { order: 5; }
    .combined-clock-actions { min-height: 0; padding: 5px 3px 8px; gap: 5px; }
    .combined-clock-actions > span { font-size: 10px; }
    .combined-clock-actions button { min-height: 34px; padding: 5px 8px; font-size: 10px; white-space: nowrap; }
    .combined-live-board {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "centre centre" "home visitor" "possession possession";
        grid-template-rows: auto auto auto;
        gap: 7px; padding: 7px; border-radius: 13px;
    }
    .combined-centre-console {
        grid-template-columns: minmax(0,1.3fr) minmax(105px,.7fr);
        grid-template-areas: "segment segment" "main shot"; gap: 6px;
    }
    .combined-centre-console .segment-control { grid-area: segment; grid-template-columns: auto auto 1fr auto; grid-template-areas: "label period format buttons"; padding: 6px 8px; }
    .combined-centre-console .segment-control > strong { font-size: 31px; }
    .combined-centre-console .segment-control > div { margin: 0; grid-template-columns: auto auto; }
    .combined-centre-console .segment-control button { min-height: 31px; padding: 4px 7px; font-size: 9px; }
    .combined-centre-console .clock-column--main { grid-area: main; }
    .combined-centre-console .clock-column--shot { grid-area: shot; }
    .combined-centre-console .clock-column { padding: 7px; }
    .combined-centre-console .clock-panel-heading { min-height: 22px; }
    .combined-centre-console .clock-panel-heading h2 { font-size: 11px; }
    .combined-centre-console .clock-panel-heading__status .clock-power-switch { display: none; }
    .combined-centre-console .clock-state { min-height: 22px; padding: 3px 5px; font-size: 8px; }
    .combined-centre-console .clock-face { min-height: 80px; }
    .combined-centre-console .clock-face--main output { font-size: clamp(58px,16vw,84px); }
    .combined-centre-console .clock-face--shot output { font-size: clamp(62px,18vw,88px); }
    .combined-centre-console .main-primary-actions .clock-primary-action { min-height: 42px; font-size: 11px; }
    .combined-centre-console .main-primary-actions .clock-secondary-action,
    .combined-centre-console .clock-reset-both-action { min-height: 36px; font-size: 9px; }
    .combined-centre-console .shot-primary-actions button { min-height: 36px; font-size: 9px; }
    .combined-centre-console .shot-reset-action { min-height: 42px; }
    .combined-centre-console .shot-reset-action small { display: none; }
    .combined-centre-console .shot-reset-action strong { font-size: 25px; }
    .combined-live-board > .possession-control { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 8px; padding: 7px; }
    .combined-live-board > .possession-control strong { margin: 0; text-align: left; }
    .combined-live-board > .possession-control > div { grid-column: 1 / -1; margin: 0; }
    .combined-live-board .score-team { padding: 7px; border-radius: 10px; }
    .combined-live-board .score-team > header { min-height: 27px; }
    .combined-live-board .score-team > header button { font-size: 14px; }
    .combined-live-board .score-team__possession { font-size: 7px; }
    .combined-live-board .score-display { flex-basis: 86px; min-height: 82px; margin-top: 4px; }
    .combined-live-board .score-display output { font-size: clamp(58px,18vw,82px); }
    .combined-live-board .score-display__brand img { width: 43px; }
    .combined-live-board .team-counters { gap: 4px; }
    .combined-live-board .team-counters section { padding: 5px 3px; }
    .combined-live-board .team-counters h2 { font-size: 7px; }
    .combined-live-board .team-counters section > div { grid-template-columns: 27px 1fr 27px; gap: 2px; }
    .combined-live-board .team-counters button { width: 27px; height: 27px; font-size: 15px; }
    .combined-live-board .team-counters output { font-size: 22px; }
    .combined-live-board .score-buttons { grid-template-columns: repeat(4,1fr); gap: 3px; }
    .combined-live-board .score-buttons button { min-height: 43px; padding: 3px; font-size: 14px; }
    .combined-operator-controls { grid-template-columns: 1fr; }
    .combined-clock-details, .combined-score-details { padding-inline: 8px; }
    .clock-sync-control { align-items: stretch; flex-direction: column; }
    .clock-sync-control button { width: 100%; min-width: 0; }
    .combined-statusbar { grid-template-columns: auto minmax(0,1fr); }
    .combined-game-surface .clock-fullscreen-brand { display: none; }
    .combined-about { grid-template-columns: 1fr; padding-top: 34px; }
}

.combined-basketball-app:fullscreen, .combined-basketball-app:-webkit-full-screen {
    width: 100vw; height: 100dvh; min-height: 0;
    display: flex; flex-direction: column; overflow: hidden; background: #050608;
}
.combined-basketball-app:fullscreen .scorekeeper-intro,
.combined-basketball-app:fullscreen .combined-about,
.combined-basketball-app:fullscreen .combined-clock-actions,
.combined-basketball-app:fullscreen .combined-statusbar,
.combined-basketball-app:-webkit-full-screen .scorekeeper-intro,
.combined-basketball-app:-webkit-full-screen .combined-about,
.combined-basketball-app:-webkit-full-screen .combined-clock-actions,
.combined-basketball-app:-webkit-full-screen .combined-statusbar { display: none !important; }
.combined-basketball-app:fullscreen .combined-master-toolbar,
.combined-basketball-app:-webkit-full-screen .combined-master-toolbar { position: static; flex: 0 0 auto; }
.combined-basketball-app:fullscreen .combined-master-toolbar .scorekeeper-toolbar__inner,
.combined-basketball-app:-webkit-full-screen .combined-master-toolbar .scorekeeper-toolbar__inner { min-height: 44px; padding-block: 4px; }
.combined-basketball-app:fullscreen .combined-master-toolbar button:not([data-combined-fullscreen]),
.combined-basketball-app:-webkit-full-screen .combined-master-toolbar button:not([data-combined-fullscreen]) { display: none !important; }
.combined-basketball-app:fullscreen .combined-game-surface,
.combined-basketball-app:-webkit-full-screen .combined-game-surface {
    width: 100%; min-height: 0; flex: 1 1 auto; padding: 7px 7px 0;
    display: flex; flex-direction: column; gap: 7px;
}
.combined-basketball-app:fullscreen .combined-live-board,
.combined-basketball-app:-webkit-full-screen .combined-live-board {
    width: 100%; height: auto; min-height: 0; flex: 1 1 auto; padding: clamp(6px,.8vw,11px);
}
.combined-basketball-app:fullscreen .score-team,
.combined-basketball-app:fullscreen .combined-centre-console,
.combined-basketball-app:-webkit-full-screen .score-team,
.combined-basketball-app:-webkit-full-screen .combined-centre-console { min-height: 0; }
.combined-basketball-app:fullscreen .combined-centre-console,
.combined-basketball-app:-webkit-full-screen .combined-centre-console {
    align-content: stretch;
    grid-template-rows: auto minmax(0,.9fr) minmax(0,1.1fr);
}
.combined-basketball-app:fullscreen .combined-centre-console .clock-column,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .clock-column {
    min-height: 0; display: flex; flex-direction: column;
}
.combined-basketball-app:fullscreen .combined-centre-console .clock-face,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .clock-face { min-height: 0; flex: 1 1 auto; }
.combined-basketball-app:fullscreen .score-display,
.combined-basketball-app:-webkit-full-screen .score-display { min-height: 0; }
.combined-basketball-app:fullscreen .combined-centre-console .segment-control,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .segment-control { padding-block: 6px; }
.combined-basketball-app:fullscreen .combined-centre-console .segment-control > strong,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .segment-control > strong { font-size: clamp(38px,4vw,54px); }
.combined-basketball-app:fullscreen .combined-centre-console .clock-column,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .clock-column { padding: 7px; }
.combined-basketball-app:fullscreen .combined-centre-console .clock-face--shot output,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .clock-face--shot output { font-size: clamp(66px,6.8vw,96px); }
.combined-basketball-app:fullscreen .combined-centre-console .clock-face--main output,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .clock-face--main output { font-size: clamp(54px,5.7vw,82px); }
.combined-basketball-app:fullscreen .combined-centre-console .shot-reset-action,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .shot-reset-action { min-height: 42px; }
.combined-basketball-app:fullscreen .combined-centre-console .main-primary-actions .clock-primary-action,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .main-primary-actions .clock-primary-action { min-height: 42px; }
.combined-basketball-app:fullscreen .combined-centre-console .shot-primary-actions button,
.combined-basketball-app:fullscreen .combined-centre-console .main-primary-actions .clock-secondary-action,
.combined-basketball-app:fullscreen .combined-centre-console .clock-reset-both-action,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .shot-primary-actions button,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .main-primary-actions .clock-secondary-action,
.combined-basketball-app:-webkit-full-screen .combined-centre-console .clock-reset-both-action { min-height: 34px; }
.combined-basketball-app:fullscreen .combined-operator-controls,
.combined-basketball-app:-webkit-full-screen .combined-operator-controls {
    width: 100%; margin: 0; flex: 0 0 auto; display: block;
}
.combined-basketball-app:fullscreen .combined-operator-controls > details:not(:first-child),
.combined-basketball-app:-webkit-full-screen .combined-operator-controls > details:not(:first-child) { display: none; }
.combined-basketball-app:fullscreen .combined-operator-controls > details:first-child,
.combined-basketball-app:-webkit-full-screen .combined-operator-controls > details:first-child { display: block; }
.combined-basketball-app:fullscreen .combined-operator-controls > details:first-child > summary,
.combined-basketball-app:-webkit-full-screen .combined-operator-controls > details:first-child > summary { display: none; }
.combined-basketball-app:fullscreen .combined-clock-details,
.combined-basketball-app:-webkit-full-screen .combined-clock-details {
    padding: 4px; gap: 4px; grid-template-columns: 1fr 1fr;
}
.combined-basketball-app:fullscreen .clock-sync-control,
.combined-basketball-app:fullscreen .clock-status-control,
.combined-basketball-app:-webkit-full-screen .clock-sync-control,
.combined-basketball-app:-webkit-full-screen .clock-status-control { min-height: 24px; padding: 3px 5px; gap: 7px; }
.combined-basketball-app:fullscreen .clock-sync-control button,
.combined-basketball-app:-webkit-full-screen .clock-sync-control button { min-width: 235px; min-height: 24px; padding: 2px 6px; font-size: 9px; }
.combined-basketball-app:fullscreen .clock-sync-control small,
.combined-basketball-app:-webkit-full-screen .clock-sync-control small { font-size: 9px; }
.combined-basketball-app:fullscreen .clock-status-control button,
.combined-basketball-app:-webkit-full-screen .clock-status-control button { min-height: 24px; padding: 2px 6px; font-size: 9px; }
.combined-basketball-app:fullscreen .clock-status-control p,
.combined-basketball-app:-webkit-full-screen .clock-status-control p { font-size: 9px; }
.combined-basketball-app:fullscreen .clock-detail-group,
.combined-basketball-app:-webkit-full-screen .clock-detail-group { padding: 4px; }
.combined-basketball-app:fullscreen .clock-detail-group > strong,
.combined-basketball-app:-webkit-full-screen .clock-detail-group > strong { margin-bottom: 2px; font-size: 8px; }
.combined-basketball-app:fullscreen .clock-detail-group .clock-adjustments,
.combined-basketball-app:fullscreen .clock-detail-group .clock-game-actions,
.combined-basketball-app:-webkit-full-screen .clock-detail-group .clock-adjustments,
.combined-basketball-app:-webkit-full-screen .clock-detail-group .clock-game-actions { margin-top: 2px; gap: 3px; }
.combined-basketball-app:fullscreen .combined-operator-controls button,
.combined-basketball-app:-webkit-full-screen .combined-operator-controls button { min-height: 24px; padding: 2px 4px; font-size: 9px; }
.combined-basketball-app:fullscreen .clock-fullscreen-brand,
.combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand {
    width: 100%; min-height: 58px; margin: 0; padding: 7px clamp(18px,3vw,44px);
    flex: 0 0 auto; display: grid !important; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 18px; border: 0; border-top: 1px solid #30323a; background: #0d0e11;
}
.combined-basketball-app:fullscreen .clock-fullscreen-brand__identity img,
.combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__identity img { width: 118px; }
.combined-basketball-app:fullscreen .clock-fullscreen-brand__identity b,
.combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__identity b { padding-bottom: 5px; }
.combined-basketball-app:fullscreen .clock-fullscreen-brand__product strong,
.combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__product strong { font-size: 17px; }

@media (max-width: 760px) {
    .combined-basketball-app:fullscreen .combined-master-toolbar .scorekeeper-toolbar__inner,
    .combined-basketball-app:-webkit-full-screen .combined-master-toolbar .scorekeeper-toolbar__inner { grid-template-columns: auto 1fr auto; }
    .combined-basketball-app:fullscreen .combined-master-toolbar .scorekeeper-toolbar__actions,
    .combined-basketball-app:-webkit-full-screen .combined-master-toolbar .scorekeeper-toolbar__actions { grid-column: auto; overflow: visible; padding: 0; }
    .combined-basketball-app:fullscreen .combined-live-board,
    .combined-basketball-app:-webkit-full-screen .combined-live-board { grid-template-rows: minmax(0,.9fr) minmax(0,1fr) auto; }
    .combined-basketball-app:fullscreen .combined-centre-console,
    .combined-basketball-app:-webkit-full-screen .combined-centre-console {
        grid-template-areas: "segment segment" "main shot"; grid-template-rows: auto minmax(0,1fr);
    }
    .combined-basketball-app:fullscreen .combined-live-board .score-display,
    .combined-basketball-app:-webkit-full-screen .combined-live-board .score-display { flex-basis: auto; flex-grow: 1; }
    .combined-basketball-app:fullscreen .combined-live-board .score-display output,
    .combined-basketball-app:-webkit-full-screen .combined-live-board .score-display output { font-size: clamp(56px,17vw,80px); }
    .combined-basketball-app:fullscreen .clock-fullscreen-brand,
    .combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand {
        min-height: 44px; padding: 5px 10px; grid-template-columns: auto 1fr; gap: 10px;
    }
    .combined-basketball-app:fullscreen .clock-fullscreen-brand__identity img,
    .combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__identity img { width: 88px; }
    .combined-basketball-app:fullscreen .clock-fullscreen-brand__identity b,
    .combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__identity b { padding-bottom: 3px; font-size: 10px; }
    .combined-basketball-app:fullscreen .clock-fullscreen-brand__product,
    .combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__product { justify-self: end; text-align: right; }
    .combined-basketball-app:fullscreen .clock-fullscreen-brand__product strong,
    .combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__product strong { font-size: 13px; }
    .combined-basketball-app:fullscreen .clock-fullscreen-brand__product small,
    .combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__product small,
    .combined-basketball-app:fullscreen .clock-fullscreen-brand__promise,
    .combined-basketball-app:-webkit-full-screen .clock-fullscreen-brand__promise { display: none; }
    .combined-basketball-app:fullscreen .combined-operator-controls,
    .combined-basketball-app:-webkit-full-screen .combined-operator-controls { display: none !important; }
}

@media print {
    .combined-basketball-app > :not(.knubian-score-report) { display: none !important; }
}

/* Keep the site dropdown above the operator toolbar on the combined app. */
.combined-basketball-page .site-header { z-index: 120; }
.combined-basketball-app .combined-master-toolbar { z-index: 80; }

.combined-basketball-app [data-score-settings] {
    color: #fff;
    border-color: #a8393e;
    background: #9b292f;
}
.combined-basketball-app [data-score-settings]:hover,
.combined-basketball-app [data-score-settings]:focus-visible {
    color: #fff;
    border-color: #e26a6e;
    background: #b3373d;
}

.combined-basketball-app .scorekeeper-dialog [data-custom-periods-field][hidden] {
    display: none !important;
}

/* The app toolbar follows the page so the site dropdown can open unobstructed. */
.combined-basketball-app .combined-master-toolbar {
    position: relative;
    top: auto;
    z-index: 1;
}

.combined-basketball-app .combined-centre-console .segment-control {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "period" "buttons";
}
.combined-basketball-app .combined-centre-console .segment-control > strong {
    font-size: clamp(32px, 3.5vw, 44px);
    text-align: center;
}
