/* src/styles/tokens.css */
:root {
  --ui-canvas-width: 1920px;
  --ui-canvas-height: 1080px;
  --ui-topbar-height: 78px;
  --ui-roster-width: 430px;
  --ui-context-width: 570px;
  --ui-tabs-height: 70px;
  --ui-action-height: 68px;
  --ui-action-bottom: 33px;
  --ui-bg: #050713;
  --ui-panel: #080d20;
  --ui-panel-soft: #101630;
  --ui-line: rgba(104, 121, 184, 0.26);
  --ui-line-strong: rgba(111, 139, 220, 0.46);
  --ui-text: #e9ebf7;
  --ui-muted: #969cbd;
  --ui-cyan: #43dde8;
  --ui-violet: #c74ff0;
  --ui-orange: #f05b27;
  --ui-green: #69cf4e;
  --ui-gold: #efc55b;
  --ui-font-title:
    "Segoe UI",
    Arial,
    sans-serif;
  --ui-font-body:
    "Segoe UI",
    Arial,
    sans-serif;
}

/* src/styles/base.css */
html,
body {
  width: 100%;
  min-width: var(--ui-canvas-width);
  min-height: var(--ui-canvas-height);
  margin: 0;
  background: var(--ui-bg);
}
* {
  box-sizing: border-box;
}
body,
button {
  font-family: var(--ui-font-body);
}
button {
  border: 0;
}
button:not(:disabled) {
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid var(--ui-cyan);
  outline-offset: 2px;
}
#app {
  width: var(--ui-canvas-width);
  height: var(--ui-canvas-height);
}
.game-screen {
  position: relative;
  width: var(--ui-canvas-width);
  height: var(--ui-canvas-height);
  overflow: hidden;
  background: var(--ui-bg);
  color: var(--ui-text);
}

