/*
 * v119.0.5 under-hero polish
 * Visual cleanup only. The hero and all data/stream/GPS logic stay untouched.
 */

body .mc-page > .section,
body .mc-page > .mc-info{
  position:relative;
  isolation:isolate;
}

body .mc-page > .section:not(#live),
body .mc-page > .mc-info{
  padding-top:clamp(48px,6vw,78px)!important;
  padding-bottom:clamp(48px,6vw,78px)!important;
}

body #live.live-center-v8,
body section#live,
body .live-center-v8.live-layout-fixed-v38{
  width:min(1280px,calc(100% - clamp(28px,5vw,74px)))!important;
  max-width:1280px!important;
  padding-top:clamp(54px,6vw,82px)!important;
  padding-bottom:clamp(42px,5vw,68px)!important;
}

body .mc-tracker-section,
body .media-theater-v8,
body .mc-info{
  width:min(1320px,calc(100% - clamp(28px,5vw,74px)))!important;
  max-width:1320px!important;
}

body .section-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,520px)!important;
  gap:clamp(16px,3vw,36px)!important;
  align-items:end!important;
  margin-bottom:clamp(18px,2.2vw,30px)!important;
}

body .section-head .kicker,
body #live .mc-offline-copy-v118 .kicker{
  letter-spacing:.18em!important;
  font-size:12px!important;
}

body .section-head h2{
  margin-top:8px!important;
  font-size:clamp(38px,5vw,62px)!important;
  line-height:.94!important;
}

body .section-head p{
  max-width:520px!important;
  justify-self:end!important;
  margin:0!important;
  line-height:1.55!important;
  color:rgba(226,236,255,.78)!important;
}

body #live .live-feature-v8{
  grid-template-columns:minmax(0,1fr) minmax(300px,368px)!important;
  gap:18px!important;
}

body #live .player-card-v8,
body #live .chat-panel-v10,
body .mc-tracker-card,
body .media-theater-v8 .glass,
body .mc-info{
  border-color:rgba(73,145,255,.32)!important;
  background:
    linear-gradient(180deg,rgba(12,27,50,.82),rgba(3,10,22,.86))!important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.04)!important;
}

body #live .player-card-v8{
  padding:14px!important;
  border-radius:20px!important;
}

body #live .player-window-v8{
  border-radius:16px!important;
  box-shadow:0 18px 48px rgba(0,0,0,.38)!important;
}

body #live.is-live-v120 .player-window-v8,
body #live.is-live-v120 .mc-live-player-stage-v121{
  max-height:none!important;
}

body #live.is-offline-v120 .mc-offline-center-v118{
  min-height:430px!important;
  padding:clamp(24px,4vw,50px)!important;
  gap:clamp(18px,3vw,36px)!important;
}

body #live.is-offline-v120 .mc-offline-copy-v118 h3{
  font-size:clamp(36px,5vw,62px)!important;
  max-width:560px!important;
}

body #live.is-offline-v120 .mc-offline-copy-v118 p{
  max-width:590px!important;
}

body #live .mc-latest-highlight-v118{
  max-width:270px!important;
  border-radius:16px!important;
}

body #live .stats-v8{
  gap:10px!important;
  margin-top:12px!important;
}

body #live .stat{
  min-height:0!important;
  padding:13px 14px!important;
  border-radius:14px!important;
}

body #live .stat b{
  font-size:clamp(21px,2.2vw,28px)!important;
  line-height:1.1!important;
}

body #live .stat span,
body #live .row-v8 span,
body .mc-tracker-grid span{
  color:rgba(211,224,247,.75)!important;
}

body #live .status-under-player-v110{
  margin-top:12px!important;
  padding:16px!important;
  border-radius:18px!important;
}

body #live .status-under-player-v110 > p{
  display:none!important;
}

body #live .status-under-player-v110 .rows-v8{
  gap:10px!important;
}

body #live .status-under-player-v110 .row-v8{
  min-width:0!important;
  padding:12px 13px!important;
  border-radius:13px!important;
}

body #live .status-under-player-v110 .row-v8 b{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.28!important;
}

body #live .chat-panel-v10{
  padding:16px!important;
  border-radius:20px!important;
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}

body #live .chat-panel-v10 h3{
  margin-bottom:10px!important;
}

