/* A5R HOME FINAL V11 — preview only; hero locked */

/* Exact requested hero: single target artwork only. */
body.route-hp #kv7HpHomeImageLayoutV2 .a5r-home-hero-v7{
  display:block!important;
  width:100%!important;
  aspect-ratio:740/350!important;
  min-height:0!important;
  margin:0 0 12px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:#071426!important;
  border:1px solid rgba(58,105,219,.64)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.30)!important
}
body.route-hp #kv7HpHomeImageLayoutV2 .a5r-home-hero-v7 img{
  display:block!important;width:100%!important;height:100%!important;object-fit:fill!important;border-radius:inherit!important
}

/* Keep the approved 4 cards unchanged. */
body.route-hp .kv7-ref-card.kv7-ref-search{
  background-image:url('/a5r-home-cards/cari-lagu.webp')!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;overflow:hidden!important
}
body.route-hp .kv7-ref-card.kv7-ref-search>*{visibility:hidden!important}
body.route-hp .kv7-ref-card.kv7-ref-queue{
  background-image:url('/a5r-home-cards/antrean.webp')!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;overflow:hidden!important
}
body.route-hp .kv7-ref-card.kv7-ref-queue>*{visibility:hidden!important}
body.route-hp .kv7-ref-card.kv7-ref-battle{
  background-image:url('/a5r-home-cards/battle.webp')!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;overflow:hidden!important
}
body.route-hp .kv7-ref-card.kv7-ref-battle>*{visibility:hidden!important}
body.route-hp .kv7-ref-card.kv7-ref-collection{
  background-image:url('/a5r-home-cards/koleksi-saya.webp')!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;overflow:hidden!important
}
body.route-hp .kv7-ref-card.kv7-ref-collection>*{visibility:hidden!important}
body.route-hp .kv7-ref-grid .kv7-ref-card{aspect-ratio:2.2/1;min-height:0!important;padding:0!important;border-radius:16px!important}

/* Smaller, cleaner Legal card. */
body.route-hp #page-home .a5r-legal-compact-v7{
  margin:10px 0 0!important;
  padding:9px 10px 8px!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,rgba(8,30,52,.99),rgba(5,22,40,.99))!important;
  border:1px solid rgba(67,117,171,.28)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.20)!important
}
body.route-hp #page-home .a5r-legal-compact-v7:before{display:none!important}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title{
  display:flex!important;align-items:center!important;gap:5px!important;margin:0 0 7px!important;text-align:left!important
}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title>span{
  display:grid!important;place-items:center!important;
  width:27px!important;height:27px!important;flex:0 0 27px!important;
  border-radius:8px!important;color:#a8adff!important;
  background:linear-gradient(145deg,#263b72,#19264e)!important;
  border:1px solid rgba(132,142,244,.24)!important
}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title>span svg{width:15px!important;height:15px!important}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title b{
  display:block!important;font-size:11.8px!important;line-height:1.1!important;font-weight:900!important;color:#f4f7ff!important
}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title small{
  display:block!important;margin-top:2px!important;font-size:7px!important;line-height:1.25!important;color:#8999b7!important
}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-links{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;border:0!important
}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-links a{
  min-height:49px!important;padding:6px 6px!important;border-radius:10px!important;
  display:grid!important;grid-template-columns:19px minmax(0,1fr) 11px!important;align-items:center!important;column-gap:5px!important;
  background:rgba(7,31,55,.68)!important;border:1px solid rgba(72,128,182,.17)!important;
  box-shadow:none!important;text-decoration:none!important
}
body.route-hp #page-home .a5r-legal-v7-icon{
  width:17px!important;height:17px!important;color:#a7adff!important;display:grid!important;place-items:center!important
}
body.route-hp #page-home .a5r-legal-v7-icon svg{width:100%!important;height:100%!important}
body.route-hp #page-home .a5r-legal-v7-copy{min-width:0!important;display:flex!important;flex-direction:column!important;gap:1px!important}
body.route-hp #page-home .a5r-legal-v7-copy b{
  font-size:8.8px!important;line-height:1.12!important;font-weight:850!important;color:#eff4ff!important
}
body.route-hp #page-home .a5r-legal-v7-copy small{
  font-size:6.4px!important;line-height:1.18!important;color:#8999b6!important
}
body.route-hp #page-home .a5r-legal-v7-arrow{
  width:10px!important;height:10px!important;color:#10d5e8!important;display:grid!important;place-items:center!important
}
body.route-hp #page-home .a5r-legal-v7-arrow svg{width:100%!important;height:100%!important}
body.route-hp #page-home .a5r-legal-compact-v7 .a5r-legal-v7-foot{
  display:block!important;margin:5px 0 0!important;padding:0!important;border:0!important;
  text-align:center!important;color:#61738d!important;font-size:6.4px!important
}
body.route-hp #page-home .a5r-legal-v7-trust{
  display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:4px!important;margin-top:5px!important
}
body.route-hp #page-home .a5r-legal-v7-trust span{
  padding:4px 2px!important;border-radius:7px!important;text-align:center!important;
  background:rgba(48,76,119,.16)!important;border:1px solid rgba(103,139,192,.11)!important;
  color:#8fa0bb!important;font-size:5.9px!important;font-weight:750!important;white-space:nowrap!important
}