/* src/styles/common.css */
.game-topbar {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto 92px;
  align-items: center;
  height: var(--ui-topbar-height);
  border-bottom: 1px solid var(--ui-line);
  background:
    linear-gradient(
      180deg,
      #0d132d,
      #090e22);
}
.game-topbar__title {
  display: flex;
  align-items: center;
  height: 100%;
}
.game-topbar__back {
  display: grid;
  place-items: center;
  width: 78px;
  height: 100%;
  border-right: 1px solid var(--ui-line);
  background: rgba(10, 15, 35, 0.82);
  font-size: 60px;
  line-height: 1;
  color: #b7b5df;
}
.game-topbar__title strong {
  display: grid;
  place-items: center;
  min-width: 186px;
  height: 100%;
  padding: 0 24px;
  border-right: 1px solid var(--ui-line);
  font-size: 27px;
  letter-spacing: 0.04em;
}
.game-topbar__title span {
  padding: 0 24px;
  font-size: 18px;
  color: #9ca8d6;
}
.game-topbar__resources {
  display: flex;
  gap: 16px;
}
.top-resource {
  display: grid;
  grid-template-columns: 28px 110px 28px;
  align-items: center;
  height: 48px;
  padding: 0 8px;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  background:
    linear-gradient(
      90deg,
      rgba(19, 27, 57, 0.8),
      rgba(10, 17, 39, 0.92));
}
.top-resource > span,
.top-resource > b {
  font-size: 25px;
  text-align: center;
}
.top-resource > strong {
  text-align: center;
  font-size: 19px;
}
.top-resource--cyan > span,
.top-resource--cyan > b {
  color: #43e3eb;
}
.top-resource--violet > span,
.top-resource--violet > b {
  color: #ba57f0;
}
.top-resource--gold > span,
.top-resource--gold > b {
  color: #e7b83e;
}
.top-resource--ruby > span,
.top-resource--ruby > b {
  color: #ef4c83;
}
.game-topbar__close {
  display: grid;
  place-items: center;
  width: 92px;
  height: 100%;
  border-left: 1px solid var(--ui-line);
  background: rgba(18, 25, 52, 0.84);
  font-size: 54px;
  line-height: 1;
  color: #aab0cf;
}
.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  width: 100%;
  height: var(--ui-action-height);
  clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.52);
}
.action-button b {
  font-size: 17px;
}
.action-button--cyan {
  background:
    linear-gradient(
      180deg,
      #1e8a8f,
      #126168);
  box-shadow: inset 0 0 0 2px rgba(75, 226, 222, 0.4);
}
.action-button--gold {
  background:
    linear-gradient(
      180deg,
      #b47c17,
      #75500d);
  box-shadow: inset 0 0 0 2px rgba(244, 190, 54, 0.42);
  color: #fff0c5;
}
.action-button--violet {
  background:
    linear-gradient(
      180deg,
      #7736aa,
      #4c1f7b);
  box-shadow: inset 0 0 0 2px rgba(203, 92, 238, 0.4);
  color: #f0e2f8;
}
.action-button--red {
  background:
    linear-gradient(
      180deg,
      #b8262f,
      #72131c);
  box-shadow: inset 0 0 0 2px rgba(255, 118, 88, 0.45);
}

/* src/screens/home/home.css */
.home-screen {
  background: #080b18;
}
.home-world {
  position: relative;
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(5, 8, 20, 0.12),
      rgba(3, 6, 14, 0.42)),
    url(./assets/backgrounds/main.png) center / cover no-repeat;
}
.home-world::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 50% 48%,
      transparent 0 28%,
      rgba(2, 5, 14, 0.25) 76%),
    linear-gradient(
      0deg,
      rgba(4, 7, 17, 0.72),
      transparent 24%);
  pointer-events: none;
}
.home-player-card {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 24px;
  display: grid;
  grid-template-columns: 94px 220px;
  gap: 12px;
  align-items: center;
  height: 104px;
  padding: 8px;
  border: 1px solid rgba(87, 211, 225, 0.55);
  background: rgba(4, 12, 26, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}
.home-player-card__portrait {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid #d7ab3c;
  background:
    radial-gradient(
      circle,
      #482c70,
      #11152d);
  font-size: 38px;
  font-weight: 800;
  color: #efc757;
}
.home-player-card > div:last-child {
  display: grid;
  gap: 7px;
}
.home-player-card strong {
  font-size: 21px;
  color: #5fe1e5;
}
.home-player-card span {
  color: #d5d7e3;
}
.home-player-card i {
  display: block;
  height: 9px;
  background: #151d35;
}
.home-player-card i b {
  display: block;
  width: 69%;
  height: 100%;
  background: #54d8df;
}
.home-location {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.5));
  transition: transform 160ms ease, filter 160ms ease;
}
.home-location:hover,
.home-location:focus-visible {
  z-index: 4;
  transform: translateY(-8px) scale(1.04);
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 13px rgba(79, 222, 232, 0.42));
}
.home-location img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-location strong {
  margin-top: -16px;
  padding: 7px 18px;
  border: 1px solid rgba(92, 219, 228, 0.44);
  background: rgba(5, 10, 24, 0.88);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  font-size: 24px;
  color: #eef0f7;
}
.home-location--mine {
  left: 86px;
  bottom: 185px;
  width: 300px;
  height: 250px;
}
.home-location--market {
  left: 430px;
  bottom: 166px;
  width: 380px;
  height: 292px;
}
.home-location--portal {
  top: 160px;
  left: 50%;
  width: 400px;
  height: 410px;
  transform: translateX(-50%);
}
.home-location--portal:hover,
.home-location--portal:focus-visible {
  transform: translateX(-50%) translateY(-8px) scale(1.04);
}
.home-location--tavern {
  top: 88px;
  right: 106px;
  width: 390px;
  height: 288px;
}
.home-location--blacksmith {
  right: 326px;
  bottom: 154px;
  width: 362px;
  height: 318px;
}
.home-footer {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 230px 1fr 300px;
  align-items: end;
  height: 168px;
  padding: 0 22px 20px;
  background:
    linear-gradient(
      0deg,
      rgba(3, 6, 15, 0.98),
      rgba(3, 6, 15, 0.3) 75%,
      transparent);
}
.home-shop,
.home-battle {
  height: 88px;
  border: 2px solid #d7ac41;
  background:
    linear-gradient(
      180deg,
      #147da3,
      #0d5273);
  box-shadow: inset 0 0 0 4px rgba(4, 15, 31, 0.85);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.home-battle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background:
    linear-gradient(
      180deg,
      #ba292b,
      #72131c);
  font-size: 30px;
}
.home-battle b {
  font-size: 42px;
}
.home-footer__nav {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.home-footer__nav button {
  display: grid;
  grid-template-rows: 102px 30px;
  justify-items: center;
  width: 128px;
  background: transparent;
  color: #e4e5ec;
}
.home-footer__nav span {
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border: 4px solid #d8b14a;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #263151,
      #0b132a 67%);
  font-size: 50px;
  color: #e7c35e;
}
.home-footer__nav strong {
  align-self: end;
  font-size: 18px;
}
.home-footer__nav .home-heroes {
  width: 144px;
}
.home-heroes span {
  width: 120px;
  height: 120px;
  margin-top: -18px;
  overflow: hidden;
}
.home-heroes img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

/* src/screens/battle/battle.css */
.battle-screen {
  --battle-line: rgba(230, 176, 74, 0.58);
  --battle-line-soft: rgba(230, 176, 74, 0.26);
  --battle-panel: rgba(5, 10, 18, 0.92);
  --battle-gold: #e7ad45;
  background:
    radial-gradient(
      circle at 53% 30%,
      rgba(46, 89, 114, 0.18),
      transparent 40%),
    linear-gradient(
      180deg,
      #02070d,
      #041019 52%,
      #02080d);
}
.battle-screen .game-topbar {
  border-bottom-color: var(--battle-line-soft);
  background:
    linear-gradient(
      180deg,
      rgba(2, 8, 14, 0.99),
      rgba(3, 10, 17, 0.98));
}
.battle-screen .game-topbar__title {
  min-width: 520px;
}
.battle-screen .game-topbar__title > strong {
  border-right: 0;
}
.battle-info-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: 8px;
  border: 2px solid var(--battle-line);
  border-radius: 50%;
  background: rgba(8, 13, 19, 0.88);
  font-family: Georgia, serif;
  font-size: 26px;
  color: #e9c883;
}
.battle-content {
  display: grid;
  grid-template-rows: 188px 34px 500px 34px 160px;
  gap: 12px;
  width: 100%;
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  padding: 18px 28px 20px;
  overflow: hidden;
}
.continue-campaign {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 260px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--battle-line);
  background: var(--battle-panel);
}
.continue-campaign::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--continue-image);
  background-position: center 44%;
  background-size: cover;
  filter: brightness(0.42) saturate(0.62);
}
.continue-campaign::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 12, 0.96) 0 35%,
      rgba(4, 10, 16, 0.48) 64%,
      rgba(2, 7, 12, 0.9)),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.52));
}
.continue-campaign__emblem {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  margin-left: 28px;
  border: 2px solid #e6bd68;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(36, 49, 54, 0.48),
      rgba(4, 9, 14, 0.96));
  box-shadow: inset 0 0 0 12px rgba(2, 8, 12, 0.44);
  font-size: 58px;
  color: #ebc36d;
}
.continue-campaign__copy {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: center;
  gap: 5px;
  min-width: 0;
  padding: 24px 26px 20px;
}
.continue-campaign__copy h1,
.continue-campaign__copy p {
  margin: 0;
}
.continue-campaign__copy h1 {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: 0.025em;
  color: #f2cf86;
}
.continue-campaign__copy p {
  font-size: 22px;
  color: #f0eff0;
}
.continue-campaign__progress {
  display: grid;
  grid-template-columns: auto 320px;
  gap: 22px;
  align-items: center;
  align-self: end;
}
.continue-campaign__progress strong {
  font-size: 20px;
  font-weight: 500;
  color: #f6e9cb;
}
.continue-campaign__progress i {
  display: block;
  height: 14px;
  overflow: hidden;
  border: 1px solid #8b5e13;
  border-radius: 10px;
  background: #03070b;
}
.continue-campaign__progress i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #bf7e17,
      #ffd66a);
}
.continue-campaign > button {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 228px;
  height: 78px;
  margin-right: 38px;
  border: 1px solid #e4b34f;
  background:
    linear-gradient(
      180deg,
      rgba(120, 75, 10, 0.94),
      rgba(62, 37, 5, 0.98));
  box-shadow: inset 0 0 0 2px rgba(255, 212, 102, 0.08);
  font-size: 20px;
  font-weight: 700;
  color: #f4ead2;
}
.continue-campaign > button span {
  font-size: 40px;
  line-height: 1;
  color: var(--battle-gold);
}
.battle-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border-bottom: 1px solid var(--battle-line);
  font-size: 22px;
  font-weight: 500;
  color: #e6b860;
}
.battle-section-heading span {
  font-size: 16px;
}
.battle-mode-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.battle-mode-card {
  --mode-tone: #e9ae40;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 112px minmax(0, 1fr) 94px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--battle-line);
  background: #050a11;
  color: #f0ece5;
  transition:
    border-color 140ms ease,
    transform 140ms ease,
    filter 140ms ease;
}
.battle-mode-card--green {
  --mode-tone: #87c93f;
}
.battle-mode-card--violet {
  --mode-tone: #bd50e0;
}
.battle-mode-card--cyan {
  --mode-tone: #36c9e6;
}
.battle-mode-card--red {
  --mode-tone: #e4513f;
}
.battle-mode-card:hover,
.battle-mode-card:focus-visible {
  z-index: 2;
  border-color: var(--mode-tone);
  transform: translateY(-4px);
  filter: brightness(1.08);
}
.battle-mode-card > img,
.battle-mode-card__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}
.battle-mode-card > img {
  object-fit: cover;
  object-position: center;
  filter: brightness(0.64) saturate(0.72);
  transform: scale(1.07);
}
.battle-mode-card__shade {
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(2, 7, 12, 0.74),
      transparent 31%,
      transparent 66%,
      rgba(2, 6, 10, 0.96)),
    linear-gradient(
      90deg,
      rgba(3, 8, 13, 0.18),
      transparent 48%,
      rgba(3, 8, 13, 0.2));
}
.battle-mode-card__heading {
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  place-items: center;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 12px 8px 6px;
}
.battle-mode-card__heading b {
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  color: #ead09a;
  text-shadow: 0 3px 9px rgba(0, 0, 0, 0.8);
}
.battle-mode-card__heading strong {
  max-width: 100%;
  text-align: center;
  font-size: 19px;
  line-height: 1.12;
  font-weight: 650;
  text-wrap: balance;
  color: #f2eee8;
  text-shadow: 0 2px 7px #000;
}
.battle-mode-card__status {
  align-self: end;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 9px 8px 13px;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(2, 6, 10, 0.9) 24%);
}
.battle-mode-card__status strong {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 38px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--mode-tone) 62%, transparent);
  background: color-mix(in srgb, var(--mode-tone) 15%, rgba(4, 9, 14, 0.9));
  font-size: 15px;
  line-height: 1.15;
  color: #f2ead6;
}
.battle-mode-card__status small {
  min-height: 20px;
  font-size: 14px;
  line-height: 1.2;
  color: color-mix(in srgb, var(--mode-tone) 82%, #f5f0dc);
}
.battle-events {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.02fr;
  gap: 14px;
  min-width: 0;
  min-height: 0;
}
.battle-event-card,
.battle-events__all {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--battle-line-soft);
  background:
    linear-gradient(
      180deg,
      rgba(7, 14, 22, 0.98),
      rgba(3, 9, 14, 0.98));
  color: #efede8;
}
.battle-event-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  text-align: left;
}
.battle-event-card > img {
  width: 126px;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.74) saturate(0.9);
}
.battle-event-card__copy {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  padding: 12px 14px;
}
.battle-event-card__copy strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.battle-event-card__copy b {
  font-size: 16px;
  font-weight: 500;
  color: #a5dc3f;
}
.battle-event-card__copy small {
  font-size: 14px;
  color: #e8a62d;
}
.battle-event-card__indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #2783d1;
  box-shadow: 0 0 8px rgba(39, 131, 209, 0.6);
}
.battle-event-card__indicator--urgent {
  background: #d73e27;
  box-shadow: 0 0 8px rgba(215, 62, 39, 0.7);
}
.battle-events__all {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;
}
.battle-events__all > span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid var(--battle-line);
  font-size: 52px;
  font-weight: 300;
  color: #e6b963;
}
.battle-events__all strong {
  font-size: 19px;
  font-weight: 600;
  color: #e5b761;
}
.battle-events__all b {
  justify-self: end;
  font-size: 40px;
  color: #e4aa40;
}
.battle-qa-report {
  position: absolute;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  width: 360px;
  max-height: 440px;
  padding: 12px 16px;
  overflow: auto;
  border: 1px solid #3cdbb0;
  background: rgba(4, 12, 20, 0.96);
  color: #bff8e7;
}
.battle-qa-report pre {
  margin: 8px 0 0;
  font-size: 11px;
  white-space: pre-wrap;
}

