.nav-tab .talent-upgrade-icon {
  transform: translateY(calc(-50% - 3px));
}
.talents-page .talent-experience {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.talent-experience > .talent-xp {
  min-width: 0;
  height: auto;
  border: 0;
  margin: 0;
  background: none;
}
.talent-xp > span {
  display: block;
  font-size: 11px;
  color: #bcb090;
  margin-bottom: 6px;
}
.talent-xp > div {
  height: 9px;
  border: 1px solid #665535;
  background: #11130e;
}
.talent-xp > div > i {
  display: block;
  height: 100%;
  background: linear-gradient(#c4b379, #79632f);
}
.talent-xp small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #9f957e;
}
.talent-character-level,
.talent-unspent {
  font-size: 12px;
  color: #d4bc82;
  white-space: nowrap;
}
.talent-unspent {
  display: flex;
  align-items: center;
  gap: 6px;
}
.talent-unspent img {
  width: 16px;
  height: 20px;
  object-fit: contain;
}
.select-options button .option-aside {
  margin-left: auto;
  flex: none;
}
.select-options button .option-talent {
  display: flex;
  align-items: center;
}
.select-options button .option-talent img {
  width: 16px;
  height: 20px;
  margin: 0;
  object-fit: contain;
}
.select-options button .option-backpack {
  display: grid;
  grid-template-columns: repeat(10, 3px);
  grid-template-rows: repeat(4, 3px);
  gap: 1px;
  width: 39px;
  height: 15px;
  padding: 2px;
  background: #12110e;
  border: 1px solid #6b5d41;
}
.option-backpack i {
  display: block;
  width: 3px;
  height: 3px;
  background: #302d23;
  border: 0;
  margin: 0;
  padding: 0;
}
.option-backpack i.occupied {
  background: #c5af6d;
}
.record-row.rich-record {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 12px 14px;
  background-image: linear-gradient(#11110ee8, #11110ee8), var(--native-stone);
  background-size: 330px;
  border: 1px solid #6e5c343f;
}
.rich-record > span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 11px;
  color: #b8aa88;
}
.rich-record > span > img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex: none;
}
.rich-record .record-area > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rich-record .record-combat {
  grid-column: 1/-1;
  font-size: 10px;
  color: #9d947d;
}
.rich-record[data-outcome="victory"] .record-outcome {
  color: #b5c18b;
}
.rich-record[data-outcome="defeat"] .record-outcome {
  color: #d18c78;
}
.rich-record .casual img {
  opacity: 0.45;
}
.run-inventory.dialog {
  width: min(790px, 96vw);
  max-width: 790px;
}
.run-inventory-workspace {
  display: grid;
  grid-template-columns: 330px 330px;
  justify-content: center;
  gap: 24px;
}
.run-inventory-workspace .right-inventory {
  margin-top: 0;
}
.run-inventory-workspace .character-native {
  height: 450px;
}
.run-inventory-workspace .character-stat-scroll {
  height: 394px;
}
.damage-meter {
  position: fixed;
  z-index: 3;
  right: 18px;
  top: 235px;
  width: 210px;
  max-height: calc(100vh - 410px);
  overflow: auto;
  background: #11120fed;
  background-image: linear-gradient(#11110ee8, #11110ee8), var(--native-stone);
  border: 1px solid #806b41;
  box-shadow:
    inset 0 0 0 2px #11110c,
    0 5px 20px #0009;
  padding: 10px;
  color: #c7b58a;
  scrollbar-width: thin;
}
.damage-meter-title {
  font: 12px var(--heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  margin-bottom: 3px;
  border-bottom: 1px solid #71603c66;
}
.damage-meter-title strong {
  font: 10px var(--body);
  color: #e2c889;
}
.damage-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 6px;
  padding: 7px 0;
  align-items: center;
}
.damage-row > img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border: 1px solid #716447;
}
.damage-row > div {
  min-width: 0;
}
.damage-skill-name {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.damage-total {
  display: block;
  font-size: 9px;
  color: #9f967e;
  margin: 2px 0;
  font-variant-numeric: tabular-nums;
}
.damage-dps {
  font-size: 9px;
  font-weight: normal;
  color: #ddc58d;
  white-space: nowrap;
}
.damage-share {
  height: 3px;
  background: #201d13;
}
.damage-share i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #66542c, #b7a16a);
}
.damage-empty {
  font-size: 10px;
  line-height: 1.6;
  color: #a29678;
}
.objective-score {
  position: fixed;
  z-index: 3;
  left: 50%;
  top: 105px;
  transform: translateX(-50%);
  width: min(360px, 70vw);
  text-align: center;
  padding: 10px 14px;
  background: #11120fe8;
  background-image: linear-gradient(#11110ee8, #11110ee8), var(--native-stone);
  border: 1px solid #776039;
}
.objective-score[hidden] {
  display: none;
}
.objective-score > strong {
  font: 12px var(--heading);
  color: #ddc38a;
}
.objective-score > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 8px 0;
  font-size: 11px;
  color: #c2b187;
}
.objective-score small {
  font-size: 10px;
  color: #aaa084;
}
.objective-side b {
  margin-left: 5px;
  color: #e2cc98;
  font-variant-numeric: tabular-nums;
}
.objective-side.blue {
  color: #8ab9d9;
}
.objective-side.red {
  color: #dd9480;
}
.objective-run.in-game .boss-hud {
  top: 214px;
}
@media (max-width: 1050px) {
  .record-row.rich-record {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .damage-meter {
    width: 162px;
    right: 12px;
    padding: 8px;
  }
}
@media (max-width: 730px) {
  .run-inventory-workspace {
    grid-template-columns: 330px;
    gap: 18px;
  }
  .talents-page .talent-experience {
    gap: 9px;
  }
  .talent-character-level,
  .talent-unspent {
    font-size: 10px;
  }
  .damage-meter {
    width: 128px;
    right: 6px;
    top: 215px;
    max-height: calc(100vh - 380px);
  }
  .damage-dps {
    display: none;
  }
  .damage-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .damage-row > img {
    width: 22px;
    height: 22px;
  }
}
