/* SCORY 24 / Combined TV edition. Never separate a league's result from its table. */
body.sc3-mode .content{display:grid!important;grid-template-columns:minmax(0,76%) minmax(240px,24%)!important;gap:10px!important;align-items:stretch;min-height:0!important;padding:10px clamp(12px,1.6vw,30px)!important}
body.sc3-mode .scoreboard{display:flex!important;flex-direction:column!important;min-width:0;min-height:0;overflow:hidden}
body.sc3-mode .scoreboard>.scoreboard-head,body.sc3-mode .scoreboard>.match-list,body.sc3-mode .scoreboard>.board-footer{display:none!important}
body.sc3-mode .scoreboard>.sc3-main{display:flex!important;flex:1;flex-direction:column;min-height:0}
body:not(.sc3-mode) .scoreboard>.sc3-main{display:none!important}
body.sc3-mode .rail{display:flex!important;min-height:0;overflow:hidden;gap:8px}
body.sc3-mode .fan-card{flex:1 1 auto;min-height:190px}
body.sc3-mode .fan-body{padding:clamp(11px,1vw,18px);gap:8px}
body.sc3-mode .fan-text{font-size:clamp(14px,1.2vw,23px);max-height:20vh;overflow:auto}
body.sc3-mode .stats-card .stat{padding:7px 4px}
body.sc3-mode .stats-card .stat b{font-size:clamp(19px,1.5vw,30px)}
body.sc3-mode .scan-card img{width:clamp(49px,4.2vw,75px);height:clamp(49px,4.2vw,75px)}
.sc3-main{background:#081b26;color:#f5faf7;padding:0;overflow:hidden}
.sc3-main *{box-sizing:border-box}
.sc4-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(105deg,#113c3d,#102c38 63%,#071c29);padding:clamp(10px,1.1vw,18px) clamp(12px,1.3vw,24px);border-bottom:1px solid #35545e;min-height:72px}
.sc4-head-title{min-width:0}.sc4-overline{font-size:clamp(9px,.64vw,12px);font-weight:950;letter-spacing:.16em;color:#d0ff5e}
.sc4-head h1{font-size:clamp(19px,1.85vw,39px);line-height:1.02;letter-spacing:-.05em;font-weight:1000;text-transform:uppercase;margin:4px 0;overflow-wrap:anywhere}
.sc4-subtitle{color:#b9d4d6;font-size:clamp(9px,.66vw,12px);font-weight:800;line-height:1.3}
.sc4-head-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.sc4-page{font-variant-numeric:tabular-nums;white-space:nowrap;color:#d0ff5e;font-size:clamp(13px,1.15vw,21px);font-weight:950;margin-right:4px}
.sc4-select,.sc4-btn{border:1px solid #50717a;background:#12333e;color:#eff8f5;min-height:34px;padding:7px 9px;border-radius:7px;font-weight:900;font-size:clamp(10px,.7vw,13px)}
.sc4-select{max-width:min(19vw,230px)}.sc4-btn:hover,.sc4-select:hover{border-color:#d0ff5e}
.sc4-btn{min-width:35px;font-size:19px;line-height:1}
.sc4-columns{display:grid;grid-template-columns:minmax(0,58%) minmax(0,42%);flex:1;min-height:0;gap:0}
.sc4-scores,.sc4-standings{min-width:0;display:flex;flex-direction:column;min-height:0;background:#0b2531}
.sc4-scores{border-right:1px solid #33505d}
.sc4-standings{background:#0c202d}
.sc4-panel-head{display:flex;align-items:center;justify-content:space-between;gap:7px;border-bottom:1px solid #314e59;padding:10px clamp(8px,1vw,17px);background:#133440;min-height:54px}
.sc4-table-head{background:#12303b}.sc4-panel-head h2{font-size:clamp(12px,1vw,20px);line-height:1.1;font-weight:1000;letter-spacing:-.03em;margin:0}
.sc4-panel-head small{font-size:clamp(8px,.54vw,10px);color:#bdd1d2;font-weight:850;letter-spacing:.03em;display:block;margin-top:3px}
#sc4MatchCount{color:#d0ff5e;font-size:clamp(10px,.77vw,14px);white-space:nowrap}
.sc4-table-state{background:#42504a;color:#f1f4d3;font-size:clamp(9px,.59vw,11px);font-weight:1000;border-radius:5px;padding:5px 7px;white-space:nowrap}
.sc4-table-state[data-state=live]{background:#baf66b;color:#0c251a}.sc4-table-state[data-state=none]{background:#2e4148;color:#dae1e3}
.sc4-match-list{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden}
.sc4-fixture{display:grid;grid-template-columns:65px minmax(0,1fr) 66px minmax(0,1fr);gap:clamp(3px,.6vw,11px);align-items:center;min-height:clamp(40px,5.35vh,78px);padding:8px clamp(7px,.75vw,15px);border-bottom:1px solid #284451;background:linear-gradient(90deg,#ffffff04,transparent)}
.sc4-fixture:nth-child(even){background:#0d2c38}
.sc4-tag{font-size:clamp(8px,.55vw,11px);line-height:1.25;font-weight:1000;color:#bfd0d5;text-align:center}.sc4-tag.live{color:#ffa789}.sc4-tag.final{color:#cdfaa4}
.sc4-team{font-size:clamp(11px,.92vw,19px);line-height:1.12;font-weight:900;letter-spacing:-.035em;min-width:0;overflow-wrap:anywhere}
.sc4-home{text-align:right}.sc4-away{text-align:left}
.sc4-score{display:block;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:6px;background:#071824;padding:7px 2px;border:1px solid #46646e;font-weight:1000;color:#d0ff5e;font-size:clamp(16px,1.15vw,26px);letter-spacing:-.07em}
.sc4-score.empty{color:#b8cdd2}
.sc4-empty{margin:auto;padding:22px;text-align:center;color:#c7d8d8;max-width:370px;font-size:clamp(12px,.95vw,17px);font-weight:800;line-height:1.45}
.sc4-table-body{flex:1;min-height:0;overflow:hidden}.sc4-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.sc4-table th{background:#102d39;color:#a8bdc5;text-align:center;padding:6px 2px;font-weight:1000;font-size:clamp(9px,.61vw,12px);letter-spacing:.06em}
.sc4-table th:nth-child(2){text-align:left}.sc4-table td{border-bottom:1px solid #25404b;text-align:center;padding:clamp(3px,.37vh,5px) 3px;font-weight:850;font-size:clamp(10px,.71vw,14px);line-height:1.19}
.sc4-table tr:nth-child(even){background:#112c37}.sc4-table td:first-child{color:#93adb5}.sc4-table td:nth-child(5){color:#d0ff5e;font-weight:1000}
.sc4-table th:nth-child(1){width:9%}.sc4-table th:nth-child(2){width:51%}.sc4-table th:nth-child(3){width:11%}.sc4-table th:nth-child(4){width:14%}.sc4-table th:nth-child(5){width:15%}
.sc4-table td.sc4-club{text-align:left;overflow-wrap:anywhere;word-break:normal;font-size:clamp(10px,.71vw,14px)}
.sc4-table td.sc4-no-table{text-align:center;white-space:normal;padding:32px 14px;color:#becdd3;font-weight:800}
.sc4-panel-foot{border-top:1px solid #314b56;min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#0b2430;color:#adc5cb;padding:7px 10px;font-size:clamp(8px,.59vw,11px);font-weight:850;line-height:1.2}
.sc4-source-foot{background:#0a202b}.sc4-source-foot a{color:#d0ff5e;white-space:nowrap}
.sc4-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#071a24;border-top:1px solid #314e59;min-height:30px;padding:7px 13px;font-size:clamp(8px,.57vw,11px);color:#a9c5ca;font-weight:900}
/* TV screen: full board, comments and continuous ticker fit within one 16:9 frame. */
@media(min-width:1280px) and (min-height:700px){body.sc3-mode .dashboard{height:100dvh;min-height:0}body.sc3-mode .content{overflow:hidden;flex:1}body.sc3-mode .scoreboard,body.sc3-mode .rail{height:100%}.sc4-table td{padding-top:clamp(2px,.31vh,4px);padding-bottom:clamp(2px,.31vh,4px)}}
@media(max-width:1300px){body.sc3-mode .content{grid-template-columns:minmax(0,74%) minmax(220px,26%)!important}.sc4-columns{grid-template-columns:56% 44%}.sc4-table td,.sc4-table td.sc4-club{font-size:11px}.sc4-table th{font-size:10px}.sc4-fixture{grid-template-columns:49px minmax(0,1fr) 55px minmax(0,1fr);gap:5px}.sc4-team{font-size:12px}.sc4-score{font-size:17px}}
@media(max-width:1020px){body.sc3-mode .content{grid-template-columns:1fr!important;overflow:visible!important}.sc4-columns{min-height:340px}.sc4-fixture{min-height:45px}.sc4-table td{padding:4px 3px}.sc4-head-actions{flex-wrap:wrap;justify-content:flex-end}.sc4-select{max-width:200px}body.sc3-mode .rail{display:grid!important;grid-template-columns:1.4fr 1fr;align-items:stretch;overflow:visible}body.sc3-mode .fan-card{grid-row:span 3}body.sc3-mode .dashboard{height:auto}body.sc3-mode .content{height:auto}}
@media(max-width:610px){body.sc3-mode .content{padding:8px!important}.sc3-main,.sc4-table-body,body.sc3-mode .dashboard,body.sc3-mode .scoreboard{overflow:visible!important}.sc4-head{align-items:flex-start;flex-direction:column}.sc4-head-actions{width:100%;justify-content:space-between}.sc4-select{max-width:min(60vw,240px);flex:1}.sc4-columns{grid-template-columns:1fr;gap:8px}.sc4-scores,.sc4-standings{border:0;border-bottom:1px solid #35515b}.sc4-fixture{min-height:47px;grid-template-columns:54px minmax(0,1fr) 58px minmax(0,1fr);gap:5px}.sc4-team{font-size:12px}.sc4-score{font-size:16px}.sc4-table td,.sc4-table td.sc4-club{font-size:12px;padding:5px 3px}body.sc3-mode .rail{grid-template-columns:1fr!important}body.sc3-mode .fan-card{grid-row:auto!important}.sc4-bottom{flex-direction:column;align-items:flex-start}body.sc3-mode .board-footer{display:none}.sc4-head h1{font-size:24px}}
@media(max-height:660px) and (min-width:1021px){.sc4-head{padding:8px 12px;min-height:56px}.sc4-panel-head{padding:5px 8px;min-height:39px}.sc4-table th{padding:4px 2px}.sc4-table td,.sc4-table td.sc4-club{font-size:10px;padding:2px}.sc4-fixture{min-height:35px;padding:4px 6px}.sc4-panel-foot{min-height:24px;padding:4px 8px}body.sc3-mode .content{padding-block:5px!important}}
@media(prefers-reduced-motion:reduce){.sc3-main *{scroll-behavior:auto}}

/* -----------------------------------------------------------------------------
   SCORY 24 MOBILE MATCHDAY v5 — TV view untouched at 611px and above.
   Present one league's scores, compact table and real moderated Fan Voices in one
   easily readable scroll, with touch-safe navigation and optional autoplay.
----------------------------------------------------------------------------- */
.sc4-mobile-auto,.sc4-mobile-jumps,.sc4-expand,.sc4-mobile-filters{display:none}
@media(max-width:610px){
  html{scroll-padding-top:45px}
  body.sc3-mode .dashboard{overflow-x:hidden!important;min-height:100dvh;height:auto!important;background:#061720}
  body.sc3-mode .head{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:5px!important;padding:11px 12px 8px!important;align-items:center;background:#071720}
  body.sc3-mode .logo{grid-column:1;grid-row:1;font-size:clamp(18px,5.3vw,22px);line-height:.95;letter-spacing:-.06em}
  body.sc3-mode .logo small{font-size:7px;letter-spacing:.18em;margin-top:5px}
  body.sc3-mode .headright{display:contents!important}
  body.sc3-mode .clock{grid-column:2;grid-row:1;font-size:12px!important;align-self:center}
  body.sc3-mode .clock small{font-size:8px;margin-top:3px}
  body.sc3-mode .head-actions{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:1fr 1fr 1fr;gap:6px!important;margin-top:8px;min-width:0}
  body.sc3-mode .head-actions .pillbtn{height:36px;min-height:36px;font-size:10px!important;padding:5px 5px!important;border-radius:8px;text-align:center;white-space:nowrap}
  body.sc3-mode #sc3Switch,body.sc3-mode #back,body.sc3-mode #forward,body.sc3-mode .head-actions>a.pillbtn{display:none!important}
  body.sc3-mode .signal-strip{padding:6px 12px!important;min-height:35px!important;gap:7px!important}
  body.sc3-mode .signal-strip .pill{font-size:8px!important;padding:3px 5px!important}
  body.sc3-mode .signal-strip .word{font-size:15px!important}
  body.sc3-mode .signal-strip span[style]{display:none!important}
  body.sc3-mode .signal-strip .feed-status{font-size:9px!important;text-align:right;max-width:55%}
  body.sc3-mode .tools{padding:7px 10px!important;display:block}
  body.sc3-mode .tools .score-controls{display:none!important}
  .sc4-mobile-filters{display:grid!important;grid-template-columns:1fr 1fr;gap:7px;align-items:center}
  .sc4-mobile-select{background:#12313e;color:#f0faef;border:1px solid #456773;border-radius:8px;min-height:39px;width:100%;font-size:12px;font-weight:950;padding:8px 9px;min-width:0}
  .sc4-mobile-select:focus-visible{outline:3px solid #d0ff5e;outline-offset:2px}
  body.sc3-mode .tools-note{display:none!important}
  body.sc3-mode .content{display:flex!important;flex-direction:column;gap:0!important;padding:0!important;width:100%;min-height:0!important;overflow:visible!important}
  body.sc3-mode .scoreboard{border:0!important;border-radius:0!important;min-height:0!important;overflow:visible!important;box-shadow:none!important}
  body.sc3-mode .scoreboard>.sc3-main{overflow:visible!important}
  .sc4-head{display:block!important;position:relative;padding:11px 12px 10px!important;min-height:0!important}
  .sc4-overline{font-size:8px!important;letter-spacing:.13em!important}
  .sc4-head h1{font-size:clamp(22px,6.4vw,27px)!important;max-width:calc(100% - 75px);letter-spacing:-.045em!important;margin:5px 0 3px!important;overflow-wrap:anywhere}
  .sc4-subtitle{font-size:9px;line-height:1.3;max-width:98%;color:#b8d1d5}
  .sc4-head-actions{width:100%;display:grid!important;grid-template-columns:minmax(0,1fr) 38px 38px 82px;gap:5px!important;justify-content:stretch!important;margin-top:10px}
  .sc4-page{position:absolute;right:12px;top:19px;font-size:13px!important;padding:3px 5px;color:#d0ff5e;background:#12313b;border-radius:5px}
  .sc4-select{width:100%;max-width:none!important;min-width:0;min-height:38px!important;height:38px;font-size:11px!important;padding:5px 6px!important;line-height:1.1}
  .sc4-btn{min-width:0!important;min-height:38px!important;height:38px;padding:3px!important;font-size:22px!important;border-radius:7px}
  .sc4-mobile-auto{display:block;min-width:0;min-height:38px;padding:5px 5px;white-space:nowrap;font-size:10px;letter-spacing:.01em;border-radius:7px;border:1px solid #648578;background:#13353c;color:#d5ecdb;font-weight:950}
  .sc4-mobile-auto[aria-pressed=true]{background:var(--lime);color:#071b1f}
  .sc4-mobile-jumps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;min-height:34px;background:#112b37;border-block:1px solid #345a62}
  .sc4-mobile-jumps a{display:grid;place-items:center;text-align:center;font-size:10px;font-weight:950;letter-spacing:.045em;color:#d3edf2;min-height:36px;border-right:1px solid #365560}
  .sc4-mobile-jumps a:last-child{border:0}
  .sc4-mobile-jumps a:active{background:#224450;color:var(--lime)}
  .sc4-columns{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important}
  .sc4-scores,.sc4-standings{border:0!important;flex:none!important;min-height:0!important}
  .sc4-panel-head{min-height:39px!important;padding:7px 12px!important;gap:7px}
  .sc4-panel-head h2{font-size:14px!important}
  .sc4-panel-head small{font-size:9px!important;line-height:1.2}
  .sc4-panel-head #sc4MatchCount{font-size:11px!important}
  .sc4-match-list{flex:none!important;min-height:0!important;height:auto!important;overflow:visible!important}
  .sc4-fixture{grid-template-columns:45px minmax(0,1fr) 57px minmax(0,1fr)!important;min-height:49px!important;padding:7px 9px!important;gap:5px!important}
  .sc4-tag{font-size:9px!important;letter-spacing:-.01em;font-weight:950}
  .sc4-team{font-size:clamp(12px,3.4vw,14px)!important;line-height:1.12!important;overflow-wrap:break-word}
  .sc4-score{font-size:clamp(17px,4.8vw,20px)!important;min-height:32px!important;display:grid;place-items:center;padding:4px 2px!important}
  .sc4-panel-foot{padding:6px 10px!important;min-height:28px!important;font-size:9px!important;gap:8px}
  .sc4-table-head{padding:8px 12px!important}
  .sc4-table-head h2{font-size:14px!important}
  .sc4-table-state{font-size:9px!important;padding:4px 7px}
  .sc4-table-body{flex:none!important;height:auto!important;min-height:0!important;overflow:visible!important}
  .sc4-table{width:100%}
  .sc4-table th{padding:7px 3px!important;font-size:10px!important}
  .sc4-table td,.sc4-table td.sc4-club{font-size:clamp(12px,3.1vw,13px)!important;line-height:1.2!important;padding:6px 4px!important}
  .sc4-table th:nth-child(1){width:8%}.sc4-table th:nth-child(2){width:49%}.sc4-table th:nth-child(3){width:12%}.sc4-table th:nth-child(4){width:14%}.sc4-table th:nth-child(5){width:17%}
  .sc4-table:not(.unavailable) tbody tr:nth-child(n+7){display:none}
  .sc4-expanded .sc4-table tbody tr:nth-child(n+7){display:table-row}
  .sc4-expand{display:block;width:100%;min-height:37px;border:0;border-top:1px solid #284b55;background:#17313b;color:var(--lime);font-size:11px;font-weight:1000;letter-spacing:.045em;cursor:pointer}
  .sc4-expand[hidden]{display:none!important}
  .sc4-bottom{display:none!important}
  .sc4-source-foot{padding:8px 10px!important;flex-wrap:wrap;line-height:1.3;font-size:9px!important}
  .sc4-no-table{padding:20px 8px!important}
  body.sc3-mode .fan-card{margin:7px 8px!important;min-height:0!important;flex:none!important;border-radius:12px!important;overflow:hidden}
  body.sc3-mode .fan-head{padding:7px 10px!important;min-height:0!important}
  body.sc3-mode .fan-head strong{font-size:13px!important}
  body.sc3-mode .fan-head span{font-size:9px!important}
  body.sc3-mode .fan-body{padding:9px 12px 6px!important;gap:3px!important;min-height:0!important;flex:none!important}
  body.sc3-mode .fan-card .quote-mark{display:none!important}
  body.sc3-mode .fan-card .fan-text{font-size:clamp(13px,3.7vw,15px)!important;line-height:1.3!important;max-height:3.9em;overflow:hidden!important}
  body.sc3-mode .fan-by{font-size:11px!important}
  body.sc3-mode .fan-bottom{padding:6px 9px!important}
  body.sc3-mode .fan-bottom a{font-size:10px!important}
  body.sc3-mode .fan-nav button{min-height:29px!important;padding:3px 7px!important}
  body.sc3-mode .rail{display:flex!important;flex-direction:column!important;gap:7px!important;min-height:0!important;overflow:visible!important;padding:8px 8px 5px}
  body.sc3-mode .stats-card .stat{padding:7px 5px}
  body.sc3-mode .stats-card .stat b{font-size:21px!important}
  body.sc3-mode .ad-card{min-height:0;padding:9px 12px!important}
  body.sc3-mode .ad-brand{font-size:15px!important}
  body.sc3-mode .scan-card{padding:8px 10px!important}
  body.sc3-mode .scan-card img{width:56px!important;height:56px!important}
  body.sc3-mode .ticker{position:relative!important;z-index:4;min-height:37px!important;box-shadow:0 -4px 14px #0005}
  body.sc3-mode .ticker-label{padding:0 10px!important;font-size:10px!important}
  body.sc3-mode .ticker-seq span{font-size:12px!important}
  body.sc3-mode .foot{padding:8px 10px!important;font-size:9px!important;gap:8px}
}
@media(max-width:350px){.sc4-head-actions{grid-template-columns:minmax(0,1fr) 32px 32px 72px}.sc4-select{font-size:10px!important}.sc4-fixture{grid-template-columns:40px minmax(0,1fr) 52px minmax(0,1fr)!important;gap:3px!important}.sc4-team{font-size:11px!important}}