/* src/screens/dungeons/dungeons.css */
.dungeons-screen {
  background: #080b19;
}
.dungeon-map {
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  overflow-x: auto;
  overflow-y: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(13, 68, 76, 0.38),
      rgba(48, 27, 75, 0.34)),
    radial-gradient(
      circle at 30% 50%,
      rgba(57, 190, 192, 0.16),
      transparent 32%),
    #0b1024;
  scrollbar-color: #40bfc9 #0b1024;
}
.dungeon-map__track {
  display: grid;
  grid-template-columns: 1720px 1720px;
  gap: 80px;
  width: max-content;
  min-height: 100%;
  padding: 34px 80px 54px;
}
.dungeon-region {
  position: relative;
  display: grid;
  grid-template-rows: 74px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(83, 196, 209, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(13, 25, 47, 0.76),
      rgba(5, 12, 25, 0.88)),
    radial-gradient(
      circle at 50% 58%,
      rgba(59, 171, 180, 0.22),
      transparent 47%);
  box-shadow: inset 0 0 90px rgba(54, 179, 188, 0.1);
}
.dungeon-region--right {
  border-color: rgba(181, 74, 219, 0.32);
  background:
    linear-gradient(
      180deg,
      rgba(28, 15, 51, 0.8),
      rgba(7, 9, 25, 0.9)),
    radial-gradient(
      circle at 50% 58%,
      rgba(153, 55, 184, 0.18),
      transparent 47%);
}
.dungeon-region h2 {
  margin: 0;
  padding: 20px 34px;
  border-bottom: 1px solid var(--ui-line);
  font-size: 27px;
  letter-spacing: 0.06em;
  color: #d8d6e9;
}
.dungeon-region__nodes {
  display: grid;
  grid-template-columns: repeat(5, 270px);
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  min-height: 0;
  padding: 60px 30px 90px;
}
.dungeon-node {
  --node-color: #54dce4;
  display: grid;
  grid-template-rows: 238px 60px 34px;
  place-items: center;
  min-width: 0;
  height: 372px;
  border: 1px solid color-mix(in srgb, var(--node-color) 55%, transparent);
  clip-path: polygon(10% 0, 90% 0, 100% 8%, 100% 88%, 86% 100%, 14% 100%, 0 88%, 0 8%);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--node-color) 13%, #10162c),
      #080d20);
  color: #eef0f6;
  transition: transform 160ms ease, filter 160ms ease;
}
.dungeon-node:hover {
  transform: translateY(-12px);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--node-color) 65%, transparent));
}
.dungeon-node > span {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border: 3px solid var(--node-color);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--node-color) 30%, #11152d),
      #080b1a 68%);
  box-shadow: 0 0 26px color-mix(in srgb, var(--node-color) 35%, transparent);
  font-size: 82px;
  color: var(--node-color);
}
.dungeon-node strong {
  padding: 0 12px;
  font-size: 20px;
  text-align: center;
}
.dungeon-node small {
  color: var(--node-color);
}
.dungeon-node--red {
  --node-color: #ef5558;
}
.dungeon-node--violet {
  --node-color: #c755ed;
}
.dungeon-node--green {
  --node-color: #68d586;
}
.dungeon-node--orange {
  --node-color: #e89a3a;
}
.dungeon-node--cyan {
  --node-color: #49d9e7;
}
.dungeon-node--blue {
  --node-color: #5a8ff0;
}

/* src/screens/campaigns/campaigns.css */
.campaigns-screen,
.campaign-screen {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(63, 135, 153, 0.2),
      transparent 38%),
    linear-gradient(
      135deg,
      #07101e,
      #10243b 48%,
      #0b0d20);
}
.campaign-map {
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #50d7e2 #0b1325;
}
.campaign-map__path {
  display: grid;
  grid-template-columns: repeat(12, 300px);
  gap: 72px;
  align-items: center;
  width: max-content;
  min-height: 100%;
  padding: 90px 160px 110px;
  background:
    linear-gradient(
      180deg,
      transparent 49%,
      rgba(88, 216, 227, 0.28) 49.5%,
      rgba(88, 216, 227, 0.28) 50.5%,
      transparent 51%);
}
.campaign-node {
  display: grid;
  grid-template-rows: 180px auto auto;
  place-items: center;
  min-width: 0;
  height: 340px;
  padding: 26px 18px;
  border: 2px solid #405b82;
  clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 8%);
  background:
    linear-gradient(
      180deg,
      rgba(22, 38, 66, 0.96),
      rgba(6, 12, 25, 0.98));
  color: #e8eaf2;
  transition: transform 160ms ease, filter 160ms ease;
}
.campaign-node:hover {
  transform: translateY(-10px);
}
.campaign-node > span {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 70px;
}
.campaign-node strong {
  font-size: 21px;
  text-align: center;
}
.campaign-node small {
  color: #99a4c3;
}
.campaign-node.is-cleared {
  border-color: #55d9c9;
  color: #60decb;
}
.campaign-node.is-current {
  border-color: #efc753;
  color: #f0c85b;
  filter: drop-shadow(0 0 22px rgba(238, 199, 81, 0.3));
}
.campaign-node.is-locked {
  opacity: 0.55;
}
.campaign-levels-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  min-height: 0;
}
.campaign-rewards {
  display: grid;
  grid-template-rows: 52px 170px 52px 1fr 64px;
  gap: 12px;
  min-height: 0;
  padding: 20px 24px 28px;
  border-right: 1px solid var(--ui-line);
  background: rgba(5, 11, 24, 0.94);
}
.campaign-rewards h2 {
  margin: 0;
  align-self: center;
  text-align: center;
  font-size: 18px;
  color: #d9bd62;
}
.reward-set {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  border: 1px solid var(--ui-line);
  background: #0d172b;
}
.reward-set > span {
  grid-row: span 2;
  text-align: center;
  font-size: 58px;
  color: #80d83d;
}
.reward-set strong {
  font-size: 24px;
}
.reward-set small {
  padding-right: 10px;
  color: #aab0c6;
}
.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 82px;
  gap: 10px;
}
.reward-grid span {
  display: grid;
  place-items: center;
  border: 1px solid #56708c;
  background: #111a32;
  font-size: 30px;
  color: #65dbe4;
}
.difficulty-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid #b2903b;
  background: #28271e;
  font-size: 17px;
  color: #e4dec7;
}
.campaign-levels {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  gap: 10px;
  min-height: 0;
  padding: 18px 24px 24px;
  overflow-y: auto;
}
.campaign-level {
  display: grid;
  grid-template-columns: 82px minmax(220px, 1fr) 150px 230px 254px;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 12px 16px;
  border: 1px solid #2fa9ca;
  clip-path: polygon(1% 0, 99% 0, 100% 14%, 100% 86%, 99% 100%, 1% 100%, 0 86%, 0 14%);
  background:
    linear-gradient(
      90deg,
      rgba(18, 76, 100, 0.94),
      rgba(11, 47, 70, 0.94));
}
.campaign-level--boss {
  border-color: #c99232;
  background:
    linear-gradient(
      90deg,
      rgba(83, 41, 19, 0.95),
      rgba(31, 19, 24, 0.95));
}
.campaign-level__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid #9ab53f;
  background: #18283a;
  font-size: 35px;
  color: #93d03f;
}
.campaign-level__title {
  display: grid;
  gap: 7px;
}
.campaign-level__title strong {
  font-size: 24px;
}
.campaign-level__title small {
  font-size: 17px;
  color: #56d6e2;
}
.campaign-level__stars {
  font-size: 23px;
  color: #f1c43e;
}
.campaign-level__enemies {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.campaign-level__enemies span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #67819a;
  background: #152039;
  font-size: 28px;
}
.campaign-level__action .action-button {
  height: 76px;
}

