/* Spectator-only layout. Original master pages and their geometry are unchanged. */
body.viewer-body{margin:0;overflow:hidden;background:#f1f5fb;color:#172234}.viewer-shell{height:100vh;height:100dvh;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);max-width:1800px;margin:auto;padding-bottom:env(safe-area-inset-bottom)}.viewer-header{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px}.viewer-header>div{display:flex;align-items:baseline;gap:14px;min-width:0}.viewer-header strong{font-size:20px;white-space:nowrap}.viewer-header span{font-size:14px;color:#68778c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer-header button{flex:none;font-size:14px;padding:6px 10px;min-height:40px}.viewer-tabs{display:grid;grid-template-columns:1fr 1fr;background:#fff;border-bottom:1px solid #dce4ef;padding:0 14px;gap:14px}.viewer-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;min-height:44px;font-size:17px;font-weight:700;background:transparent;color:#68778c}.viewer-tabs button[aria-selected=true]{border-bottom-color:#2362df;color:#195ac9}.viewer-state{margin:0;padding:5px 16px;color:#536782;background:#eaf2ff;font-size:12px;line-height:1.5;min-height:28px}.viewer-state.is-offline{background:#fff3dd;color:#8a5d15}.viewer-matches{padding:0;max-width:none;margin:0;display:grid;grid-template-rows:minmax(210px,1fr) minmax(0,2fr);min-width:0;min-height:0}.viewer-matches[hidden],.viewer-results[hidden]{display:none}.viewer-live{padding:8px 16px 0;display:grid;grid-template-rows:auto minmax(0,1fr) 32px;min-width:0;min-height:0}.section-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px}.section-bar>div{display:flex;align-items:center;gap:10px;min-width:0}.section-bar h1,.section-bar h2{font-size:16px;margin:0;white-space:nowrap}.section-bar span{font-size:12px;color:#68778c}.section-bar button{font-size:13px;min-height:36px;padding:5px 10px}.court-carousel{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;gap:12px;min-width:0;min-height:0;touch-action:pan-x pan-y}.court-carousel::-webkit-scrollbar{display:none}.court-card{scroll-snap-align:center;flex:0 0 100%;min-width:0;height:100%;border-radius:9px;background:linear-gradient(135deg,#172839,#0c1522);color:#fff;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding:9px 16px;border:1px solid #213a55;box-sizing:border-box}.court-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#c8d7e7}.court-meta strong{font-size:15px;color:#fff}.court-status{font-size:12px;color:#b4d3fa}.court-card .score-zone{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;min-height:0}.court-card .team-card{display:grid;grid-template-rows:auto auto;min-width:0;align-content:center;text-align:center}.court-card .team-name{font-size:clamp(16px,3vw,25px);font-weight:700;line-height:1.4;display:block;white-space:nowrap;overflow-x:auto;scrollbar-width:none;padding:1px 4px;border-bottom:3px solid}.court-card .red-card .team-name{border-color:#f34d41}.court-card .blue-card .team-name{border-color:#4188fb}.court-card .score-value{font-size:clamp(32px,7vw,66px);font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}.court-card .timer-zone{text-align:center;min-width:64px}.court-card .timer-value{font-size:clamp(23px,5.5vw,44px);font-weight:750;font-variant-numeric:tabular-nums}.court-card .timer-label{font-size:12px;color:#b6c5d6;margin-top:3px}.court-definition{font-size:12px;line-height:1.5;text-align:center;color:#c8d7e7;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.court-card.is-idle .empty-court{grid-column:1/-1;text-align:center;font-size:16px;color:#c8d7e7}.carousel-nav{display:flex;justify-content:center;align-items:center;gap:15px}.carousel-nav>button{font-size:23px;border:0;background:transparent;padding:0 9px;min-height:30px;line-height:28px}.court-dots{display:flex;gap:2px;max-width:calc(100% - 90px);overflow-x:auto}.court-dots button{padding:0;border:0;border-radius:0;background:transparent;min-width:26px;min-height:30px;display:grid;place-items:center}.court-dots button:before{content:'';width:6px;height:6px;border-radius:50%;background:#b7c7dc}.court-dots button[aria-current=true]:before{width:18px;border-radius:5px;background:#2362df}.court-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;flex:0 0 100%;border:1px dashed #b7c7dc;border-radius:9px;background:#fff;color:#536782;text-align:center;font-size:14px}.court-empty p{margin:0}.viewer-list{min-height:0;min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);padding:0 16px 12px}.list-title{padding:3px 0}.viewer-match-scroll{overflow:auto;min-height:0;border:1px solid #d9e4f2;border-radius:8px;background:#fff;overscroll-behavior:contain;container-type:inline-size}.viewer-match-scroll .master-match-list{min-width:1040px;width:100%;table-layout:fixed;margin:0}.viewer-match-scroll .master-match-list .match-number-col{width:42px}.viewer-match-scroll .master-match-list .match-team-col{width:310px}.viewer-match-scroll .master-match-list .match-definition-col{width:155px}.viewer-match-scroll .master-match-list .match-time-col{width:98px}.viewer-match-scroll .master-match-list .match-status-col{width:76px}.viewer-match-scroll .master-match-list .match-action-col{width:60px}.viewer-match-scroll .master-match-list .match-side-grid,.viewer-match-scroll .master-match-list .match-team-inline{grid-template-columns:minmax(110px,1fr) 38px 44px 55px;column-gap:4px}.viewer-match-scroll .master-match-list .match-name-window{width:100%;max-width:none;overflow-x:auto;white-space:nowrap}.viewer-match-scroll .master-match-list .match-definition-window{width:100%}.viewer-match-scroll .master-match-list .match-batch-line{min-height:36px}.viewer-match-scroll .master-match-list .match-batch-line h2{font-size:14px}.viewer-match-scroll .master-match-list .match-time-cell{font-size:13px}.viewer-match-scroll .master-match-list .match-name-window,.viewer-match-scroll .master-match-list .match-result-value{font-size:14px}.viewer-match-scroll .master-match-list .match-action-col{width:60px}.viewer-match-scroll button{min-height:36px}.mobile-only{display:none}.viewer-results{min-height:0;overflow:auto;margin:0;max-width:none;padding:12px 16px 24px}.results-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:#536782;font-size:14px}.results-intro strong{color:#172234}.viewer-results .page-title{margin-bottom:8px}.viewer-results .page-title h1{font-size:20px}.viewer-results .standings-group h2{font-size:16px}.viewer-results .standings-group strong{font-size:14px}.viewer-dialog{padding:0;width:min(520px,calc(100vw - 24px));max-height:90dvh}.viewer-dialog .dialog-head{padding:12px 16px}.viewer-dialog .dialog-head h2{font-size:19px}.viewer-dialog .dialog-head button{font-size:23px;min-width:40px;min-height:40px}.viewer-dialog-body{padding:16px;overflow:auto;max-height:65dvh;font-size:14px}.viewer-dialog-body p:first-child{margin-top:0}.viewer-dialog footer{padding:10px 16px}.court-checkboxes{display:grid;gap:8px;margin-top:14px}.court-checkboxes label{min-height:44px;padding:8px 10px;border:1px solid #dce4ef;border-radius:7px;justify-content:space-between}.court-checkboxes label>span{display:flex;align-items:center;gap:10px}.court-checkboxes input{width:20px;height:20px}.court-checkboxes small{font-size:12px;color:#68778c}.selection-actions{display:flex;gap:8px}.match-details-grid{display:grid;grid-template-columns:80px 1fr;gap:10px;margin:0}.match-details-grid dt{color:#68778c}.match-details-grid dd{margin:0;overflow-wrap:anywhere}#entry-feedback{color:#a43430;min-height:1.5em}.viewer-dialog button:focus-visible,.court-carousel:focus-visible{outline:3px solid #9ac2ff;outline-offset:1px}
@media(max-width:700px){.viewer-header{min-height:53px;padding:7px 12px}.viewer-header>div{gap:8px}.viewer-header strong{font-size:18px}.viewer-header span{max-width:130px;font-size:12px}.viewer-live{padding:6px 10px 0}.viewer-list{padding:0 10px 8px}.viewer-state{padding-left:12px;font-size:12px}.viewer-matches{grid-template-rows:minmax(205px,1fr) minmax(0,2fr)}.court-card{padding:7px 12px}.court-card .score-zone{gap:8px}.court-card .team-name{font-size:17px}.court-card .score-value{font-size:39px}.court-card .timer-value{font-size:27px}.court-card .timer-zone{min-width:74px}.court-definition{font-size:12px}.section-bar{min-height:36px}.section-bar h1,.section-bar h2{font-size:15px}.all-courts-note{font-size:11px!important}.viewer-match-scroll .master-match-list{display:block;min-width:0;width:100%;table-layout:auto}.viewer-match-scroll colgroup,.viewer-match-scroll thead{display:none}.viewer-match-scroll tbody{display:block}.viewer-match-scroll tr[data-match-row]{display:grid;grid-template-columns:35px minmax(0,1fr) 72px;padding:8px 8px 7px;column-gap:6px;border-bottom:1px solid #e2e9f4}.viewer-match-scroll .master-match-list td{height:auto;border:0;padding:0;min-width:0}.viewer-match-scroll .master-match-list .viewer-number{grid-column:1;grid-row:1/4;font-size:13px;padding-top:5px;color:#68778c}.viewer-match-scroll .master-match-list .match-team-cell{grid-column:2;grid-row:auto}.viewer-match-scroll .master-match-list .match-team-cell.red{grid-row:1}.viewer-match-scroll .master-match-list .match-team-cell.blue{grid-row:2;margin-top:4px}.viewer-match-scroll .master-match-list .match-team-inline{grid-template-columns:minmax(0,1fr) 31px 35px 38px;gap:1px;min-height:30px;padding:4px 3px}.viewer-match-scroll .master-match-list .match-name-window{font-size:13px;text-align:left;line-height:1.55;overflow-x:auto}.viewer-match-scroll .master-match-list .match-result-value{font-size:13px}.viewer-match-scroll .master-match-list .match-team-result.pending .match-result-value{font-size:13px}.viewer-match-scroll .master-match-list .viewer-status{grid-column:3;grid-row:1;text-align:center;padding-top:3px}.viewer-match-scroll .tag{padding:3px 5px;font-size:11px}.viewer-match-scroll .master-match-list .viewer-detail{grid-column:3;grid-row:2;text-align:center;padding-top:2px}.viewer-match-scroll .viewer-detail button{font-size:12px;padding:2px 8px;min-height:29px}.viewer-match-scroll .master-match-list .match-definition-cell{grid-column:2;grid-row:3;box-shadow:none;padding:5px 2px 0;color:#68778c}.viewer-match-scroll .master-match-list .match-definition-window{font-size:11px;line-height:1.45}.viewer-match-scroll .master-match-list .match-time-cell{grid-column:3;grid-row:3;white-space:normal;font-size:11px;font-weight:500;padding-top:5px;line-height:1.4}.viewer-match-scroll .match-batch-row{display:block;position:sticky;top:0;z-index:2}.viewer-match-scroll .match-batch-row td{display:block!important}.viewer-match-scroll .match-batch-line{padding:5px 10px!important;min-height:32px!important}.viewer-match-scroll .match-batch-line h2{font-size:13px!important}.mobile-only{display:block;font-size:10px;color:#68778c;margin-bottom:3px}.metric-legend{font-size:10px;color:#68778c;margin-left:auto;padding-right:2px}.viewer-results{padding:10px}.viewer-results .card{padding:12px}.viewer-results .standings-group table{min-width:640px}.viewer-dialog-body{max-height:60dvh}}
@media(min-width:1200px){.court-card{max-width:100%;padding-left:15%;padding-right:15%}.viewer-matches{grid-template-rows:minmax(255px,1fr) minmax(0,2fr)}}
@media(max-height:640px){.viewer-matches{grid-template-rows:190px minmax(100px,1fr)}.viewer-shell{min-height:500px}.court-card .score-value{font-size:30px}.court-card .team-name{font-size:15px}.court-card .timer-value{font-size:23px}}
@media(prefers-reduced-motion:reduce){.court-carousel{scroll-behavior:auto}}
.fixed-name-slot{display:block;overflow:hidden;white-space:nowrap;min-width:0}.fixed-name-content{display:inline-block;min-width:100%;width:max-content;will-change:transform}.viewer-match-scroll .master-match-list tr[data-match-row],.viewer-match-scroll .master-match-list tr[data-match-row]:active{cursor:default}.viewer-live .section-bar>button:first-of-type{margin-left:auto}.viewer-match-scroll .metric-legend{display:none}.viewer-match-scroll .match-batch-line .metric-legend{display:block}.rotate-hint[hidden]{display:none}.rotate-hint{margin:0;position:absolute;inset:95px 12px 38px;z-index:3;background:#102032;color:#e8f2ff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;border-radius:9px}.rotate-hint strong{font-size:23px}.rotate-hint span{font-size:14px;color:#b6c9de}.rotate-hint svg{flex:none}.fullscreen-bar{display:flex;align-items:center;justify-content:space-between;min-height:48px;gap:12px;border-bottom:1px solid #d9e4f2;padding:4px 0;margin-bottom:4px;font-size:16px;font-weight:700}.fullscreen-bar button{min-height:40px;font-size:14px;padding:6px 12px}.is-fullscreen{position:fixed!important;inset:0!important;z-index:90!important;height:100vh!important;height:100dvh!important;width:100vw!important;max-width:none!important;margin:0!important;background:#f1f5fb;padding:max(5px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;box-sizing:border-box}.viewer-live.is-fullscreen{display:grid;grid-template-rows:auto auto minmax(0,1fr) 38px}.viewer-live.is-fullscreen .court-carousel{min-height:0}.viewer-live.is-fullscreen:has(.rotate-hint:not([hidden])) .court-carousel{visibility:hidden}.viewer-live.is-fullscreen .court-card{padding:12px 6%;border-radius:6px}.viewer-live.is-fullscreen .court-card .score-value{font-size:clamp(55px,23vh,180px);line-height:1.05}.viewer-live.is-fullscreen .court-card .team-name{font-size:clamp(23px,5vh,48px);line-height:1.4}.viewer-live.is-fullscreen .court-card .timer-value{font-size:clamp(40px,12vh,94px)}.viewer-live.is-fullscreen .court-card .timer-label{font-size:14px}.viewer-live.is-fullscreen .court-definition{font-size:14px}.viewer-live.is-fullscreen .court-meta{font-size:14px}.viewer-live.is-fullscreen .court-meta strong{font-size:18px}.viewer-list.is-fullscreen{display:grid;grid-template-rows:auto auto minmax(0,1fr)}.viewer-results.is-fullscreen{overflow:auto}.is-fullscreen [data-enter-fullscreen]{display:none}.is-fullscreen .viewer-match-scroll{width:100%;overflow-x:hidden}.viewer-list.is-fullscreen .master-match-list{width:100%;min-width:0;max-width:none;table-layout:fixed}.viewer-list.is-fullscreen .master-match-list .match-number-col{width:38px}.viewer-list.is-fullscreen .master-match-list .match-team-col{width:calc((100% - 320px)/2)}.viewer-list.is-fullscreen .master-match-list .match-definition-col{width:105px}.viewer-list.is-fullscreen .master-match-list .match-time-col{width:67px}.viewer-list.is-fullscreen .master-match-list .match-status-col{width:60px}.viewer-list.is-fullscreen .master-match-list .match-action-col{width:50px}.viewer-list.is-fullscreen .master-match-list .match-team-inline,.viewer-list.is-fullscreen .master-match-list .match-side-grid{grid-template-columns:minmax(0,1fr) 31px 34px 36px;gap:1px}.viewer-list.is-fullscreen .master-match-list .match-side-grid{font-size:11px}.viewer-list.is-fullscreen .master-match-list .match-name-window,.viewer-list.is-fullscreen .master-match-list .match-result-value{font-size:14px}.viewer-list.is-fullscreen .master-match-list .match-definition-window,.viewer-list.is-fullscreen .master-match-list .match-time-cell{font-size:14px}.viewer-results.is-fullscreen .standings-group table{min-width:0;table-layout:fixed;width:100%}.viewer-results.is-fullscreen .standings-group th,.viewer-results.is-fullscreen .standings-group td{font-size:14px;padding:9px 5px}.viewer-results.is-fullscreen .standings-group th:first-child{width:65px}.viewer-results.is-fullscreen .standings-group th:nth-child(n+3){width:63px}.viewer-results.is-fullscreen .standings-group th:last-child{width:104px}.viewer-results.is-fullscreen .tablewrap{overflow-x:hidden}.viewer-results.is-fullscreen .standings-group td:nth-child(2) strong{display:block;max-width:100%;overflow:hidden;font-size:15px}.viewer-dialog{z-index:110}.viewer-body .viewer-dialog::backdrop{background:#102c4b70}
@media(max-width:700px) and (orientation:portrait){.viewer-list.is-fullscreen .master-match-list .match-team-inline{grid-template-columns:minmax(0,1fr) 31px 35px 38px}.viewer-results.is-fullscreen .standings-group table,.viewer-results.is-fullscreen .standings-group tbody{display:block}.viewer-results.is-fullscreen .standings-group thead{display:none}.viewer-results.is-fullscreen .standings-group tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:12px 0;border-bottom:1px solid #e2e9f4}.viewer-results.is-fullscreen .standings-group td{padding:0;border:0;height:auto;min-width:0;font-size:15px}.viewer-results.is-fullscreen .standings-group td:first-child{grid-column:1;color:#536782;font-size:13px}.viewer-results.is-fullscreen .standings-group td:nth-child(2){grid-column:2/5}.viewer-results.is-fullscreen .standings-group td:nth-child(n+3):before{display:block;color:#68778c;font-size:12px;line-height:1.8}.viewer-results.is-fullscreen .standings-group td:nth-child(3):before{content:'积分'}.viewer-results.is-fullscreen .standings-group td:nth-child(4):before{content:'净胜球'}.viewer-results.is-fullscreen .standings-group td:nth-child(5):before{content:'进球数'}.viewer-results.is-fullscreen .standings-group td:nth-child(6):before{content:'胜场'}.viewer-results.is-fullscreen .standings-group td:nth-child(7){grid-column:1/-1;color:#68778c;font-size:12px}}
@media(orientation:landscape){.viewer-list.is-fullscreen .master-match-list{display:table}.viewer-list.is-fullscreen .master-match-list colgroup{display:table-column-group}.viewer-list.is-fullscreen .master-match-list thead{display:table-header-group}.viewer-list.is-fullscreen .master-match-list tbody{display:table-row-group}.viewer-list.is-fullscreen .master-match-list tr,.viewer-list.is-fullscreen .master-match-list tr[data-match-row]{display:table-row;padding:0}.viewer-list.is-fullscreen .master-match-list td,.viewer-list.is-fullscreen .master-match-list th{display:table-cell!important;padding:5px 2px;height:auto;vertical-align:middle}.viewer-list.is-fullscreen .master-match-list .match-team-cell{margin:0}.viewer-list.is-fullscreen .master-match-list .match-batch-row{position:static}.viewer-list.is-fullscreen .master-match-list .viewer-status{padding-top:0}.viewer-list.is-fullscreen .master-match-list .viewer-detail{padding-top:0}.viewer-list.is-fullscreen .master-match-list .match-definition-cell{padding:5px 3px}.viewer-list.is-fullscreen .master-match-list .match-time-cell{padding:5px 2px}.viewer-list.is-fullscreen .metric-legend{display:none}.viewer-list.is-fullscreen .master-match-list .match-batch-row td{display:table-cell!important}.viewer-list.is-fullscreen .master-match-list .viewer-number{font-size:14px}.viewer-list.is-fullscreen .master-match-list .match-name-window{font-size:14px}.viewer-list.is-fullscreen .master-match-list .match-definition-window{font-size:14px}.viewer-list.is-fullscreen .master-match-list .match-team-inline{min-height:40px}}
.viewer-team-tools{display:grid;grid-template-columns:minmax(85px,1fr) auto auto auto;gap:6px;align-items:center;padding:5px 0 8px}.viewer-team-tools input[type=search]{width:100%;min-height:36px;padding:6px 8px;font-size:13px}.viewer-team-tools button{padding:5px 7px;min-height:36px;font-size:12px}.viewer-team-tools label{gap:4px;white-space:nowrap;font-size:12px}.viewer-team-tools input[type=checkbox]{width:17px;height:17px}.viewer-list{grid-template-rows:auto auto minmax(0,1fr)}.viewer-list.is-fullscreen{grid-template-rows:auto auto auto minmax(0,1fr)}.viewer-final-matches h2{font-size:16px;margin-bottom:10px}.result-match-card{padding:12px 0;border-bottom:1px solid #e2e9f4}.result-match-card>div{display:flex;gap:10px;align-items:center;justify-content:space-between}.result-match-card>div>span{font-size:12px;color:#68778c}.result-match-card p{font-size:14px;line-height:1.65}.result-match-card p b{white-space:nowrap;margin:0 8px}.result-match-card>div:last-child{justify-content:flex-end}.result-match-card button{font-size:13px;min-height:36px}.team-option{display:flex;gap:8px;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e9f4;padding:8px 0}.team-option label{flex:1;min-width:0;line-height:1.6}.team-option input{width:20px;height:20px;flex:none}.favorite-star{font-size:22px;line-height:1;min-width:38px;min-height:38px;padding:3px;border:0;background:transparent;color:#74869a}.favorite-star[aria-pressed=true]{color:#ba7a0b}.viewer-results .standings-group td:nth-child(2){position:relative;padding-right:35px}.viewer-results .standings-group td:nth-child(2) .favorite-star{position:absolute;right:0;top:50%;transform:translateY(-50%);min-width:30px;width:30px;min-height:32px;font-size:20px}.viewer-results [data-team-id][hidden]{display:none!important}.viewer-match-scroll .locate-target td{background:#fff2b9!important}.viewer-match-scroll .locate-target{outline:2px solid #d79919;outline-offset:-2px}.viewer-match-scroll .locate-button{font-size:11px;display:block;margin:3px auto 0;padding:2px 5px;min-height:26px;color:#2362df}.viewer-match-scroll .master-match-list .viewer-detail{vertical-align:middle}#viewer-toast{position:fixed;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);background:#173756;color:#fff;padding:10px 16px;border-radius:8px;box-shadow:0 6px 20px #17375633;z-index:200;max-width:90vw;width:max-content;font-size:14px;opacity:0;pointer-events:none}#viewer-toast.show{opacity:1}#team-picker-search{width:100%;margin-bottom:6px}.viewer-team-tools [data-clear-team-filter]{color:#2362df}
@media(max-width:420px){.viewer-team-tools{grid-template-columns:minmax(0,1fr) auto auto;gap:5px}.viewer-team-tools [data-clear-team-filter]{grid-column:3;grid-row:2;min-height:28px;padding:2px 5px}.viewer-team-tools label{grid-column:1/3;grid-row:2}.viewer-team-tools input[type=search]{grid-column:1/3}.viewer-team-tools [data-open-teams]{grid-column:3}.viewer-match-scroll .master-match-list .viewer-detail button{font-size:11px}.viewer-team-tools input[type=search]{font-size:14px}}
.viewer-match-scroll .master-match-list .match-team-cell.red .match-name-window{color:#a52b35}.viewer-match-scroll .master-match-list .match-team-cell.blue .match-name-window{color:#1757a8}.viewer-match-scroll .master-match-list .match-team-cell .match-name-window{text-align:left}.viewer-results .standings-group [data-team-id] td:nth-child(2) strong{max-width:100%}
.demo-court-scenarios{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}.demo-court-scenarios[hidden]{display:none}.demo-court-scenarios span{font-size:12px;color:#68778c}.demo-court-scenarios button{min-height:34px;padding:4px 8px;font-size:13px}.court-setting-row{display:grid;grid-template-columns:36px minmax(0,1fr) 40px 58px;gap:6px;align-items:center;border:1px solid #dce4ef;border-radius:7px;padding:7px;background:#fff}.court-setting-row>div:nth-child(2){display:grid;gap:2px}.court-setting-row small{color:#68778c;font-size:12px}.court-drag-handle{cursor:grab;touch-action:none;user-select:none;padding:3px!important;min-width:32px;min-height:44px;font-size:22px;border:0;background:transparent}.court-setting-row.is-dragging{border-color:#2362df;box-shadow:0 4px 16px #2362df22;background:#eef5ff}.court-eye{display:grid;place-items:center;min-height:40px;min-width:38px;padding:5px;border:0;background:transparent;color:#2362df}.court-eye[aria-pressed=false]{color:#8996a7}.court-eye svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.court-move-fallback{display:flex;gap:2px}.court-move-fallback button{min-width:26px;min-height:40px;padding:2px;font-size:17px}.score-is-locked .court-carousel{pointer-events:none;touch-action:none}.score-is-locked [data-enter-fullscreen=score]{display:none}#score-lock{position:relative;overflow:hidden;min-width:50px}#score-lock[aria-pressed=true]{background:#173756;color:#fff;border-color:#173756;min-width:86px}#score-lock.is-unlocking:after{content:'';position:absolute;inset:0;background:#78b9ff55;transform-origin:left;animation:unlock-progress 1.5s linear forwards;pointer-events:none}@keyframes unlock-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* Relative column budgets: numeric/time fields stay compact; names receive the surplus.
   Inner numeric slots have logical ch minima; name slots may shrink and marquee locally. */
.viewer-match-scroll .master-match-list,.viewer-list.is-fullscreen .master-match-list{width:100%;min-width:0;max-width:100%;table-layout:fixed}.viewer-match-scroll .master-match-list .match-number-col,.viewer-list.is-fullscreen .master-match-list .match-number-col{width:4%}.viewer-match-scroll .master-match-list .match-team-col,.viewer-list.is-fullscreen .master-match-list .match-team-col{width:29%}.viewer-match-scroll .master-match-list .match-definition-col,.viewer-list.is-fullscreen .master-match-list .match-definition-col{width:17%}.viewer-match-scroll .master-match-list .match-time-col,.viewer-list.is-fullscreen .master-match-list .match-time-col{width:8%}.viewer-match-scroll .master-match-list .match-status-col,.viewer-list.is-fullscreen .master-match-list .match-status-col{width:8%}.viewer-match-scroll .master-match-list .match-action-col,.viewer-list.is-fullscreen .master-match-list .match-action-col{width:5%}.viewer-match-scroll .master-match-list .match-team-inline,.viewer-match-scroll .master-match-list .match-side-grid,.viewer-list.is-fullscreen .master-match-list .match-team-inline,.viewer-list.is-fullscreen .master-match-list .match-side-grid{grid-template-columns:minmax(0,1fr) minmax(3ch,3.2ch) minmax(5ch,5.2ch) minmax(3.3ch,3.5ch);column-gap:clamp(1px,.35vw,6px);font-size:clamp(14px,1.4vw,17px)}.viewer-match-scroll .master-match-list .match-name-window,.viewer-match-scroll .master-match-list .match-result-value,.viewer-list.is-fullscreen .master-match-list .match-name-window,.viewer-list.is-fullscreen .master-match-list .match-result-value{font-size:inherit}.viewer-match-scroll .master-match-list .match-side-grid{font-size:12px}.viewer-match-scroll .master-match-list .match-name-window{min-width:0;max-width:100%;overflow:hidden}.viewer-match-scroll .master-match-list .match-definition-window{min-width:0;width:100%;overflow:hidden}.viewer-match-scroll .master-match-list .viewer-detail button{max-width:100%;min-width:0;padding-left:2px;padding-right:2px}.viewer-match-scroll .master-match-list .tag{max-width:100%;padding-left:3px;padding-right:3px}.viewer-results .standings-group table{min-width:0;width:100%;table-layout:fixed}.viewer-results .standings-group th:first-child,.viewer-results.is-fullscreen .standings-group th:first-child{width:8%}.viewer-results .standings-group th:nth-child(2){width:40%}.viewer-results .standings-group th:nth-child(3),.viewer-results.is-fullscreen .standings-group th:nth-child(3),.viewer-results .standings-group th:nth-child(4),.viewer-results.is-fullscreen .standings-group th:nth-child(4),.viewer-results .standings-group th:nth-child(5),.viewer-results.is-fullscreen .standings-group th:nth-child(5){width:9%}.viewer-results .standings-group th:nth-child(6),.viewer-results.is-fullscreen .standings-group th:nth-child(6){width:8%}.viewer-results .standings-group th:nth-child(7),.viewer-results.is-fullscreen .standings-group th:nth-child(7){width:17%}.viewer-results .standings-group th,.viewer-results .standings-group td{padding:8px 5px;font-size:14px;overflow-wrap:anywhere}.viewer-results .standings-group td:nth-child(2){padding-right:35px}.viewer-match-scroll{overflow-x:hidden}
@media(max-width:700px) and (orientation:portrait){.viewer-match-scroll .master-match-list .match-team-inline,.viewer-list.is-fullscreen .master-match-list .match-team-inline{grid-template-columns:minmax(0,1fr) 32px 44px 36px;column-gap:1px;font-size:14px}.viewer-results .standings-group table,.viewer-results .standings-group tbody{display:block}.viewer-results .standings-group thead{display:none}.viewer-results .standings-group tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:12px 0;border-bottom:1px solid #e2e9f4}.viewer-results .standings-group td{padding:0;border:0;height:auto;min-width:0;font-size:15px}.viewer-results .standings-group td:first-child{grid-column:1;color:#536782;font-size:13px}.viewer-results .standings-group td:nth-child(2){grid-column:2/5;padding-right:32px}.viewer-results .standings-group td:nth-child(n+3):before{display:block;color:#68778c;font-size:12px;line-height:1.8}.viewer-results .standings-group td:nth-child(3):before{content:'积分'}.viewer-results .standings-group td:nth-child(4):before{content:'净胜球'}.viewer-results .standings-group td:nth-child(5):before{content:'进球数'}.viewer-results .standings-group td:nth-child(6):before{content:'胜场'}.viewer-results .standings-group td:nth-child(7){grid-column:1/-1;color:#68778c;font-size:12px}}
/* Width containment belongs to every outer grid/flex item, not to numeric estimates. */
html:has(body.viewer-body){width:100%;max-width:100%;overflow-x:hidden}body.viewer-body{width:100%;max-width:100%;min-width:0;overflow-x:hidden}.viewer-body *,.viewer-body *:before,.viewer-body *:after{box-sizing:border-box}.viewer-shell{width:100%;max-width:min(1800px,100%);min-width:0;grid-template-columns:minmax(0,1fr);overflow-x:hidden}.viewer-shell>*,.viewer-header,.viewer-header>div,.viewer-tabs,.viewer-tabs>*,.viewer-matches,.viewer-matches>*,.viewer-live,.viewer-list,.viewer-results,.viewer-results>*,.section-bar,.section-bar>div,.court-carousel,.court-card,.score-zone,.team-card,.team-name,.viewer-match-scroll,.viewer-filter-entry{min-width:0;max-width:100%}.viewer-header>div{flex:1 1 0}.viewer-header span{min-width:0}.viewer-header strong{flex:none}.viewer-header button{max-width:100%}.viewer-live>.section-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:4px}.viewer-live>.section-bar>div:first-child{display:grid;gap:0;min-width:0;line-height:1.25}.viewer-live>.section-bar>div:first-child h1{font-size:14px;white-space:normal}.viewer-live>.section-bar>button{margin:0;min-width:0;padding-left:7px;padding-right:7px;font-size:12px}.viewer-live>.section-bar #score-lock{min-width:0}.viewer-live>.section-bar #score-lock[aria-pressed=true]{min-width:72px}.viewer-filter-entry{display:flex;align-items:center;gap:8px;padding:4px 0 7px;flex-wrap:wrap}.viewer-filter-entry>button{min-height:34px;padding:4px 9px;font-size:13px}.viewer-filter-entry>span{flex:1 1 80px;color:#68778c;font-size:12px;overflow-wrap:anywhere}.viewer-filter-entry>[hidden]{display:none}.viewer-dialog .viewer-team-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.viewer-dialog .viewer-team-tools>input[type=search]{grid-column:1/-1;grid-row:auto;width:100%;min-width:0;font-size:16px}.viewer-dialog .viewer-team-tools>label{grid-column:1;grid-row:auto;font-size:14px}.viewer-dialog .viewer-team-tools>[data-clear-team-filter]{grid-column:2;grid-row:auto}.viewer-results .standings-group td:nth-child(2){padding-right:5px}.viewer-results .standings-group td:nth-child(2) strong{max-width:100%;min-width:0}.viewer-results .card,.viewer-results .row,.viewer-results .tablewrap{min-width:0;max-width:100%}.viewer-match-scroll table{max-width:100%}.viewer-body dialog{max-width:calc(100% - 24px)}.team-option label,.team-option label span{min-width:0;overflow-wrap:anywhere}.court-definition,.match-name-window,.match-definition-window{overflow:hidden}.viewer-live.is-fullscreen{max-width:100%!important;width:100%!important}.viewer-list.is-fullscreen,.viewer-results.is-fullscreen{max-width:100%!important;width:100%!important}.viewer-body .viewer-dialog-body{min-width:0;max-width:100%}
@media(max-width:360px){.viewer-header{gap:5px}.viewer-header strong{font-size:17px}.viewer-header span{font-size:11px;max-width:100px}.viewer-header button{padding:4px 7px;font-size:12px}.viewer-live>.section-bar>button{padding-left:5px;padding-right:5px}.viewer-live>.section-bar #score-lock[aria-pressed=true]{min-width:67px}.section-bar h1,.section-bar h2{white-space:normal}}
.viewer-icon{display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.viewer-body button.icon-only,.viewer-body .viewer-detail button.icon-only,.viewer-body .viewer-filter-entry button.icon-only,.viewer-body .viewer-live .section-bar button.icon-only,.viewer-body .fullscreen-bar button.icon-only{display:inline-grid;place-items:center;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:10px;line-height:1;border-radius:7px;margin:0}.viewer-body button.icon-only[aria-pressed=true]{background:#e5eeff;color:#195ac9;border-color:#9ebdea}.viewer-body #score-lock.icon-only[aria-pressed=true]{background:#173756;color:#fff;border-color:#173756}.viewer-body #score-lock.icon-only.is-unlocking{--icon-bg:#173756}.viewer-body .favorite-star.icon-only[aria-pressed=true]{background:#fff6df;color:#a96e04}.viewer-body .favorite-star.icon-only[aria-pressed=true] svg{fill:#efbb4e}.viewer-body .court-eye,.viewer-body .court-drag-handle,.viewer-body .court-move-fallback button{width:44px;min-width:44px;height:44px;min-height:44px;padding:9px}.court-setting-row{grid-template-columns:44px minmax(0,1fr) 44px 88px;gap:4px}.court-move-fallback{gap:0}.viewer-body .court-drag-handle{font-size:22px}.viewer-live{grid-template-rows:auto minmax(0,1fr) 44px}.viewer-live.is-fullscreen{grid-template-rows:auto auto minmax(0,1fr) 44px}.viewer-live>.section-bar{grid-template-columns:minmax(0,1fr) 44px 44px 44px;min-height:48px}.score-is-locked .viewer-live>.section-bar{grid-template-columns:minmax(0,1fr) 44px 44px}.carousel-nav{min-height:44px;gap:4px}.carousel-nav>button{width:44px;min-width:44px;min-height:44px;height:44px;padding:0}.court-dots{max-width:calc(100% - 96px)}.court-dots button{min-width:44px;width:44px;min-height:44px;height:44px}.viewer-filter-entry{min-height:48px;padding:2px 0}.viewer-filter-entry>[hidden]{display:none!important}.viewer-body .viewer-detail .icon-only{margin:1px auto!important}.viewer-body .viewer-detail{min-width:44px}.viewer-dialog .favorites-only-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:66px;border:1px solid #dce4ef;border-radius:7px;padding:7px 10px;width:max-content;cursor:pointer}.favorites-only-toggle:has(input:checked){background:#fff6df;color:#a96e04}.favorites-only-toggle:has(input:checked) svg{fill:#efbb4e}.favorites-only-toggle input{width:20px;height:20px}.viewer-body .viewer-dialog [data-close-dialog]{flex:none}.viewer-body .viewer-match-scroll .master-match-list .viewer-detail{padding:2px}.viewer-results .result-match-card button.icon-only{flex:none}.viewer-header #viewer-entry{margin-left:2px}.viewer-body button.icon-only:focus-visible{outline:3px solid #83b6f4;outline-offset:2px}
@media(min-width:701px),(orientation:landscape){.viewer-match-scroll .master-match-list .match-action-col,.viewer-list.is-fullscreen .master-match-list .match-action-col{width:48px}.viewer-match-scroll .master-match-list .match-team-col,.viewer-list.is-fullscreen .master-match-list .match-team-col{width:calc((100% - 48px)*.305)}.viewer-match-scroll .master-match-list .match-definition-col,.viewer-list.is-fullscreen .master-match-list .match-definition-col{width:calc((100% - 48px)*.18)}.viewer-match-scroll .master-match-list .match-number-col,.viewer-list.is-fullscreen .master-match-list .match-number-col{width:calc((100% - 48px)*.04)}.viewer-match-scroll .master-match-list .match-time-col,.viewer-list.is-fullscreen .master-match-list .match-time-col{width:calc((100% - 48px)*.08)}.viewer-match-scroll .master-match-list .match-status-col,.viewer-list.is-fullscreen .master-match-list .match-status-col{width:calc((100% - 48px)*.09)}}
/* Live-score controls float over the card; opening their dialog never consumes a row. */
.viewer-live{position:relative;grid-template-rows:minmax(0,1fr) 44px;padding-top:8px}.viewer-live>.section-bar{position:absolute;top:12px;right:20px;z-index:5;display:flex;gap:4px;min-height:44px;max-width:calc(100% - 24px);padding:2px;border-radius:9px;background:#ffffffd9;box-shadow:0 2px 10px #07182718;backdrop-filter:blur(8px)}.viewer-live>.section-bar>div:first-child{display:none}.viewer-body .viewer-live>.section-bar button.icon-only{border:0;background:transparent;--icon-bg:#eef3f8}.viewer-body .viewer-live>.section-bar #score-lock[aria-pressed=true]{background:#173756;color:#fff}.viewer-live .court-meta{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;min-height:37px;padding-right:145px;line-height:1.25}.viewer-live .court-meta strong,.viewer-live .court-meta .court-status{max-width:100%;overflow-wrap:anywhere}.viewer-live.is-fullscreen{grid-template-rows:minmax(0,1fr) 44px;padding-top:max(8px,env(safe-area-inset-top))!important}.viewer-live.is-fullscreen>.section-bar{top:max(12px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:auto}.viewer-live.is-fullscreen>.fullscreen-bar{position:absolute;top:max(12px,env(safe-area-inset-top));right:calc(max(16px,env(safe-area-inset-right)) + 100px);z-index:6;width:48px;min-height:48px;height:48px;padding:2px;margin:0;border:0;border-radius:9px;background:#ffffffd9;box-shadow:0 2px 10px #07182718;backdrop-filter:blur(8px)}.viewer-live.is-fullscreen>.fullscreen-bar>span{display:none}.viewer-live.is-fullscreen>.fullscreen-bar>button{background:transparent;border:0}.viewer-live.is-fullscreen .court-meta{min-height:38px;padding-right:145px}.viewer-live .rotate-hint{inset:68px 12px 50px}.viewer-live .court-card{min-width:0;max-width:100%}.score-is-locked .viewer-live>.section-bar{display:flex}.viewer-live>.section-bar #court-position{display:none}
@media(max-width:700px){.viewer-live{padding-top:6px}.viewer-live>.section-bar{top:10px;right:16px}.viewer-live .court-card{padding-top:8px}.viewer-live .court-meta{min-height:38px;padding-right:142px}.viewer-live .court-meta strong{font-size:14px}.viewer-live .court-status{font-size:11px}.viewer-live .court-definition{font-size:12px}}
/* List/results tools share their compact title row. */
.viewer-list{grid-template-rows:auto minmax(0,1fr)}.viewer-list.is-fullscreen{grid-template-rows:auto auto minmax(0,1fr)}.section-bar .viewer-filter-entry{padding:0;min-height:44px;flex-wrap:nowrap;gap:4px;margin-left:auto;flex:none;max-width:none}.section-bar .viewer-filter-entry [data-filter-status],.section-bar .all-courts-note{display:none}.viewer-results>.section-bar{gap:4px}.viewer-results>.section-bar h1{font-size:17px;margin-right:auto}.list-title>div:last-child{gap:4px}.list-title{gap:4px}.list-title>div:first-child{gap:6px}.viewer-filter-entry>[hidden]{display:none!important}
/* Minimal spectator schedule: time, opponents and submitted score. */
.spectator-schedule{width:100%;min-width:0}.spectator-schedule-head,.spectator-match-row{display:grid;grid-template-columns:clamp(48px,12%,82px) minmax(0,1fr) clamp(50px,14%,90px);gap:clamp(5px,1vw,14px);align-items:center;padding:10px clamp(6px,1.2vw,16px);min-width:0;border-bottom:1px solid #e2e9f4}.spectator-schedule-head{position:sticky;top:0;background:#f6f9fd;z-index:1;color:#68778c;font-size:12px}.spectator-match-row{min-height:68px;font-size:clamp(14px,1.4vw,17px)}.spectator-match-row.has-locate{grid-template-columns:clamp(48px,12%,82px) minmax(0,1fr) clamp(50px,14%,90px) 44px}.spectator-start,.spectator-score{font-variant-numeric:tabular-nums;white-space:nowrap}.spectator-score{text-align:center;font-weight:650}.spectator-opponents{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:clamp(5px,1vw,12px);min-width:0}.spectator-team{display:block;min-width:0;width:100%;max-width:100%;overflow:hidden;white-space:nowrap}.spectator-team.red{color:#a52b35}.spectator-team.blue{color:#1757a8}.spectator-versus{font-size:11px;color:#8290a2;text-align:center}.spectator-match-row.locate-target{background:#fff2b9!important}.spectator-match-row .locate-button{margin:0!important}.viewer-state{min-height:0;padding:2px 16px;font-size:11px}.results-intro{margin:4px 0!important}.standings-progress{gap:0}
@media(max-width:600px) and (orientation:portrait){.spectator-opponents{grid-template-columns:minmax(0,1fr);gap:4px}.spectator-versus{display:none}.spectator-match-row{min-height:72px}.spectator-team{line-height:1.6}.spectator-schedule-head,.spectator-match-row{gap:5px;padding-left:7px;padding-right:7px}}
.spectator-start{display:grid;gap:3px}.spectator-start small{font-size:10px;font-weight:400;color:#78869a;white-space:nowrap}
/* Separate glass-like icon surfaces, with unchanged 44px touch targets. */
.viewer-live>.section-bar,.viewer-live.is-fullscreen>.fullscreen-bar{background:transparent;box-shadow:none;backdrop-filter:none;border:0;padding:0;gap:6px}.viewer-live>.section-bar{right:16px}.viewer-body .viewer-live>.section-bar button.icon-only,.viewer-body .viewer-live.is-fullscreen>.fullscreen-bar button.icon-only{position:relative;isolation:isolate;border:0;border-radius:50%;background:transparent!important;color:#23394f;padding:12px}.viewer-body .viewer-live button.icon-only:before{content:'';position:absolute;inset:7px;border-radius:9px;background:rgba(245,249,255,.66);border:1px solid rgba(255,255,255,.7);box-shadow:0 2px 8px #04182724;backdrop-filter:blur(12px) saturate(135%);z-index:-1}.viewer-body .viewer-live button.icon-only .viewer-icon{width:18px;height:18px}.viewer-body .viewer-live #score-lock[aria-pressed=true]:before{background:rgba(25,53,81,.9);border-color:#9ebbd466}.viewer-body .viewer-live #score-lock[aria-pressed=true]{color:#fff!important}.viewer-live.is-fullscreen>.fullscreen-bar{right:calc(max(16px,env(safe-area-inset-right)) + 100px);width:44px;height:44px;min-height:44px}.viewer-live.is-fullscreen>.section-bar{right:max(16px,env(safe-area-inset-right))}.viewer-live .court-meta{padding-right:150px}
@media(prefers-reduced-transparency:reduce){.viewer-body .viewer-live button.icon-only:before{background:#edf3f9;backdrop-filter:none}.viewer-body .viewer-live #score-lock[aria-pressed=true]:before{background:#193551}}
/* Fit the compact score panel by height; keep enlarged fullscreen typography. */
.viewer-live:not(.is-fullscreen) .court-card .score-zone{grid-template-rows:minmax(0,1fr)}
.viewer-live:not(.is-fullscreen) .court-card .team-card{min-height:0;max-height:100%;align-content:center}
.viewer-live:not(.is-fullscreen) .court-card .team-name{font-size:clamp(16px,2vw,20px);line-height:1.25}
.viewer-live:not(.is-fullscreen) .court-card .score-value{font-size:clamp(32px,5vh,44px);line-height:1}
.viewer-live:not(.is-fullscreen) .court-card .timer-value{font-size:clamp(23px,4.5vh,34px);line-height:1.1}
.viewer-live:not(.is-fullscreen) .court-card .timer-label{margin-top:2px;line-height:1.2}
/* Fullscreen regions are portalled to body, outside all app navigation. */
body[data-viewer-fullscreen]>.viewer-shell{display:none!important}
body.viewer-body>.is-fullscreen{z-index:100!important;isolation:isolate;position:fixed!important;inset:0!important;margin:0!important;width:100%!important;height:100dvh!important;max-height:none!important}
body.viewer-body .is-fullscreen [data-enter-fullscreen]{display:none!important}
body.viewer-body .is-fullscreen>.fullscreen-bar{flex:none}
body.viewer-body .viewer-live.is-fullscreen:has(.rotate-hint:not([hidden])) .court-carousel{visibility:visible!important}
body.viewer-body .viewer-live.is-fullscreen .rotate-hint{inset:auto!important;left:50%!important;bottom:64px!important;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);height:auto;padding:7px 12px;gap:7px;flex-direction:row;background:#132a3bb3;border:1px solid #ffffff33;border-radius:10px;pointer-events:none;z-index:7;backdrop-filter:blur(4px)}
body.viewer-body .rotate-hint svg{width:32px;height:28px}body.viewer-body .rotate-hint strong{font-size:16px;white-space:nowrap}
/* Original scorer/audience canvas, isolated from spectator table styles. */
.viewer-live .court-card.original-court,.viewer-live.is-fullscreen .court-card.original-court{display:block;position:relative;padding:0!important;background:#101b2a;border:0;border-radius:7px;overflow:hidden}
.original-score-frame{display:block;width:100%;height:100%;border:0;pointer-events:none}
.viewer-live .original-court .court-meta{position:absolute;left:10px;top:10px;z-index:2;min-height:0;padding:0;max-width:calc(100% - 165px);font-size:12px;pointer-events:none}
.viewer-live .original-court .court-meta strong{font-size:12px;text-shadow:0 1px 4px #000}
.viewer-live.is-fullscreen{background:#101b2a!important;grid-template-rows:minmax(0,1fr)!important;padding:0!important}
.viewer-live.is-fullscreen .carousel-nav{display:none!important}
.viewer-live.is-fullscreen .court-card.original-court{border-radius:0}
/* A single visual scale and control family across the spectator surface. */
.viewer-body{--viewer-text:14px;--viewer-small:12px;--viewer-title:16px}.viewer-shell{grid-template-rows:auto auto minmax(0,1fr)}
.viewer-header{padding:6px 12px;min-height:52px;gap:4px}.viewer-header>div{gap:8px;align-items:center}.viewer-header strong{font-size:16px;font-weight:700}.viewer-header #viewer-event-name{font-size:12px;flex:1;min-width:0;margin:0;max-width:none}.viewer-header #viewer-state{flex:none;font-size:10px;line-height:18px;min-height:0;padding:0 5px;border-radius:4px;max-width:80px;overflow:hidden;text-overflow:ellipsis;background:#e9eff8}.viewer-tabs{padding:0 12px;gap:12px}.viewer-tabs button{font-size:16px;min-height:44px;border-bottom-width:2px}
.viewer-live,.viewer-list{padding-left:10px;padding-right:10px}.viewer-live{padding-top:10px}.viewer-live>.section-bar{top:12px;right:12px;gap:2px}.viewer-body .viewer-live button.icon-only:before{inset:10px;border-radius:7px;background:#eff5ff99;border:1px solid #ffffff5c;box-shadow:0 1px 4px #07182720}.viewer-body .viewer-live button.icon-only .viewer-icon{width:16px;height:16px}.viewer-live .original-court .court-meta{left:10px;top:10px}.viewer-live .original-court .court-meta strong{font-size:12px;font-weight:600}
.viewer-body button.icon-only,.viewer-body .viewer-header button.icon-only{background:transparent;border-color:transparent;box-shadow:none;border-radius:8px;padding:13px}.viewer-body .viewer-icon{width:18px;height:18px;stroke-width:1.65}.viewer-body button.icon-only:hover{background:#dce7f34d}.section-bar h1,.section-bar h2,.viewer-results>.section-bar h1{font-size:16px;font-weight:650}.section-bar{min-height:44px;gap:6px}.section-bar span{font-size:12px}.list-title>div:first-child{gap:8px}.carousel-nav{gap:4px}.carousel-nav>button{font-size:22px;font-weight:400}.court-dots button:before{width:5px;height:5px}.court-dots button[aria-current=true]:before{width:14px;height:5px}.viewer-list{padding-bottom:10px}.viewer-match-scroll{border-radius:8px;border-color:#dce5ef}.spectator-schedule-head{font-size:12px;font-weight:400;color:#778699;padding:9px 10px;background:#f6f8fc}
.spectator-schedule-head,.spectator-match-row{grid-template-columns:90px minmax(0,1fr);gap:10px}.spectator-match-row{padding:10px;min-height:76px;font-size:14px}.spectator-match-row.has-locate{grid-template-columns:90px minmax(0,1fr) 44px;gap:4px}.spectator-start{gap:5px;min-width:0;white-space:normal;align-self:center}.spectator-start time{font-size:12px;line-height:1.45;white-space:normal;font-variant-numeric:tabular-nums}.spectator-start small{font-size:11px;color:#778699}.spectator-opponents{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:6px;align-items:center}.spectator-side{min-width:0;display:grid;grid-template-rows:22px 22px;gap:3px;text-align:center}.spectator-side .spectator-team{font-size:14px;line-height:22px;text-align:center}.spectator-side.red .spectator-team{color:#a52b35}.spectator-side.blue .spectator-team{color:#1757a8}.spectator-side .spectator-score{font-size:14px;line-height:22px;color:#22354b;font-weight:600}.spectator-versus{display:block!important;align-self:end;padding-bottom:2px;font-size:13px;color:#8290a2}.viewer-results{padding:10px}.viewer-results .card{border-radius:8px}.viewer-results .standings-group h2{font-size:15px}.viewer-results .standings-group strong{font-size:14px}.viewer-results .standings-group td,.viewer-results .standings-group th{font-size:14px}.viewer-dialog .dialog-head h2{font-size:16px}.viewer-dialog button,.viewer-dialog label{font-size:14px}
@media(max-width:360px){.viewer-header strong{font-size:15px}.viewer-header #viewer-event-name{font-size:11px}.spectator-schedule-head,.spectator-match-row{grid-template-columns:76px minmax(0,1fr);gap:6px}.spectator-match-row.has-locate{grid-template-columns:76px minmax(0,1fr) 44px}.spectator-start time{font-size:12px}}
.viewer-local-video{position:fixed;left:0;top:0;width:1px;height:1px;opacity:.01;pointer-events:none;z-index:-1}.viewer-local-video:fullscreen,.viewer-local-video:-webkit-full-screen{position:fixed;inset:0;width:100%;height:100%;opacity:1;z-index:200;pointer-events:auto;object-fit:contain;background:#10141d}.viewer-live .original-court .court-meta{max-width:calc(100% - 190px)}.viewer-live.is-fullscreen>.fullscreen-bar{right:calc(max(12px,env(safe-area-inset-right)) + 138px)}

/* Inset to the existing toolbar: no additional row in narrow portrait layouts. */
.viewer-list > .list-title{position:relative}
#viewer-match-progress{appearance:none;position:absolute;inset-inline:0;bottom:0;width:100%;height:2px;margin:0;border:0;background:#FFFFFF24;pointer-events:none}
#viewer-match-progress::-webkit-progress-bar{background:#FFFFFF24}
#viewer-match-progress::-webkit-progress-value{background:#00E5BE}
#viewer-match-progress::-moz-progress-bar{background:#00E5BE}

@media (max-height:500px) {
  .viewer-shell:has(#results-tab[aria-selected="true"]){min-height:0}
}
