body[data-view="builds"] #main {
  width: min(1460px, calc(100% - 44px));
  padding: 22px;
}
body[data-view="builds"] .page-heading {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  padding: 0;
  margin: 0;
  border: 0;
}
body[data-view="builds"] .page-heading > div {
  display: none;
}
.talent-workshop .tree-heading {
  padding-right: 42px;
}
body[data-view="builds"] .character-tabs {
  margin-bottom: 14px;
}
body[data-view="builds"] .return-button {
  margin-top: 12px;
}
.tree-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
}
.tree-heading h2 {
  font: 500 27px var(--serif);
  margin: 6px 0 0;
  color: #efe6cf;
}
.tree-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #9b8dad;
}
.tree-heading > div:first-child {
  min-width: 0;
  flex: 1;
}
.tree-heading .talent-points {
  width: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 10px;
  text-align: right;
}
.tree-heading .talent-points strong {
  font-size: 28px;
  line-height: 1;
  color: var(--gold);
}
.tree-heading .talent-points span {
  font-size: 11px;
  color: #d0c6da;
}
.tree-heading .talent-points small {
  grid-column: 1/-1;
  font-size: 10px;
  color: var(--muted);
}
.tree-branches {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 3px;
  background: #0b0e16;
}
.tree-branches button {
  border-radius: 0;
  border: 1px solid #53496355;
  background: #10111c;
  padding: 12px 14px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 10px;
}
.tree-branches button.active {
  background: linear-gradient(110deg, #b0914d22, #16121e);
  border-color: #b69b5b88;
  box-shadow: inset 0 -2px #d8bc77;
}
.tree-branches button.active .icon,
.tree-branches button.active strong {
  color: #e6cb88;
}
.tree-branches button strong {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tree-branches button small {
  font-size: 9px;
  white-space: nowrap;
}
.tree-branches button > .icon {
  width: 21px;
  height: 21px;
}
.tree-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  border: 1px solid #61516d77;
  margin-top: 12px;
  min-width: 0;
}
.tree-board {
  min-width: 0;
  background: #080c12;
}
.tree-board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid #66517344;
  min-height: 54px;
  background: #0c1019;
}
.tree-board-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tree-board-heading strong {
  font-size: 12px;
  color: #e3d4b4;
}
.tree-board-heading small {
  font-size: 10px;
  color: #9b91aa;
}
.tree-board-heading > span {
  font-size: 9px;
  color: #a59bb0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tree-board-heading i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f3dca0;
  box-shadow: 0 0 8px #f2ce7d88;
}
.tree-board-heading i.learned {
  background: #d6bc7d;
  margin-left: 5px;
  box-shadow: 0 0 8px #d6bc7d88;
}
.talent-viewport {
  position: relative;
  height: clamp(360px, calc(100dvh - 380px), 760px);
  min-width: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 30%, #5d491412, transparent 70%),
    linear-gradient(#8399c009 1px, transparent 1px),
    linear-gradient(90deg, #8399c009 1px, transparent 1px), #080c12;
  background-size:
    auto,
    36px 36px,
    36px 36px,
    auto;
}
.talent-viewport.dragging {
  cursor: grabbing;
}
.talent-stage {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.talent-connections {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  fill: none;
}
.tree-link {
  stroke: #48505b;
  stroke-width: 1.5;
}
.tree-link.open {
  stroke: #a58e56;
}
.tree-link.learned {
  stroke: #e9d18d;
  stroke-width: 2;
  filter: drop-shadow(0 0 3px #b38c3a66);
}
.tree-investment {
  stroke: #756c4c77;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.tree-investment.open {
  stroke: #a6966577;
}
.tree-tier-line {
  stroke: #9394b00c;
  stroke-dasharray: 2 8;
}
.tree-tier-line.open {
  stroke: #c8ad6330;
}
.tree-root {
  position: absolute;
  left: 330px;
  top: 50px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: #d8bd78;
  gap: 8px;
}
.tree-root > .icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  background: #32271766;
  border: 1px solid #a4894f;
  transform: rotate(45deg);
  box-shadow: 0 0 32px #a188341c;
}
.tree-root span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tree-lane {
  position: absolute;
  top: 102px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #9f9175;
  transform: translateX(-50%);
}
.active-lane {
  left: 240px;
}
.passive-lane {
  left: 470px;
  color: #88a2b5;
}
.tree-tier {
  position: absolute;
  left: 26px;
  transform: translateY(-50%);
  color: #655f6f;
  font-size: 9px;
  display: grid;
  gap: 3px;
  text-align: center;
}
.tree-tier b {
  font-size: 12px;
  font-weight: 500;
}
.tree-tier.reached {
  color: #baa579;
}
.talent-map-node {
  position: absolute;
  transform: translate(-50%, -34px);
  width: 112px;
  height: 100px;
}
.talent-map-node > button {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 7px 0 0;
  position: relative;
  color: #8c8495;
  outline: 0;
  touch-action: none;
  cursor: pointer;
}
.talent-orbit {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  position: relative;
  border: 1px solid #66596e;
  background: radial-gradient(circle, #242436, #10121c 75%);
  box-shadow:
    0 0 0 4px #141620,
    0 0 0 5px #56496055;
  border-radius: 13px;
  transform: rotate(45deg);
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.talent-orbit .node-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  padding: 10px;
  transform: rotate(-45deg);
  background: none;
}
.talent-orbit .icon {
  width: 26px;
  height: 26px;
  opacity: 0.4;
}
.talent-orbit > b {
  position: absolute;
  left: calc(100% - 6px);
  top: calc(100% - 6px);
  transform: rotate(-45deg) translate(-50%, -50%);
  transform-origin: 0 0;
  font-size: 9px;
  line-height: 14px;
  color: #a9a2b0;
  border: 1px solid #62556c;
  background: #14141e;
  padding: 0 4px;
  white-space: nowrap;
}
.talent-map-node.passive .talent-orbit {
  border-radius: 50%;
}
.talent-map-node.available .talent-orbit {
  border-color: #b69a62;
  box-shadow:
    0 0 0 4px #141620,
    0 0 0 5px #9d814b77,
    0 0 20px #caa44b19;
}
.talent-map-node.available .icon {
  opacity: 1;
  color: #e6c989;
}
.talent-map-node.learned .talent-orbit {
  border-color: #d3ba7b;
  background: radial-gradient(circle, #5c482f66, #19171c 75%);
  box-shadow:
    0 0 0 4px #141620,
    0 0 0 5px #ad955555,
    0 0 25px #d9bb4f18;
}
.talent-map-node.learned .icon {
  color: #e8d196;
  opacity: 1;
}
.talent-map-node.passive.learned .icon {
  color: #a7cfde;
}
.talent-map-node.maxed .talent-orbit > b {
  background: #e3c780;
  color: #201b15;
  border-color: #ebdba6;
}
.talent-map-node.ultimate .talent-orbit {
  border-radius: 6px;
  box-shadow:
    0 0 0 4px #141620,
    0 0 0 5px #947ca95c;
}
.talent-map-node.ultimate.learned .talent-orbit {
  border-color: #c7a6ec;
  box-shadow:
    0 0 0 4px #141620,
    0 0 0 5px #b99bd273,
    0 0 24px #bca1ed30;
}
.talent-map-node button.selected .talent-orbit,
.talent-map-node button:focus-visible .talent-orbit {
  border-color: #fff0c2;
  box-shadow:
    0 0 0 4px #141620,
    0 0 0 6px #dfcd99,
    0 0 28px #c5a45e33;
}
.tree-node-name {
  font-size: 11px;
  line-height: 1.35;
  max-width: 112px;
  text-align: center;
  color: #8a8396;
}
.learned .tree-node-name,
.available .tree-node-name {
  color: #d4c9b5;
}
.tree-equipped {
  position: absolute;
  top: -12px;
  left: 0;
  transform: rotate(-45deg);
  font-size: 12px;
  color: #bcb4ed;
}
.tree-controls {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
  cursor: default;
}
.tree-mobile-inspect {
  display: none;
}
.tree-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #6b5b7777;
  border-radius: 3px;
  background: #111520f2;
  color: #c2a9d1;
  font-size: 19px;
  touch-action: manipulation;
}
.tree-controls button:hover {
  border-color: #d4b781;
  color: #f4d7a0;
}
.tree-controls button > .icon {
  width: 15px;
  height: 15px;
}
.tree-controls output {
  font-size: 10px;
  color: #9890a9;
  padding: 5px;
}
.tree-pan-hint {
  position: absolute;
  bottom: 21px;
  right: 14px;
  pointer-events: none;
  color: #777080;
  font-size: 10px;
}
.talent-detail {
  border-left: 1px solid #61516d77;
  background: linear-gradient(160deg, #171121, #0b0e16 65%);
  padding: 25px 22px;
  overflow: auto;
  max-height: calc(clamp(360px, calc(100dvh - 380px), 760px) + 54px);
  scrollbar-width: thin;
  scrollbar-color: #6a4c80 #121421;
}
.tree-guide-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #89704d66;
  color: #d9be7b;
  transform: rotate(45deg);
  margin: 6px 0 27px;
}
.tree-guide-symbol > .icon {
  width: 24px;
  height: 24px;
  transform: rotate(-45deg);
}
.talent-detail .eyebrow {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #af98be;
  line-height: 1.8;
}
.tree-guide h2 {
  font: 500 26px/1.25 var(--serif);
  color: #e9dfc6;
  margin: 10px 0 24px;
}
.tree-guide ol {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}
.tree-guide li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 11px;
  line-height: 1.8;
  color: #b5a9c1;
}
.tree-guide li > b {
  font: 10px var(--mono, var(--sans));
  border: 1px solid #987d4866;
  padding: 2px 5px;
  color: #d8c083;
}
.tree-guide > p:not(.eyebrow) {
  font-size: 10px;
  line-height: 1.9;
  color: #81758f;
  border-top: 1px solid #71538033;
  padding-top: 15px;
  margin-top: 20px;
}
.tree-detail-heading h2 {
  font: 500 28px/1.2 var(--serif);
  margin: 9px 0 12px;
  color: #e9dfc6;
  overflow-wrap: anywhere;
}
.tree-detail-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: radial-gradient(circle, #8a682d44, #221b25);
  border: 1px solid #b49659;
  border-radius: 10px;
  color: #dfc27e;
  margin: 0 0 18px;
}
.tree-detail-icon > .icon {
  width: 31px;
  height: 31px;
}
.tree-detail-icon.passive {
  border-radius: 50%;
  color: #a4ccdc;
  border-color: #7395aa;
}
.tree-detail-rank {
  font-size: 14px;
  color: #e1c98f;
}
.tree-detail-rank small {
  color: #8d809c;
}
.tree-rank-dots {
  display: flex;
  gap: 4px;
  margin: 12px 0 21px;
}
.tree-rank-dots i {
  height: 3px;
  background: #54465e;
  flex: 1;
}
.tree-rank-dots i.filled {
  background: #d4b97b;
  box-shadow: 0 0 8px #cfb36e33;
}
.tree-description {
  font-size: 12px;
  line-height: 1.85;
  color: #c3b8ce;
  margin-bottom: 20px;
}
.tree-effect {
  padding: 14px;
  background: #0b0e18;
  border: 1px solid #64526d44;
  margin: 14px 0;
}
.tree-effect p:last-of-type {
  font-size: 11px;
  line-height: 1.9;
  color: #d4c9af;
  margin-top: 6px;
}
.tree-effect small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: #a99ab9;
  margin-top: 10px;
}
.tree-requirements {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  font-size: 10px;
  color: #a094b0;
}
.tree-requirements span,
.tree-requirements button {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  line-height: 1.5;
}
.tree-requirements .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.tree-requirements .met {
  color: #a4ba9d;
}
.tree-requirements button:hover {
  color: #e0d1a2;
}
.talent-detail .node-requirement {
  margin: 18px 0 12px;
  font-size: 11px;
  line-height: 1.8;
  color: #c1aacf;
}
.tree-learn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  width: 100%;
  padding: 10px;
  border: 1px solid #c2a56f;
  background: linear-gradient(100deg, #a4823c30, #382e2044);
  color: #f1dca7;
  font-size: 12px;
  border-radius: 3px;
}
.tree-learn:disabled {
  border-color: #66536a66;
  background: #1b1725;
  color: #8b7b99;
  cursor: not-allowed;
}
.tree-learn .icon {
  width: 16px;
  height: 16px;
}
.tree-prepare {
  width: 100%;
  margin-top: 9px;
  font-size: 11px;
  min-height: 40px;
}
.tree-detail-footnote {
  font-size: 10px;
  line-height: 1.8;
  color: #887b98;
  margin-top: 15px;
}
.tree-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  color: #95869f;
  font-size: 10px;
}
.tree-footer > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tree-footer .icon {
  width: 13px;
  height: 13px;
}
.tree-footer button {
  font-size: 10px;
  min-height: 35px;
}
.talent-basics {
  border-top: 1px solid #66517344;
  margin-top: 8px;
  padding-top: 14px;
}
.talent-basics summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #bcb0c9;
}
.talent-basics summary > span {
  font-size: 10px;
  color: #83748f;
  display: flex;
  gap: 8px;
  align-items: center;
}
.talent-basics .icon {
  width: 15px;
  height: 15px;
}
.talent-basics > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.talent-basics article {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid #53425b55;
  background: #11121c;
  font-size: 11px;
}
.talent-basics small {
  font-size: 10px;
  line-height: 1.7;
  color: #9c8ca9;
}
.talent-basics article > span {
  color: #bca7cd;
}
@media (max-width: 1050px) {
  .tree-workspace {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .talent-detail {
    padding: 20px 17px;
  }
  .tree-pan-hint {
    display: none;
  }
  .tree-board-heading > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .tree-mobile-inspect {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    max-width: calc(100% - 20px);
    padding: 9px 12px;
    border: 1px solid #9b825577;
    border-radius: 3px;
    background: #171521ef;
    color: #dcc596;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 3;
    touch-action: manipulation;
  }
  body[data-view="builds"] #main {
    width: calc(100% - 20px);
    padding: 14px;
  }
  .tree-heading {
    gap: 10px;
    margin-bottom: 14px;
  }
  .tree-heading h2 {
    font-size: 22px;
  }
  .tree-heading .eyebrow {
    font-size: 7px;
  }
  .tree-heading .talent-points {
    gap: 4px 6px;
  }
  .tree-heading .talent-points strong {
    font-size: 23px;
  }
  .tree-heading .talent-points span {
    font-size: 9px;
  }
  .tree-heading .talent-points small {
    font-size: 8px;
    max-width: 100px;
  }
  .tree-branches {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .tree-branches button {
    flex: 0 0 130px;
    padding: 10px;
    grid-template-columns: 19px 1fr;
    gap: 4px 6px;
  }
  .tree-branches button strong {
    font-size: 11px;
  }
  .tree-branches button small {
    font-size: 9px;
  }
  .tree-branches button > .icon {
    width: 17px;
    height: 17px;
  }
  .tree-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .talent-viewport {
    height: 380px;
  }
  .tree-board-heading {
    padding: 11px;
    min-height: 43px;
  }
  .tree-board-heading > div {
    gap: 8px;
  }
  .tree-board-heading strong {
    font-size: 11px;
  }
  .tree-board-heading small {
    font-size: 9px;
  }
  .talent-detail {
    border-left: 0;
    border-top: 1px solid #61516d77;
    max-height: none;
    padding: 22px;
    min-height: 210px;
  }
  .tree-guide h2 {
    font-size: 24px;
  }
  .tree-guide-symbol {
    display: none;
  }
  .tree-guide ol {
    gap: 14px;
  }
  .tree-guide li {
    font-size: 11px;
  }
  .tree-guide > p:not(.eyebrow) {
    margin-top: 14px;
    padding-top: 10px;
  }
  .tree-detail-heading {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 14px;
  }
  .tree-detail-icon {
    grid-row: 1/4;
    width: 50px;
    height: 50px;
    margin: 0;
  }
  .tree-detail-heading .eyebrow {
    font-size: 8px;
  }
  .tree-detail-heading h2 {
    font-size: 24px;
    margin: 4px 0 8px;
  }
  .tree-rank-dots {
    grid-column: 1/-1;
    margin: 10px 0 15px;
  }
  .tree-footer {
    flex-wrap: wrap;
  }
  .talent-basics > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .talent-basics summary > span {
    font-size: 9px;
  }
  .tree-controls button {
    width: 36px;
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .talent-orbit {
    transition: none;
  }
}