/* src/screens/heroes/heroes.css */
.heroes-screen {
  background:
    radial-gradient(
      circle at 53% 42%,
      rgba(83, 40, 157, 0.19),
      transparent 30%),
    linear-gradient(
      135deg,
      #080a1c 0%,
      #0b1029 48%,
      #050914 100%);
}
.heroes-layout {
  display: grid;
  grid-template-columns: var(--ui-roster-width) minmax(0, 1fr);
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  min-height: 0;
}
.hero-roster,
.hero-mode-layout,
.hero-workspace,
.hero-context {
  min-width: 0;
  min-height: 0;
}
.hero-roster,
.hero-workspace,
.hero-context {
  border-right: 1px solid var(--ui-line);
}
.hero-roster {
  display: grid;
  grid-template-rows: 76px minmax(0, 1fr);
  padding: 0 16px 12px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(13, 18, 45, 0.98),
      rgba(7, 12, 31, 0.98));
}
.hero-roster__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
}
.roster-sort,
.roster-filter {
  height: 50px;
  border: 1px solid var(--ui-line);
  background:
    linear-gradient(
      180deg,
      #151b3d,
      #101630);
  color: #c1c8ec;
}
.roster-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 700;
}
.roster-sort span {
  color: #a8c8ff;
}
.roster-filter {
  display: grid;
  place-items: center;
}
.roster-filter span {
  width: 30px;
  height: 28px;
  background: #aeb7dd;
  clip-path: polygon(0 0, 100% 0, 66% 38%, 66% 100%, 36% 84%, 36% 38%);
}
.hero-roster__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 126px;
  gap: 10px;
  min-height: 0;
  padding-right: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #45518c #0b1028;
  scrollbar-width: thin;
}
.roster-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #415080;
  background: #0b112a;
  box-shadow: inset 0 0 0 1px rgba(5, 8, 20, 0.9);
}
.roster-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.roster-card--selected {
  border-color: #31ddea;
  box-shadow: inset 0 0 0 2px #2bd6e4, 0 0 15px rgba(41, 217, 231, 0.45);
}
.roster-card__selected-label {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 6px;
  background: #24abc4;
  font-size: 8px;
  font-weight: 900;
  color: #06121c;
}
.hero-workspace {
  display: grid;
  grid-template-rows: var(--ui-tabs-height) minmax(0, 1fr);
  overflow: hidden;
}
.hero-mode-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ui-context-width);
  height: 100%;
  overflow: hidden;
}
.hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 0;
  border-bottom: 1px solid var(--ui-line);
  background: rgba(4, 8, 20, 0.84);
}
.hero-tabs button {
  position: relative;
  border-right: 1px solid rgba(85, 102, 157, 0.18);
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9ea8d4;
}
.hero-tabs button::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 0;
  left: 26px;
  height: 3px;
  transform: scaleX(0);
  background: var(--ui-orange);
  box-shadow: 0 0 10px rgba(240, 91, 39, 0.68);
  transition: transform 150ms ease;
}
.hero-tabs button.is-active {
  color: #ff7440;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(240, 91, 39, 0.05));
}
.hero-tabs button.is-active::after {
  transform: scaleX(1);
}
.hero-stage-shell {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(35, 26, 83, 0.34),
      transparent 54%),
    #090d23;
}
.hero-stage-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-stage-visual__moon {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 390px;
  height: 390px;
  transform: translateX(-50%);
  border: 2px solid rgba(140, 65, 226, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(121, 61, 205, 0.24),
      rgba(55, 31, 109, 0.12) 58%,
      transparent 59%);
  box-shadow: 0 0 70px rgba(106, 54, 194, 0.14);
}
.hero-stage-visual__beam {
  position: absolute;
  top: 124px;
  left: 12%;
  width: 82%;
  height: 80%;
  opacity: 0.35;
  background:
    linear-gradient(
      47deg,
      transparent 48.5%,
      rgba(99, 116, 221, 0.23) 49%,
      rgba(103, 62, 198, 0.35) 50%,
      transparent 51.5%),
    linear-gradient(
      133deg,
      transparent 48.5%,
      rgba(103, 62, 198, 0.25) 49%,
      rgba(61, 135, 199, 0.16) 50%,
      transparent 51.5%);
}
.hero-stage-visual__floor {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background:
    linear-gradient(
      0deg,
      rgba(5, 8, 20, 0.78),
      transparent);
}
.hero-mode {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.hero-mode__main {
  min-width: 0;
  min-height: 0;
  padding: 34px 38px;
}
.hero-identity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  width: max-content;
  max-width: 460px;
  color: #fff;
}
.hero-identity__mark {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 62px;
  height: 72px;
  background:
    linear-gradient(
      145deg,
      #cb4df0,
      #5422a4);
  clip-path: polygon(50% 0, 92% 24%, 83% 74%, 50% 100%, 17% 74%, 8% 24%);
  font-size: 28px;
}
.hero-identity h1 {
  margin: 0;
  font-size: 33px;
  line-height: 38px;
}
.hero-identity__stars {
  font-size: 27px;
  line-height: 34px;
  letter-spacing: 1px;
  color: #e34bf0;
  text-shadow: 0 0 9px rgba(222, 70, 240, 0.55);
}
.hero-identity__faction {
  justify-self: start;
  padding: 3px 8px;
  background: rgba(7, 10, 25, 0.65);
  color: #afb4d7;
}
.stage-utility-pair {
  display: flex;
  justify-content: space-between;
  align-items: end;
  height: calc(100% - 116px);
  padding-top: 460px;
}
.stage-utility-pair button {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(129, 142, 196, 0.38);
  border-radius: 50%;
  background: rgba(18, 23, 50, 0.9);
  font-size: 31px;
  color: #d5daf3;
}
.hero-context {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  padding: 12px 20px 18px;
  overflow: hidden;
  border-right: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 12, 29, 0.99),
      rgba(5, 9, 21, 0.99));
}
.hero-context--has-action {
  grid-template-rows: minmax(0, 1fr) var(--ui-action-height);
  gap: 12px;
  padding-bottom: var(--ui-action-bottom);
}
.hero-context__content {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.hero-context__action-slot {
  display: grid;
  align-items: stretch;
  min-width: 0;
  min-height: var(--ui-action-height);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #aab2df;
}
.section-heading::before,
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ui-line);
}
.hero-mode--equipment {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 142px;
}
.equipment-stage-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 300px;
  gap: 18px;
  align-items: end;
  min-height: 0;
  padding: 20px 32px var(--ui-action-bottom);
  border-top: 1px solid var(--ui-line);
  background: rgba(8, 13, 34, 0.87);
}
.hero-level-progress {
  align-self: end;
}
.hero-level-progress > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-level-progress strong {
  font-size: 29px;
}
.hero-level-progress span,
.hero-level-progress small {
  color: #abb2d1;
}
.hero-level-progress__bar {
  height: 12px;
  margin: 8px 0 5px;
  transform: skewX(-22deg);
  background: #182040;
}
.hero-level-progress__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: #4de0dd;
}
.hero-level-progress b {
  color: #46dce1;
}
.level-up-icon {
  width: 62px;
  height: 62px;
  border: 2px solid #43bac9;
  border-radius: 50%;
  background: #11233e;
  font-size: 34px;
  color: #56d9e1;
}
.equipment-panel {
  display: grid;
  grid-template-rows: 38px 320px 184px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  padding: 8px 8px 12px;
  border: 1px solid var(--ui-line);
  background: rgba(13, 19, 43, 0.66);
}
.equipment-item,
.jewelry-item {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.equipment-item img,
.jewelry-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.jewelry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--ui-line);
}
.stats-panel {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
  min-height: 0;
  padding: 6px 12px 0;
}
.stats-list {
  display: grid;
  grid-template-rows: repeat(8, minmax(28px, 1fr));
  min-height: 0;
  padding: 5px 0;
}
.stat-line {
  display: grid;
  grid-template-columns: max-content minmax(30px, 1fr) 72px minmax(30px, 0.6fr) 72px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: #9fa6c6;
}
.stat-line i {
  height: 1px;
  background: rgba(126, 141, 190, 0.22);
}
.stat-line strong {
  text-align: right;
  color: #f2f3fa;
}
.stat-line b {
  text-align: right;
  color: var(--ui-green);
}
.hero-mode--development {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}
.development-panel {
  display: grid;
  grid-template-rows: 42px 58px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}
