/* Scory 24 | Mobile match-first edition | 22 November 2026
   Strictly portrait phones and small tablets. Desktop / TV view unchanged.
   Existing live-source, slide, member, and ad JS stays intact. */
@media (max-width: 900px) and (orientation: portrait) {
  html { overflow-x: hidden; }
  body.sc6-mode { background: #07121b!important; overflow-x:hidden!important; }
  body.sc6-mode .dashboard { background: #07121b!important; overflow-x:hidden!important; }

  /* One brand row, one small controls row. The logo already links home. */
  body.sc6-mode .head {
    display:grid!important; grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important; gap:7px 8px!important;
    padding:9px 13px 7px!important; border-bottom:0!important;
    background:#07131d!important;
  }
  body.sc6-mode .head .logo {
    display:block!important; grid-column:1!important;grid-row:1!important;
    align-self:center!important; max-width:100%!important;
    margin:0!important; font-size:clamp(19px,5.3vw,25px)!important;
    font-weight:1000!important;letter-spacing:-.055em!important;
  }
  body.sc6-mode .head .logo small {display:none!important;}
  body.sc6-mode .headright {display:contents!important;}
  body.sc6-mode .head .clock {
    display:block!important;position:static!important;grid-column:2!important;
    grid-row:1!important;align-self:center!important;text-align:right!important;
    margin:0!important;font-size:12px!important;color:#eef5f4;
  }
  body.sc6-mode .head .clock small {font-size:9px!important;margin:1px 0 0!important;color:#81969e!important;}
  body.sc6-mode .head-actions {
    display:grid!important; grid-column:1/-1!important; grid-row:2!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;gap:7px!important;margin:0!important;
    justify-content:stretch!important;
  }
  body.sc6-mode #sc6Classic,
  body.sc6-mode .head-actions>a[href="/"],
  body.sc6-mode #sc3Switch,
  body.sc6-mode #toggleFans,
  body.sc6-mode #back,
  body.sc6-mode #forward {display:none!important;}
  body.sc6-mode .head-actions #pause,
  body.sc6-mode .head-actions #fullscreen {
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;min-width:0!important;height:36px!important;
    min-height:36px!important;max-height:36px!important;
    background:#10222e!important;color:#e9f5ef!important;
    border:1px solid #334e58!important; border-radius:8px!important;
    font:900 12px/1 system-ui,sans-serif!important;letter-spacing:.015em!important;
    padding:0 10px!important;box-shadow:none!important;
  }
  body.sc6-mode .head-actions #pause[aria-pressed="true"] {background:#a8e946!important;color:#071923!important;}
  body.sc6-mode .head-actions #fullscreen {border-color:#a8dd43!important;color:#caff57!important;}
  body.sc6-mode .signal-strip {
    height:30px!important;min-height:30px!important;max-height:30px!important;
    padding:4px 13px!important;gap:7px!important;
    background:#102521!important;border-top:1px solid #2f512a;
    color:#d9f7df!important;
  }
  body.sc6-mode .signal-strip .pill {display:none!important;}
  body.sc6-mode .signal-strip .word {
    color:#cfff4e!important;font-size:12px!important;letter-spacing:.025em!important;
  }
  body.sc6-mode .signal-strip .feed-status {
    margin-left:auto!important;max-width:64%!important;
    font-size:10px!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
    color:#c1d7cf;
  }
  body.sc6-mode .signal-strip>span:nth-child(3){display:none!important;}
  body.sc6-mode .tools,
  body.sc6-mode .scoreboard > .sc3-main,
  body.sc6-mode .scoreboard > .scoreboard-head,
  body.sc6-mode .scoreboard > .match-list,
  body.sc6-mode .scoreboard > .board-footer,
  body.sc6-mode .rail { display:none!important; }

  /* Broadcast screen is the only principal content, no outer nested cards. */
  body.sc6-mode .content {
    margin:0!important;padding:7px 8px!important;
    width:100%!important;min-height:0!important;
    background:transparent!important;
  }
  body.sc6-mode .scoreboard {
    background:#081c26!important;border:1px solid #2a4551!important;
    border-radius:11px!important;box-shadow:none!important;
    overflow:hidden!important;min-width:0!important;
  }
  body.sc6-mode .sc6-stage {
    display:flex!important;width:100%!important;min-width:0!important;
    background:#071c26!important;
  }
  body.sc6-mode .sc6-header {
    min-height:56px!important;max-height:none!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    gap:4px 8px!important;align-items:center!important;
    padding:9px 11px!important;background:#0b212c!important;
    border-bottom:1px solid #294952!important;
  }
  body.sc6-mode .sc6-header>div:first-child{min-width:0!important;overflow:hidden!important;}
  body.sc6-mode .sc6-eyebrow {font-size:9px!important;letter-spacing:.07em!important;color:#baf549!important;}
  body.sc6-mode .sc6-title {
    font-size:clamp(19px,5vw,24px)!important;line-height:1.05!important;
    margin:3px 0 0!important;letter-spacing:-.03em!important;
    white-space:normal!important;overflow:visible!important;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  }
  body.sc6-mode .sc6-subtitle {display:none!important;}
  body.sc6-mode .sc6-pagination {gap:5px!important;align-items:center!important;}
  body.sc6-mode .sc6-number {font-size:11px!important;min-width:34px!important;color:#c6ee62!important;}
  body.sc6-mode .sc6-navigate {
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-width:32px!important;min-height:32px!important;height:32px!important;
    border:1px solid #3a5d66!important;border-radius:7px!important;
    color:#fff!important;background:#102e37!important;font-size:19px!important;
  }
  body.sc6-mode .sc6-main {
    min-width:0!important;max-width:100%!important;min-height:0!important;
    background:#081b26!important;
  }
  body.sc6-mode .sc6-main[hidden] {display:none!important;}
  body.sc6-mode .sc6-league {min-height:0!important;gap:0!important;}
  body.sc6-mode .sc16-mobile-tabs {
    background:#071a23!important;gap:0!important;padding:8px 9px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    border-bottom:1px solid #2a444e!important;
  }
  body.sc6-mode .sc16-mobile-tab {
    height:38px!important;min-height:38px!important;padding:5px 7px!important;
    border-radius:0!important;background:#112a34!important;
    border:1px solid #324d56!important;
    color:#a9bdc1!important;font:900 12px/1.1 system-ui,sans-serif!important;
  }
  body.sc6-mode .sc16-mobile-tab:first-child {border-radius:8px 0 0 8px!important;}
  body.sc6-mode .sc16-mobile-tab:last-child {border-radius:0 8px 8px 0!important;border-left:0!important;}
  body.sc6-mode .sc16-mobile-tab[aria-selected="true"]{
    background:#c9f44b!important;color:#081b1c!important;border-color:#c9f44b!important;
  }
  body.sc6-mode .sc6-league>#sc16GamesPane,
  body.sc6-mode .sc6-league>#sc16TablePane {
    min-height:0!important;height:auto!important;flex:1 0 auto!important;
    overflow:hidden!important;
  }
  body.sc6-mode .sc6-sectionhead {
    padding:8px 11px!important;min-height:38px!important;
    background:#102631!important;border-bottom:1px solid #24434e!important;
  }
  body.sc6-mode .sc6-sectionhead h3 {font-size:12px!important;letter-spacing:.01em!important;}
  body.sc6-mode .sc6-sectionhead small {font-size:9px!important;margin-top:2px!important;}
  body.sc6-mode .sc6-games {min-height:180px!important;overflow:auto!important;}
  body.sc6-mode .sc6-game {
    min-height:62px!important;padding:9px 10px!important;
    grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr)!important;
    gap:5px!important;border-color:#1f3a46!important;
  }
  body.sc6-mode .sc6-team {
    font-size:clamp(12px,3.35vw,16px)!important;
    line-height:1.2!important;font-weight:800!important;overflow-wrap:break-word!important;
  }
  body.sc6-mode .sc6-score {
    background:#0f2c35!important;color:#e3fa8c!important;
    font-size:clamp(17px,4.9vw,22px)!important;
    padding:6px 2px!important;min-height:37px!important;
    border:1px solid #3e6067!important;border-radius:7px!important;
  }
  body.sc6-mode .sc6-game .sc6-state {
    font-size:9px!important;letter-spacing:.055em!important;color:#abc6ca!important;
  }
  body.sc6-mode .sc6-tablewrap {min-height:180px!important;overflow-x:auto!important;}
  body.sc6-mode .sc6-panelbottom {font-size:9px!important;line-height:1.2!important;min-height:26px!important;padding:5px 9px!important;}
  body.sc6-mode .sc6-table th,body.sc6-mode .sc6-table td{font-size:clamp(10px,2.85vw,13px)!important;padding:8px 3px!important;}
  body.sc6-mode .sc6-uk-widget {min-height:210px!important;}
  body.sc6-mode .sc14-upcoming {min-height:205px!important;}
  body.sc6-mode .sc14-upcoming-list {max-height:none!important;}

  /* Fan opinions: no duplicate counters, QR callout, or two empty cards. */
  body.sc6-mode .sc6-fans {
    display:flex!important;flex-direction:column!important;
    min-height:0!important;height:auto!important;gap:0!important;
  }
  body.sc6-mode .sc6-fanquote {
    min-height:0!important;flex:0 0 auto!important;height:auto!important;
    border:0!important;
  }
  body.sc6-mode .sc6-fanhead {
    padding:9px 11px!important;min-height:36px!important;
    background:#102b32!important;font-size:12px!important;
  }
  body.sc6-mode .sc6-fanhead small {display:none!important;}
  body.sc6-mode .sc6-fanbody.sc6-fanbody-paired {
    min-height:0!important;gap:6px!important;padding:8px 10px!important;
    overflow:visible!important;
  }
  body.sc6-mode .sc6-fanbody-paired .sc6-comment-card {
    min-height:0!important;max-height:none!important;padding:12px 13px!important;
    border:1px solid #264653!important;border-radius:8px!important;
    background:#0c2530!important;
  }
  body.sc6-mode .sc6-fanbody-paired .sc6-comment-card .sc6-quote,
  body.sc6-mode .sc6-fanbody-paired .sc6-comment-card .sc6-quote.is-empty {
    font-size:clamp(15px,3.95vw,18px)!important;line-height:1.28!important;
  }
  body.sc6-mode .sc6-fanbody-paired:has(#sc6Quote2.is-empty) .sc6-comment-card:nth-child(2){display:none!important;}
  body.sc6-mode .sc6-fanbody-paired:has(#sc6Quote.is-empty) .sc6-comment-card:first-child{
    min-height:86px!important;
  }
  body.sc6-mode .sc6-side {
    display:flex!important;flex:0 0 auto!important;flex-direction:column!important;
    padding:8px 10px!important;gap:8px!important;
    min-height:0!important;max-height:none!important;
  }
  body.sc6-mode .sc6-side .sc6-statgrid,
  body.sc6-mode .sc6-side .sc6-join {display:none!important;}
  body.sc6-mode .sc6-side .sc6-topicspot {
    min-height:61px!important;padding:9px 10px!important;gap:8px!important;
    border-radius:8px!important;background:#122e32!important;
  }
  body.sc6-mode .sc6-topiclabel {font-size:9px!important;}
  body.sc6-mode #sc6TopicQuestion {font-size:clamp(14px,3.75vw,17px)!important;line-height:1.15!important;}
  body.sc6-mode .sc6-topiccta {
    min-height:36px!important;max-width:92px!important;
    padding:6px 8px!important;border-radius:6px!important;
    font-size:10px!important;
  }
  body.sc6-mode .sc6-side .sc6-sponsor.sc6-adspot.sc7-premium {
    flex:0 0 114px!important;min-height:114px!important;
    height:114px!important;max-height:114px!important;
    border:1px solid #35505b!important;border-radius:8px!important;
    overflow:hidden!important;
  }
  body.sc6-mode #sc6AdSpot[data-creative] .sc6-ad-link,
  body.sc6-mode #sc8Sponsor[data-creative] .sc8-adanchor {
    min-height:0!important;height:100%!important;padding:0!important;
  }
  /* Compact photo advertising still has a visible brand and campaign caption. */
  body.sc6-mode .sc2-side .sc2-content {padding:9px 11px!important;gap:3px!important;}
  body.sc6-mode .sc2-side .sc2-brand {font-size:clamp(18px,6cqw,31px)!important;}
  body.sc6-mode .sc2-side .sc2-message strong {font-size:clamp(20px,7cqw,30px)!important;}
  body.sc6-mode .sc2-side .sc2-category {font-size:9px!important;}
  body.sc6-mode .sc2-side .sc2-message small {font-size:9px!important;}
  body.sc6-mode .sc2-side .sc2-caption {font-size:7px!important;}

  /* Keep video first and native 16:9 playback rather than a tiny two-column embed. */
  body.sc6-mode .sc9-highlights .sc9-feature{min-height:0!important;}
  body.sc6-mode .sc9-highlights .sc9-poster{width:100%!important;aspect-ratio:16/9!important;}
  body.sc6-mode .sc8-news {min-height:0!important;}
  body.sc6-mode .sc8-news>.sc8-storyside {min-height:0!important;}
  body.sc6-mode .sc8-news>.sc8-sponsor{flex:0 0 110px!important;min-height:110px!important;}

  body.sc6-mode .ticker {height:28px!important;min-height:28px!important;}
  body.sc6-mode .ticker-label {font-size:10px!important;padding:0 8px!important;}
  body.sc6-mode .ticker-seq span {font-size:11px!important;}
  body.sc6-mode .foot {
    min-height:22px!important;height:auto!important;
    padding:5px 9px!important;gap:4px!important;
    font-size:9px!important;color:#8fa5ac!important;
  }
}