/* Close the empty lower gap without touching navigation behavior. */
body.route-hp #page-home{padding-bottom:0!important}
body.route-hp .app{padding-bottom:calc(96px + var(--safe-bottom))!important}
body.route-hp #kv7HelpLauncher.a5r-help-tight-v7{
  bottom:calc(205px + env(safe-area-inset-bottom))!important;
  min-height:32px!important;padding:3px 8px 3px 5px!important;font-size:9.5px!important
}
body.route-hp #kv7HelpLauncher.a5r-help-tight-v7 .kv7-help-launcher-icon{
  width:20px!important;height:20px!important;font-size:9px!important
}
body.route-hp .mic-score-owner-indicator,
body.route-hp .mic-score-indicator{bottom:calc(164px + env(safe-area-inset-bottom))!important}

@media(max-width:360px){
  body.route-hp #page-home .a5r-legal-compact-v7{padding:9px!important}
  body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-links a{min-height:47px!important;padding:5px!important}
  body.route-hp #page-home .a5r-legal-v7-copy b{font-size:8.5px!important}
  body.route-hp #page-home .a5r-legal-v7-copy small{font-size:6.1px!important}
}
/* V10 legal header + chevron precision */
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title{
  display:block!important;
  width:100%!important;
  margin:0 0 6px!important;
  text-align:center!important;
}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title>span{display:none!important}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-title>div{
  width:100%!important;
  text-align:center!important;
  margin:0 auto!important;
}
body.route-hp #page-home .a5r-legal-compact-v7 .kv7-home-legal-links a{
  position:relative!important;
  padding-right:22px!important;
}
body.route-hp #page-home .a5r-legal-v7-arrow{
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  align-self:auto!important;
}

/* V11 hard lock for Legal header and chevrons */
body.route-hp #page-home .kv7-home-legal.a5r-legal-compact-v7 .kv7-home-legal-title{
  display:block!important;
  position:relative!important;
  width:100%!important;
  padding:0!important;
  margin:0 0 6px!important;
  text-align:center!important;
  justify-content:center!important;
}
body.route-hp #page-home .kv7-home-legal.a5r-legal-compact-v7 .kv7-home-legal-title>span{
  display:none!important;
  width:0!important;
  height:0!important;
  flex:0 0 0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
body.route-hp #page-home .kv7-home-legal.a5r-legal-compact-v7 .kv7-home-legal-title>div{
  display:block!important;
  width:100%!important;
  margin:0 auto!important;
  padding:0!important;
  text-align:center!important;
}
body.route-hp #page-home .kv7-home-legal.a5r-legal-compact-v7 .kv7-home-legal-links a{
  position:relative!important;
  padding-right:24px!important;
}
body.route-hp #page-home .a5r-legal-v7-arrow{
  position:absolute!important;
  right:8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}
