/* KNOW THE SCORY | visual polish, 21 November 2026. Presentation only. */
:root{--scory-panel:#101f2b;--scory-lime:#dfff50}
html{scroll-padding-top:95px}
body{overflow-x:clip}
main.shell{min-width:0}
.sitehead .shell{max-width:1500px;gap:12px;padding-left:clamp(12px,2vw,26px);padding-right:clamp(12px,2vw,26px)}
.sitehead .brand{flex:0 0 auto}
.sitehead .headright{flex:0 0 auto;min-width:0;gap:7px}
.sitehead .topnav{flex:1 1 auto;min-width:0;gap:1px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;white-space:nowrap;align-items:center}
.sitehead .topnav::-webkit-scrollbar{display:none}
.sitehead .topnav .nav{flex:0 0 auto;white-space:nowrap;word-break:normal;min-width:0;line-height:1.2;font-size:clamp(10px,0.79vw,12px);padding:10px clamp(5px,.76vw,12px);letter-spacing:0}
.sitehead .topnav .nav[aria-current="page"]{box-shadow:inset 0 -3px 0 #dfff50}
.sitehead .headright .liveind{max-width:185px;overflow:hidden;text-overflow:ellipsis}
#scory24Feed{scroll-margin-top:110px}
#scory24Feed .s24-tv-scores{min-width:0}
@media(min-width:901px){
 #scory24Feed .s24-board-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,31%)!important;gap:13px!important;align-items:start}
 #scory24Feed .s24-left{min-width:0}
 #scory24Feed .s24-ad-rail{min-width:0;max-width:none}
}
@media(min-width:1021px) and (max-width:1430px){.sitehead .headright .liveind,.sitehead .headright>.secondary{display:none!important}}
@media(max-width:1020px){.sitehead .topnav{display:none!important}}
@media(max-width:900px){
 #scory24Feed .s24-board-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
 #scory24Feed .s24-left,#scory24Feed .s24-ad-rail{width:100%!important;min-width:0}
}
#scory24Feed .s24-ad-rail .s24-ad-label{display:none!important}
#scory24Feed .s24-ad-rail{min-height:0}
#scory24Feed .s24-results-strip{margin-top:9px}
#scory24Feed .s24-tv{border-radius:10px}
.sh-ad{border:1px solid #3b575e!important;border-radius:10px!important;box-shadow:none!important}
.sh-top{background:#14232c!important;padding:6px 10px!important}
.sh-top span{font-size:9px!important;letter-spacing:.09em!important}
.sh-bottom{padding:6px 10px!important}
.sh-home{max-width:980px;margin:20px auto 27px!important}
.sh-home .sh-pic,.sh-score .sh-pic{display:block!important;width:100%!important;height:auto!important;min-height:0!important;background:#020508}
.sh-home .sh-pic img,.sh-score .sh-pic img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.sh-home .sh-meta,.sh-score .sh-meta{display:none!important}
.sh-home .sh-body,.sh-score .sh-body{display:block!important}
.sh-home .sh-count,.sh-score .sh-count{font-size:10px;color:#bdcdd1}
.sh-home .sh-pic:hover img,.sh-score .sh-pic:hover img{filter:brightness(1.04)}
.scory-house-foot{border-top:1px solid #32424d;margin-top:14px;padding:11px 0 0;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.scory-house-foot .credit{font-size:10px;font-weight:800;color:#b2bdc3;letter-spacing:.04em}
.scory-house-foot .marks{display:flex;gap:14px;align-items:center}
.scory-house-foot .mark{display:inline-flex;align-items:center;gap:3px;font-weight:1000;font-size:13px;letter-spacing:-.05em;text-decoration:none;color:#f4f6f2;line-height:1.2}
.scory-house-foot .mark .green{color:#dfff50}
.scory-house-foot .mark:hover{opacity:.83}
.footer p{font-size:11px;line-height:1.55;max-width:950px}
@media(max-width:760px){
 .sitehead .shell{min-height:66px;padding-left:12px;padding-right:12px}
 .sitehead .brand .wordmark{font-size:15px}
 .sitehead .headright{gap:5px}
 .sitehead .headright>.secondary{display:none!important}
 .sh-home{margin:14px auto 20px!important}
 .sh-home .sh-top span,.sh-score .sh-top span{font-size:8px!important}
 #scory24Feed .s24-results-strip{margin-top:7px}
 .scory-house-foot{padding:10px 0 4px}
}
@media(prefers-reduced-motion:reduce){.sh-ad img{transition:none!important}}


/* MOBILE AD PLACEMENT | content first, restrained house promotions */
@media(max-width:900px){
 /* SCORY 24: fixture broadcast first, latest score ribbon second, sponsor last */
 #scory24Feed .s24-board-layout{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 #scory24Feed .s24-left{order:0!important;width:100%!important;min-width:0!important}
 #scory24Feed .s24-ad-rail{display:flex!important;flex-direction:column!important;gap:12px!important;order:1!important;align-self:stretch!important;min-width:0!important;width:100%!important;padding:0!important}
 #scory24Feed .s24-ad-rail .s24-results-strip{order:0!important;width:100%!important;margin:0!important}
 #scory24Feed .s24-ad-rail .s24-ad-box.sh-container{order:1!important;width:100%!important;min-height:0!important;padding:0!important;margin:0!important;background:transparent!important}
 #scory24Feed .sh-score{display:block!important;max-width:680px;margin:0 auto;width:100%;overflow:hidden}
 #scory24Feed .sh-score .sh-body{display:flex!important;min-width:0!important;align-items:stretch!important}
 #scory24Feed .sh-score .sh-pic{width:44%!important;min-width:0!important;flex:0 0 44%!important;aspect-ratio:4/3!important;height:auto!important;display:grid!important;place-items:center!important;overflow:hidden!important}
 #scory24Feed .sh-score .sh-pic img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
 #scory24Feed .sh-score .sh-meta{display:flex!important;flex:1 1 auto!important;min-width:0!important;gap:5px!important;align-items:flex-start!important;padding:10px 12px!important;justify-content:center!important}
 #scory24Feed .sh-score .sh-meta strong{font-size:clamp(12px,2.2vw,16px)!important;line-height:1.15!important;overflow-wrap:anywhere}
 #scory24Feed .sh-score .sh-meta p{font-size:11px!important;line-height:1.32!important}
 #scory24Feed .sh-score .sh-cta{font-size:10px!important;padding:8px 9px!important;min-height:35px!important;display:inline-flex!important;align-items:center!important}
 #scory24Feed .sh-score .sh-top,#scory24Feed .sh-score .sh-bottom{min-height:30px}
 /* No fixed, pop-up or sticky adverts near the radio player or score controls */
 #shHomepage{width:100%;max-width:600px;margin:15px auto 22px!important}
 #shHomepage .sh-pic{display:block!important;width:100%!important;aspect-ratio:3/1!important;height:auto!important;min-height:0!important;overflow:hidden!important}
 #shHomepage .sh-pic img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:3/1!important;object-fit:contain!important}
 #shHomepage .sh-meta{display:none!important}
 .sh-ad .sh-controls button{min-width:37px!important;min-height:35px!important;touch-action:manipulation}
 .sh-ad .sh-top a{display:inline-flex;min-height:30px;align-items:center}
 .sh-ad .sh-cta{touch-action:manipulation}
}
@media(max-width:430px){
 #scory24Feed .sh-score .sh-pic{flex-basis:42%!important;width:42%!important}
 #scory24Feed .sh-score .sh-meta{padding:8px!important;gap:4px!important}
 #scory24Feed .sh-score .sh-meta strong{font-size:12px!important}
 #scory24Feed .sh-score .sh-meta p{font-size:10px!important;line-height:1.22!important}
 #scory24Feed .sh-score .sh-cta{font-size:9px!important;min-height:34px!important;padding:7px!important}
 #shHomepage .sh-top span,#scory24Feed .sh-score .sh-top span{letter-spacing:.035em!important}
 .scory-house-foot .marks{gap:11px!important}
 .scory-house-foot .mark{font-size:12px!important}
}
@media(max-width:760px){
 .footer{padding-bottom:max(92px,env(safe-area-inset-bottom))!important}
}


/* 2026-11-21: footer and court control fix after mobile screenshot */
.footer.shell{
  display:grid;
  grid-template-columns:minmax(180px,0.55fr) minmax(0,1.45fr);
  align-items:start;
  justify-content:initial;
  column-gap:clamp(18px,3vw,45px);
  row-gap:14px;
  width:100%;
  min-width:0;
}
.footer.shell > .brand{min-width:0;align-self:start}
.footer.shell > p{min-width:0;max-width:760px;overflow-wrap:break-word;word-break:normal;line-height:1.6}
.footer.shell .scory-house-foot{
  grid-column:1/-1;
  margin-top:5px;
  min-width:0;
  width:100%;
}
.footer.shell .scory-footer-mobile-note{display:none}
@media(max-width:1020px){
  .footer.shell{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    gap:13px!important;
    margin-top:28px!important;
    padding-top:22px!important;
  }
  .footer.shell > .brand{display:flex;min-width:0;width:100%;align-self:flex-start}
  .footer.shell > p{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    text-align:left!important;
    font-size:12px!important;
    line-height:1.55!important;
    color:#bdcbd0!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .footer.shell .scory-footer-desktop-note{display:none!important}
  .footer.shell .scory-footer-mobile-note{display:block!important}
  .footer.shell .scory-house-foot{
    width:100%;
    min-width:0;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:3px 0 0!important;
    padding:13px 0 3px!important;
    border-top:1px solid #3b5664;
  }
  .footer.shell .scory-house-foot .credit{width:auto;max-width:100%;font-size:10px;white-space:normal}
  .footer.shell .scory-house-foot .marks{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px;min-width:0}
  .footer.shell .scory-house-foot .mark{white-space:nowrap}
}
@media(max-width:760px){
  .footer.shell{
    padding:23px 14px calc(110px + env(safe-area-inset-bottom))!important;
    margin-top:24px!important;
    border-top:3px solid #3151fa;
    width:100%!important;
  }
  .footer.shell .wordmark{font-size:18px!important}
  .footer.shell .scory-footer-mobile-note{font-size:12px!important}
  .footer.shell .scory-house-foot{flex-direction:column!important;align-items:flex-start!important}
  .footer.shell .scory-house-foot .marks{width:100%}
  /* Small Court launcher, above rather than on top of the seven-button mobile navbar. */
  .court-mobile-link{
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:fixed!important;
    left:10px!important;right:auto!important;
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
    padding:8px 11px!important;
    min-height:42px!important;max-width:105px!important;
    border-radius:11px!important;
    font-size:10px!important;line-height:1.15!important;
    font-weight:1000!important;letter-spacing:.01em!important;
    box-shadow:2px 2px 0 #3151fa!important;
    white-space:nowrap!important;
    z-index:26!important;
  }
  body:has(#debates.active) .court-mobile-link{display:none!important}
}
@media(min-width:761px) and (max-width:980px){
  .court-mobile-link{bottom:calc(92px + env(safe-area-inset-bottom))!important;left:13px!important;right:auto!important}
}
