/* v3.9.45 — VIP titles are hero artwork, never a miniature under the avatar.
 * Last CSS layer after frame-safe/readability; preserves original approved assets.
 * The PNGs are approximately 2:1. Earlier 140×38 boxes forced object-fit
 * to render an entire 140px banner as a ~76px banner. Use near-2:1 boxes.
 */

/* No dashed teal ring around the signed-in player in the ranking. */
#ntv-game-root .ntv-leaderboard-v3924 .ntv-lb-me:not(:focus-visible){outline:none!important;outline-offset:0!important}
#ntv-game-root .ntv-leaderboard-v3924 .ntv-lb-podium-card.ntv-lb-gold{border-color:#e9ad23!important;box-shadow:0 8px 0 #b98735,0 11px 22px #a7752b40, inset 0 0 0 2px #fff6c9!important}
#ntv-game-root .ntv-leaderboard-v3924 .ntv-lb-podium-card.ntv-lb-me:not(.ntv-lb-gold){box-shadow:0 7px 0 #9aaeb180,0 12px 24px #27574424!important}
#ntv-game-root .ntv-leaderboard-v3924 .ntv-lb-me:focus-visible{outline:3px solid #086e63!important;outline-offset:3px!important}

/* One consistent image rule: the entire artwork stays visible, no cropping.
 * Each context sets a real box near the original 2:1 aspect ratio. */
#ntv-game-root .ntv-vip-title>img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
  filter:drop-shadow(0 2px 2px #44250b42)!important;
}

/* Small account button — emphasize the title without pushing account text out. */
#ntv-game-root .ntv-home-avatar-stack{width:88px!important;min-width:88px!important;padding-top:8px}
#ntv-game-root .ntv-home-avatar-stack>.ntv-profile-avatar{margin-bottom:8px!important}
#ntv-game-root .ntv-home-avatar-stack>.ntv-vip-title{
  --ntv-safe-title-width:86px;--ntv-safe-title-height:42px;
  width:86px!important;height:42px!important;margin:1px auto 0!important;
}
#ntv-game-root .ntv-profile-card{gap:10px!important;min-height:112px!important}
#ntv-game-root .ntv-profile-card .ntv-profile-text{min-width:0;overflow-wrap:anywhere}

/* Public player profile: title is a clear, independent feature. */
#ntv-game-root .ntv-profile-avatar-stack{width:180px!important;min-width:160px!important;padding-top:18px}
#ntv-game-root .ntv-profile-avatar-stack>.ntv-profile-pic{margin-bottom:12px!important}
#ntv-game-root .ntv-profile-avatar-stack>.ntv-vip-title{
  --ntv-safe-title-width:172px;--ntv-safe-title-height:80px;
  width:172px!important;height:80px!important;margin:0 auto 2px!important;
}

/* Room roster and live match — headline title, still confined to its own column. */
#ntv-game-root .ntv-room-avatar-stack{width:110px!important;min-width:104px!important}
#ntv-game-root .ntv-room-avatar-stack>.ntv-roster-avatar{margin-bottom:10px!important}
#ntv-game-root .ntv-room-avatar-stack>.ntv-vip-title{
  --ntv-safe-title-width:105px;--ntv-safe-title-height:51px;
  width:105px!important;height:51px!important;margin:0 auto!important;
}
#ntv-game-root .ntv-person>.ntv-vip-title{
  --ntv-safe-title-width:111px;--ntv-safe-title-height:52px;
  width:111px!important;max-width:100%!important;height:52px!important;
}

/* Top 1–3: large banner, correctly matched to natural PNG ratio.
 * The box participates in flex layout: never overlap names or point totals. */
#ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card{gap:5px!important}
#ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card>.ntv-lb-portrait{margin-bottom:0!important}
#ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card>.ntv-vip-title{
  --ntv-safe-title-width:184px;--ntv-safe-title-height:88px;
  box-sizing:border-box!important;display:block!important;
  width:min(100%,184px)!important;max-width:100%!important;
  height:88px!important;min-height:88px!important;margin:1px auto 0!important;
  overflow:visible!important;flex:0 0 88px!important;
}
#ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card.ntv-lb-gold>.ntv-vip-title{
  --ntv-safe-title-width:210px;--ntv-safe-title-height:101px;
  width:min(100%,210px)!important;height:101px!important;min-height:101px!important;
  flex-basis:101px!important;
}
#ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card>.ntv-vip-title>img{
  width:100%!important;height:100%!important;max-height:100%!important;
}
#ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card>.ntv-lb-name{margin-top:1px!important}
/* Other podium ranks lacking a VIP title shouldn't be stranded at the top. */
#ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card:not(:has(>.ntv-vip-title)){justify-content:center!important;padding-bottom:40px!important}

/* Below podium: bigger banners but protect score and names on compact rows. */
#ntv-game-root .ntv-lb-entry{min-height:104px!important}
#ntv-game-root .ntv-lb-avatar-stack{width:104px!important;min-width:98px!important}
#ntv-game-root .ntv-lb-avatar-stack>.ntv-lb-portrait{margin-bottom:7px!important}
#ntv-game-root .ntv-lb-avatar-stack>.ntv-vip-title{
  --ntv-safe-title-width:99px;--ntv-safe-title-height:48px;
  width:99px!important;height:48px!important;margin:0 auto!important;
}