.development-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.development-tabs button {
  border: 1px solid var(--ui-line);
  background: #10162f;
  font-weight: 800;
  color: #9aa3c8;
}
.development-tabs button.is-active {
  border-color: #3bd8e2;
  color: #4ee0e6;
  background:
    linear-gradient(
      180deg,
      rgba(27, 139, 148, 0.3),
      rgba(14, 37, 57, 0.7));
}
.development-content {
  display: grid;
  grid-auto-rows: max-content;
  gap: 16px;
  min-height: 0;
  padding: 22px 12px 0;
}
.development-orb {
  display: grid;
  place-items: center;
  width: 194px;
  height: 194px;
  margin: 0 auto;
  border: 2px solid #8654db;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(119, 51, 187, 0.5),
      rgba(29, 22, 69, 0.76));
  box-shadow: 0 0 35px rgba(130, 66, 211, 0.28);
}
.development-orb span,
.development-orb b {
  font-size: 13px;
  color: #b7afd8;
}
.development-orb strong {
  font-size: 68px;
  line-height: 60px;
}
.development-content h3 {
  margin: 0;
  text-align: center;
  font-size: 16px;
  color: #aaaed0;
}
.development-materials,
.rank-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.development-materials button,
.rank-slots button {
  display: grid;
  place-items: center;
  min-height: 116px;
  border: 1px solid var(--ui-line-strong);
  background:
    linear-gradient(
      180deg,
      #161b38,
      #0d132b);
  color: #d8daf0;
}
.development-materials button span {
  font-size: 32px;
  color: #b85bef;
}
.development-materials button strong {
  font-size: 20px;
}
.development-materials button small,
.rank-slots button small {
  color: #969ebe;
}
.development-result,
.development-status,
.rank-card,
.rank-summary {
  border: 1px solid var(--ui-line);
  background: rgba(12, 17, 38, 0.78);
}
.development-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 16px;
}
.development-result small {
  grid-column: 1 / -1;
  color: #8f97ba;
}
.development-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 80px;
  color: #59d8cf;
}
.development-status > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.development-status div {
  display: grid;
  gap: 5px;
}
.development-status small {
  color: #97a1c3;
}
.rank-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
}
.rank-card > span {
  font-size: 52px;
  color: #d75af0;
}
.rank-card div {
  display: grid;
  gap: 7px;
}
.rank-card strong {
  font-size: 24px;
  color: #f1cf55;
}
.rank-card b {
  font-weight: 500;
  color: #54d8d5;
}
.rank-slots {
  grid-template-columns: repeat(5, 1fr);
}
.rank-slots button {
  min-height: 94px;
}
.rank-slots span {
  font-size: 30px;
  color: #66cfdb;
}
.rank-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.rank-summary div {
  display: grid;
  grid-template-columns: 1fr 90px 80px;
}
.rank-summary b {
  text-align: right;
  color: var(--ui-green);
}
.hero-mode--skills {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 316px;
}
.skills-stage-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
}
.hero-utility-menu {
  display: grid;
  align-content: center;
  gap: 22px;
}
.hero-utility-menu button {
  display: grid;
  justify-items: center;
  gap: 4px;
  background: transparent;
  color: #c4c6d7;
}
.hero-utility-menu button span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #3c455f;
  border-radius: 50%;
  background: rgba(18, 25, 45, 0.86);
  font-size: 25px;
}
.hero-utility-menu small {
  font-size: 14px;
}
.skills-stage-menu {
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr);
  min-height: 0;
  padding: 0 22px 18px;
  border-top: 1px solid var(--ui-line);
  background:
    linear-gradient(
      180deg,
      rgba(6, 10, 24, 0.72),
      rgba(4, 8, 18, 0.94));
}
.hero-power {
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 280px;
  height: 42px;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  background: rgba(21, 19, 49, 0.92);
}
.hero-power span {
  color: #959ab1;
}
.hero-power strong {
  font-size: 22px;
  font-weight: 500;
}
.skills-stage-menu__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}
.skill-orb {
  position: relative;
  display: grid;
  grid-template-rows: 128px 40px 28px;
  justify-items: center;
  min-width: 0;
  padding: 0 4px;
  background: transparent;
  color: #aeb3cf;
}
.skill-orb__icon {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border: 2px solid #a94fd9;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 42% 38%,
      #a940df,
      #30164e 54%,
      #090d1f 72%);
  box-shadow: inset 0 0 0 7px rgba(9, 12, 28, 0.72), 0 0 24px rgba(174, 64, 225, 0.24);
  font-size: 58px;
  color: #f0d4ff;
}
.skill-orb--selected .skill-orb__icon {
  border-color: #e078ff;
  box-shadow: inset 0 0 0 7px rgba(9, 12, 28, 0.72), 0 0 28px rgba(212, 83, 250, 0.52);
}
.skill-orb > b {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 8px;
  border: 1px solid #6c3aa9;
  border-radius: 3px;
  background: #241244;
  font-size: 11px;
  color: #c9b1ee;
}
.skill-orb > strong {
  align-self: center;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.skill-orb > small {
  color: #aeb3cf;
}
.skills-panel {
  display: grid;
  grid-template-rows: 540px minmax(0, 1fr);
  gap: 8px;
  height: 100%;
  min-height: 0;
}
.skill-detail-panel,
.skill-upgrade-panel {
  border: 1px solid var(--ui-line);
  background:
    linear-gradient(
      180deg,
      rgba(8, 15, 31, 0.92),
      rgba(5, 10, 22, 0.96));
}
.skill-detail-panel {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: 18px 18px 12px;
}
.skill-detail-panel header {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-line);
}
.skill-detail-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid #a755d2;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #9d38d7,
      #25103e 65%);
  font-size: 44px;
}
.skill-detail-panel h2,
.skill-upgrade-panel h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}
.skill-detail-panel header small {
  font-size: 15px;
  color: #a9a3ca;
}
.skill-detail-panel header > b {
  font-weight: 500;
  color: #a8a9bc;
}
.skill-detail-panel p {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-line);
  font-size: 16px;
  line-height: 1.45;
  color: #b9bbcc;
}
.skill-level-line {
  display: grid;
  gap: 10px;
}
.skill-level-line > strong {
  font-size: 18px;
  font-weight: 500;
}
.skill-level-line > div {
  display: flex;
  gap: 9px;
}
.skill-level-line i {
  width: 18px;
  height: 18px;
  border: 2px solid #616478;
  border-radius: 50%;
  background: #080b14;
}
.skill-level-line i.is-active {
  border-color: #c763ec;
  background: #b747da;
  box-shadow: 0 0 8px #b747da;
}
.skill-params,
.skill-next-params {
  display: grid;
  gap: 10px;
}
.skill-params div,
.skill-next-params div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  color: #afb3c7;
}
.skill-params strong,
.skill-next-params strong {
  color: var(--ui-green);
}
.divider-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  font-size: 15px;
  font-weight: 500;
  color: #b3a7d6;
}
.divider-heading::before,
.divider-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ui-line);
}
.skill-upgrade-panel {
  display: grid;
  grid-template-rows: 30px 24px minmax(0, 1fr) 36px;
  min-height: 0;
  padding: 12px 18px 8px;
  text-align: center;
}
.skill-upgrade-panel h2 {
  font-size: 18px;
  color: #b6afd1;
}
.skill-upgrade-panel p {
  margin: 0;
  color: #9ea4bd;
}
.skill-books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 6px 16px 2px;
}
.skill-book {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 24px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #b5b6c5;
}
.skill-book > span {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0 10px;
  border: 1px solid currentColor;
  background: rgba(10, 20, 28, 0.86);
}
.skill-book i {
  display: block;
  width: 52px;
  height: 68px;
  transform: skewY(-7deg);
  border: 3px solid currentColor;
  background:
    linear-gradient(
      135deg,
      transparent 46%,
      currentColor 48%,
      transparent 51%),
    rgba(36, 55, 42, 0.8);
  box-shadow: 7px 6px 0 rgba(0, 0, 0, 0.4);
}
.skill-book--rare {
  color: #45dbe6;
}
.skill-book--epic {
  color: #cd51e9;
}
.skill-book--legendary {
  color: #e8a926;
}
.skill-book > strong {
  position: absolute;
  right: 12px;
  bottom: 27px;
  color: #eef0f8;
}
.skill-book > small {
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #aaacbd;
}
.skill-cost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgba(94, 109, 156, 0.18);
  color: #a7aabe;
}
.skill-cost strong {
  font-size: 21px;
  font-weight: 500;
  color: #f0f1f6;
}
.hero-mode--talents-summary {
  display: block;
}
.talents-character-stage {
  height: 100%;
}
.talents-character-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 56px;
  width: 430px;
  height: 680px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 50% 35%,
      rgba(133, 59, 207, 0.18),
      transparent 48%),
    radial-gradient(
      ellipse at 50% 78%,
      rgba(40, 186, 207, 0.1),
      transparent 54%);
  filter: blur(2px);
}
.talents-character-stage > * {
  position: relative;
  z-index: 1;
}
.talents-summary-panel {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}
.talents-selected-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 156px;
  gap: 14px;
  align-content: start;
  min-height: 0;
  padding: 18px 8px 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(157, 95, 218, 0.72) rgba(22, 25, 54, 0.76);
}
.talents-selected-icon {
  --selected-tone: #ff554d;
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  border: 1px solid color-mix(in srgb, var(--selected-tone) 54%, #243052);
  background:
    radial-gradient(
      circle at 50% 46%,
      color-mix(in srgb, var(--selected-tone) 16%, transparent),
      transparent 63%),
    linear-gradient(
      180deg,
      rgba(16, 19, 43, 0.94),
      rgba(5, 9, 22, 0.96));
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
  isolation: isolate;
}
.talents-selected-icon--cyan {
  --selected-tone: #48dff2;
}
.talents-selected-icon--violet {
  --selected-tone: #cb5af4;
}
.talents-selected-icon__frame {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--selected-tone) 14%, transparent),
      transparent 69%);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--selected-tone) 42%, transparent));
}
.talents-selected-icon img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  user-select: none;
}
.heroes-qa-report {
  position: absolute;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  width: 330px;
  padding: 12px 16px;
  border: 1px solid #3cdbb0;
  background: rgba(4, 12, 20, 0.94);
  box-shadow: 0 0 28px rgba(45, 221, 172, 0.18);
  font-size: 12px;
  pointer-events: none;
}
.heroes-qa-report strong {
  color: #53e3ba;
}
.heroes-qa-report pre {
  max-height: 120px;
  margin: 8px 0 0;
  overflow: hidden;
  color: #a8b1c9;
}

