/* === SOURCE: css/143-v4657-specialization-action-compact-align.css === */

/* v4.6.57 — align both specialization actions to the original compact primary-action scale. */
.spec-card .spec-card-actions .spec-action-btn,
.spec-card .spec-card-actions .spec-local-reset-btn{
  box-sizing:border-box!important;
  height:37px!important;
  min-height:37px!important;
  max-height:37px!important;
  border-radius:12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding-top:0!important;
  padding-bottom:0!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.04em!important;
}
.spec-card .spec-card-actions .spec-local-reset-btn{
  padding-left:10px!important;
  padding-right:10px!important;
  gap:5px!important;
}
.spec-card .spec-card-actions .spec-local-reset-icon{
  font-size:11px!important;
  line-height:1!important;
}
@media(max-width:1280px) and (min-width:761px){
  .spec-card .spec-card-actions .spec-action-btn,
  .spec-card .spec-card-actions .spec-local-reset-btn{
    height:35px!important;
    min-height:35px!important;
    max-height:35px!important;
    border-radius:11px!important;
    font-size:9px!important;
  }
}
@media(max-width:760px){
  .spec-card .spec-card-actions .spec-action-btn,
  .spec-card .spec-card-actions .spec-local-reset-btn{
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    border-radius:11px!important;
    font-size:10px!important;
  }
  .spec-card .spec-card-actions .spec-local-reset-icon{
    font-size:11px!important;
  }
}

/* === SOURCE: css/144-v503-mastery-tooltip-right.css === */

/* v5.0.3 · Mastery aggregate tooltip opens into the empty space on the right. */
@media (min-width:761px){
  #masteryTotalBonusBox.mastery-summary-hover::after{
    left:calc(100% + 14px)!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translate(6px,-50%)!important;
    width:max-content!important;
    max-width:min(520px,calc(100vw - 430px))!important;
    white-space:pre-line!important;
    overflow-wrap:anywhere!important;
    text-align:left!important;
  }
  #masteryTotalBonusBox.mastery-summary-hover:hover::after{
    transform:translate(0,-50%)!important;
  }
  #masteryTotalBonusBox.mastery-summary-hover::before{
    left:calc(100% + 9px)!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    width:8px!important;
    height:8px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(215,181,90,.20)!important;
    border-left:1px solid rgba(215,181,90,.20)!important;
    border-top:0!important;
    transform:translateY(-50%) rotate(45deg)!important;
  }
}
@media (max-width:1050px) and (min-width:761px){
  #masteryTotalBonusBox.mastery-summary-hover::after{
    max-width:360px!important;
  }
}

/* === SOURCE: css/145-v504-estimated-ovr-style.css === */

/* v5.0.6 · Estimated OVR moved beside the Match Attributes title and enlarged. */
body.build-overview-active .overview-stats-card .stats-head{
  margin-bottom:18px!important;
}
body.build-overview-active .overview-stats-title-main{
  display:flex!important;
  align-items:flex-end!important;
  gap:14px!important;
  margin-top:4px!important;
  flex-wrap:wrap!important;
}
body.build-overview-active .overview-stats-card .stats-head h3{
  margin-top:0!important;
}
body.build-overview-active .overview-estimated-ovr{
  display:inline-flex!important;
  align-items:flex-end!important;
  gap:9px!important;
  flex:0 0 auto!important;
  color:#d6bf73!important;
  cursor:help!important;
  font-variant-numeric:tabular-nums lining-nums!important;
  user-select:none!important;
  white-space:nowrap!important;
}
body.build-overview-active .overview-estimated-ovr>span{
  display:none!important;
}
body.build-overview-active .overview-estimated-ovr>strong{
  color:#e0c36f!important;
  font-size:34px!important;
  line-height:.92!important;
  font-weight:860!important;
  letter-spacing:-.04em!important;
  text-shadow:0 0 18px rgba(215,181,90,.10)!important;
}
body.build-overview-active .overview-estimated-ovr>b{
  display:inline-flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  min-width:0!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#d8b74f!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:760!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
}
body.build-overview-active .overview-estimate-sep{
  display:none!important;
}
@media(max-width:1180px) and (min-width:761px){
  body.build-overview-active .overview-stats-title-main{gap:11px!important;}
  body.build-overview-active .overview-estimated-ovr>strong{font-size:30px!important;}
  body.build-overview-active .overview-estimated-ovr>b{font-size:22px!important;}
}
@media(max-width:760px){
  body.build-overview-active .overview-stats-card .stats-head{margin-bottom:14px!important;}
  body.build-overview-active .overview-stats-title-main{gap:8px!important;}
  body.build-overview-active .overview-estimated-ovr>strong{font-size:24px!important;}
  body.build-overview-active .overview-estimated-ovr>b{font-size:18px!important;}
}
