.forever-armory {
  width: min(1600px, calc(100% - 48px));
  margin: 28px auto 64px;
  color: #f3f4f6;
  --armory-bg: #080d15;
  --armory-surface: #101a28;
  --armory-secondary: #142235;
  --armory-gold: #d9ad58;
  --armory-highlight: #f5d58b;
  --armory-muted: #9cafc3;
  --armory-accent: #38bdf8;
  --armory-border: #59472e;
}

.forever-armory *,
.forever-armory *::before,
.forever-armory *::after { box-sizing: border-box; }

.forever-armory__back {
  display: inline-flex;
  margin: 0 0 14px 2px;
  color: #89d7ff;
  font-weight: 800;
  text-decoration: none;
}
.forever-armory__back:hover { color: #d5f3ff; }

.armory-search-panel {
  position: relative;
  overflow: hidden;
  padding: 23px 26px 18px;
  border: 1px solid rgba(217, 173, 88, .32);
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 93% -30%, rgba(56, 189, 248, .13), transparent 48%),
    repeating-linear-gradient(132deg, transparent 0 17px, rgba(255, 255, 255, .018) 17px 19px),
    linear-gradient(120deg, #101a28, #0c1828 58%, #111b2b);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}
.armory-search-panel__heading h1 { margin: 4px 0 4px; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.armory-search-panel__heading h1 em { color: #78d7ff; font-style: normal; }
.armory-search-panel__heading p { margin: 0; color: #b7c8d8; font-size: 14px; }
.eyebrow { color: #75cef2; font-size: 10px; font-weight: 900; letter-spacing: .16em; }

.forever-armory-search {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(145px, .65fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 16px;
  padding: 11px;
  border: 1px solid rgba(126, 171, 199, .22);
  border-radius: 13px;
  background: rgba(4, 12, 20, .55);
}
.forever-armory-search label { display: grid; gap: 6px; color: #bdcad6; font-size: 11px; font-weight: 800; }
.forever-armory-search input,
.forever-armory-search select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(145, 172, 195, .3);
  border-radius: 8px;
  outline: none;
  background: #0a1420;
  color: #f3f4f6;
  font: inherit;
  font-size: 14px;
}
.forever-armory-search input:focus,
.forever-armory-search select:focus { border-color: #8ddcff; box-shadow: 0 0 0 3px rgba(56, 189, 248, .16); }
.forever-armory-search option { background: #0a1420; }
.forever-armory-search button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255, 220, 145, .55);
  border-radius: 8px;
  background: linear-gradient(#94713b, #61451e);
  color: #fff3d6;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.forever-armory-search button:hover { background: linear-gradient(#b28a49, #765623); }
.forever-armory-search button:disabled { opacity: .72; cursor: progress; }
.forever-armory__note { margin: 9px 2px 0; color: #91a5b8; font-size: 12px; line-height: 1.45; }
.forever-armory-search__status { min-height: 0; margin: 0; color: #b5dff1; font-size: 12px; }
.forever-armory-search__status:not(:empty) { min-height: 18px; margin: 6px 2px 0; }

.forever-armory__error,
.forever-armory__empty {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(239, 112, 89, .52);
  border-radius: 12px;
  background: rgba(89, 29, 27, .42);
  color: #ffe1d8;
  line-height: 1.5;
}

.armory-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(330px, .92fr);
  align-items: start;
  gap: 18px;
  margin-top: 20px;
}
.panel-metal {
  min-width: 0;
  border: 1px solid rgba(217, 173, 88, .28);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(20, 34, 53, .96), rgba(10, 20, 33, .98)),
    #101a28;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035);
}

.armory-profile {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(270px, .9fr) minmax(0, 1.8fr);
  grid-template-areas: "identity facts" "tabs tabs" "professions professions" "footer footer";
  align-items: center;
  gap: 18px 34px;
  margin: 0;
  padding: 25px 30px 20px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(56, 189, 248, .11), transparent 42%),
    linear-gradient(120deg, rgba(20, 34, 53, .96), rgba(10, 20, 33, .98));
}
.armory-profile__identity { grid-area: identity; }
.armory-faction {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 5px 13px 5px 6px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .015em;
}
.armory-faction img {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.armory-faction--horde { border-color: rgba(226, 86, 72, .46); background: linear-gradient(135deg, rgba(144, 36, 31, .25), rgba(28, 18, 24, .72)); color: #ffd5ce; }
.armory-faction--alliance { border-color: rgba(72, 154, 231, .46); background: linear-gradient(135deg, rgba(29, 91, 155, .3), rgba(15, 28, 46, .78)); color: #cceaff; }
.armory-profile__identity h2 {
  margin: 12px 0 4px;
  color: var(--class-color, #f3f4f6);
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.05;
  overflow-wrap: anywhere;
  letter-spacing: -.035em;
}
.armory-profile__classline { margin: 0; color: #cad4df; font-size: 13px; line-height: 1.45; }
.armory-profile__spec { margin: 5px 0 0; color: var(--armory-gold); font-size: 12px; font-weight: 750; }
.armory-profile__facts { display: grid; grid-area: facts; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 8px; margin: 0; overflow: visible; border: 0; border-radius: 0; background: none; }
.armory-profile__facts > div { min-width: 0; padding: 10px 12px; border: 1px solid rgba(126, 153, 176, .16); border-radius: 10px; background: rgba(4, 12, 20, .38); }
.armory-profile__facts dt { color: #8fa5b9; font-size: 10px; }
.armory-profile__facts dd { margin: 3px 0 0; color: #eef4fa; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.armory-profile__fact--level { background: rgba(217, 173, 88, .07); }
.armory-profile__fact--level dd { color: var(--armory-highlight); font-size: 23px; }
.armory-profile__fact--ilvl dd { color: #d9e7f1; font-size: 20px; }
.armory-profile__tabs { grid-area: tabs; display: flex; align-items: center; gap: 8px; overflow-x: auto; margin: 0 -30px; padding: 0 30px 12px; border-bottom: 1px solid rgba(126, 153, 176, .17); scrollbar-width: thin; }
.armory-profile__tabs a { flex: 0 0 auto; padding: 8px 12px; border-radius: 7px; color: #b6c8d8; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.armory-profile__tabs a:first-child { background: rgba(217, 173, 88, .14); color: var(--armory-highlight); }
.armory-profile__tabs a:hover,
.armory-profile__tabs a:focus-visible { background: rgba(217, 173, 88, .11); color: var(--armory-highlight); outline: none; }
.armory-profile__professions { grid-area: professions; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; gap: 12px 22px; margin: 0; }
.armory-profile__professions h3 { grid-column: 1 / -1; margin: 0; color: var(--armory-highlight); font-size: 15px; }
.armory-profession { display: grid; gap: 7px; margin: 0; }
.armory-profession > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #c4d0dc; font-size: 12px; }
.armory-profession strong { color: #eff6fb; font-size: 11px; white-space: nowrap; }
.armory-profession__track { display: block; height: 5px; overflow: hidden; border-radius: 9px; background: rgba(3, 8, 13, .8); }
.armory-profession__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #85672e, #e6bf69); }
.armory-profile__footer { grid-area: footer; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(126, 153, 176, .18); color: #879bad; font-size: 10px; }
.armory-profile__footer time { color: #c4d0dc; font-size: 11px; }
.armory-profile__footer a { width: fit-content; margin-top: 4px; color: #7fd7ff; font-size: 11px; font-weight: 800; text-decoration: none; }
.armory-profile__footer a:hover { text-decoration: underline; }

.armory-paperdoll { position: relative; padding: 22px 22px 17px; border-radius: 18px; }
.armory-paperdoll__heading,
.armory-stats__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.armory-paperdoll__heading h2,
.armory-stats__heading h2 { margin: 4px 0 0; color: #f2f4f6; font-size: 21px; line-height: 1.12; letter-spacing: -.025em; }
.armory-paperdoll__heading h2 span { color: var(--armory-gold); font-size: .76em; }
.armory-paperdoll__ilvl { color: var(--armory-highlight); font-size: 20px; font-weight: 900; text-align: right; }
.armory-paperdoll__ilvl small { display: block; color: #9cafc3; font-size: 9px; font-weight: 650; }
.armory-paperdoll__stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .95fr) minmax(0, 1fr); align-items: center; gap: 16px; min-height: 0; margin-top: 18px; padding: 22px 16px; overflow: visible; border: 1px solid rgba(217, 173, 88, .19); border-radius: 15px; background: #07111b; }
.armory-paperdoll__stage:has(.armory-slot-bis[open]) { z-index: 12; }
.armory-paperdoll__stage::before { position: absolute; z-index: 0; inset: 0; border-radius: inherit; background-image: linear-gradient(90deg, rgba(4, 11, 18, .78), rgba(4, 11, 18, .48) 27%, rgba(4, 11, 18, .24) 50%, rgba(4, 11, 18, .48) 73%, rgba(4, 11, 18, .78)), linear-gradient(180deg, rgba(4, 11, 18, .12), rgba(4, 11, 18, .56)), var(--race-background); background-position: center; background-size: cover; content: ""; pointer-events: none; }
.armory-paperdoll__stage > * { position: relative; z-index: 1; }
.armory-paperdoll__side { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
.armory-paperdoll__character { position: relative; isolation: isolate; display: grid; justify-items: center; align-content: center; width: 100%; height: 410px; min-width: 0; margin: 0; overflow: hidden; }
.armory-paperdoll__character::before { position: absolute; z-index: 0; inset: 2% -28% 4%; background: radial-gradient(ellipse at 50% 44%, color-mix(in srgb, var(--character-glow, #38bdf8) 30%, transparent), transparent 62%), linear-gradient(180deg, transparent 52%, rgba(4, 11, 18, .46)); opacity: .82; content: ""; pointer-events: none; }
.armory-paperdoll__avatar,
.armory-paperdoll__portrait-fallback { position: relative; z-index: 1; display: block; width: 100%; max-width: 228px; height: 260px; object-fit: contain; object-position: center; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .58)); }
.armory-paperdoll__render { position: absolute; z-index: 1; top: 50%; left: 50%; display: block; width: min(340%, 1060px); max-width: none; height: auto; transform: translate(-50%, -56.42%); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .58)); }
.armory-paperdoll__portrait-fallback { display: grid; place-items: center; padding: 12px; border: 1px solid rgba(217, 173, 88, .24); border-radius: 80px 80px 20px 20px; background: radial-gradient(ellipse, rgba(217, 173, 88, .14), rgba(8, 13, 21, .95) 72%); color: #cdb275; font-size: 13px; text-align: center; }
.armory-paperdoll__character figcaption { position: absolute; z-index: 2; right: 2px; bottom: 3px; left: 2px; margin: 0; color: #a9b6c3; font-size: 10px; text-align: center; }
.armory-paperdoll__side:has(.armory-slot:hover),
.armory-paperdoll__side:has(.armory-slot[open]),
.armory-paperdoll__side:has(.armory-slot-bis[open]),
.armory-paperdoll__weapons:has(.armory-slot:hover),
.armory-paperdoll__weapons:has(.armory-slot[open]),
.armory-paperdoll__weapons:has(.armory-slot-bis[open]),
.armory-paperdoll__other:has(.armory-slot:hover),
.armory-paperdoll__other:has(.armory-slot[open]) { z-index: 8; }
.armory-paperdoll__other:has(.armory-slot-bis[open]) { z-index: 8; }
.armory-slot-wrap { position: relative; z-index: 0; display: grid; gap: 4px; min-width: 0; }
.armory-slot-wrap:has(.armory-slot-bis[open]) { z-index: 30; }
.armory-slot { position: relative; min-width: 0; }
.armory-slot-wrap > .armory-slot { width: 100%; }
.armory-slot:hover,
.armory-slot[open] { z-index: 10; }
.armory-slot > summary { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; column-gap: 11px; min-height: 63px; padding: 6px 9px; border: 1px solid rgba(153, 165, 177, .32); border-radius: 10px; outline: none; background: linear-gradient(145deg, rgba(30, 42, 55, .92), rgba(9, 17, 27, .95)); list-style: none; cursor: pointer; }
.armory-slot > summary::-webkit-details-marker { display: none; }
.armory-slot > summary:hover,
.armory-slot > summary:focus-visible { border-color: #e3c17c; background: linear-gradient(145deg, rgba(60, 54, 38, .94), rgba(13, 21, 31, .98)); box-shadow: 0 0 0 2px rgba(217, 173, 88, .13); }
.armory-slot--empty > summary { border-style: dashed; border-color: rgba(126, 142, 159, .22); background: rgba(5, 12, 19, .32); }
.armory-slot--empty .armory-slot__icon { border-color: #455260; opacity: .48; box-shadow: none; }
.armory-slot--empty .armory-slot__icon img { filter: grayscale(1); opacity: .38; }
.armory-slot--empty .armory-slot__label,
.armory-slot--empty .armory-slot__item { color: #6f8091; }
.armory-slot--empty > summary:hover,
.armory-slot--empty > summary:focus-visible { border-color: #8293a2; }
.armory-slot__icon { grid-row: span 2; display: block; width: 46px; height: 46px; overflow: hidden; border: 2px solid var(--item-quality, #aaa); border-radius: 7px; background: #05090e; box-shadow: 0 1px 7px color-mix(in srgb, var(--item-quality, #aaa) 28%, transparent); }
.armory-slot__icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.armory-slot__label { align-self: end; overflow: hidden; color: #99a9b8; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.armory-slot__item { display: -webkit-box; align-self: start; overflow: hidden; color: var(--item-quality, #e9eef4); font-size: 12px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.armory-slot__tooltip { position: absolute; z-index: 20; top: calc(100% + 5px); left: 50%; display: none; width: min(300px, calc(100vw - 40px)); padding: 12px; transform: translateX(-50%); border: 1px solid rgba(216, 186, 119, .76); border-radius: 9px; background: rgba(5, 12, 20, .98); box-shadow: 0 12px 30px rgba(0, 0, 0, .55); color: #e8eef3; }
.armory-paperdoll:has(.armory-slot-bis[open]) .armory-slot__tooltip { display: none !important; }
.armory-slot[open] .armory-slot__tooltip { display: grid; gap: 5px; }
.armory-paperdoll__side--left .armory-slot__tooltip { left: 0; transform: none; }
.armory-paperdoll__side--right .armory-slot__tooltip { right: 0; left: auto; transform: none; }
.armory-paperdoll__side .armory-slot__tooltip,
.armory-paperdoll__weapons .armory-slot__tooltip,
.armory-paperdoll__other .armory-slot__tooltip { top: auto; bottom: calc(100% + 5px); }
@media (hover: hover) and (pointer: fine) {
  .armory-slot > summary { cursor: help; }
  .armory-slot:hover .armory-slot__tooltip { display: grid; gap: 5px; }
}
.armory-slot__tooltip-slot { color: #9cafc3; font-size: 10px; }
.armory-slot__tooltip-name { color: var(--item-quality, #fff); font-size: 14px; font-weight: 850; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.armory-slot__tooltip-name:hover { text-decoration: underline; }
.armory-slot__tooltip-name span { color: #8bdcff; font-size: 10px; }
.armory-slot__quality { color: var(--item-quality, #dbe5ed); font-size: 11px; }
.armory-slot__tooltip-level { color: #e2c574; font-size: 12px; }
.armory-slot__details { display: grid; gap: 4px; margin-top: 3px; padding-top: 7px; border-top: 1px solid rgba(149, 165, 181, .16); color: #d0d9e2; font-size: 11px; line-height: 1.4; }
.armory-slot__effect { color: #8fe08b; }
.armory-slot__missing { margin: 3px 0 0; color: #9cafc3; font-size: 11px; line-height: 1.4; }
.armory-paperdoll__weapons,
.armory-paperdoll__other { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.armory-paperdoll__weapons > .armory-slot-wrap { width: min(32%, 240px); }
.armory-paperdoll__other > .armory-slot-wrap { width: min(32%, 240px); }
.armory-paperdoll__weapons,
.armory-paperdoll__other { gap: 12px; margin-top: 15px; }
.armory-paperdoll__caption { margin: 14px 2px 0; color: #8295a7; font-size: 11px; line-height: 1.45; text-align: center; }
.armory-paperdoll__caption a { color: #9bdfff; text-decoration: underline; text-underline-offset: 2px; }
.armory-paperdoll__empty { margin: 16px 0; color: #a9b8c7; font-size: 13px; text-align: center; }

.armory-stats { display: block; grid-template-columns: none; gap: 0; margin: 0; padding: 17px 15px 14px; }
.armory-stats__heading { display: block; align-items: start; }
.armory-stats__heading > .eyebrow { display: block; }
.armory-stats__heading h2 { font-size: 23px; }
.armory-stats__nav { display: flex; gap: 5px; overflow-x: auto; margin: 13px -2px 10px; padding: 0 2px 5px; scrollbar-width: thin; }
.armory-stats__nav a { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(217, 173, 88, .28); border-radius: 999px; color: #c9d5df; font-size: 10px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.armory-stats__nav a:hover,
.armory-stats__nav a:focus-visible { border-color: var(--armory-gold); color: var(--armory-highlight); outline: none; }
.armory-stats__sections { display: grid; gap: 9px; }
.armory-stat-group { scroll-margin-top: 20px; padding: 10px; border: 1px solid rgba(131, 153, 174, .18); border-radius: 9px; background: rgba(3, 10, 17, .52); }
.armory-stat-group h3 { margin: 0 0 7px; color: var(--armory-highlight); font-size: 12px; }
.armory-stat-group dl { display: grid; gap: 1px; margin: 0; }
.armory-stat-group dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 1px; border-bottom: 1px solid rgba(142, 162, 181, .09); }
.armory-stat-group dl > div:last-child { border-bottom: 0; }
.armory-stat-group dt { color: #9cafc3; font-size: 11px; line-height: 1.25; }
.armory-stat-group dd { margin: 0; color: #edf2f6; font-size: 11px; font-weight: 850; text-align: right; white-space: nowrap; }
.armory-stats__notice { margin: 11px 1px 0; color: #8295a7; font-size: 10px; line-height: 1.45; }
.armory-stats__unavailable { margin: 14px 0; color: #b6c3cf; font-size: 13px; line-height: 1.5; }
.forever-armory__source { margin: 12px 2px 0; color: #879bad; font-size: 11px; line-height: 1.5; }

.armory-extra-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; margin-top: 18px; }
.armory-extra-panel { min-width: 0; padding: 22px; }
.armory-extra-panel__heading .eyebrow { display: block; }
.armory-extra-panel__heading h2 { margin: 4px 0 0; color: #f2f4f6; font-size: 23px; line-height: 1.12; letter-spacing: -.025em; }
.armory-talent-specialization { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 16px 0 0; color: #a9c7d7; font-size: 13px; }
.armory-talent-specialization strong { color: var(--armory-highlight); }
.armory-talent-specialization span { margin-left: auto; color: #c7dbe8; font-weight: 800; }
.armory-talent-trees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 13px; margin-top: 15px; }
.armory-talent-tree { min-width: 0; overflow: visible; border: 1px solid rgba(77, 158, 198, .34); border-radius: 13px; background: linear-gradient(180deg, rgba(6, 31, 49, .96), rgba(4, 17, 29, .97)); }
.armory-talent-tree > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid rgba(83, 175, 218, .22); }
.armory-talent-tree > header h3 { margin: 0; color: #f1c56d; font-size: 16px; }
.armory-talent-tree > header span { flex: 0 0 auto; color: #a9c7d7; font-size: 12px; font-weight: 800; }
.armory-talent-board { position: relative; display: grid; grid-template-columns: repeat(var(--tree-cols), 64px); grid-template-rows: repeat(var(--tree-rows), 66px); justify-content: center; gap: 11px 9px; min-height: 0; padding: 16px 8px 20px; }
.armory-talent-links { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.armory-talent-links path { fill: none; stroke: rgba(130, 160, 176, .4); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 5; }
.armory-talent-links path.is-met { stroke: #67cdf4; stroke-dasharray: none; filter: drop-shadow(0 0 4px rgba(88, 203, 244, .62)); }
.armory-talent-tree:has(.armory-talent-node[open]) { position: relative; z-index: 8; }
.armory-talent-node { position: relative; z-index: 1; display: block; width: 64px; height: 64px; overflow: visible; }
.armory-talent-node:hover,
.armory-talent-node[open],
.armory-talent-node:focus-within { z-index: 60; }
.armory-talent-node > summary { position: relative; display: block; width: 64px; height: 64px; overflow: visible; border: 2px solid #314657; border-radius: 9px; outline: none; background: #08131e; filter: grayscale(1) brightness(.68); list-style: none; cursor: pointer; transition: filter .14s ease, border-color .14s ease, transform .14s ease; }
.armory-talent-node > summary::-webkit-details-marker { display: none; }
.armory-talent-node > summary:hover,
.armory-talent-node > summary:focus-visible { z-index: 2; transform: scale(1.08); border-color: #83dcff; filter: grayscale(.08) brightness(1); }
.armory-talent-node.is-selected > summary { border-color: #f1c56d; filter: none; box-shadow: 0 0 0 1px rgba(241, 197, 109, .26), 0 0 15px rgba(241, 197, 109, .4); }
.armory-talent-node > summary img { display: block; width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.armory-talent-node__rank { position: absolute; right: -8px; bottom: -8px; min-width: 32px; padding: 3px 4px; border: 1px solid #426b80; border-radius: 999px; background: #07131f; color: #c9ecf9; font-size: 10px; font-weight: 900; line-height: 1.1; text-align: center; white-space: nowrap; }
.armory-talent-node.is-selected .armory-talent-node__rank { border-color: #d2a84f; background: #2a210f; color: #ffe3a0; }
.armory-talent-tooltip { position: absolute; z-index: 30; bottom: calc(100% + 10px); left: 50%; display: none; width: 270px; max-height: min(360px, 65vh); overflow: auto; transform: translateX(-50%); padding: 12px 14px; border: 1px solid #6099b5; border-radius: 11px; background: rgba(4, 17, 28, .98); color: #d9e8f1; box-shadow: 0 14px 34px rgba(0, 0, 0, .56); font-size: 13px; line-height: 1.45; pointer-events: auto; }
.armory-talent-node:hover .armory-talent-tooltip,
.armory-talent-node:focus-within .armory-talent-tooltip,
.armory-talent-node[open] .armory-talent-tooltip { display: block; }
.armory-talent-tooltip strong { display: block; margin-bottom: 4px; color: #f1c56d; font-size: 15px; }
.armory-talent-tooltip__rank { display: block; margin-bottom: 7px; color: #8edcff; font-size: 11px; font-weight: 800; }
.armory-talent-tooltip p { margin: 0; color: #d3e2ec; white-space: pre-line; }
.armory-talent-tooltip small { display: block; margin-top: 8px; color: #99bed0; }
.armory-extra-panel__note { margin-top: 13px; }
.armory-pvp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 17px 0 0; }
.armory-pvp-stats > div { min-width: 0; padding: 13px; border: 1px solid rgba(126, 153, 176, .2); border-radius: 10px; background: rgba(4, 12, 20, .46); }
.armory-pvp-stats dt { color: #98aec0; font-size: 11px; }
.armory-pvp-stats dd { margin: 5px 0 0; color: #f1d28a; font-size: 21px; font-weight: 900; }
.armory-pvp-brackets { display: grid; gap: 8px; margin-top: 10px; }
.armory-pvp-bracket { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px; border: 1px solid rgba(126, 153, 176, .2); border-radius: 10px; background: rgba(4, 12, 20, .46); }
.armory-pvp-bracket h3 { margin: 0; color: #d7e5ef; font-size: 12px; }
.armory-pvp-bracket > strong { color: #f1d28a; font-size: 18px; }
.armory-pvp-bracket > strong small { color: #93a8b8; font-size: 9px; font-weight: 700; }
.armory-pvp-bracket > div { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 14px; color: #96aabc; font-size: 10px; }
.armory-pvp-bracket > div b { color: #dbeaf4; }
.armory-extra-panel__empty,
.armory-extra-panel__note { margin: 16px 0 0; color: #91a5b8; font-size: 12px; line-height: 1.5; }

.armory-bis-selector { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 13px 0 0; padding: 9px 11px; border: 1px solid rgba(83, 175, 218, .19); border-radius: 10px; background: rgba(4, 13, 21, .45); }
.armory-bis-selector label { color: #a8bdcc; font-size: 11px; font-weight: 750; }
.armory-bis-selector select,
.armory-bis-selector button { min-height: 34px; padding: 6px 9px; border: 1px solid rgba(111, 166, 193, .34); border-radius: 8px; background: #0a1a28; color: #e6f0f6; font: inherit; font-size: 11px; }
.armory-bis-selector select { min-width: 180px; }
.armory-bis-selector button { border-color: rgba(83, 175, 218, .56); background: linear-gradient(180deg, #1875a2, #105076); font-weight: 850; cursor: pointer; }
.armory-bis-selector small { flex: 1 0 100%; color: #8295a7; font-size: 10px; }
.armory-slot-bis { position: relative; width: fit-content; max-width: 100%; }
.armory-slot-bis > summary { position: relative; display: grid; place-items: center; box-sizing: border-box; width: 29px; height: 29px; padding: 2px; border: 1px solid rgba(217, 173, 88, .72); border-radius: 7px; outline: none; background: linear-gradient(135deg, rgba(82, 61, 24, .76), rgba(18, 26, 34, .95)); cursor: pointer; list-style: none; }
.armory-slot-bis > summary::after { position: absolute; right: -7px; bottom: -4px; padding: 1px 3px; border: 1px solid rgba(5, 12, 20, .9); border-radius: 4px; background: #d9ad58; color: #17130a; content: "BiS"; font-size: 7px; font-weight: 950; line-height: 1.1; }
.armory-slot-bis > summary::-webkit-details-marker { display: none; }
.armory-slot-bis > summary:hover,
.armory-slot-bis > summary:focus-visible,
.armory-slot-bis[open] > summary { border-color: #ffe08b; box-shadow: 0 0 0 2px rgba(217, 173, 88, .15); }
.armory-slot-bis > summary img { display: block; width: 22px; height: 22px; border: 1px solid rgba(255, 220, 131, .62); border-radius: 4px; object-fit: cover; }
.armory-slot-bis__fallback-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: #111d2b; color: #9cafc3; font-size: 17px; font-weight: 900; }
.armory-slot-bis__popover { position: absolute; top: calc(100% + 6px); left: 0; box-sizing: border-box; z-index: 90; width: min(300px, calc(100vw - 42px)); margin: 0; padding: 12px; border: 1px solid rgba(216, 186, 119, .76); border-radius: 11px; background: rgba(5, 12, 20, .985); box-shadow: 0 10px 24px rgba(0, 0, 0, .42); color: #e8eef3; }
.armory-paperdoll__side > .armory-slot-wrap:nth-child(n+4) .armory-slot-bis__popover,
.armory-paperdoll__weapons .armory-slot-bis__popover,
.armory-paperdoll__other .armory-slot-bis__popover { top: auto; bottom: calc(100% + 6px); background: #050c14; }
.armory-paperdoll__side--right .armory-slot-bis__popover { right: 0; left: auto; }
.armory-slot-bis__popover > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.armory-slot-bis__popover > header strong { color: #f0cf7d; font-size: 12px; }
.armory-slot-bis__status { color: #9cafc3; font-size: 9px; font-weight: 850; text-align: right; }
.armory-slot-bis__status--already { color: #91ddb7; }
.armory-slot-bis__status--replace { color: #ffd079; }
.armory-slot-bis__status--target { color: #9eddf4; }
.armory-slot-bis__item { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.armory-slot-bis__item img { flex: 0 0 46px; width: 46px; height: 46px; border: 2px solid #d9ad58; border-radius: 7px; background: #07131f; object-fit: cover; }
.armory-slot-bis__item img { border-color: var(--item-quality, #d9ad58); }
.armory-slot-bis__item-fallback-icon { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; box-sizing: border-box; border: 2px solid var(--item-quality, #d9ad58); border-radius: 7px; background: #07131f; color: #9cafc3; font-size: 24px; font-weight: 900; }
.armory-slot-bis__item > span { display: grid; gap: 4px; min-width: 0; }
.armory-slot-bis__item strong { color: var(--item-quality, #f0cf7d); font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.armory-slot-bis__item:hover strong { color: #fff0bd; text-decoration: underline; }
.armory-slot-bis__quality { color: var(--item-quality, #9fb8c8); font-weight: 800; }
.armory-slot-bis__item small,
.armory-slot-bis__note { color: #9cafc3; font-size: 10px; }
.armory-slot-bis__stats { display: grid; gap: 4px; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(149, 165, 181, .18); color: #d4e0e8; font-size: 11px; line-height: 1.4; }
.armory-slot-bis__stats span { overflow-wrap: anywhere; }
.armory-slot-bis__delta { display: grid; gap: 5px; margin-top: 8px; padding: 8px 9px; border: 1px solid rgba(83, 175, 218, .2); border-radius: 8px; background: rgba(14, 40, 55, .46); }
.armory-slot-bis__delta > strong { color: #9fcfe1; font-size: 10px; }
.armory-slot-bis__delta > div { display: grid; gap: 3px; }
.armory-slot-bis__delta span,
.armory-slot-bis__delta small { font-size: 10px; line-height: 1.35; }
.armory-slot-bis__delta--increase { color: #8ee3ad; }
.armory-slot-bis__delta--decrease { color: #ffc184; }
.armory-slot-bis__delta small { color: #9cafc3; }
.armory-slot-bis__current { margin: 9px 0 0; color: #8fa5b9; font-size: 10px; line-height: 1.4; }
.armory-slot-bis__current strong { color: #c9d7e1; }
.armory-slot-bis__note { display: block; margin-top: 7px; line-height: 1.4; }
.armory-slot-bis__empty-stats { margin: 8px 0 0; color: #9cafc3; font-size: 10px; }

.forever-armory__about { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.forever-armory__about article { padding: 17px; border: 1px solid rgba(217, 173, 88, .22); border-radius: 13px; background: linear-gradient(145deg, #142235, #0d1826); }
.forever-armory__about article > span { color: var(--armory-gold); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.forever-armory__about h2 { margin: 8px 0 5px; font-size: 16px; }
.forever-armory__about p { margin: 0; color: #9cafc3; font-size: 12px; line-height: 1.5; }

.forever-armory-promo .forever-addons-promo__content { max-width: calc(100% - 360px); }

@media (max-width: 1180px) {
  .armory-dashboard { grid-template-columns: minmax(0, 1fr); }
  .armory-stats__sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .forever-armory { width: calc(100% - 28px); margin: 18px auto 42px; }
  .armory-search-panel { padding: 19px 15px 14px; border-radius: 15px; }
  .armory-search-panel__heading p { font-size: 13px; }
  .forever-armory-search { grid-template-columns: minmax(0, 1fr) minmax(110px, .55fr); gap: 8px; padding: 9px; }
  .forever-armory-search__name { grid-column: 1 / -1; }
  .forever-armory-search button { grid-column: 1 / -1; width: 100%; }
  .forever-armory__note { font-size: 11px; }
  .armory-dashboard { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 11px; }
  .armory-profile { grid-column: 1; grid-template-columns: minmax(0, 1fr); grid-template-areas: "identity" "facts" "tabs" "professions" "footer"; gap: 15px; padding: 19px 18px 16px; }
  .armory-profile__identity h2 { margin-top: 8px; font-size: 28px; }
  .armory-profile__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .armory-profile__tabs { flex-wrap: wrap; gap: 3px; overflow: visible; margin: 0 -18px; padding: 0 18px 10px; }
  .armory-profile__tabs a { padding: 8px 10px; font-size: 11px; }
  .armory-profile__professions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
  .armory-profile__footer { align-items: center; }
  .armory-paperdoll { padding: 19px 16px 15px; }
  .armory-paperdoll__heading h2 { font-size: 20px; }
  .armory-paperdoll__stage { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 11px; min-height: 0; margin-top: 14px; padding: 12px; }
  .armory-paperdoll__side--left { grid-column: 1; grid-row: 2; }
  .armory-paperdoll__side--right { grid-column: 2; grid-row: 2; }
  .armory-paperdoll__character { grid-column: 1 / -1; grid-row: 1; height: 245px; }
  .armory-paperdoll__avatar,
  .armory-paperdoll__portrait-fallback { height: 225px; max-width: 190px; }
  .armory-paperdoll__render { width: min(190%, 600px); }
  .armory-paperdoll__side { gap: 8px; }
  .armory-slot > summary { grid-template-columns: 42px minmax(0, 1fr); column-gap: 8px; min-height: 58px; padding: 5px 6px; }
  .armory-slot__icon { width: 40px; height: 40px; }
  .armory-slot__label { font-size: 9px; }
  .armory-slot__item { font-size: 10px; line-height: 1.25; overflow-wrap: break-word; }
  .armory-paperdoll__weapons > .armory-slot-wrap,
  .armory-paperdoll__other > .armory-slot-wrap { width: min(47%, 190px); }
  .armory-paperdoll__weapons .armory-slot > summary,
  .armory-paperdoll__other .armory-slot > summary { grid-template-columns: 40px minmax(0, 1fr); }
  .armory-paperdoll__weapons .armory-slot__icon,
  .armory-paperdoll__other .armory-slot__icon { width: 38px; height: 38px; }
  .armory-slot__tooltip { position: absolute; top: calc(100% + 5px); left: 0; width: min(360px, calc(100vw - 80px)); margin: 0; transform: none; }
  .armory-paperdoll__side--left .armory-slot__tooltip { right: auto; left: 0; transform: none; }
  .armory-paperdoll__side--right .armory-slot__tooltip { right: 0; left: auto; transform: none; }
  .armory-slot[open] .armory-slot__tooltip { display: grid; }
  .armory-bis-selector { align-items: stretch; }
  .armory-bis-selector label { flex: 0 0 100%; }
  .armory-bis-selector select { flex: 1 1 170px; min-width: 0; }
  .armory-bis-selector button { flex: 0 0 auto; }
  .armory-stats { order: 2; padding: 14px; }
  .armory-stats__sections { grid-template-columns: minmax(0, 1fr); }
  .armory-stats__nav { margin-top: 10px; }
  .armory-extra-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
  .armory-extra-panel { padding: 17px; }
  .armory-talent-trees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .armory-talent-tree:last-child { grid-column: 1 / -1; }
  .forever-armory__about { grid-template-columns: 1fr; }
  .forever-armory-promo { width: calc(100% - 32px); min-height: 0; margin: 22px auto 38px; padding: 22px; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
  .forever-armory-promo .forever-addons-promo__art { position: relative; top: auto; left: auto; width: 74px; height: 100px; transform: none; opacity: 1; grid-column: 1; grid-row: 1; align-self: start; }
  .forever-armory-promo .forever-addons-promo__content { grid-column: 2; grid-row: 1; max-width: none; min-width: 0; margin: 0; }
  .forever-armory-promo .hero-btn { grid-column: 1 / -1; margin: 0; justify-self: start; }
  .forever-armory-promo h2 { font-size: 27px; }
  .forever-armory-promo p { font-size: 14px; }
}

@media (max-width: 370px) {
  .forever-armory { width: calc(100% - 20px); }
  .armory-paperdoll__stage { gap: 8px; padding: 9px; }
  .armory-paperdoll__character { height: 200px; }
  .armory-paperdoll__avatar,
  .armory-paperdoll__portrait-fallback { height: 180px; }
  .armory-paperdoll__render { width: 500px; }
  .armory-slot > summary { grid-template-columns: 34px minmax(0, 1fr); column-gap: 5px; min-height: 51px; padding: 4px; }
  .armory-slot__icon { width: 32px; height: 32px; }
  .armory-slot__label { font-size: 8px; }
  .armory-slot__item { font-size: 10px; }
  .forever-armory-search { grid-template-columns: minmax(0, 1fr); }
  .forever-armory-search__name,
  .forever-armory-search button { grid-column: auto; }
  .forever-armory-search select { min-height: 42px; }
}

@media (max-width: 700px) {
  .armory-talent-trees { grid-template-columns: minmax(0, 1fr); }
  .armory-talent-tree:last-child { grid-column: auto; }
  .armory-paperdoll__stage::before { background-image: linear-gradient(180deg, rgba(4, 11, 18, .34), rgba(4, 11, 18, .82)), var(--race-background); background-position: center top; background-size: auto 34%; background-repeat: no-repeat; }
  .armory-talent-board { grid-template-columns: repeat(var(--tree-cols), 58px); grid-template-rows: repeat(var(--tree-rows), 61px); gap: 12px 10px; padding: 16px 8px 20px; }
  .armory-talent-node,
  .armory-talent-node > summary { width: 58px; height: 58px; }
  .armory-talent-tooltip.is-mobile-visible { position: fixed; z-index: 10000; display: block; top: auto; right: auto; bottom: auto; left: auto; box-sizing: border-box; width: min(290px, calc(100vw - 24px)); height: auto; min-height: 0; max-height: min(70dvh, 480px); overflow: auto; margin: 0; transform: none; pointer-events: auto; }
  .armory-talent-specialization span { margin-left: 0; }
  .armory-pvp-stats dd { font-size: 18px; }
}

@media (max-width: 370px) {
  .armory-talent-board { grid-template-columns: repeat(var(--tree-cols), 52px); grid-template-rows: repeat(var(--tree-rows), 55px); gap: 10px 7px; padding-right: 4px; padding-left: 4px; }
  .armory-talent-node,
  .armory-talent-node > summary { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .forever-armory *, .forever-armory *::before, .forever-armory *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.forever-armory-bis-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px 0 22px;padding:19px 22px;border:1px solid rgba(89,175,210,.32);border-radius:15px;background:linear-gradient(110deg,rgba(10,48,68,.9),rgba(12,27,48,.92))}.forever-armory-bis-entry h2{margin:5px 0;font-size:21px;color:#f1f6fb}.forever-armory-bis-entry p{max-width:820px;margin:0;color:#aebfce;font-size:13px;line-height:1.55}.forever-armory-bis-entry>a{flex:none;padding:11px 15px;border:1px solid rgba(74,192,232,.55);border-radius:10px;color:#9be4ff;font-size:13px;font-weight:850;text-decoration:none}.forever-armory-bis-entry>a:hover{background:rgba(34,135,174,.18)}@media(max-width:700px){.forever-armory-bis-entry{align-items:flex-start;flex-direction:column;gap:13px;padding:16px}.forever-armory-bis-entry>a{width:100%;text-align:center}}
