/* STS v5.6.160 - live streamer showcase carousel like reference mockup */
html body.streamx-v5.twitch-v53 .sts-tv-main{
  max-width: none !important;
}
html body.streamx-v5.twitch-v53 .sts-live-showcase{
  width:min(1540px, calc(100vw - 340px)) !important;
  margin:26px auto 44px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}
html body.streamx-v5.twitch-v53 .sts-live-main-card{
  display:grid !important;
  grid-template-columns:minmax(620px, 1fr) 360px !important;
  min-height:430px !important;
  background:#182030 !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:0 !important;
  overflow:hidden !important;
  box-shadow:0 18px 50px rgba(0,0,0,.34) !important;
}
html body.streamx-v5.twitch-v53 .sts-live-preview-stack{
  position:relative !important;
  min-height:430px !important;
  background:#05070b !important;
}
html body.streamx-v5.twitch-v53 .sts-live-preview{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  opacity:0 !important;
  pointer-events:none !important;
  transition:opacity .28s ease !important;
  background:#05070b !important;
}
html body.streamx-v5.twitch-v53 .sts-live-preview.active{
  opacity:1 !important;
  pointer-events:auto !important;
}
html body.streamx-v5.twitch-v53 .sts-live-preview img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
  filter:none !important;
  opacity:1 !important;
}
html body.streamx-v5.twitch-v53 .sts-live-preview::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18)) !important;
  pointer-events:none !important;
}
html body.streamx-v5.twitch-v53 .sts-live-badge{
  position:absolute !important;
  left:14px !important;
  top:14px !important;
  z-index:2 !important;
  background:#ff1d45 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:1000 !important;
  letter-spacing:.04em !important;
  padding:7px 10px !important;
  border-radius:3px !important;
  box-shadow:0 0 18px rgba(255,29,69,.45) !important;
}
html body.streamx-v5.twitch-v53 .sts-viewer-badge{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  z-index:2 !important;
  background:rgba(0,0,0,.72) !important;
  color:#fff !important;
  border-radius:999px !important;
  font-size:13px !important;
  font-weight:900 !important;
  padding:7px 12px !important;
}
html body.streamx-v5.twitch-v53 .sts-live-play{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  z-index:2 !important;
  width:74px !important;
  height:74px !important;
  border-radius:999px !important;
  display:grid !important;
  place-items:center !important;
  background:rgba(255,255,255,.18) !important;
  color:white !important;
  font-size:30px !important;
  backdrop-filter:blur(6px) !important;
  -webkit-backdrop-filter:blur(6px) !important;
  text-shadow:0 2px 10px rgba(0,0,0,.5) !important;
}
html body.streamx-v5.twitch-v53 .sts-live-details{
  background:#202838 !important;
  color:#fff !important;
  padding:34px 30px !important;
  display:flex !important;
  align-items:stretch !important;
  position:relative !important;
}
html body.streamx-v5.twitch-v53 .sts-live-detail{
  display:none !important;
  flex-direction:column !important;
  width:100% !important;
  min-height:100% !important;
}
html body.streamx-v5.twitch-v53 .sts-live-detail.active{
  display:flex !important;
}
html body.streamx-v5.twitch-v53 .sts-live-creator-row{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin-bottom:28px !important;
}
html body.streamx-v5.twitch-v53 .sts-live-creator-row img{
  width:54px !important;
  height:54px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  box-shadow:0 0 0 2px rgba(57,255,20,.55) !important;
}
html body.streamx-v5.twitch-v53 .sts-live-creator-row strong{
  display:block !important;
  font-size:18px !important;
  font-weight:1000 !important;
}
html body.streamx-v5.twitch-v53 .sts-live-creator-row small{
  color:#b9c2d2 !important;
  font-size:13px !important;
}
html body.streamx-v5.twitch-v53 .sts-live-detail p{
  font-size:17px !important;
  line-height:1.45 !important;
  font-weight:800 !important;
  margin:0 0 22px !important;
  color:#f4f7fb !important;
}
html body.streamx-v5.twitch-v53 .sts-live-meta-line{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  color:#b8c2d1 !important;
  font-weight:900 !important;
  margin-bottom:auto !important;
}
html body.streamx-v5.twitch-v53 .sts-live-meta-line span:first-child{
  color:#fff !important;
}
html body.streamx-v5.twitch-v53 .sts-watch-earn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:54px !important;
  margin-top:26px !important;
  border-radius:6px !important;
  background:linear-gradient(90deg,#ff4d28,#ffbd3c) !important;
  color:#fff !important;
  font-weight:1000 !important;
  text-decoration:none !important;
  box-shadow:0 12px 26px rgba(255,92,34,.22) !important;
}
html body.streamx-v5.twitch-v53 .sts-live-thumb-rail{
  margin-top:12px !important;
  display:grid !important;
  grid-template-columns:repeat(8, minmax(90px, 1fr)) !important;
  gap:9px !important;
}
html body.streamx-v5.twitch-v53 .sts-live-thumb{
  border:1px solid rgba(255,255,255,.1) !important;
  background:#141a26 !important;
  padding:0 !important;
  height:66px !important;
  border-radius:2px !important;
  overflow:hidden !important;
  cursor:pointer !important;
  position:relative !important;
  opacity:.78 !important;
}
html body.streamx-v5.twitch-v53 .sts-live-thumb.active{
  opacity:1 !important;
  border-color:#38bdf8 !important;
  box-shadow:0 0 0 2px rgba(56,189,248,.45) !important;
}
html body.streamx-v5.twitch-v53 .sts-live-thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
html body.streamx-v5.twitch-v53 .sts-live-thumb span{
  position:absolute !important;
  left:6px !important;
  right:6px !important;
  bottom:5px !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:1000 !important;
  text-shadow:0 1px 5px #000 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
html body.streamx-v5.twitch-v53 .sts-live-showcase-empty{
  min-height:280px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-direction:column !important;
  gap:12px !important;
  background:#111827 !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.08) !important;
}
html body.streamx-v5.twitch-v53 .sts-live-showcase-empty a{
  color:#39ff14 !important;
  font-weight:900 !important;
}
/* Hide old coverflow controls if older CSS still leaks through */
html body.streamx-v5.twitch-v53 .sts-live-showcase .coverflow-arrow,
html body.streamx-v5.twitch-v53 .sts-live-showcase .coverflow-stage,
html body.streamx-v5.twitch-v53 .sts-live-showcase .coverflow-card{
  display:none !important;
}
@media (max-width:1200px){
  html body.streamx-v5.twitch-v53 .sts-live-showcase{width:calc(100vw - 32px)!important;}
  html body.streamx-v5.twitch-v53 .sts-live-main-card{grid-template-columns:1fr!important;}
  html body.streamx-v5.twitch-v53 .sts-live-details{padding:22px!important;}
  html body.streamx-v5.twitch-v53 .sts-live-thumb-rail{grid-template-columns:repeat(4, 1fr)!important;}
}
@media (max-width:700px){
  html body.streamx-v5.twitch-v53 .sts-live-preview-stack{min-height:260px!important;}
  html body.streamx-v5.twitch-v53 .sts-live-main-card{min-height:0!important;}
  html body.streamx-v5.twitch-v53 .sts-live-thumb-rail{grid-template-columns:repeat(3, 1fr)!important;}
}