body #live .chat-panel-v10 .chat-embed-v8{
  height:clamp(410px,41vw,540px)!important;
  min-height:410px!important;
  max-height:540px!important;
  border-radius:15px!important;
}

body #live .chat-panel-v10 .chat-embed-v8 iframe{
  height:100%!important;
  min-height:0!important;
}

body #live .mc-external-consent-v118{
  padding:24px!important;
  text-align:center!important;
}

body .mc-tracker-card{
  border-radius:20px!important;
  overflow:hidden!important;
}

body .mc-tracker-map-wrap{
  height:min(54vh,480px)!important;
  min-height:360px!important;
}

body .mc-tracker-info{
  padding:16px!important;
  gap:14px!important;
}

body .mc-tracker-grid{
  gap:10px!important;
}

body .mc-tracker-grid > div{
  min-height:0!important;
  padding:13px 14px!important;
  border-radius:14px!important;
}

body .mc-tracker-grid b{
  font-size:clamp(15px,1.4vw,18px)!important;
  overflow-wrap:anywhere!important;
}

body .vod-grid-v8,
body .clip-grid-v8{
  gap:16px!important;
}

body .media-card-v8,
body .mc-media-card{
  border-radius:18px!important;
  overflow:hidden!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}

body .media-card-v8:hover,
body .mc-media-card:hover{
  transform:translateY(-3px);
  border-color:rgba(103,168,255,.5)!important;
  box-shadow:0 28px 85px rgba(0,0,0,.34)!important;
}

body .media-card-v8 img,
body .mc-media-card img{
  aspect-ratio:16/9!important;
  object-fit:cover!important;
}

body .mc-info{
  margin-top:0!important;
  margin-bottom:clamp(26px,4vw,48px)!important;
  padding:clamp(28px,4vw,44px)!important;
  border:1px solid rgba(73,145,255,.28)!important;
  border-radius:22px!important;
}

body .mc-info h2{
  font-size:clamp(30px,4vw,48px)!important;
  margin:0 0 10px!important;
}

body .mc-info p{
  max-width:900px!important;
  margin:0!important;
}

body .irlq-homepage-live-anchor{
  width:min(1320px,calc(100% - clamp(28px,5vw,74px)))!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body .irlq-homepage-live-anchor [class*="card"],
body .irlq-homepage-live-anchor [class*="panel"]{
  min-height:0!important;
}

@media (max-width:1100px){
  body #live .live-feature-v8{
    grid-template-columns:1fr!important;
  }

  body #live .chat-panel-v10 .chat-embed-v8{
    height:460px!important;
    max-height:none!important;
  }
}

@media (max-width:820px){
  body .mc-page > .section:not(#live),
  body .mc-page > .mc-info{
    padding-top:42px!important;
    padding-bottom:42px!important;
  }

  body #live.live-center-v8,
  body section#live,
  body .live-center-v8.live-layout-fixed-v38,
  body .mc-tracker-section,
  body .media-theater-v8,
  body .mc-info,
  body .irlq-homepage-live-anchor{
    width:calc(100% - 24px)!important;
  }

  body .section-head{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }

  body .section-head p{
    justify-self:start!important;
    max-width:100%!important;
  }

  body .section-head h2{
    font-size:clamp(34px,12vw,52px)!important;
  }

  body #live.is-offline-v120 .mc-offline-center-v118{
    min-height:0!important;
  }

  body #live .mc-latest-highlight-v118{
    max-width:100%!important;
  }

  body #live .stats-v8,
  body #live .status-under-player-v110 .rows-v8,
  body .mc-tracker-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body .mc-tracker-map-wrap{
    height:min(58vh,430px)!important;
    min-height:330px!important;
  }
}

@media (max-width:560px){
  body #live.live-center-v8,
  body section#live,
  body .live-center-v8.live-layout-fixed-v38{
    padding-top:36px!important;
  }

  body #live .player-card-v8,
  body #live .chat-panel-v10,
  body .mc-info{
    border-radius:16px!important;
  }

  body #live .stats-v8,
  body #live .status-under-player-v110 .rows-v8,
  body .mc-tracker-grid{
    grid-template-columns:1fr!important;
  }

  body #live .chat-panel-v10 .chat-embed-v8{
    height:420px!important;
    min-height:360px!important;
  }

  body .mc-tracker-map-wrap{
    height:360px!important;
    min-height:320px!important;
  }
}
