/* Scory 24 — approved original-brand artwork and readable mobile table fit. */
/* Brand marks are photo crops of the logo samples supplied by PPEPLUS owner. */
body.sc6-mode .sc2-head{min-width:0;max-width:100%}
body.sc6-mode .sc2-logo{
  display:block!important;width:min(59cqw,360px);height:auto!important;
  max-width:100%;object-fit:contain;object-position:left center;
  border:0;border-radius:2px;background:#000;
  filter:drop-shadow(0 1px 3px #000b);
}
body.sc6-mode .sc2-side .sc2-logo{width:min(64cqw,285px);max-height:110px;}
body.sc6-mode .sc2-side .sc2-category{padding:1px 2px}
body.sc6-mode .sc2-side .sc2-message strong{line-height:1.03!important}
body.sc6-mode .sc2-full .sc2-logo{width:min(47cqw,650px);max-height:26vh;}
body.sc6-mode .sc2-full .sc2-category{margin-top:6px}
body.sc6-mode .sc2-content{min-width:0}

/* Portrait phone: photo-led short horizontal sponsorship. Keep the REAL logo large. */
@media (max-width:900px) and (orientation:portrait){
  body.sc6-mode #sc6AdSpot[data-creative]{height:106px!important;min-height:106px!important;max-height:106px!important;flex:0 0 106px!important}
  body.sc6-mode #sc6AdSpot[data-creative] .sc6-ad-link,
  body.sc6-mode #sc8Sponsor[data-creative] .sc8-adanchor,
  body.sc6-mode #sc9Sponsor[data-creative] .sc9-adlink{display:block!important;height:100%!important;min-height:0!important;}
  body.sc6-mode .sc2-side .sc2-content{
    display:grid!important;grid-template-columns:minmax(0,48fr) minmax(0,52fr)!important;
    align-content:center!important;align-items:center!important;justify-items:start!important;
    padding:10px 10px 15px!important;column-gap:9px!important;row-gap:0!important;
  }
  body.sc6-mode .sc2-side .sc2-head{min-width:0;max-width:100%;width:100%;justify-content:center;}
  body.sc6-mode .sc2-side .sc2-logo{
    width:100%!important;max-width:190px!important;max-height:72px!important;
    height:auto!important;object-fit:contain!important;
  }
  body.sc6-mode .sc2-side .sc2-category{display:none!important}
  body.sc6-mode .sc2-side .sc2-message{display:flex!important;flex-direction:column;justify-content:center;
    min-width:0!important;max-width:100%!important;width:100%;margin:0!important;gap:3px!important}
  body.sc6-mode .sc2-side .sc2-message strong{
    display:block!important;font-size:clamp(14px,4.2vw,19px)!important;
    line-height:1.08!important;letter-spacing:-.02em!important;max-width:100%!important;
  }
  body.sc6-mode .sc2-side .sc2-message small{display:block!important;font-size:9px!important;line-height:1.1!important}
  body.sc6-mode .sc2-side .sc2-caption{font-size:7px!important;bottom:2px!important}
  body.sc6-mode .sc2-full .sc2-logo{max-height:22vh!important;max-width:70vw;width:min(72cqw,380px)}
  body.sc6-mode .sc2-full .sc2-message strong{font-size:clamp(22px,6vw,38px)!important;max-width:100%!important}
  body.sc6-mode .sc2-full .sc2-cta{font-size:12px!important;padding:9px 12px!important}
  /* Scores and league table panes fit the device viewport, and scroll only inside when needed. */
  body.sc6-mode #sc16GamesPane,body.sc6-mode #sc16TablePane{
    min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  }
  body.sc6-mode #sc16TablePane .sc6-tablewrap{
    display:block;min-width:0!important;width:100%!important;max-width:100%!important;
    overflow-x:auto!important;overflow-y:auto!important;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  body.sc6-mode #sc16TablePane .sc6-table{
    width:100%!important;min-width:305px!important;max-width:none!important;
    table-layout:fixed!important;border-collapse:collapse!important;
  }
  body.sc6-mode #sc16TablePane .sc6-table th,
  body.sc6-mode #sc16TablePane .sc6-table td{
    box-sizing:border-box!important;padding:7px 3px!important;
    font-size:clamp(10px,2.8vw,13px)!important;white-space:nowrap!important;
  }
  body.sc6-mode #sc16TablePane .sc6-table th:nth-child(1){width:8%!important}
  body.sc6-mode #sc16TablePane .sc6-table th:nth-child(2){width:54%!important}
  body.sc6-mode #sc16TablePane .sc6-table th:nth-child(3){width:12%!important}
  body.sc6-mode #sc16TablePane .sc6-table th:nth-child(4){width:11%!important}
  body.sc6-mode #sc16TablePane .sc6-table th:nth-child(5){width:15%!important}
  body.sc6-mode #sc16TablePane .sc6-table td:nth-child(2){
    text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important;
  }
  body.sc6-mode #sc16TablePane .sc6-uk-table-host,
  body.sc6-mode #sc16TablePane .sportapi-widget{
    display:block!important;min-width:0!important;width:100%!important;
    max-width:100%!important;overflow-x:auto!important;
  }
  body.sc6-mode #sc16TablePane #sc6TableEmpty:not([hidden]){
    box-sizing:border-box!important;min-height:120px!important;padding:15px!important;
    line-height:1.35!important;font-size:13px!important;
  }
}
/* Mobile landscape only; NEVER target desktop with a fine pointer. */
@media (orientation:landscape) and (max-width:1100px) and (max-height:650px) and (pointer:coarse){
  body.sc6-mode .sc2-side .sc2-logo{width:min(58cqw,265px)!important;max-height:26vh!important}
  body.sc6-mode .sc2-side .sc2-category{font-size:clamp(8px,.9vw,11px)!important}
  body.sc6-mode .sc2-side .sc2-message strong{font-size:clamp(12px,2vw,25px)!important;}
  body.sc6-mode .sc2-side .sc2-message small{font-size:clamp(8px,1vw,12px)!important}
  body.sc6-mode .sc2-side .sc2-content{padding:clamp(7px,1.3vw,15px)!important}
  body.sc6-mode .sc2-full .sc2-logo{max-height:22vh!important}
  body.sc6-mode .sc6-league>#sc16TablePane .sc6-tablewrap{min-width:0!important;max-width:100%!important;overflow-x:auto!important}
  body.sc6-mode .sc6-league>#sc16TablePane .sc6-table{width:100%!important;table-layout:fixed!important}
  body.sc6-mode .sc6-league>#sc16TablePane .sc6-table th,
  body.sc6-mode .sc6-league>#sc16TablePane .sc6-table td{padding:3px 2px!important;font-size:clamp(9px,1.2vw,13px)!important}
  body.sc6-mode .sc6-league>#sc16TablePane .sc6-table td:nth-child(2){white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
