
/* Keep My Build as a compact showcase instead of a full-width hero. */
body.build-overview-active #playerCardPanel{
  display:block!important;
  flex:0 0 auto!important;
  min-height:0!important;
}
body.build-overview-active #playerCardPanel .build-overview-head{margin-bottom:8px!important}
#mb24Workspace{
  display:grid;
  grid-template-columns:minmax(0,1.62fr) minmax(300px,.88fr);
  gap:14px;
  align-items:stretch;
}
#mb24Workspace>#myBuildShowcaseV2{min-width:0}
#myBuildShowcaseV2{
  min-height:500px!important;
  height:500px;
  border-radius:20px!important;
}
#myBuildShowcaseV2::before{
  background-size:100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  filter:saturate(.98) brightness(.93)!important;
  transform:none!important;
}
#myBuildShowcaseV2::after{
  background:
    linear-gradient(90deg,rgba(4,8,13,.76) 0%,rgba(5,10,16,.49) 44%,rgba(5,10,16,.18) 74%,rgba(4,8,13,.34) 100%),
    linear-gradient(180deg,rgba(3,7,11,.10),rgba(3,7,11,.24))!important;
}
#myBuildShowcaseV2[data-theme="classic"]::after{
  background:
    linear-gradient(90deg,rgba(5,7,9,.67),rgba(8,9,9,.36) 47%,rgba(5,6,7,.20) 76%,rgba(4,5,6,.34)),
    linear-gradient(180deg,rgba(0,0,0,.07),rgba(0,0,0,.18))!important;
}
#myBuildShowcaseV2[data-theme="pitch"]::after{
  background:
    linear-gradient(90deg,rgba(3,8,10,.66),rgba(4,10,12,.34) 47%,rgba(4,10,12,.16) 76%,rgba(2,7,9,.30)),
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.18))!important;
}
#myBuildShowcaseV2[data-theme="arena"]::after{
  background:
    linear-gradient(90deg,rgba(4,8,13,.70),rgba(4,10,17,.39) 47%,rgba(4,11,19,.18) 76%,rgba(3,8,14,.30)),
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.20))!important;
}
.mb2-shell{min-height:500px!important;height:500px;padding:19px 22px 18px!important}
.mb2-topline{margin-bottom:11px!important}
.mb2-title{font-size:clamp(24px,1.8vw,32px)!important}
.mb2-subline{margin-top:6px!important;font-size:13px!important}
.mb2-selectors{margin-top:11px!important}
.mb2-select{height:34px!important}
.mb2-tabs{margin-top:13px!important;height:38px!important}
.mb2-tab{height:38px!important}
.mb2-page{min-height:0!important}
.mb2-overview{
  padding-top:17px!important;
  display:none!important;
  grid-template-columns:minmax(255px,.78fr) minmax(0,1.22fr);
  gap:24px;
  align-items:center;
}
.mb2-overview.active{display:grid!important}
.mb2-meta{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:center;
  border-bottom:0!important;
  padding:0 18px 0 0!important;
  border-right:1px solid rgba(255,255,255,.075);
}
.mb2-meta-item{
  min-width:0!important;
  padding:11px 14px!important;
  border-left:0!important;
  border-top:1px solid rgba(255,255,255,.05);
}
.mb2-meta-item:nth-child(-n+2){border-top:0}
.mb2-meta-item:nth-child(odd){padding-left:0!important}
.mb2-meta-item span{font-size:8px!important;margin-bottom:3px!important;color:#75808c!important}
.mb2-meta-item strong{font-size:14px!important}
/* My Build is a display surface: reuse the Archetype Overview badge shell exactly,
   without source dots, labels, duplicate warnings, or extra plate generation. */
.mb2-playstyles{
  display:flex!important;
  align-content:center;
  align-items:center!important;
  gap:6px!important;
  row-gap:8px!important;
  flex-wrap:wrap!important;
  padding:0!important;
  max-width:none!important;
  min-height:108px;
}
.mb24-ps-badge{
  position:relative;
  width:46px;height:46px;flex:0 0 46px;
  display:grid;place-items:center;
  cursor:help;
  transition:transform .14s ease,filter .14s ease;
}
.mb24-ps-badge:hover{transform:translateY(-1px);filter:brightness(1.08)}
.mb24-ps-badge .overview-badge-shell{
  --badge-h:36px;--badge-w:36px;--icon-box:21px;--gold-lift:0px;
  width:46px!important;height:46px!important;
}
.mb24-ps-badge.plus .overview-badge-shell.plus{
  --badge-h:36px;--badge-w:43px;--icon-box:21px;--gold-lift:2.05px;
}
.mb24-ps-badge img{display:block}
.mb2-empty-ps{padding:0!important}
.mb2-watermark{bottom:1%!important;right:2.5%!important;max-width:70%!important;font-size:clamp(64px,6.5vw,108px)!important;color:rgba(225,231,238,.055)!important}
.mb2-detail-toolbar{padding:9px 0 5px!important}
.mb2-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:22px!important;row-gap:10px!important;padding-top:3px!important}
.mb2-stat-group{padding-top:8px!important}
.mb2-stat-group h4{margin-bottom:4px!important}
.mb2-stat-row{min-height:21px!important}
.mb2-footline{padding-top:7px!important}

