/* A5R Reguler: approved cinematic family standby cover, Kontrol HP only.
   Based on full-thumb preview. No modifications to playback or data.
   Flex ordering explicitly fixes misplaced Fullscreen and volume cards. */
body.route-hp #page-control .control-card.a5r-fullthumb-ready {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:12px!important;
  border-radius:18px!important;
  background:linear-gradient(158deg,#0b2447 0%,#07182f 90%)!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready > * {
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .cover {
  order:1!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16 / 9!important;
  margin:0 0 11px!important;
  overflow:hidden!important;
  border-radius:13px!important;
  background:linear-gradient(125deg,#071936,#142954)!important;
  border:1px solid rgba(73,140,222,.23)!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .cover img#coverImage {
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:12px!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready.a5r-is-empty .cover #coverMic {
  width:100%!important;height:100%!important;
  display:block!important;
  font-size:0!important;
  background-image:url("/a5r-control-family-cinematic.webp")!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  border-radius:12px!important;
  filter:none!important;
  box-shadow:none!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .now-label {
  order:2!important;
  display:none!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .now-title {
  order:3!important;
  width:100%!important;
  margin:0 0 6px!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready.a5r-has-song .now-title {
  font-size:clamp(19px,4.7vw,24px)!important;
  font-weight:850!important;
  line-height:1.23!important;
  letter-spacing:-.025em!important;
  max-height:4.92em!important;
  overflow:hidden!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .now-channel {
  order:4!important;
  width:100%!important;
  margin:0 0 10px!important;
  font-size:12px!important;
  line-height:1.4!important;
  color:#adbedb!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .a5r-empty-copy {
  order:5!important;
  flex:0 0 auto!important;
  width:100%!important;
  margin:0!important;
  padding:3px 4px 17px!important;
  text-align:center!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .a5r-empty-copy strong {
  font-size:clamp(22px,5.4vw,27px)!important;
  line-height:1.23!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .a5r-empty-copy span {
  font-size:12px!important;
  max-width:320px;
  margin:7px auto 0!important;
  color:#aebbd1!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .progress {
  order:6!important;
  margin:2px 0 6px!important;
  width:100%!important;
  height:5px!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready.a5r-is-empty .progress span {
  width:0!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .time-row {
  order:7!important;
  margin:0!important;
  width:100%!important;
  display:flex!important;
  justify-content:space-between!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready #kv7PlaybackGrid {
  order:8!important;
  width:100%!important;
  margin:9px 0 11px!important;
  align-self:stretch!important;
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1.05fr)
     minmax(0,1.65fr) minmax(0,1.05fr) minmax(0,1.05fr) minmax(0,1fr)!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready .big-controls {
  display:none!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready #remoteStopBtn {
  order:9!important;
  align-self:stretch!important;
  margin:0 0 10px!important;
  width:100%!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready #kv7TvVolumeCard {
  order:10!important;
  align-self:stretch!important;
  width:100%!important;
  margin:0 0 12px!important;
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
}
body.route-hp #page-control .control-card.a5r-fullthumb-ready #hpFakeFullscreenBtn {
  order:11!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:12px!important;
  min-height:47px!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(100deg,#09cbbf,#0c9fea)!important;
  color:#061b2c!important;
  font-weight:800!important;
}
@media(max-width:390px) {
  body.route-hp #page-control .control-card.a5r-fullthumb-ready {
    padding:10px!important;
  }
  body.route-hp #page-control .control-card.a5r-fullthumb-ready .cover {
    aspect-ratio:16 / 9!important;
    height:auto!important;
  }
  body.route-hp #page-control .control-card.a5r-fullthumb-ready.a5r-has-song .now-title {
    font-size:19px!important;
  }
}

/* Fullscreen TV is deliberately placed AFTER the whole player card.
   Prevent other fullscreen/volume injected CSS from placing it above art.
   Original button/handler remains intact; no duplicate UI. */
body.route-hp #page-control > #hpFakeFullscreenBtn {
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:calc(100% - 4px)!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:12px auto 14px!important;
  padding:12px 18px!important;
  min-height:47px!important;
  height:auto!important;
  border-radius:13px!important;
  color:#041d31!important;
  font-size:15px!important;
  font-weight:850!important;
  background:linear-gradient(100deg,#09cbbf,#0c9fea)!important;
  box-shadow:none!important;
  border:1px solid rgba(8,182,219,.35)!important;
}
