/* Scory 24 + Know the Scory | DESKTOP broadcast advert fit v1 | 2026-11-22
   A desktop-only presentation. Original InciCap®/DeckQ Thread™ logo files
   and campaign images are reused unchanged. No mobile styles are touched. */
@media screen and (min-width:960px) and (hover:hover) {
  /* Remove the duplicate legacy poster layer. The current sc2 photo/copy layer
     fills the actual available ad box instead of sitting over a contain-poster. */
  body.sc6-mode #sc6AdSpot[data-sc2-drawn],
  body.sc6-mode #sc8Sponsor[data-sc2-drawn],
  body.sc6-mode #sc9Sponsor[data-sc2-drawn],
  body.sc6-mode #sc10AdBreak[data-sc2-drawn],
  body.sc6-mode #sc6AdSpot[data-sc2-drawn] .sc6-ad-link,
  body.sc6-mode #sc8Sponsor[data-sc2-drawn] .sc8-adanchor,
  body.sc6-mode #sc9Sponsor[data-sc2-drawn] .sc9-adlink {
    background-image:none!important;
    background-color:#050b10!important;
  }
  body.sc6-mode #sc6AdSpot[data-sc2-drawn] .sc6-ad-link,
  body.sc6-mode #sc8Sponsor[data-sc2-drawn] .sc8-adanchor,
  body.sc6-mode #sc9Sponsor[data-sc2-drawn] .sc9-adlink {
    height:100%!important;min-height:0!important;width:100%!important;
    display:flex!important;flex-direction:column!important;overflow:hidden!important;
  }
  body.sc6-mode #sc10AdBreak[data-sc2-drawn]{
    align-items:stretch!important;justify-content:stretch!important;
    width:100%!important;height:100%!important;min-height:0!important;
  }
  body.sc6-mode .sc2-frame {
    position:relative!important;display:block!important;
    width:100%!important;height:100%!important;
    min-width:0!important;min-height:0!important;
    flex:1 1 auto!important;overflow:hidden!important;
    border-radius:inherit;isolation:isolate;
  }
  body.sc6-mode .sc2-frame .sc2-photo {
    inset:0!important;width:100%;height:100%;
    background-size:cover!important;
    background-position:63% 48%!important;
    background-repeat:no-repeat!important;
    transform:none!important;
    filter:brightness(.94) saturate(1.06) contrast(1.07);
  }
  body.sc6-mode .sc2-frame[data-ad-design="deckq"] .sc2-photo {
    background-position:61% 47%!important;
  }
  body.sc6-mode .sc2-frame .sc2-shade{
    background:linear-gradient(90deg,rgba(2,9,15,.97) 0%,rgba(2,10,17,.91) 25%,rgba(2,10,17,.68) 46%,rgba(2,10,17,.18) 80%,rgba(2,10,17,.06) 100%),
    linear-gradient(0deg,rgba(0,5,10,.83) 0%,transparent 43%)!important;
  }
  /* Side adverts alongside voices/news are often nearly as tall as they are
     wide. Use the full height: brand at top, key message at bottom. */
  body.sc6-mode .sc2-side .sc2-content {
    height:100%!important;width:100%!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    align-items:start!important;
    padding:clamp(16px,2.55cqw,36px)!important;
    gap:clamp(7px,1cqw,15px)!important;
  }
  body.sc6-mode .sc2-side .sc2-head {
    grid-row:1!important;display:flex!important;flex-direction:column!important;
    align-items:flex-start!important;gap:clamp(8px,.8cqw,13px)!important;
    min-width:0!important;width:100%!important;
    max-width:100%!important;
  }
  body.sc6-mode .sc2-side .sc2-logo {
    display:block!important;object-fit:contain!important;object-position:left center!important;
    width:min(80cqw,430px)!important;max-width:100%!important;
    max-height:clamp(72px,11vh,150px)!important;height:auto!important;
    flex:0 0 auto!important;filter:drop-shadow(0 2px 6px #000b);
  }
  body.sc6-mode .sc2-side .sc2-category {
    color:#e9f8f5!important;opacity:.94;letter-spacing:.105em!important;
    font-size:clamp(11px,1.55cqw,17px)!important;
    line-height:1.2!important;
  }
  body.sc6-mode .sc2-side .sc2-message {
    grid-row:3!important;justify-self:start!important;align-self:end!important;
    width:min(100%,620px)!important;max-width:100%!important;
    display:flex!important;flex-direction:column!important;
    gap:clamp(7px,.75cqw,12px)!important;
    margin:0 0 clamp(8px,1.4cqw,18px)!important;
  }
  body.sc6-mode .sc2-side .sc2-message strong {
    display:block!important;color:#fff!important;
    font-size:clamp(28px,7cqw,67px)!important;
    font-weight:1000!important;
    line-height:.94!important;letter-spacing:-.055em!important;
    text-wrap:balance;max-width:97%!important;
  }
  body.sc6-mode .sc2-side .sc2-message small {
    display:block!important;color:#c7ff63!important;
    font-size:clamp(12px,2.15cqw,20px)!important;
    line-height:1.22!important;letter-spacing:.012em!important;
    max-width:95%!important;
  }
  body.sc6-mode .sc2-side .sc2-caption{
    bottom:8px!important;right:9px!important;font-size:9px!important;
    padding:4px 6px!important;background:#000a!important;
  }
  /* Wide, full-screen sponsor break: image reaches all four edges, original
     logo is undistorted, text and CTA stay on the shaded left. */
  body.sc6-mode .sc2-full .sc2-content {
    display:flex!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:space-between!important;
    padding:clamp(26px,3.7cqw,76px)!important;
    gap:clamp(8px,1.4cqw,23px)!important;
  }
  body.sc6-mode .sc2-full .sc2-head{
    width:min(72%,920px)!important;max-width:72%!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    gap:clamp(10px,1.05cqw,18px)!important;
  }
  body.sc6-mode .sc2-full .sc2-logo{
    width:min(48cqw,720px)!important;max-width:100%!important;
    max-height:min(21vh,190px)!important;height:auto!important;
    object-fit:contain!important;object-position:left center!important;
  }
  body.sc6-mode .sc2-full .sc2-category{
    font-size:clamp(14px,1.28cqw,23px)!important;
    font-weight:900!important;letter-spacing:.11em!important;
  }
  body.sc6-mode .sc2-full .sc2-message{
    margin-top:auto!important;margin-bottom:auto!important;
    width:min(73%,1100px)!important;max-width:73%!important;
    gap:clamp(10px,1.2cqw,19px)!important;
  }
  body.sc6-mode .sc2-full .sc2-message strong{
    display:block!important;font-size:clamp(45px,5.55cqw,108px)!important;
    line-height:.96!important;max-width:100%!important;
    text-wrap:balance;letter-spacing:-.065em!important;
  }
  body.sc6-mode .sc2-full .sc2-message small{
    font-size:clamp(15px,1.55cqw,27px)!important;
    line-height:1.2!important;letter-spacing:.025em!important;
  }
  body.sc6-mode .sc2-full .sc2-cta{
    font-size:clamp(15px,1.38cqw,23px)!important;
    padding:.72em 1.1em!important;
    background:#c4ff21!important;color:#07130c!important;
    flex:0 0 auto!important;
  }
  body.sc6-mode .sc2-full .sc2-caption{
    font-size:clamp(10px,.78vw,13px)!important;
    right:14px!important;bottom:12px!important;
  }
  /* Homepage display was capped at 190px, causing thin banners and empty
     desktop width. Make it a full composed promotion with original image
     AND original owner-supplied wordmark (both remain uncropped). */
  #shHomepage.sh-home .sh-body {
    display:grid!important;
    grid-template-columns:minmax(0,57fr) minmax(310px,43fr)!important;
    align-items:stretch!important;min-height:clamp(280px,26vw,420px)!important;
    width:100%!important;overflow:hidden!important;
    background:linear-gradient(120deg,#05080c,#0e232a)!important;
  }
  #shHomepage.sh-home .sh-pic{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;height:100%!important;min-height:280px!important;
    background:linear-gradient(135deg,#030506,#15262b)!important;
    overflow:hidden!important;
  }
  #shHomepage.sh-home .sh-pic img{
    width:100%!important;height:100%!important;max-height:none!important;
    object-fit:contain!important;object-position:center center!important;
    display:block!important;flex:1 1 auto!important;
  }
  #shHomepage.sh-home .sh-meta {
    display:flex!important;flex-direction:column!important;
    justify-content:center!important;align-items:flex-start!important;
    gap:clamp(12px,1.25vw,20px)!important;
    padding:clamp(22px,3vw,54px)!important;
    border-left:1px solid #36545d!important;
    background:radial-gradient(circle at 95% 0%,#2f4c3a45,transparent 70%),#091821!important;
  }
  #shHomepage.sh-home .sh-meta strong{
    display:block!important;font-size:0!important;
    height:clamp(72px,7vw,125px)!important;
    width:min(100%,440px)!important;
    background-repeat:no-repeat!important;
    background-size:contain!important;
    background-position:left center!important;
  }
  #shHomepage.sh-home[data-campaign^="InciCap"] .sh-meta strong{
    background-image:url('/scory-brand/incicap-wordmark.webp')!important;
  }
  #shHomepage.sh-home[data-campaign^="DeckQ"] .sh-meta strong{
    background-image:url('/scory-brand/deckq-wordmark.webp')!important;
  }
  #shHomepage.sh-home .sh-meta p{
    display:block!important;color:#e8f3f0!important;
    font-size:clamp(18px,1.5vw,26px)!important;
    line-height:1.33!important;font-weight:800!important;
    max-width:440px!important;margin:0!important;
  }
  #shHomepage.sh-home .sh-meta .sh-cta{
    display:inline-flex!important;align-items:center!important;
    padding:13px 20px!important;font-size:14px!important;
    background:#cfff4c!important;color:#092027!important;
    border-radius:8px!important;
  }
  #shHomepage.sh-home .sh-top,
  #shHomepage.sh-home .sh-bottom{padding:11px 18px!important;}
  /* Keep the compact matchday house promotion readable without losing artwork. */
  #scory24Feed #shMatchday.sh-score .sh-pic img{
    max-height:clamp(165px,16vw,260px)!important;
    object-fit:contain!important;
  }
}
/* Smaller desktop windows: use every pixel without letting oversized copy
   compete with the broadcast controls. Mobile styles remain unchanged. */
@media screen and (min-width:960px) and (hover:hover) and (max-height:730px){
  body.sc6-mode .sc2-side .sc2-content{padding:clamp(12px,1.55cqw,22px)!important}
  body.sc6-mode .sc2-side .sc2-logo{max-height:75px!important}
  body.sc6-mode .sc2-side .sc2-message strong{font-size:clamp(25px,5.45cqw,48px)!important}
  body.sc6-mode .sc2-side .sc2-message small{font-size:clamp(11px,1.65cqw,16px)!important}
  body.sc6-mode .sc2-full .sc2-content{padding:clamp(22px,2.85cqw,45px)!important}
  body.sc6-mode .sc2-full .sc2-logo{max-height:100px!important}
  body.sc6-mode .sc2-full .sc2-message strong{font-size:clamp(34px,4.6cqw,74px)!important}
  body.sc6-mode .sc2-full .sc2-message small{font-size:clamp(13px,1.3cqw,21px)!important}
}
