/* NTV v3.9.72 — isolated visual safety fixes for new collectible art only. */
#ntv-wardrobe-layer .ntv-wardrobe .ntv-collection-filters{
  display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 13px;padding:3px 0;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-collection-filters button{
  cursor:pointer;min-height:40px;padding:8px 13px;border-radius:999px;
  background:#fffefa;color:#24564a;border:1.5px solid #91c8b1;font-size:12px;
  font-weight:800;touch-action:manipulation;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-collection-filters button.active{
  color:#fff;background:#088c73;border-color:#086c5a;box-shadow:0 2px 0 #075b4a;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-collection-filters button:focus-visible{outline:3px solid #eead40;outline-offset:2px}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-item[data-item-id^="frame_new_"] .ntv-item-name{
  color:#5d3e13;font-weight:800;overflow-wrap:anywhere;line-height:1.25;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-item[data-item-id^="frame_new_"] .ntv-item-media{
  background:radial-gradient(circle,#f9fcff 0%,#edf6ff 75%,#dcedee 100%);
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-vip-title-choice[data-vip-title^="title_new_"]{
  background:linear-gradient(145deg,#fffaed,#f4edff);border-color:#bd9edc;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-vip-title-choice[data-vip-title^="title_new_"] span{
  overflow-wrap:anywhere;text-align:center;line-height:1.35;
}
#ntv-wardrobe-layer .ntv-wardrobe .ntv-vip-title-choice[data-vip-title^="title_new_"] .ntv-vip-title-image{
  height:73px;max-width:100%;object-fit:contain;
}
/* Frame rim remains outside the playable avatar; hover never moves controls. */
#ntv-game-root .ntv-character-frame-option .ntv-frame-dot img{
  width:100%;height:100%;display:block;object-fit:contain;pointer-events:none;
}
#ntv-game-root .ntv-character-frame-option .ntv-frame-dot:has(img){
  border-color:transparent;background:transparent;box-shadow:none;overflow:visible;
}
#ntv-game-root .ntv-character-frame-option{min-width:0;overflow-wrap:anywhere}
#ntv-game-root .ntv-character-frame-option span:last-child{overflow-wrap:anywhere}
/* Tiny mobile: keep the catalog findability row unclipped, no forced 5-column title labels. */
@media(max-width:420px){
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-collection-filters{gap:5px;margin:6px 0 9px}
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-collection-filters button{flex:1 1 auto;min-width:0;padding:7px 6px;font-size:11px}
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-vip-title-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-item[data-item-id^="frame_new_"] *,
  #ntv-wardrobe-layer .ntv-wardrobe .ntv-vip-title-choice[data-vip-title^="title_new_"] *{animation:none!important;transition:none!important}
}

/* Make collected items discoverable without a long pre-grid scroll on touch screens.
   Only the two collector tabs use the compact, still-visible avatar preview. */
@media(max-width:640px){
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-stage{
    height:208px!important;min-height:0!important;
  }
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-character-canvas{
    position:absolute!important;top:34px!important;bottom:auto!important;
    left:calc(50% - 59px)!important;right:auto!important;
    width:118px!important;height:118px!important;aspect-ratio:1;
  }
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-preview-pane{gap:5px!important;}
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-equip-tags{min-height:0!important;}
  /* Keep original preview controls accessible: hiding them would regress UX. */
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-preview-controls{display:flex!important;gap:6px;margin-top:5px}
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-preview-controls button{min-height:38px;padding:7px 5px}
}
@media(max-width:360px){
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-stage{height:185px!important;}
  #ntv-wardrobe-layer :is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-character-canvas{top:26px!important;}
}
