
/* SCORY 24 v6: fixed TV canvas, alternating league scores+table and fan voices. */
body.sc6-mode,body.sc6-mode html{overflow:hidden}
body.sc6-mode .dashboard{height:100dvh;min-height:0!important;max-height:100dvh;overflow:hidden!important;display:flex;flex-direction:column}
body.sc6-mode .head{flex:0 0 auto;padding:clamp(7px,.9vh,14px) clamp(13px,2vw,32px);min-height:0;gap:9px}
body.sc6-mode .logo{font-size:clamp(19px,1.65vw,30px)}
body.sc6-mode .logo small{margin-top:4px;letter-spacing:.1em}
body.sc6-mode .head-actions{flex-wrap:nowrap}
body.sc6-mode .head-actions .pillbtn{padding:7px 10px;font-size:clamp(9px,.7vw,12px);min-height:33px;white-space:nowrap}
body.sc6-mode #sc3Switch,body.sc6-mode #back,body.sc6-mode #forward,body.sc6-mode #toggleFans{display:none!important}
body.sc6-mode .signal-strip{flex:0 0 auto;padding:6px clamp(14px,2vw,30px);min-height:33px}
body.sc6-mode .tools{display:none!important}
body.sc6-mode .content{display:flex!important;flex:1 1 auto;flex-direction:column;min-height:0!important;width:100%;max-width:none;gap:0!important;margin:0!important;padding:8px clamp(10px,1.5vw,24px)!important}
body.sc6-mode .scoreboard{display:flex!important;flex:1 1 auto;min-height:0!important;width:100%;overflow:hidden;border-radius:13px}
body.sc6-mode .scoreboard>.scoreboard-head,body.sc6-mode .scoreboard>.match-list,body.sc6-mode .scoreboard>.board-footer,body.sc6-mode .scoreboard>.sc3-main,body.sc6-mode .scoreboard>.sc5-stage{display:none!important}
body.sc6-mode .rail{display:none!important}
body:not(.sc6-mode) .sc6-stage{display:none!important}
body.sc6-mode .sc6-stage{display:flex;flex:1 1 auto;flex-direction:column;min-height:0!important;width:100%;background:#071c27;color:#f0faf6}
body.sc6-mode .sc6-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;min-height:73px;padding:clamp(10px,1.1vh,17px) clamp(16px,1.45vw,26px);border-bottom:1px solid #3b626b;background:linear-gradient(120deg,#092832,#061921)}
body.sc6-mode .sc6-eyebrow{font-size:clamp(10px,.75vw,14px);font-weight:1000;letter-spacing:.15em;color:#d0ff5e}
body.sc6-mode .sc6-title{margin:4px 0 1px;font-size:clamp(26px,2.2vw,44px);font-weight:1000;line-height:1;letter-spacing:-.045em}
body.sc6-mode .sc6-subtitle{font-size:clamp(9px,.72vw,12px);font-weight:800;color:#aec5ca;line-height:1.35;margin-top:4px}
body.sc6-mode .sc6-pagination{display:flex;align-items:center;gap:8px;flex-shrink:0}
body.sc6-mode .sc6-number{font-variant-numeric:tabular-nums;font-size:clamp(15px,1.15vw,22px);font-weight:1000;color:#d0ff5e;min-width:68px;text-align:center}
body.sc6-mode .sc6-navigate{min-width:38px;min-height:35px;background:#0e303b;color:white;border:1px solid #50717a;border-radius:8px;font-size:20px;font-weight:900;cursor:pointer}
body.sc6-mode .sc6-navigate:focus-visible{outline:3px solid #d0ff5e;outline-offset:2px}
body.sc6-mode .sc6-main{display:flex;flex:1 1 auto;min-height:0;overflow:hidden}
body.sc6-mode .sc6-main[hidden]{display:none!important}
body.sc6-mode .sc6-league{display:grid;grid-template-columns:minmax(0,55fr) minmax(0,45fr);width:100%;height:100%;min-height:0}
body.sc6-mode .sc6-col{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body.sc6-mode .sc6-col+.sc6-col{border-left:1px solid #345560}
body.sc6-mode .sc6-sectionhead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;min-height:55px;padding:10px clamp(10px,1vw,19px);border-bottom:1px solid #345560;background:#0b2732}
body.sc6-mode .sc6-sectionhead h3{font-size:clamp(13px,1.05vw,20px);font-weight:1000;margin:0}
body.sc6-mode .sc6-sectionhead small{display:block;font-size:clamp(9px,.66vw,12px);font-weight:800;color:#a8c4c8;margin-top:3px}
body.sc6-mode .sc6-tag{font-size:clamp(9px,.7vw,12px);font-weight:1000;color:#d0ff5e;white-space:nowrap}
body.sc6-mode .sc6-games{flex:1;display:grid;min-height:0;align-content:stretch}
body.sc6-mode .sc6-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(50px,90px) minmax(0,1fr);gap:clamp(6px,.65vw,15px);align-items:center;padding:5px clamp(10px,1.3vw,21px);border-bottom:1px solid #344b57;min-height:0}
body.sc6-mode .sc6-game:nth-child(even){background:#0b222e}
body.sc6-mode .sc6-team{font-size:clamp(12px,1.05vw,22px);font-weight:950;line-height:1.18;overflow-wrap:anywhere}
body.sc6-mode .sc6-team.home{text-align:right}
body.sc6-mode .sc6-score{text-align:center;border:1px solid #4c6570;border-radius:8px;padding:7px 2px;font-size:clamp(18px,1.7vw,33px);font-weight:1000;color:#d0ff5e;font-variant-numeric:tabular-nums;white-space:nowrap}
body.sc6-mode .sc6-game .sc6-state{grid-column:1/-1;display:block;font-size:clamp(8px,.62vw,11px);text-align:center;color:#a8c8c5;line-height:1;margin-top:-1px;font-weight:950}
body.sc6-mode .sc6-state.is-live{color:#ffad8b}
body.sc6-mode .sc6-tablewrap{min-height:0;flex:1;overflow:hidden}
body.sc6-mode .sc6-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
body.sc6-mode .sc6-table th,body.sc6-mode .sc6-table td{padding:clamp(3px,.44vh,7px) clamp(4px,.55vw,10px);border-bottom:1px solid #304c56;font-size:clamp(11px,.94vw,18px);text-align:right;line-height:1.15}
body.sc6-mode .sc6-table th{font-size:clamp(9px,.72vw,13px);font-weight:900;color:#b0c7cc}
body.sc6-mode .sc6-table th:nth-child(1){width:8%}body.sc6-mode .sc6-table th:nth-child(2){width:59%}body.sc6-mode .sc6-table th:nth-child(3){width:10%}body.sc6-mode .sc6-table th:nth-child(4){width:10%}body.sc6-mode .sc6-table th:nth-child(5){width:13%}
body.sc6-mode .sc6-table th:nth-child(2),body.sc6-mode .sc6-table td:nth-child(2){text-align:left}
body.sc6-mode .sc6-table td:nth-child(2){font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.sc6-mode .sc6-table td:last-child{color:#d0ff5e;font-weight:1000}
body.sc6-mode .sc6-table tr:first-child td{color:#d0ff5e}
body.sc6-mode .sc6-panelbottom{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;padding:5px 11px;border-top:1px solid #304e56;color:#b4d0d0;font-size:clamp(9px,.64vw,12px);font-weight:850;background:#071c27;flex:0 0 auto}
body.sc6-mode .sc6-panelbottom a{color:#d0ff5e;font-size:inherit}
body.sc6-mode .sc6-empty{display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center;text-align:center;gap:12px;padding:22px;color:#bcd2d5;font-size:clamp(12px,1vw,18px)}
body.sc6-mode .sc6-empty strong{color:#f4fff5;font-size:clamp(17px,1.45vw,27px)}
body.sc6-mode .sc6-fans{display:grid;grid-template-columns:minmax(0,60fr) minmax(260px,40fr);min-height:0;width:100%;height:100%}
body.sc6-mode .sc6-fanquote{display:flex;flex-direction:column;min-height:0;border-right:1px solid #34545f}
body.sc6-mode .sc6-fanhead{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#103e1c;padding:12px 17px;font-size:clamp(13px,1vw,20px);font-weight:950}
body.sc6-mode .sc6-fanhead small{font-size:clamp(10px,.74vw,13px);font-weight:800}
body.sc6-mode .sc6-fanbody{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:clamp(18px,2vw,35px)}
body.sc6-mode .sc6-quote{font-weight:950;font-size:clamp(22px,2.3vw,47px);line-height:1.23;letter-spacing:-.035em;overflow-wrap:anywhere}
body.sc6-mode .sc6-quote::before{content:"“";color:#d0ff5e;margin-right:6px}body.sc6-mode .sc6-quote::after{content:"”";color:#d0ff5e;margin-left:6px}
body.sc6-mode .sc6-quote.is-empty::before,body.sc6-mode .sc6-quote.is-empty::after{content:none}
body.sc6-mode .sc6-author{font-size:clamp(13px,1.05vw,20px);color:#d0ff5e;font-weight:900}
body.sc6-mode .sc6-side{display:flex;flex-direction:column;min-width:0;min-height:0;padding:clamp(10px,1vw,18px);gap:10px}
body.sc6-mode .sc6-statgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.sc6-mode .sc6-stat{background:#102a35;border:1px solid #34515d;border-radius:10px;padding:clamp(12px,1vw,24px);text-align:center}
body.sc6-mode .sc6-stat b{display:block;color:#d0ff5e;font-size:clamp(18px,1.7vw,35px);font-weight:1000}
body.sc6-mode .sc6-stat small{display:block;color:#9fbac0;font-size:clamp(9px,.7vw,13px);font-weight:850}
body.sc6-mode .sc6-sponsor{display:flex;flex:1;flex-direction:column;justify-content:center;gap:7px;background:#091e29;border:1px solid #47646e;border-radius:11px;padding:clamp(15px,1.6vw,26px)}
body.sc6-mode .sc6-partnerlabel{font-size:clamp(9px,.8vw,14px);letter-spacing:.12em;color:#a5c4ca;font-weight:900}
body.sc6-mode .sc6-partnername{font-size:clamp(22px,2vw,42px);font-weight:1000;letter-spacing:-.05em;color:#d0ff5e}
body.sc6-mode .sc6-partnerdesc{color:#afc8cc;font-size:clamp(11px,.9vw,17px)}
body.sc6-mode .sc6-join{display:flex;align-items:center;gap:15px;background:#0b2733;border:1px solid #46616d;border-radius:11px;padding:clamp(10px,1vw,18px)}
body.sc6-mode .sc6-join img{width:clamp(50px,5.5vw,98px);height:clamp(50px,5.5vw,98px)}
body.sc6-mode .sc6-join strong{display:block;font-size:clamp(12px,1vw,20px)}body.sc6-mode .sc6-join small{display:block;color:#abc8ce;font-size:clamp(10px,.7vw,13px)}
body.sc6-mode .sc6-progress{height:3px;flex:0 0 auto;background:#12353c}
body.sc6-mode .sc6-progress span{display:block;width:0%;height:100%;background:#d0ff5e;transition:width .25s linear}
body.sc6-mode .ticker{flex:0 0 auto;min-height:37px;height:37px}
body.sc6-mode .foot{flex:0 0 auto;min-height:25px;padding:5px clamp(12px,2vw,30px)}
body.sc6-mode .sc6-classic{background:#d0ff5e;color:#062c2b;border:1px solid #80a78d;border-radius:8px;padding:8px 10px;font-weight:1000;font-size:11px;white-space:nowrap}
body:not(.sc6-mode) .sc6-classic{display:inline-flex}
@media(max-height:780px) and (min-width:700px){
body.sc6-mode .head{padding:5px 15px}body.sc6-mode .logo small{display:none}body.sc6-mode .signal-strip{padding:5px 15px}
body.sc6-mode .sc6-header{min-height:56px;padding:7px 14px}
body.sc6-mode .sc6-title{font-size:25px}body.sc6-mode .sc6-sectionhead{min-height:38px;padding:5px 9px}
body.sc6-mode .sc6-panelbottom{min-height:23px;padding:3px 9px}
body.sc6-mode .sc6-table th,body.sc6-mode .sc6-table td{padding:2px 5px;font-size:clamp(10px,.9vw,13px)}
body.sc6-mode .sc6-team{font-size:clamp(11px,1vw,17px)}
body.sc6-mode .sc6-score{font-size:clamp(17px,1.6vw,27px);padding:3px}
body.sc6-mode .sc6-fanbody{padding:13px}
body.sc6-mode .ticker{min-height:30px;height:30px}
}
@media(max-width:690px){
body.sc6-mode .head-actions{flex-wrap:wrap}body.sc6-mode .clock{display:none}
body.sc6-mode .sc6-league{grid-template-columns:1fr;overflow-y:auto}body.sc6-mode .sc6-col{min-height:240px}body.sc6-mode .sc6-col+.sc6-col{border-left:0;border-top:1px solid #345560}
body.sc6-mode .sc6-games{min-height:200px}body.sc6-mode .sc6-fans{grid-template-columns:1fr;overflow-y:auto}body.sc6-mode .sc6-fanquote{min-height:240px;border:0}body.sc6-mode .sc6-side{min-height:260px}
body.sc6-mode .sc6-title{font-size:20px}body.sc6-mode .sc6-quote{font-size:23px}
body.sc6-mode .sc6-header{padding:8px 11px;min-height:54px}
body.sc6-mode .sc6-sectionhead{min-height:38px;padding:7px 10px}
body.sc6-mode .sc6-team{font-size:12px}body.sc6-mode .sc6-score{font-size:20px}
body.sc6-mode .sc6-table th,body.sc6-mode .sc6-table td{font-size:11px;padding:4px 6px}
}
@media(prefers-reduced-motion:reduce){body.sc6-mode .sc6-progress span{transition:none}}

/* SCORY 24 short-landscape overflow correction 2026-11-21 */
body.sc6-mode .sc6-games{align-content:start;overflow:hidden}
body.sc6-mode .sc6-game{min-height:66px;grid-template-rows:minmax(0,1fr) 12px;row-gap:3px;padding-top:4px;padding-bottom:4px}
body.sc6-mode .sc6-game .sc6-state{grid-column:1/-1;grid-row:2;line-height:1;align-self:center;margin-top:0}
body.sc6-mode .sc6-score{line-height:1.1;min-height:30px;display:flex;align-items:center;justify-content:center}
@media(max-height:780px) and (min-width:700px){
body.sc6-mode .sc6-header{padding:5px 12px;min-height:52px}
body.sc6-mode .sc6-title{font-size:clamp(20px,1.8vw,27px);margin:2px 0 0}
body.sc6-mode .sc6-eyebrow{font-size:9px;line-height:1.1}
body.sc6-mode .sc6-subtitle{font-size:9px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:66vw}
body.sc6-mode .sc6-sectionhead{min-height:36px;padding:4px 9px}
body.sc6-mode .sc6-sectionhead small{margin-top:1px}
body.sc6-mode .sc6-score{padding:2px;font-size:clamp(17px,1.55vw,23px)}
body.sc6-mode .sc6-table th,body.sc6-mode .sc6-table td{line-height:1.1;padding:2px 4px}
}