/* Two-column player chip: increase both its art column and banner dimensions. */
#ntv-game-root.ntv-device-pc .ntv-room-main>.ntv-member-list>.ntv-person{
  width:276px!important;min-width:276px!important;max-width:276px!important;flex-basis:276px!important;
  grid-template-columns:105px minmax(0,1fr)!important;column-gap:9px!important;
  min-height:159px!important;
}
#ntv-game-root.ntv-device-pc .ntv-room-main>.ntv-member-list>.ntv-person>.ntv-person-avatar-wrap{margin-bottom:4px!important}
#ntv-game-root.ntv-device-pc .ntv-room-main>.ntv-member-list>.ntv-person>.ntv-vip-title{
  --ntv-safe-title-width:106px;--ntv-safe-title-height:51px;
  width:106px!important;max-width:105px!important;height:51px!important;
}
#ntv-game-root.ntv-device-pc .ntv-room-main>.ntv-member-list>.ntv-person>.ntv-vip-title>img{
  height:100%!important;max-height:100%!important;
}

@media(max-width:620px){
  /* Mobile Top 1 remains full width, Top 2/3 below, with real-size titles. */
  #ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card>.ntv-vip-title{
    --ntv-safe-title-width:138px;--ntv-safe-title-height:66px;
    width:min(100%,138px)!important;height:66px!important;min-height:66px!important;flex-basis:66px!important;
  }
  #ntv-game-root .ntv-lb-podium>.ntv-lb-gold>.ntv-vip-title{
    --ntv-safe-title-width:196px;--ntv-safe-title-height:95px;
    width:min(100%,196px)!important;height:95px!important;min-height:95px!important;flex-basis:95px!important;
  }
  #ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card>.ntv-vip-title>img{height:100%!important;max-height:100%!important}
  #ntv-game-root .ntv-lb-avatar-stack{width:90px!important;min-width:86px!important}
  #ntv-game-root .ntv-lb-avatar-stack>.ntv-vip-title{
    --ntv-safe-title-width:88px;--ntv-safe-title-height:43px;
    width:88px!important;height:43px!important;
  }
  #ntv-game-root .ntv-profile-avatar-stack{width:142px!important;min-width:134px!important}
  #ntv-game-root .ntv-profile-avatar-stack>.ntv-vip-title{
    --ntv-safe-title-width:139px;--ntv-safe-title-height:68px;
    width:139px!important;height:68px!important;
  }
  #ntv-game-root .ntv-room-avatar-stack{width:99px!important;min-width:94px!important}
  #ntv-game-root .ntv-room-avatar-stack>.ntv-vip-title{
    --ntv-safe-title-width:95px;--ntv-safe-title-height:46px;
    width:95px!important;height:46px!important;
  }
  #ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-member-list>.ntv-person{
    min-width:254px!important;width:254px!important;max-width:254px!important;flex-basis:254px!important;
    grid-template-columns:95px minmax(0,1fr)!important;
  }
  #ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-member-list>.ntv-person>.ntv-vip-title{
    --ntv-safe-title-width:94px;--ntv-safe-title-height:46px;
    width:94px!important;height:46px!important;
  }
}
@media(max-width:390px){
  #ntv-game-root .ntv-home-avatar-stack{width:76px!important;min-width:76px!important}
  #ntv-game-root .ntv-home-avatar-stack>.ntv-vip-title{
    --ntv-safe-title-width:74px;--ntv-safe-title-height:36px;
    width:74px!important;height:36px!important;
  }
  #ntv-game-root .ntv-profile-avatar-stack{width:122px!important;min-width:118px!important}
  #ntv-game-root .ntv-profile-avatar-stack>.ntv-vip-title{
    --ntv-safe-title-width:120px;--ntv-safe-title-height:58px;
    width:120px!important;height:58px!important;
  }
  #ntv-game-root .ntv-lb-podium>.ntv-lb-podium-card:not(.ntv-lb-gold)>.ntv-vip-title{
    --ntv-safe-title-width:120px;--ntv-safe-title-height:58px;
    width:min(100%,120px)!important;height:58px!important;min-height:58px!important;flex-basis:58px!important;
  }
  #ntv-game-root .ntv-lb-avatar-stack{width:82px!important;min-width:80px!important}
  #ntv-game-root .ntv-lb-avatar-stack>.ntv-vip-title{
    --ntv-safe-title-width:80px;--ntv-safe-title-height:39px;
    width:80px!important;height:39px!important;
  }
}

/* Full-screen wardrobe, including compact sidebar panel. */
#ntv-wardrobe-layer .ntv-wardrobe .ntv-profile-top{
  min-height:228px!important;gap:9px!important;align-items:center!important;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-wardrobe-avatar-stack{
  box-sizing:border-box;width:min(100%,178px)!important;min-width:0!important;
  max-width:100%!important;padding-top:19px!important;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-profile-portrait{margin-bottom:14px!important}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-wardrobe-avatar-stack>.ntv-vip-title-image{
  width:min(100%,170px)!important;height:79px!important;max-height:79px!important;
  max-width:100%!important;display:block!important;margin:1px auto 0!important;
  object-fit:contain!important;filter:drop-shadow(0 2px 3px #613a1540)!important;
}
@media(max-width:900px){
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-wardrobe-avatar-stack{width:min(100%,162px)!important}
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-wardrobe-avatar-stack>.ntv-vip-title-image{
    width:min(100%,158px)!important;height:74px!important;max-height:74px!important;
  }
}
@media(max-width:430px){
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-profile-top{min-height:205px!important}
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-wardrobe-avatar-stack{width:min(100%,142px)!important}
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-wardrobe-avatar-stack>.ntv-vip-title-image{
    width:min(100%,140px)!important;height:65px!important;max-height:65px!important;
  }
}
