/* V4 wardrobe: readable equipped mods under the preview + fluid wearing cards. */
#v4-character .v4-equipped-mods{
  margin:10px 0 12px;padding:13px 15px 14px;min-width:0;
  border:1px solid rgba(157,215,248,.29);border-radius:15px;
  background:linear-gradient(145deg,rgba(35,82,125,.24),rgba(9,29,55,.49));
}
#v4-character .v4-equipped-mods-head{
  display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;
  gap:7px 12px;margin-bottom:11px;
}
#v4-character .v4-equipped-mods-head strong{font-size:16px;color:#eefaff;font-weight:800}
#v4-character .v4-equipped-mods-count{font-size:11px;color:#b1d6ec;font-weight:650}
#v4-character .v4-equipped-mods-list{
  display:flex;flex-wrap:wrap;align-items:stretch;gap:9px;min-width:0;
}
#v4-character .v4-equipped-mod-chip{
  display:flex;align-items:center;gap:9px;min-width:140px;max-width:100%;
  flex:1 1 200px;padding:8px 10px;
  border:1px solid rgba(161,210,241,.30);border-radius:11px;
  background:linear-gradient(135deg,rgba(65,116,161,.23),rgba(14,38,67,.52));
}
#v4-character .v4-equipped-mod-icon{
  display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;
  border:1px solid rgba(185,225,251,.30);border-radius:10px;
  background:radial-gradient(circle at 30% 12%,rgba(229,252,255,.27),transparent 60%),rgba(49,107,158,.26);
  font-size:21px;color:#cbe9fc;overflow:hidden;
}
#v4-character .v4-equipped-mod-icon img{display:block;width:30px;height:30px;object-fit:contain;image-rendering:pixelated}
#v4-character .v4-equipped-mod-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}
#v4-character .v4-equipped-mod-copy strong{color:#eaf6ff;font-size:12px;line-height:1.25;overflow-wrap:anywhere}
#v4-character .v4-equipped-mod-copy small{font-size:10px;color:#a8c6d9;line-height:1.35;overflow-wrap:anywhere}
#v4-character .v4-equipped-mod-condition{
  font-size:9px;line-height:1.2;font-weight:740;color:#e9ca97;
  border:1px solid rgba(222,181,99,.34);border-radius:8px;padding:3px 5px;
  align-self:center;
}
#v4-character .v4-equipped-mods-empty{font-size:11px;color:#a8c8d9;padding:2px 0 6px}
#v4-character .v4-equipped-mods-help{font-size:10px;line-height:1.5;color:#94b5c9;margin:9px 0 0}
#v4-character .v4-equipped-mods-help[hidden]{display:none}
/* Auto-fit collapses empty tracks, so two or three equipped items stretch
   evenly across Wearing instead of leaving a 200px unused strip on desktop. */
#v4-character #v4-equipped .slots{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr))!important;
  gap:11px!important;align-items:stretch!important;justify-content:stretch!important;
}
#v4-character #v4-equipped .slots .v4-equipped-card{
  width:100%!important;max-width:none!important;min-width:0!important;
  flex:none!important;align-self:stretch!important;
}
#v4-character #v4-equipped .v4-equipped-card>button.slot-item.v4-equipped-item{min-width:0!important}
#v4-character #v4-equipped .v4-equipped-copy{min-width:0!important}
#v4-character .v4-info-fixed-cost{
  flex:1 0 100%;font-size:10px;color:#a8c6d9;margin-top:3px;
}
@media(max-width:760px){
 #v4-character .v4-equipped-mods{margin:8px 0 10px;padding:11px}
 #v4-character .v4-equipped-mod-chip{flex:1 1 155px;padding:7px 8px;gap:7px}
 #v4-character #v4-equipped .slots{grid-template-columns:1fr!important;gap:9px!important}
}