/* Reserved Build Library column. */
.mb24-library{
  position:relative;
  min-height:500px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:20px;
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.008) 46%,transparent 72%),
    rgba(11,17,23,.78);
  box-shadow:0 18px 46px rgba(0,0,0,.17);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  padding:18px;
}
.mb24-library::after{
  content:"LIBRARY";
  position:absolute;right:-5px;bottom:-14px;
  color:rgba(225,231,238,.026);
  font-size:78px;font-weight:900;letter-spacing:-.06em;
  pointer-events:none;
}
.mb24-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.065)}
.mb24-library-kicker{display:block;color:#776f5e;font-size:8px;font-weight:800;letter-spacing:.20em;margin-bottom:5px}
.mb24-library h3{margin:0;color:#edf0f3;font-size:18px;letter-spacing:-.02em}
.mb24-library-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:23px;padding:0 7px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);color:#7f8994;font-size:9px;font-weight:800}
.mb24-library-tabs{display:flex;gap:20px;padding:12px 0 10px}
.mb24-library-tab{position:relative;color:#c4cbd2;font-size:10px;font-weight:780}.mb24-library-tab.muted{color:#59636e}
.mb24-library-tab.active::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:1px;background:#c8aa5c}
.mb24-library-empty{height:380px;display:grid;place-items:center;text-align:center;color:#626d78;padding:30px}
.mb24-library-empty-inner{max-width:230px}
.mb24-library-empty-mark{width:42px;height:42px;margin:0 auto 12px;border:1px solid rgba(216,184,95,.15);border-radius:13px;display:grid;place-items:center;color:#a68c4e;background:rgba(216,184,95,.035);font-size:20px}
.mb24-library-empty strong{display:block;color:#aab2bb;font-size:11px;margin-bottom:6px}
.mb24-library-empty span{display:block;font-size:9px;line-height:1.55}

@media(max-width:1320px) and (min-width:901px){
  #mb24Workspace{grid-template-columns:minmax(0,1.5fr) minmax(270px,.82fr)}
  #myBuildShowcaseV2,.mb2-shell,.mb24-library{height:510px;min-height:510px!important}
  .mb2-overview{grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:17px}
  .mb24-ps-badge{width:42px;height:42px;flex-basis:42px}
  .mb24-ps-badge .overview-badge-shell{width:42px!important;height:42px!important}
}
@media(max-width:900px){
  #mb24Workspace{grid-template-columns:1fr}
  #myBuildShowcaseV2,.mb2-shell{height:auto;min-height:520px!important}
  .mb24-library{min-height:330px}
  .mb24-library-empty{height:220px}
}
@media(max-width:760px){
  .mb2-overview,.mb2-overview.active{grid-template-columns:1fr!important;gap:15px!important}
  .mb2-meta{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.065)!important;padding:0 0 13px!important}
  .mb2-playstyles{padding-top:3px!important}
  .mb2-stats{grid-template-columns:1fr 1fr!important}
}
