.current-layout{grid-template-columns:160px minmax(0,1fr) 370px}.current-center,.current-right{min-width:0;min-height:0}.current-center{display:flex;flex-direction:column;gap:7px}.current-right{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px}.before-draw{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.phase-control{display:flex;align-items:center;gap:10px}.phase-control>span{font-size:10px;color:#50dca4;letter-spacing:1px;font-weight:900}.phase-control button{font-size:10px;background:#173d59;color:#fff;border:1px solid #42627b;border-radius:6px;padding:7px;cursor:pointer}.checkin-panel{display:flex;flex-direction:column}.checkin-legend{display:flex;justify-content:space-between;padding:10px 15px;font-size:11px;color:#a6bfd3;border-bottom:1px solid #29485f}#checkin-people{flex:1;min-height:0;padding:7px;overflow:hidden}.checkin-row{border-bottom:1px solid #35566e;padding:9px;display:grid;grid-template-columns:minmax(0,1fr) 34px 34px;gap:7px;align-items:center}.checkin-row:nth-child(even){background:#173a54}.checkin-row b{display:block;font-size:15px;line-height:1.2}.checkin-row small{display:block;color:#a6bfd3;font-size:11px;margin-top:4px}.status-light{display:grid;place-items:center;border-radius:6px;min-height:28px;background:#513244;color:#ffb4b4;font-size:17px;font-weight:900}.status-light.yes{background:#235c4a;color:#75efb4}.status-light.unknown{background:#27465e;color:#a6bfd3}.panel-foot{flex-shrink:0;padding:7px;font-size:10px;color:#a6bfd3;text-align:center;border-top:1px solid #29485f}.team-label{font-size:11px;color:#ffc174;margin:7px 5px}.replay-panel{display:flex;flex-direction:column}.replay-panel .panel-title>span{font-size:9px;color:#ffc174}.replay-host{position:relative;aspect-ratio:16/9;min-height:300px;background:#030a10;flex-shrink:0}.replay-host iframe{width:100%;height:100%;border:0;display:block}.replay-info{flex:1;display:flex;flex-direction:column;justify-content:center;padding:22px;background:linear-gradient(145deg,#193f5b,#0c283f)}.replay-info h2{font-size:23px;line-height:1.3}.replay-info p{font-size:14px;line-height:1.5;color:#a6bfd3}.replay-info a{color:#ffc174;font-size:13px;text-decoration:none}.upcoming-card{margin:10px;padding:13px;border-left:3px solid #ff8a00;border-radius:7px;background:#1b3e58}.upcoming-card time{color:#ffc174;font-size:12px;font-weight:800}.upcoming-card b{display:block;font-size:15px;line-height:1.25;margin:8px 0}.upcoming-card small{display:block;color:#a6bfd3;font-size:11px;line-height:1.3}#upcoming-panel{display:flex;flex-direction:column}#upcoming-list{flex:1;min-height:0;overflow:hidden}.rotate-panel{display:flex;flex-direction:column}#rotation-content{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:17px}.ad-card{text-align:center;width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.ad-card img{display:block;max-width:100%;max-height:220px;object-fit:contain}.ad-card h2{font-size:27px;color:#ffc174;line-height:1.2}.ad-card p{font-size:17px;line-height:1.45;margin:0;white-space:pre-line}.ad-card .brand-logo{width:240px;background:#e4eff8;border-radius:10px;padding:14px}.event-promo time{font-size:30px;color:#ff8a00}.event-promo h2{font-size:24px;color:#fff}.event-promo p{font-size:16px;color:#a6bfd3}#hall-panel{display:flex;flex-direction:column}#hall-panel .camera-bar{padding:8px 10px;height:55px;align-items:start;justify-content:center;flex-direction:column;gap:6px}#hall-panel .camera-stage{border-radius:0;border:0}#hall-panel .camera-stage h2{font-size:22px}#hall-panel .camera-stage p{font-size:12px}#hall-panel .camera-icon{font-size:37px}#hall-panel .camera-caption{font-size:8px;padding:7px}.competition-grid{flex:1;min-height:0;display:grid;gap:9px;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}.competition-tile{grid-column:span 6;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:10px;background:#102f48;border:1px solid #38576e}.competition-tile>header{padding:10px 12px;background:#1c4562;display:flex;align-items:center;justify-content:space-between;gap:8px}.competition-tile>header h2{font-size:20px}.competition-tile>header>div{display:flex;align-items:center;gap:6px}.round-choice{font:inherit;font-size:11px;padding:4px;background:#0d2c45;color:#fff;border:1px solid #45627a;border-radius:5px}.round-indicator{font-size:10px;color:#a6bfd3}.tile-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:7px;padding:7px}.tile-table,.tile-games{min-width:0;min-height:0;overflow:hidden}.tile-games{display:flex;flex-direction:column;gap:5px}.tile-table table{border-collapse:collapse;width:100%;font-size:13px}.tile-table th{padding:6px 3px;color:#a6bfd3;font-size:10px;text-align:left;border-bottom:1px solid #41627b}.tile-table td{padding:9px 3px;border-bottom:1px solid #35566e}.tile-table td:first-child{width:22px;color:#ffc174}.tile-table td b{font-size:14px;line-height:1.2}.tile-table td small{display:block;font-size:10px;color:#a6bfd3;margin-top:4px}.tile-table td:nth-child(3){font-weight:800;white-space:nowrap}.tile-match{background:#1b3e58;border:1px solid #35566e;border-radius:5px;padding:7px;min-width:0}.tile-match>small{display:block;font-size:10px;color:#a6bfd3;margin-bottom:4px}.tile-match>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.tile-match b{font-size:13px;display:block;line-height:1.3}.tile-match strong{font-size:21px;color:#50dca4}.tile-match p{font-size:10px;margin:5px 0 0;color:#a6bfd3}.tile-match.complete{border-color:#338665}.tile-pagination{font-size:9px;color:#a6bfd3;text-align:center;padding:5px}.competition-grid[data-count="2"]>.competition-tile{grid-column:span 3}.competition-grid[data-count="3"],.competition-grid[data-count="4"],.competition-grid[data-count="5"]{grid-template-rows:repeat(2,minmax(0,1fr))}.competition-grid[data-count="3"]>.competition-tile{grid-column:span 3}.competition-grid[data-count="3"]>.competition-tile:first-child{grid-column:span 6}.competition-grid[data-count="4"]>.competition-tile{grid-column:span 3}.competition-grid[data-count="5"]>.competition-tile{grid-column:span 2}.competition-grid[data-count="5"]>.competition-tile:nth-child(n+4){grid-column:span 3}.competition-grid[data-count="2"] .tile-content{grid-template-columns:1fr 1fr}.competition-grid[data-count="3"] .competition-tile:not(:first-child)>header h2,.competition-grid[data-count="4"] h2,.competition-grid[data-count="5"] h2{font-size:14px}.competition-grid[data-count="3"] .tile-table td,.competition-grid[data-count="4"] .tile-table td,.competition-grid[data-count="5"] .tile-table td{padding:5px 2px}.competition-grid[data-count="3"] .tile-table td b,.competition-grid[data-count="4"] .tile-table td b,.competition-grid[data-count="5"] .tile-table td b{font-size:11px}.competition-grid[data-count="3"] .tile-table td small,.competition-grid[data-count="4"] .tile-table td small,.competition-grid[data-count="5"] .tile-table td small{display:none}.competition-grid[data-count="4"] .tile-match,.competition-grid[data-count="5"] .tile-match{padding:5px}.competition-grid[data-count="4"] .tile-match b,.competition-grid[data-count="5"] .tile-match b{font-size:10px}.competition-grid[data-count="4"] .tile-match strong,.competition-grid[data-count="5"] .tile-match strong{font-size:16px}.competition-grid[data-count="5"] .tile-match p{font-size:9px}.competition-grid[data-count="5"] .tile-table th{font-size:8px}.competition-grid[data-count="5"] .tile-table td{font-size:10px}.competition-grid[data-count="5"] .tile-content{gap:4px;padding:4px}.current-page .table-strip{position:relative}.slot-note{color:#a6bfd3;font-size:10px;margin-left:8px}
@media(max-width:1450px){.current-layout{grid-template-columns:148px minmax(0,1fr) 300px;gap:10px}.replay-host{min-height:220px}.replay-info{padding:15px}.replay-info h2{font-size:18px}.checkin-row b{font-size:12px}.checkin-row small{font-size:9px}.checkin-row{padding:7px;grid-template-columns:minmax(0,1fr) 28px 28px;gap:4px}.status-light{font-size:14px;min-height:24px}.upcoming-card{padding:9px;margin:7px}.upcoming-card b{font-size:12px;margin:5px 0}.upcoming-card time{font-size:11px}.upcoming-card small{font-size:10px}.ad-card h2{font-size:22px}.ad-card p{font-size:14px}.ad-card img{max-height:150px}.competition-tile>header{padding:6px}.competition-tile>header h2{font-size:15px}.round-indicator{display:none}.tile-content{padding:5px;gap:4px}.tile-table td{padding:6px 2px}.tile-table td b{font-size:12px}.tile-match b{font-size:11px}.tile-match strong{font-size:18px}.competition-grid[data-count="5"] .tile-content{grid-template-columns:1.1fr 1fr}.competition-grid[data-count="5"] .tile-table th:nth-child(n+4),.competition-grid[data-count="5"] .tile-table td:nth-child(n+4){display:none}.competition-grid[data-count="5"] .tile-table td b{font-size:9px}.competition-grid[data-count="5"] .tile-match b{font-size:9px}.competition-grid[data-count="5"] .tile-match>small{font-size:8px}.competition-grid[data-count="5"] .tile-match p{display:none}.competition-grid[data-count="5"] .competition-tile>header h2{font-size:11px}.round-choice{font-size:9px;padding:2px}.checkin-legend{font-size:10px;padding:8px}.camera-bar select{max-width:120px}}
@media(max-width:800px){.current-layout{height:auto;display:flex;flex-direction:column}.current-center{order:0;min-height:700px}.current-right{order:1;grid-template-rows:360px 360px;min-height:730px}.before-draw{display:flex;flex-direction:column}.checkin-panel{height:440px}.replay-panel{min-height:500px}.current-center .competition-grid{min-height:900px}.competition-grid .competition-tile{min-height:260px}.competition-grid[data-count]>.competition-tile{grid-column:span 6!important}.competition-grid[data-count]{grid-template-rows:none;grid-auto-rows:minmax(260px,auto)}.schedule{order:2}.competition-grid[data-count="2"] .tile-content{grid-template-columns:1fr 1fr}.competition-grid[data-count="2"] .tile-games{display:flex}.phase-control>span{font-size:9px}#hall-panel{min-height:340px}.current-page .tv-header{gap:10px}}

.tile-table td b,.tile-match b{overflow-wrap:anywhere}.tile-table th:nth-child(3),.tile-table td:nth-child(3){width:30px}.tile-table th:nth-child(4),.tile-table td:nth-child(4){width:24px}.tile-table th:nth-child(5),.tile-table td:nth-child(5){width:34px}
.before-draw{grid-template-columns:minmax(0,1fr) minmax(400px,1.05fr)}.replay-host{min-height:300px}@media(max-width:1450px){.replay-host{min-height:300px}}

/* Keep status headings aligned with their respective icon columns. */
.checkin-panel{--checkin-status-width:68px;--checkin-column-gap:7px}
.checkin-legend,.checkin-row{grid-template-columns:minmax(0,1fr) repeat(2,var(--checkin-status-width));gap:var(--checkin-column-gap)}
.checkin-legend{display:grid;padding:10px 16px;font-weight:700;color:#dcebf6}
.checkin-legend span:not(:first-child){text-align:center}
.checkin-row .status-light{justify-self:center;width:32px}
@media(max-width:1450px){.checkin-panel{--checkin-status-width:58px;--checkin-column-gap:4px}.checkin-legend{padding:8px 14px}.checkin-row .status-light{width:28px}}

.replay-info{padding:14px;gap:8px;min-height:0}.replay-info h2{font-size:18px;margin:0}.replay-info .replay-status{font-size:11px;margin:0}.replay-choices{display:grid;gap:5px}.replay-choice{display:flex;align-items:center;gap:9px;text-align:left;padding:8px;border:1px solid #375b76;border-radius:6px;background:#173b56;color:#dcebf6;cursor:pointer}.replay-choice span{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:4px;background:#0c283e;color:#ffc174}.replay-choice b{font-size:12px;line-height:1.25}.replay-choice[aria-pressed="true"]{border-color:#ff9100;background:#294957;color:#fff}.replay-choice[aria-pressed="true"] span{background:#ff9100;color:#082235}.replay-choice:focus-visible{outline:2px solid #ffc174;outline-offset:2px}.replay-host{min-height:200px}
@media(max-width:1450px){.replay-info{padding:10px;gap:6px}.replay-info h2{font-size:15px}.replay-choice{padding:5px;gap:6px}.replay-choice b{font-size:11px}.replay-choice span{flex-basis:20px;height:20px}.replay-info a{font-size:11px}.replay-host{min-height:200px}}

/* All checked-in participants share one screen; density follows available height. */
#checkin-people .checkin-row{height:var(--checkin-row-height);box-sizing:border-box;padding:0 9px;min-height:0}
#checkin-people .checkin-row>div{min-width:0}
#checkin-people .checkin-row b{font-size:var(--checkin-name-size);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#checkin-people .checkin-row small{font-size:var(--checkin-meta-size);line-height:1;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#checkin-people .checkin-row .status-light{width:var(--checkin-icon-size);height:var(--checkin-icon-size);min-height:0;font-size:calc(var(--checkin-icon-size)*.65);border-radius:3px}
@media(max-width:1450px){#checkin-people .checkin-row{padding-inline:7px}}

#checkin-people.checkin-one-line .checkin-row>div{display:flex;align-items:center;gap:5px}
#checkin-people.checkin-one-line .checkin-row b{flex:1;min-width:0}
#checkin-people.checkin-one-line .checkin-row small{flex:0 1 32%;min-width:0}

/* Compact tournament selection stays inside the existing header. */
.event-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:5px;min-width:0}.tv-title .event-toolbar p{margin:0;flex-shrink:0}.event-toolbar label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;min-width:0}.event-toolbar select{width:clamp(180px,23vw,400px);max-width:100%;min-width:0;padding:3px 7px;border:1px solid #42627b;border-radius:5px;background:#143550;color:#f4f8fc;font-size:11px;text-overflow:ellipsis}.event-toolbar select option{background:#143550;color:#fff}@media(max-width:800px){.event-toolbar{flex-wrap:wrap;gap:6px}.event-toolbar label{flex:1}.event-toolbar select{width:100%;max-width:360px}}

.checkin-waitlist-heading{height:22px;box-sizing:border-box;padding:4px 9px;background:#503f25;color:#ffd28d;font-size:11px;font-weight:bold}.checkin-waiting{border-left:3px solid #ffab38}#checkin-people .checkin-waiting b{color:#ffd28d}

.current-footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 20px}.current-footer-links a{white-space:nowrap}@media(max-width:800px){.current-footer-links{justify-content:flex-start;gap:8px 14px}}

/* Six fixed upcoming dates; advertising rotates independently. */
.current-right{grid-template-rows:minmax(0,1.6fr) minmax(0,1fr)}
.current-page[data-phase="drawn"] .current-right{grid-template-rows:minmax(0,1.8fr) minmax(0,.7fr) minmax(0,1fr)}
#upcoming-panel{display:flex;flex-direction:column;min-height:0}#upcoming-list{display:grid;grid-template-rows:repeat(var(--upcoming-count,6),minmax(0,1fr));gap:4px;padding:6px;overflow:hidden}
#upcoming-list .upcoming-card{min-height:0;margin:0;padding:4px 7px;border-left-width:2px;display:flex;flex-direction:column;justify-content:center;gap:2px;overflow:hidden}
#upcoming-list .upcoming-card time{font-size:var(--upcoming-font,11px);line-height:1.05}#upcoming-list .upcoming-card b{font-size:var(--upcoming-font,11px);line-height:1.1;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#upcoming-list .upcoming-card small{font-size:max(7px,calc(var(--upcoming-font,11px) - 1px));line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-invitation{flex:0 0 auto;text-align:center;color:#b6cddd;font-size:11px;margin:7px 8px 0}.rotate-panel .ad-card{height:100%;min-height:0;gap:8px}.rotate-panel .ad-card img{flex:1 1 auto;min-height:0;max-height:100%;width:100%;object-fit:contain}.rotate-panel .ad-card h2{flex-shrink:0;font-size:clamp(14px,1.2vw,22px)}.rotate-panel .ad-card p{flex-shrink:0;font-size:clamp(10px,.9vw,14px);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.current-page[data-phase="drawn"] #hall-panel .camera-stage{min-height:0}.current-page[data-phase="drawn"] #camera-placeholder h2{font-size:17px}.current-page[data-phase="drawn"] #camera-placeholder .camera-icon{display:none}.current-page[data-phase="drawn"] #camera-placeholder p{font-size:10px}
@media(max-width:800px){.current-right{grid-template-rows:420px 360px;min-height:790px}.current-page[data-phase="drawn"] .current-right{grid-template-rows:420px 340px 360px;min-height:1140px}}

/* Sponsor area deliberately contrasts with the dark scoreboard. */
.current-right .rotate-panel{background:linear-gradient(145deg,#fff0c9,#ffe0a0);border:2px solid #ffad32;box-shadow:0 0 22px #ff9a0026;color:#102c45}
.rotate-panel .panel-title{position:relative;justify-content:center;text-align:center;background:linear-gradient(110deg,#ff9700,#ffba47);border-bottom:1px solid #e99522;color:#10243c;padding-inline:42px}
.rotate-panel #rotation-title{width:100%;text-align:center;font-weight:900;letter-spacing:1px}.rotate-panel #rotation-page{position:absolute;right:9px;color:#183550;font-size:10px}.rotate-panel .ad-invitation{color:#735025}.rotate-panel .ad-card h2{color:#17354f}.rotate-panel .ad-card p{color:#304c62}

.rotate-panel .ad-card video{display:block;flex:1 1 auto;min-height:0;max-height:100%;width:100%;object-fit:contain;border-radius:8px;background:#082338}

.rotate-panel .ad-card .ad-media{position:relative;flex:1 1 0;min-height:0;width:100%;overflow:hidden}
.rotate-panel .ad-card .ad-media img,.rotate-panel .ad-card .ad-media video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0;border-radius:8px;background:transparent}

/* More space for the sponsor image; all six dates remain visible. */
@media(min-width:801px){.current-right{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.current-page[data-phase="drawn"] .current-right{grid-template-rows:minmax(0,1.25fr) minmax(0,.7fr) minmax(0,1.25fr)}}
.rotate-panel #rotation-content{padding:6px}.rotate-panel .ad-card{gap:4px;text-decoration:none;color:inherit}.rotate-panel a.ad-card{cursor:pointer}.rotate-panel a.ad-card:focus-visible{outline:3px solid #12344f;outline-offset:-3px;border-radius:6px}.rotate-panel a.ad-card:hover{filter:brightness(1.025)}

.competition-tile .tt-ceremony{margin:0;padding:10px;flex:1;min-height:0}.competition-tile .tt-podium{grid-template-columns:1fr;gap:7px}.competition-tile .tt-medal{padding:8px;gap:3px}.competition-tile .tt-medal span{font-size:13px}.competition-tile .tt-medal strong{font-size:15px}.competition-tile .tt-medal small{font-size:10px}.competition-grid[data-count="5"] .tt-medal{padding:5px}.competition-grid[data-count="5"] .tt-medal strong{font-size:10px}.competition-grid[data-count="5"] .tt-medal small{display:none}.competition-grid[data-count="5"] .tt-ceremony-label{font-size:9px}
/* Readable television layout: fixed minimum type, paging instead of shrinking. */
@media(min-width:801px){
.current-page{--header:106px;--tables:190px;--footer:34px}
.current-page .current-layout{grid-template-columns:190px minmax(0,1fr) 320px}
.current-page .tv-header{gap:16px}.current-page .tv-title h1{font-size:clamp(22px,1.7vw,34px);line-height:1.2}.current-page .tv-title #event-meta{font-size:13px}
.current-page .event-toolbar select{font-size:13px;padding:5px 8px}.current-page .event-toolbar label{font-size:12px}
.current-page .schedule nav{overflow:auto}.current-page .schedule h3{font-size:12px;height:auto}.current-page .class-button{min-height:44px;padding:6px}.current-page .class-button b{font-size:13px;line-height:1.25}.current-page .class-button time{font-size:12px}.current-page .class-button small{font-size:11px}
.current-page .competition-tile>header h2{font-size:22px}.current-page .competition-tile>header select{font-size:14px;padding:5px}
.current-page .tile-content{gap:14px;padding:12px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.current-page .tile-table table{font-size:16px}.current-page .tile-table th{font-size:12px;padding:8px 5px}.current-page .tile-table td{padding:11px 5px;line-height:1.3}.current-page .tile-table td b{font-size:18px;line-height:1.25}.current-page .tile-table td small{font-size:12px;margin-top:4px}.current-page .tile-table td:nth-child(3),.current-page .tile-table th:nth-child(3){width:46px}.current-page .tile-table td:nth-child(4),.current-page .tile-table th:nth-child(4){width:36px}.current-page .tile-table td:nth-child(5),.current-page .tile-table th:nth-child(5){width:48px}
.current-page .tile-games{gap:10px}.current-page .tile-match{padding:12px;flex-shrink:0}.current-page .tile-match b{font-size:18px;line-height:1.4}.current-page .tile-match>small{font-size:13px;margin-bottom:7px}.current-page .tile-match strong{font-size:28px}.current-page .tile-match p{font-size:13px;line-height:1.4}.current-page .tile-pagination{font-size:12px;padding:8px}
.current-page .competition-grid[data-count="2"] .tile-table td b,.current-page .competition-grid[data-count="2"] .tile-match b{font-size:16px}.current-page .competition-grid[data-count="2"] .tile-table td{font-size:14px;padding:9px 4px}.current-page .competition-grid[data-count="2"] .tile-content{gap:8px;padding:8px}
.current-page .table-strip{padding:10px 12px;gap:12px}.current-page .table-strip-title{width:190px}.current-page .table-strip-title h2{font-size:19px}.current-page .table-strip-title small{font-size:12px;line-height:1.4}.current-page .tt-hall-open{font-size:14px;padding:9px}
.current-page .table-card{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;padding:10px 12px;overflow:auto}.current-page .table-card>strong{font-size:20px}.current-page .table-card b{font-size:16px;line-height:1.3;overflow-wrap:anywhere}.current-page .table-card small{font-size:12px;margin-top:5px;line-height:1.3}.current-page .table-card>div{min-width:0}.current-page .table-card .tt-live-score{font-size:15px;line-height:1.3;margin-top:6px;padding:6px 8px}
.current-page .upcoming-card{padding:10px;margin:6px 8px}.current-page .upcoming-card time{font-size:13px}.current-page .upcoming-card b{font-size:14px;line-height:1.3;margin:5px 0}.current-page .upcoming-card small{font-size:12px}.current-page .panel-title h2{font-size:16px}.current-page .tv-footer{font-size:11px}
.current-page #camera-placeholder{padding:8px 8px 36px}.current-page #camera-placeholder h2{font-size:19px;margin:2px}.current-page #camera-placeholder p{font-size:12px;margin:3px}.current-page .camera-icon{display:none}
.current-page .tt-live-score{line-height:1.4}.current-page .tt-hall-dialog .tt-hall-table strong{font-size:23px}.current-page .tt-hall-dialog .tt-hall-table b{font-size:17px;line-height:1.4}.current-page .tt-hall-dialog .tt-hall-table small{font-size:13px}.current-page .tt-hall-dialog .tt-live-score{font-size:17px;margin-top:9px}
}
@media(min-width:1600px){.current-page .current-layout{grid-template-columns:200px minmax(0,1fr) 360px}.current-page .table-strip-title{width:200px}.current-page .class-button b{font-size:14px}.current-page .table-card b{font-size:17px}}
@media(min-width:801px) and (max-height:740px){.current-page{--header:100px;--tables:180px}.current-page .current-layout{grid-template-columns:170px minmax(0,1fr) 270px;gap:8px}.current-page .table-strip-title{width:170px}.current-page .tile-table td b,.current-page .tile-match b{font-size:16px}.current-page .tile-table td{padding:8px 4px}.current-page .tile-content{gap:8px;padding:8px}.current-page .upcoming-card{padding:6px}.current-page .upcoming-card small{display:none}.current-page #camera-placeholder p{display:none}}
@media(max-width:800px){.current-page .table-strip{height:auto;display:block}.current-page .table-strip-title{width:100%;margin-bottom:10px}.current-page #active-tables{display:grid;grid-template-columns:1fr;overflow:visible}.current-page .table-card{display:block;overflow:visible;padding:14px}.current-page .table-card>strong{display:block;font-size:22px;margin-bottom:8px}.current-page .table-card b{font-size:17px;line-height:1.4}.current-page .table-card small{font-size:13px}.current-page .table-card .tt-live-score{margin-top:10px}.current-page .tile-table td b,.current-page .tile-match b{font-size:15px}.current-page .tile-table th{font-size:11px}.current-page .tile-table td small{font-size:11px}.current-page .tile-match>small,.current-page .tile-match p{font-size:12px}.current-page .tile-pagination{font-size:12px}}

@media(min-width:801px){.current-page #upcoming-list .upcoming-card{padding:9px;overflow:visible}.current-page #upcoming-list .upcoming-card b{display:block;-webkit-line-clamp:unset;overflow:visible;line-height:1.3}.current-page #upcoming-list .upcoming-card time{line-height:1.25}.current-page #upcoming-list .upcoming-card small{font-size:12px;line-height:1.25}.current-page #hall-panel .camera-caption{font-size:10px}}
@media(min-width:801px) and (max-height:740px){.current-page #camera-placeholder{display:none}}

@media(min-width:801px){.current-page .class-button{height:auto;min-height:var(--class-height,44px)}.current-page #hall-panel:has(#camera-state:not(.on)) .camera-stage{display:none}}

/* Stable class colors shared by the selection, results, tables and hall plan. */
.current-page [data-class-tone="0"]{--class-body:#163c47;--class-head:#205967;--class-accent:#64e1cf}
.current-page [data-class-tone="1"]{--class-body:#183653;--class-head:#254e78;--class-accent:#87bcff}
.current-page [data-class-tone="2"]{--class-body:#35294f;--class-head:#554073;--class-accent:#cfb1ff}
.current-page [data-class-tone="3"]{--class-body:#45391f;--class-head:#66512b;--class-accent:#ffda83}
.current-page [data-class-tone="4"]{--class-body:#482a3d;--class-head:#6d405b;--class-accent:#ffafd3}
.current-page [data-class-tone="5"]{--class-body:#283f2a;--class-head:#425e36;--class-accent:#b9e48f}
.current-page [data-class-tone="6"]{--class-body:#153e50;--class-head:#205c70;--class-accent:#79dff6}
.current-page [data-class-tone="7"]{--class-body:#473123;--class-head:#6f482c;--class-accent:#ffbb87}
.current-page [data-class-tone="8"]{--class-body:#3b294a;--class-head:#5b3d6e;--class-accent:#e1aff5}
.current-page [data-class-tone="9"]{--class-body:#203c3a;--class-head:#315f59;--class-accent:#96dfce}
.current-page [data-class-tone="10"]{--class-body:#413331;--class-head:#624a43;--class-accent:#edc3aa}
.current-page [data-class-tone="11"]{--class-body:#283348;--class-head:#3e5170;--class-accent:#bccdf3}
.current-page .class-button[data-class-tone]{background:var(--class-body);border-color:var(--class-head);border-left:5px solid var(--class-accent);color:#fff}.current-page .class-button[data-class-tone] time{color:var(--class-accent)}.current-page .class-button[data-class-tone] small{color:#d9e7ef}.current-page .class-button[data-class-tone][aria-pressed=true]{background:var(--class-head);border-color:var(--class-accent);box-shadow:inset 0 0 0 2px #fff}.current-page .class-button[data-class-tone][aria-pressed=true] time{color:#fff}
.current-page .competition-tile[data-class-tone]{background:var(--class-body);border-color:var(--class-accent);border-top:5px solid var(--class-accent)}.current-page .competition-tile[data-class-tone]>header{background:var(--class-head)}.current-page .competition-tile[data-class-tone]>header h2{color:#fff}.current-page .competition-tile[data-class-tone] .tile-match{background:var(--class-head);border-color:var(--class-accent)}.current-page .competition-tile[data-class-tone] .tile-table th,.current-page .competition-tile[data-class-tone] .tile-table td small,.current-page .competition-tile[data-class-tone] .tile-match>small,.current-page .competition-tile[data-class-tone] .tile-match p,.current-page .competition-tile[data-class-tone] .tile-pagination{color:#d9e7ef}.current-page .competition-tile[data-class-tone] .tile-table td:first-child{color:var(--class-accent)}
.current-page .table-card[data-class-tone]{background:var(--class-body);border-color:var(--class-head);border-left:5px solid var(--class-accent);border-top:3px solid var(--class-accent)}.current-page .table-card[data-class-tone]>strong{color:var(--class-accent)}.current-page .table-card[data-class-tone] small{color:#d9e7ef}
.current-page .tt-hall-dialog .tt-hall-table[data-class-tone]{background:var(--class-body);border-color:var(--class-accent);border-top:5px solid var(--class-accent)}.current-page .tt-hall-dialog .tt-hall-table[data-class-tone]>strong{color:var(--class-accent)}.current-page .tt-hall-dialog .tt-hall-table[data-class-tone] small{color:#d9e7ef}

/* Up to sixteen standings on one page; larger fields split evenly over two pages. */
.current-page .tile-table.standings-fixed{overflow:auto;scrollbar-width:thin}
.current-page .tile-table.standings-fixed table{table-layout:fixed;font-size:var(--standing-number-size,14px)}
.current-page .tile-table.standings-fixed th{height:28px;padding:3px 4px;font-size:10px}
.current-page .tile-table.standings-fixed tbody tr{height:var(--standing-row-height,32px)}
.current-page .tile-table.standings-fixed td{padding:2px 4px;font-size:var(--standing-number-size,14px);line-height:1.15;vertical-align:middle}
.current-page .tile-table.standings-fixed td b{font-size:var(--standing-name-size,16px);line-height:1.15;display:block}
.current-page .tile-table.standings-fixed td small{font-size:10px;line-height:1.15;margin-top:2px}
.current-page .tile-table.standings-fixed td:first-child,.current-page .tile-table.standings-fixed th:first-child{width:27px}
.current-page .tile-table.standings-fixed td:nth-child(3),.current-page .tile-table.standings-fixed th:nth-child(3){width:38px}
.current-page .tile-table.standings-fixed td:nth-child(4),.current-page .tile-table.standings-fixed th:nth-child(4){width:30px}
.current-page .tile-table.standings-fixed td:nth-child(5),.current-page .tile-table.standings-fixed th:nth-child(5){width:43px}
.current-page .tile-table.standings-compact .standing-person b,.current-page .tile-table.standings-compact .standing-person small{display:inline;margin:0}
.current-page .tile-table.standings-compact .standing-person small:before{content:' · '}
.current-page .tile-table.standings-names-only .standing-person small{display:none}
/* On phones, give standings and pairings the full available width. */
@media(max-width:800px){
 .current-page .current-center,.current-page .current-center .competition-grid{min-height:0}
 .current-page .competition-grid[data-count]{display:flex;flex-direction:column;grid-template-rows:none}
 .current-page .competition-tile{flex:none;min-height:0;overflow:visible}
 .current-page .competition-tile .tile-content{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:20px;padding:12px}
 .current-page .tile-table.standings-fixed{overflow:visible}
 .current-page .tile-table.standings-fixed tbody tr{height:auto}
 .current-page .tile-table.standings-fixed th{font-size:11px;padding:6px 3px}
 .current-page .tile-table.standings-fixed td{font-size:13px;padding:10px 3px;line-height:1.4}
 .current-page .tile-table.standings-fixed .standing-person b{display:block;font-size:16px;line-height:1.4;word-break:normal;overflow-wrap:break-word;hyphens:none}
 .current-page .tile-table.standings-fixed .standing-person small{display:block;margin-top:4px;font-size:11px;line-height:1.4}
 .current-page .tile-table.standings-fixed .standing-person small:before{content:none}
 .current-page .tile-table.standings-fixed th:first-child,.current-page .tile-table.standings-fixed td:first-child{width:23px}
 .current-page .tile-table.standings-fixed th:nth-child(3),.current-page .tile-table.standings-fixed td:nth-child(3){width:32px}
 .current-page .tile-table.standings-fixed th:nth-child(4),.current-page .tile-table.standings-fixed td:nth-child(4){width:24px}
 .current-page .tile-table.standings-fixed th:nth-child(5),.current-page .tile-table.standings-fixed td:nth-child(5){width:38px}
 .current-page .tile-games{overflow:visible;gap:10px}
 .current-page .tile-match{padding:12px}
 .current-page .tile-match b{font-size:16px;line-height:1.4;overflow-wrap:break-word}
 .current-page .tile-match strong{font-size:23px}
 .current-page .tile-match>small,.current-page .tile-match p{font-size:12px;line-height:1.4}
 .current-page .event-toolbar{display:block}
 .current-page .event-toolbar label{margin-top:8px;display:flex;width:100%}
 .current-page .event-toolbar select{width:100%;max-width:none;min-width:0;flex:1}
 .current-page .tv-title{min-width:0;width:100%}
 .current-page .tv-title h1{font-size:24px;line-height:1.25;overflow-wrap:break-word}
}

/* Keep BH, Feinbuchholz and scores visible together. */
.current-page .tile-table.standings-fixed th:nth-child(5),.current-page .tile-table.standings-fixed td:nth-child(5){width:34px;display:table-cell}
.current-page .tile-table.standings-fixed th:nth-child(6),.current-page .tile-table.standings-fixed td:nth-child(6){width:43px;display:table-cell}
.current-page .tile-pagination small{display:block;font-size:11px;line-height:1.35;margin-top:4px;color:#d9e7ef}
@media(max-width:800px){.current-page .tile-table.standings-fixed th:nth-child(5),.current-page .tile-table.standings-fixed td:nth-child(5){width:32px}.current-page .tile-table.standings-fixed th:nth-child(6),.current-page .tile-table.standings-fixed td:nth-child(6){width:38px}}

.current-page .tile-pagination{min-height:48px}

/* Reserve enough vertical space for all sixteen standings, including the legend. */
@media(min-width:801px) and (max-height:800px){
 .current-page{--tables:100px}
 .current-page .table-strip{padding:6px 12px}
 .current-page .table-card{padding:6px 10px;gap:2px}
 .current-page .table-card>strong{font-size:17px}
 .current-page .table-card b{font-size:13px;line-height:1.15}
 .current-page .table-card small{font-size:10px;margin-top:2px}
 .current-page .table-strip-title h2{font-size:16px}
 .current-page .tt-hall-open{font-size:12px;padding:5px}
}
@media(min-width:801px){
 .current-page .tile-table.standings-compact .standing-person b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .current-page .tile-table.standings-compact .standing-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .current-page .tile-table.standings-compact .standing-person small:before{content:none}
 .current-page .tile-table.standings-names-only .standing-person small{display:none}
}

/* Parallel tiles must use the calculated row sizes, not the older two-class type. */
@media(min-width:801px){
 .current-page .competition-grid[data-count] .tile-table.standings-fixed td{padding:2px 4px;font-size:var(--standing-number-size,14px);line-height:1.15}
 .current-page .competition-grid[data-count] .tile-table.standings-fixed td b{font-size:var(--standing-name-size,16px);line-height:1.15}
 .current-page .competition-grid[data-count] .tile-table.standings-fixed td small{font-size:10px;line-height:1.15}
}

@media(min-width:801px){.current-page .competition-grid[data-count="2"] .tile-content{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}}