/* src/screens/arsenal/arsenal.css */
.arsenal-screen {
  background:
    radial-gradient(
      circle at 53% 42%,
      rgba(32, 75, 112, 0.12),
      transparent 34%),
    linear-gradient(
      135deg,
      #050a14,
      #080f1f 48%,
      #050912);
}
.arsenal-screen .game-topbar {
  grid-template-columns: minmax(360px, 1fr) auto 92px;
  background:
    linear-gradient(
      180deg,
      #07101e,
      #050b16);
}
.arsenal-screen .game-topbar__title strong {
  min-width: auto;
  padding-left: 24px;
  border-right: 0;
  font-size: 28px;
}
.arsenal-shell {
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  min-height: 0;
}
.arsenal-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 680px;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.arsenal-sidebar,
.artifact-inventory,
.artifact-inspector {
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--ui-line);
  background: rgba(5, 11, 23, 0.91);
}
.arsenal-sidebar {
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  padding: 14px 16px 12px;
}
.arsenal-hero-summary {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 0 8px 14px 0;
  border-bottom: 1px solid var(--ui-line);
}
.arsenal-hero-summary__portrait {
  width: 132px;
  height: 154px;
  overflow: hidden;
  border: 1px solid rgba(174, 84, 224, 0.42);
  background: #10142c;
}
.arsenal-hero-summary__portrait img {
  width: 100%;
  height: 100%;
  transform: scale(1.2);
  object-fit: cover;
}
.arsenal-hero-summary > div:last-child {
  display: grid;
  gap: 8px;
}
.arsenal-hero-summary strong {
  font-size: 23px;
  font-weight: 500;
  color: #c5bfdf;
}
.arsenal-hero-summary strong span {
  color: #c94ef0;
}
.arsenal-hero-summary b {
  font-size: 21px;
  letter-spacing: 2px;
  color: #dc54ec;
}
.arsenal-hero-summary small {
  font-size: 21px;
  color: #eef0f6;
}
.artifact-slot-list {
  display: grid;
  grid-template-rows: repeat(9, minmax(0, 1fr));
  min-height: 0;
  padding-top: 14px;
}
.artifact-slot-list button {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 34px;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0 12px;
  border: 1px solid rgba(91, 110, 160, 0.22);
  background:
    linear-gradient(
      90deg,
      rgba(11, 18, 37, 0.92),
      rgba(9, 15, 31, 0.72));
  color: #aeb5d5;
}
.artifact-slot-list button + button {
  margin-top: 5px;
}
.artifact-slot-list button > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 52px;
  background:
    radial-gradient(
      circle,
      rgba(65, 57, 102, 0.38),
      transparent 68%);
}
.artifact-slot-list img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.artifact-slot-list strong {
  font-size: 19px;
  font-weight: 500;
  text-align: left;
}
.artifact-slot-list i {
  font-style: normal;
  color: #86dd34;
}
.artifact-slot-list button > b {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ed3445;
  box-shadow: 0 0 8px #ed3445;
}
.artifact-slot-list button.is-active {
  border-color: #8bd634;
  background:
    linear-gradient(
      90deg,
      rgba(47, 75, 25, 0.72),
      rgba(12, 25, 25, 0.85));
  box-shadow: inset 0 0 14px rgba(133, 215, 50, 0.12), 0 0 11px rgba(133, 215, 50, 0.22);
  color: #eef3e9;
}
.artifact-inventory {
  display: grid;
  grid-template-rows: 64px 62px minmax(0, 1fr) 58px;
  padding: 0 18px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(8, 15, 29, 0.94),
      rgba(5, 11, 21, 0.94)),
    radial-gradient(
      circle at 50% 50%,
      rgba(29, 84, 104, 0.1),
      transparent 52%);
}
.artifact-inventory__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: end;
  min-width: 0;
  border-bottom: 1px solid var(--ui-line);
}
.artifact-inventory h1 {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 6px;
  font-size: 23px;
  font-weight: 400;
  color: #aea7d4;
}
.artifact-inventory h1 strong {
  margin-left: 8px;
  font-weight: 500;
}
.artifact-inventory__close {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  align-self: center;
  border: 1px solid rgba(112, 129, 185, 0.34);
  background:
    linear-gradient(
      180deg,
      rgba(20, 29, 56, 0.92),
      rgba(9, 16, 35, 0.96));
  font-size: 46px;
  line-height: 1;
  color: #c8cae4;
}
.artifact-inventory__close:hover,
.artifact-inventory__close:focus-visible {
  border-color: #e46171;
  background:
    linear-gradient(
      180deg,
      rgba(91, 27, 43, 0.92),
      rgba(42, 12, 25, 0.96));
  color: #fff;
}
.artifact-filter-bar {
  display: grid;
  grid-template-columns: 58px 1.25fr 1fr 1.08fr 58px;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.artifact-filter-bar label {
  min-width: 0;
}
.artifact-filter-bar select,
.artifact-filter-icon {
  width: 100%;
  height: 46px;
  border: 1px solid var(--ui-line);
  border-radius: 3px;
  background: #10162c;
  font-size: 16px;
  color: #aeb4d1;
}
.artifact-filter-bar select {
  padding: 0 14px;
}
.artifact-filter-icon {
  color: #b9b3dc;
}
.artifact-inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 216px;
  gap: 14px;
  min-height: 0;
  padding: 12px 8px 14px 6px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #394868 #08101d;
  scrollbar-width: thin;
}
.artifact-inventory-empty {
  grid-column: 1 / -1;
  align-self: center;
  text-align: center;
  color: #8f97b5;
}
.artifact-inventory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ui-line);
  color: #8991b0;
}
.artifact-inventory-footer button {
  min-width: 246px;
  height: 44px;
  border: 1px solid var(--ui-line-strong);
  clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
  background: #10172c;
  font-size: 17px;
  color: #b9bdd3;
}
.artifact-card {
  --rarity-color: #b64ee4;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 29px;
  min-width: 0;
  min-height: 0;
  padding: 8px 8px 4px;
  overflow: hidden;
  border: 1px solid var(--rarity-color);
  background:
    radial-gradient(
      circle at 50% 42%,
      color-mix(in srgb, var(--rarity-color) 18%, transparent),
      transparent 55%),
    linear-gradient(
      155deg,
      rgba(15, 24, 39, 0.98),
      rgba(4, 10, 19, 0.98));
  color: #eff0f5;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}
button.artifact-card {
  width: 100%;
}
.artifact-card--rare {
  --rarity-color: #258fcd;
}
.artifact-card--epic {
  --rarity-color: #b847df;
}
.artifact-card--legendary {
  --rarity-color: #d99621;
}
.artifact-card--mythic {
  --rarity-color: #da373d;
}
.artifact-card.is-selected {
  border-color: #55e9f0;
  box-shadow:
    inset 0 0 0 2px #55e9f0,
    inset 0 0 26px rgba(48, 222, 233, 0.18),
    0 0 15px rgba(63, 226, 237, 0.45);
}
.artifact-card img {
  align-self: center;
  justify-self: center;
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.52));
}
.artifact-card--variant-1 img {
  filter: hue-rotate(54deg) saturate(1.2) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.52));
}
.artifact-card--variant-2 img {
  filter: hue-rotate(142deg) saturate(0.85) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.52));
}
.artifact-card--variant-3 img {
  filter: hue-rotate(232deg) saturate(1.25) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.52));
}
.artifact-card--variant-4 img {
  filter: hue-rotate(310deg) saturate(1.1) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.52));
}
.artifact-card--variant-5 img {
  filter: grayscale(0.65) brightness(1.2) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.52));
}
.artifact-card > strong {
  position: absolute;
  bottom: 31px;
  left: 10px;
  font-size: 17px;
  font-weight: 500;
}
.artifact-card__stars {
  align-self: center;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--rarity-color);
}
.artifact-card__set {
  position: absolute;
  right: 8px;
  bottom: 34px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 34px;
  clip-path: polygon(50% 0, 95% 25%, 85% 78%, 50% 100%, 15% 78%, 5% 25%);
  background: #12192b;
  font-size: 17px;
  color: #8bd633;
}
.artifact-card--set-rage .artifact-card__set {
  color: #e44c41;
}
.artifact-card--set-frost .artifact-card__set {
  color: #41bde4;
}
.artifact-card--set-abyss .artifact-card__set {
  color: #bd4fe9;
}
.artifact-card__caption {
  position: absolute;
  z-index: 1;
  top: -32px;
  left: 50%;
  width: 150px;
  transform: translateX(-50%);
  font-size: 15px;
  text-align: center;
  color: #b8b8ca;
}
.artifact-card--compact {
  width: 150px;
  height: 172px;
  overflow: visible;
}
.artifact-card--compact img {
  width: 86%;
  height: 86%;
}
.artifact-inspector {
  padding: 12px 16px 14px;
  overflow: hidden;
  border-right: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 13, 25, 0.98),
      rgba(4, 9, 18, 0.98));
}
.equipped-artifact-panel,
.artifact-comparison-panel {
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(101, 116, 159, 0.3);
  background:
    linear-gradient(
      180deg,
      rgba(7, 15, 28, 0.94),
      rgba(3, 9, 18, 0.98)),
    radial-gradient(
      circle at 50% 22%,
      rgba(64, 67, 111, 0.16),
      transparent 36%);
}
.equipped-artifact-panel {
  display: grid;
  grid-template-rows: 362px 252px minmax(0, 1fr);
}
.equipped-artifact-feature,
.artifact-parameter-section,
.artifact-empty-comparison {
  min-height: 0;
}
.equipped-artifact-feature h2,
.artifact-parameter-section h2,
.artifact-empty-comparison h2,
.artifact-comparison-cards h2,
.comparison-section h2 {
  display: grid;
  place-items: center;
  height: 42px;
  margin: 0;
  border-bottom: 1px solid var(--ui-line);
  background: rgba(15, 24, 42, 0.74);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #aeb3d2;
}
.equipped-artifact-feature__body {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  height: calc(100% - 42px);
  padding: 20px 40px;
}
.equipped-artifact-feature__body .artifact-card {
  width: 220px;
  height: 238px;
}
.equipped-artifact-feature__body > div:last-child {
  display: grid;
  justify-items: start;
  gap: 10px;
}
.equipped-artifact-feature__body > div > strong {
  font-size: 22px;
  font-weight: 500;
  color: #b8b5da;
}
.rarity-label {
  padding: 4px 8px;
  background: #63217e;
  color: #e4baf0;
}
.equipped-artifact-feature__body b {
  font-size: 21px;
  font-weight: 500;
}
.equipped-artifact-feature__body em {
  font-style: normal;
  font-size: 25px;
  color: #c852e8;
}
.equipped-artifact-feature__body small {
  font-size: 17px;
  color: #b4b7ce;
}
.equipped-artifact-feature__body i {
  font-style: normal;
  color: #67d43c;
}
.artifact-parameter-section {
  border-top: 1px solid rgba(147, 108, 64, 0.38);
  border-bottom: 1px solid rgba(147, 108, 64, 0.38);
}
.artifact-parameter-list {
  display: grid;
  gap: 13px;
  padding: 18px 22px;
}
.artifact-parameter-list > div {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}
.artifact-parameter-list span {
  color: #b4b7ce;
}
.artifact-empty-comparison {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
}
.artifact-empty-comparison h2 {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.artifact-empty-comparison h2 span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #aeb3d2;
  border-radius: 50%;
  font-size: 13px;
}
.artifact-empty-comparison > div {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 34px;
  text-align: center;
}
.artifact-empty-comparison p {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: #a4a8c2;
}
.artifact-empty-comparison > div > span {
  font-size: 92px;
  color: rgba(147, 108, 64, 0.26);
}
.artifact-comparison-panel {
  display: grid;
  grid-template-rows: 232px 174px minmax(0, 1fr) 126px 76px;
}
.artifact-comparison-cards {
  min-height: 0;
}
.artifact-comparison-cards > div {
  display: grid;
  grid-template-columns: 1fr 62px 1fr;
  align-items: center;
  justify-items: center;
  height: calc(100% - 42px);
  padding: 34px 26px 6px;
}
.artifact-comparison-cards .artifact-card {
  width: 142px;
  height: 154px;
}
.comparison-arrow {
  font-size: 58px;
  color: #a4a4cc;
}
.comparison-section {
  min-height: 0;
  border-top: 1px solid rgba(72, 88, 126, 0.28);
}
.comparison-table {
  display: grid;
  min-height: 0;
  padding: 9px 16px;
}
.comparison-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px 76px 74px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: #aeb3ca;
}
.comparison-table strong,
.comparison-table b {
  text-align: right;
  font-weight: 500;
  color: #e6e8f0;
}
.comparison-table b {
  color: #aeb3ca;
}
.is-positive {
  color: #59d43c !important;
}
.is-negative {
  color: #f04747 !important;
}
.comparison-section--hero {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
}
.comparison-section--hero h2 {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.comparison-table--hero {
  grid-template-rows: repeat(8, minmax(0, 1fr));
}
.hero-stat-label {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 6px;
}
.hero-stat-label i {
  font-style: normal;
  color: #aeb3c8;
}
.comparison-section--sets {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
}
.set-effect-list {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 5px 18px;
}
.set-effect-list > div {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 8px;
  align-items: center;
}
.set-effect-glyph {
  color: #82d42f;
}
.set-effect-glyph--rage {
  color: #e54b40;
}
.set-effect-glyph--frost {
  color: #44bde0;
}
.set-effect-glyph--abyss {
  color: #bd50e4;
}
.set-effect-list strong,
.set-effect-list b {
  font-weight: 500;
  color: #adb2c9;
}
.artifact-comparison-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 4px 20px;
}
.artifact-details-button {
  height: 60px;
  border: 1px solid #2c7097;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  background:
    linear-gradient(
      180deg,
      #0e2338,
      #091729);
  font-size: 18px;
  color: #d3d8e8;
}
.artifact-comparison-actions .action-button {
  height: 60px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.arsenal-qa-report {
  position: absolute;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  width: 350px;
  padding: 12px 16px;
  border: 1px solid #3cdbb0;
  background: rgba(4, 12, 20, 0.96);
  box-shadow: 0 0 28px rgba(45, 221, 172, 0.18);
  font-size: 12px;
  pointer-events: none;
}
.arsenal-qa-report strong {
  color: #53e3ba;
}
.arsenal-qa-report pre {
  max-height: 150px;
  margin: 8px 0 0;
  overflow: hidden;
  color: #a8b1c9;
}

/* src/ui/talents/talents.css */
.talent-view-branch,
.talent-view-inspector {
  border: 1px solid var(--ui-line);
  background:
    linear-gradient(
      180deg,
      rgba(8, 15, 31, 0.94),
      rgba(5, 10, 22, 0.98));
}
.talent-view-branch {
  --talent-tone: #ff514b;
  --talent-border: rgba(255, 81, 75, 0.42);
  display: grid;
  grid-template-rows: 70px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-color: var(--talent-border);
  clip-path: polygon(3% 0, 97% 0, 100% 2%, 100% 98%, 97% 100%, 3% 100%, 0 98%, 0 2%);
  background:
    radial-gradient(
      circle at 50% 18%,
      color-mix(in srgb, var(--talent-tone) 20%, transparent),
      transparent 45%),
    linear-gradient(
      180deg,
      rgba(16, 12, 27, 0.96),
      rgba(4, 8, 18, 0.99));
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.44);
}
.talent-view-branch--cyan {
  --talent-tone: #49ddf0;
  --talent-border: rgba(73, 221, 240, 0.4);
}
.talent-view-branch--violet {
  --talent-tone: #c554ed;
  --talent-border: rgba(197, 84, 237, 0.4);
}
.talent-view-branch > header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--talent-tone) 22%, transparent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--talent-tone) 9%, transparent),
      transparent);
  color: var(--talent-tone);
}
.talent-view-branch > header img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.talent-view-branch > header div {
  display: grid;
  text-align: center;
}
.talent-view-branch > header strong {
  font-size: 16px;
  letter-spacing: 0.05em;
}
.talent-view-branch > header small {
  font-size: 17px;
  color: #d5d8e8;
}
.talent-view-tree {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  place-items: center;
  min-height: 0;
  padding: 8px 14px 12px;
  isolation: isolate;
}
.talent-view-tree::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  background:
    radial-gradient(
      circle at 24% 25%,
      var(--talent-tone) 0 1px,
      transparent 2px),
    radial-gradient(
      circle at 72% 64%,
      var(--talent-tone) 0 1px,
      transparent 2px);
  background-size: 33px 41px, 47px 37px;
}
.talent-view-tree__connections {
  position: absolute;
  inset: 9% 12%;
  z-index: -1;
  opacity: 0.68;
  pointer-events: none;
}
.talent-view-connection {
  position: absolute;
  display: block;
  height: 2px;
  transform-origin: left center;
  background:
    linear-gradient(
      90deg,
      #747b94,
      var(--talent-tone));
  box-shadow: 0 0 8px color-mix(in srgb, var(--talent-tone) 48%, transparent);
}
.talent-view-connection--center {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      var(--talent-tone),
      rgba(126, 130, 145, 0.42));
}
.talent-view-connection--upper-left {
  top: 7%;
  left: 50%;
  width: 43%;
  transform: rotate(145deg);
}
.talent-view-connection--upper-right {
  top: 7%;
  left: 50%;
  width: 43%;
  transform: rotate(35deg);
}
.talent-view-connection--left {
  top: 22%;
  bottom: 20%;
  left: 15%;
  width: 2px;
  height: 58%;
  background: rgba(132, 137, 153, 0.52);
}
.talent-view-connection--right {
  top: 22%;
  bottom: 20%;
  right: 15%;
  width: 2px;
  height: 58%;
  background: rgba(132, 137, 153, 0.52);
}
.talent-view-connection--lower-left {
  bottom: 7%;
  left: 15%;
  width: 43%;
  transform: rotate(35deg);
  background: rgba(132, 137, 153, 0.52);
}
.talent-view-connection--lower-right {
  right: 15%;
  bottom: 7%;
  width: 43%;
  transform: rotate(145deg);
  transform-origin: right center;
  background: rgba(132, 137, 153, 0.52);
}
.talent-view-node {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(4, 8, 17, 0.86);
  transition:
    transform 140ms ease,
    filter 140ms ease,
    box-shadow 140ms ease;
}
.talent-view-node img {
  display: block;
  width: 92px;
  height: 92px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.talent-view-node--learned,
.talent-view-node--available {
  filter: saturate(1.12) brightness(1.07);
}
.talent-view-node--locked {
  filter: saturate(0.42) brightness(0.58);
}
button.talent-view-node:hover {
  z-index: 2;
  transform: scale(1.08);
  filter: saturate(1.24) brightness(1.16);
}
.talent-view-node.is-selected {
  z-index: 3;
  border-color: #f0ce65;
  box-shadow: 0 0 0 4px rgba(238, 201, 91, 0.18), 0 0 24px color-mix(in srgb, var(--talent-tone) 72%, transparent);
}
.talent-view-inspector {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  min-height: 0;
  padding: 14px 18px;
  overflow: hidden;
}
.talent-view-inspector__icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(224, 82, 78, 0.68);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(129, 31, 38, 0.5),
      #0a0d18 72%);
  box-shadow: 0 0 20px rgba(221, 65, 62, 0.22);
}
.talent-view-inspector__icon--cyan {
  border-color: rgba(71, 214, 232, 0.68);
  background:
    radial-gradient(
      circle,
      rgba(20, 102, 120, 0.5),
      #0a0d18 72%);
}
.talent-view-inspector__icon--violet {
  border-color: rgba(193, 76, 230, 0.68);
  background:
    radial-gradient(
      circle,
      rgba(100, 30, 133, 0.5),
      #0a0d18 72%);
}
.talent-view-inspector__icon img {
  width: 124px;
  height: 124px;
  max-width: none;
  object-fit: contain;
}
.talent-view-inspector__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px 18px;
  min-width: 0;
  min-height: 0;
}
.talent-view-inspector__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  min-width: 0;
}
.talent-view-inspector__title h2 {
  margin: 0;
  overflow: hidden;
  font-size: 21px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.talent-view-inspector__title > span {
  color: #9699ad;
}
.talent-view-branch-label {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-size: 11px;
  color: #ec5a55;
}
.talent-view-branch-label--cyan {
  color: #4bd9e8;
}
.talent-view-branch-label--violet {
  color: #c65ae9;
}
.talent-view-inspector p {
  grid-column: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #bbbccc;
}
.talent-view-next {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 14px;
  border-left: 1px solid var(--ui-line);
  color: #aeb1c6;
}
.talent-view-next > span {
  display: grid;
  gap: 5px;
}
.talent-view-next strong {
  font-size: 18px;
  white-space: nowrap;
  color: var(--ui-green);
}
.talent-view-next i {
  margin: 0 6px;
  font-style: normal;
  color: #48ded2;
}
.talent-view-requirements {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-top: 7px;
  border-top: 1px solid rgba(95, 106, 146, 0.22);
  font-size: 13px;
  color: #a8aabd;
}
.talent-view-requirements strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.talent-view-requirements strong img {
  width: 24px;
  height: 24px;
}
.talent-view-requirements b {
  font-weight: 500;
  color: #a6b585;
}

/* src/screens/talents/talents-screen.css */
.talents-screen {
  background:
    radial-gradient(
      circle at 50% 10%,
      rgba(81, 38, 145, 0.22),
      transparent 36%),
    linear-gradient(
      180deg,
      #070a17,
      #03060e);
}
.talents-screen__top-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: 100%;
  padding: 0 20px;
  border-left: 1px solid var(--ui-line);
  color: #9ea4c2;
}
.talents-screen__top-status span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.talents-screen__top-status img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.talents-screen__top-status b {
  color: #eceefa;
}
.talents-screen__workspace {
  display: grid;
  grid-template-rows: 62px minmax(0, 1fr) 212px;
  gap: 12px;
  height: calc(var(--ui-canvas-height) - var(--ui-topbar-height));
  min-height: 0;
  padding: 14px 24px 20px;
}
.talents-screen__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px 170px 50px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--ui-line);
  background: rgba(7, 12, 28, 0.9);
}
.talents-screen__toolbar-title {
  display: grid;
  gap: 4px;
  padding-left: 22px;
}
.talents-screen__toolbar strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}
.talents-screen__toolbar span {
  font-size: 13px;
  color: #999fbd;
}
.talents-screen__toolbar button {
  height: 100%;
  border-left: 1px solid var(--ui-line);
  background: rgba(13, 20, 43, 0.75);
  font-weight: 700;
  color: #adb3d2;
}
.talents-screen__toolbar button:hover {
  color: #fff;
  background: rgba(55, 35, 90, 0.72);
}
.talents-screen__branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  min-height: 0;
}
.talents-screen__branches .talent-view-branch {
  grid-template-rows: 74px minmax(0, 1fr);
}
.talents-screen__branches .talent-view-branch > header strong {
  font-size: 19px;
}
.talents-screen__branches .talent-view-branch > header small {
  font-size: 19px;
}
.talents-screen__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.talents-screen__action {
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--ui-action-height);
  gap: 10px;
  align-items: end;
  min-width: 0;
  padding: 18px 18px 0;
  border: 1px solid var(--ui-line);
  background:
    linear-gradient(
      180deg,
      rgba(9, 14, 31, 0.96),
      rgba(5, 9, 20, 0.98));
}
.talents-screen__action > span {
  align-self: center;
  text-align: center;
  color: #a7abc4;
}
