/* Character library fork: Builds on the left, Tier Lists on the right. */
.lod-selection-bar{display:none!important;}
.lod-selection-bar.is-ready{
  display:grid!important;
  grid-template-columns:minmax(120px,1fr) auto minmax(120px,1fr);
  align-items:center;
  gap:12px;
  max-width:720px;
  margin:14px auto 0;
  padding:10px;
  border:1px solid #453a31;
  border-radius:10px;
  background:linear-gradient(180deg,#111317,#090a0c);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 22px rgba(0,0,0,.22);
}

.lod-selection-info{
  min-width:132px;
  text-align:center;
}
.lod-selection-info small{
  display:block;
  margin-bottom:2px;
  color:#8f887d;
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.lod-selection-info strong{
  display:block;
  color:#d9bc84;
  font-family:"Cinzel",Georgia,serif;
  font-size:14px;
  letter-spacing:.045em;
}

.lod-library-button{
  min-height:44px;
  padding:0 18px;
  border:1px solid #65432f;
  border-radius:7px;
  background:linear-gradient(180deg,#2b1b17,#17100e);
  color:#eadcc5;
  font-family:"Cinzel",Georgia,serif;
  font-size:12px;
  font-weight:800;
  letter-spacing:.055em;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease;
}
.lod-library-button:hover,.lod-library-button:focus-visible{
  border-color:#9a5b46;
  background:linear-gradient(180deg,#3a221c,#21130f);
  color:#fff1db;
  transform:translateY(-1px);
}
.lod-library-button:disabled{
  opacity:.4;
  cursor:not-allowed;
  transform:none;
}
.lod-library-button.is-active{
  border-color:#b74b54;
  background:linear-gradient(180deg,#421b21,#211014);
  color:#fff0e6;
  box-shadow:0 0 0 1px rgba(183,75,84,.14) inset,0 0 14px rgba(183,75,84,.08);
}
#view-builds{justify-self:stretch;}
#view-tier-lists{justify-self:stretch;}

/* Do not show a tier list simply because a character was selected. */
body:not([data-pd2-library-mode="tier-lists"]) #class-builds-panel{
  display:none!important;
}

#class-build-guides-panel{
  margin-top:18px;
  padding-top:26px;
}
#class-build-guides-panel[hidden]{display:none!important;}

/* Creator now uses a badge treatment that visually matches the season badge. */
body #class-builds-panel .build-card-head{
  padding-right:132px!important;
}
body #class-builds-panel .build-creator-badge{
  position:absolute!important;
  top:9px!important;
  right:11px!important;
  z-index:4!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:68px!important;
  max-width:116px!important;
  min-height:24px!important;
  padding:3px 8px!important;
  overflow:hidden!important;
  border:1px solid #b88b4f!important;
  border-radius:6px!important;
  background:linear-gradient(180deg,#302617,#171109)!important;
  color:#e4c27f!important;
  box-shadow:0 0 12px rgba(184,139,79,.09),inset 0 1px 0 rgba(255,255,255,.04)!important;
  font-family:"Cinzel",Georgia,serif!important;
  font-size:9px!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  line-height:1!important;
  text-align:center!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body #class-builds-panel .build-season-badge{
  top:40px!important;
  right:11px!important;
}

@media(max-width:760px){
  .lod-selection-bar.is-ready{
    grid-template-columns:1fr auto 1fr;
    gap:7px;
    padding:8px;
  }
  .lod-library-button{
    min-height:41px;
    padding:0 9px;
    font-size:10px;
  }
  .lod-selection-info{min-width:96px;}
  .lod-selection-info strong{font-size:12px;}

  body #class-builds-panel .build-card-head{padding-right:114px!important;}
  body #class-builds-panel .build-creator-badge{
    right:9px!important;
    min-width:60px!important;
    max-width:100px!important;
    font-size:8px!important;
  }
  body #class-builds-panel .build-season-badge{
    top:39px!important;
    right:9px!important;
  }
}
