/*
 * Armory Page
 *
 * Styles the public character and guild Armory experience. Includes directory
 * search/filter layouts, character hero panels, equipment slots and tooltips,
 * 3D model viewer controls, talents/glyphs/achievements, guild roster views,
 * empty/error states, and responsive mobile behavior.
 */

.armory-page {
  min-height: calc(100vh - 150px);
  padding: 30px 20px 60px;
  position: relative;
  overflow: hidden;
}

.armory-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(74, 163, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.armory-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.armory-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #7a8aa5;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.armory-back-btn:hover {
  background: rgba(74, 163, 255, 0.15);
  border-color: rgba(74, 163, 255, 0.3);
  color: #60a5fa;
  transform: translateX(-5px);
}

.armory-back-btn i {
  font-size: 1.1rem;
}

/* Main Container */
.armory-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Character Header Card */
.armory-character-card {
  background: rgba(15, 20, 35, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.armory-character-header {
  display: flex;
  align-items: center;
  gap: 30px;
}

.armory-portrait-wrapper {
  position: relative;
  flex-shrink: 0;
}

.armory-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #4aa3ff;
  box-shadow:
    0 0 30px rgba(74, 163, 255, 0.4),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(
    135deg,
    rgba(74, 163, 255, 0.2),
    rgba(31, 111, 214, 0.2)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.armory-portrait img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.armory-online-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #50c878, #3da35d);
  border-radius: 50%;
  border: 3px solid rgba(15, 20, 35, 0.9);
  box-shadow: 0 0 12px rgba(80, 200, 120, 0.6);
  animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(80, 200, 120, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(80, 200, 120, 0.9);
  }
}

.armory-character-info {
  flex: 1;
}

.armory-name {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(to bottom, #ffffff, #4aa3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(74, 163, 255, 0.3);
}

.armory-level-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(
    135deg,
    rgba(74, 163, 255, 0.25),
    rgba(31, 111, 214, 0.25)
  );
  border: 1px solid rgba(74, 163, 255, 0.4);
  border-radius: 20px;
  color: #7bb4ff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Armory directory concept refresh */
.armory-directory-shell {
  max-width: 1220px;
}

.armory-nexus-hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 36px;
  margin-bottom: 26px;
  padding: 72px 46px 46px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 163, 255, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(
      90deg,
      rgba(4, 12, 24, 0.94),
      rgba(6, 18, 34, 0.62) 48%,
      rgba(4, 12, 24, 0.86)
    ),
    url("../img/background.jpg") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.armory-nexus-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(3, 10, 20, 0.95), transparent);
  pointer-events: none;
}

.armory-nexus-copy,
.armory-nexus-stats {
  position: relative;
  z-index: 1;
}

.armory-nexus-copy h1 {
  margin: 10px 0 12px;
  color: #eaf6ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(89, 183, 255, 0.55);
}

.armory-nexus-copy p {
  max-width: 520px;
  margin: 0;
  color: #c9def8;
  font-size: 1.02rem;
  line-height: 1.7;
}

.armory-nexus-stats {
  padding: 24px;
  border: 1px solid rgba(98, 184, 255, 0.48);
  border-radius: 12px;
  background: rgba(4, 14, 28, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.35);
}

.armory-nexus-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74, 163, 255, 0.42),
    rgba(18, 66, 136, 0.7)
  );
  color: #7fd4ff;
  font-size: 1.8rem;
}

.armory-nexus-stats strong,
.armory-nexus-stats > span,
.armory-nexus-stats em {
  display: block;
}

.armory-nexus-stats strong {
  color: #f7fbff;
  font-size: 2rem;
  line-height: 1;
}

.armory-nexus-stats > span {
  margin-top: 5px;
  color: #8ea9c9;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.armory-nexus-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.armory-nexus-stat-grid div {
  padding-left: 10px;
  border-left: 1px solid rgba(125, 175, 255, 0.18);
}

.armory-nexus-stat-grid b,
.armory-nexus-stat-grid small {
  display: block;
}

.armory-nexus-stat-grid b {
  color: #f2f8ff;
}

.armory-nexus-stat-grid small,
.armory-nexus-stats em {
  color: #8fa5c4;
  font-size: 0.72rem;
}

.armory-nexus-filters {
  display: block;
  padding: 20px 22px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 42, 0.88),
    rgba(5, 13, 24, 0.9)
  );
}

.armory-filter-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  margin-bottom: 18px;
}

.armory-filter-search label {
  position: relative;
}

.armory-filter-search label i {
  position: absolute;
  left: 16px;
  bottom: 15px;
  color: #93b6df;
  font-size: 1.3rem;
}

.armory-filter-search input {
  padding-left: 50px;
}

.armory-filter-search button,
.armory-open-profile,
.armory-featured-body a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(94, 185, 255, 0.62);
  border-radius: 10px;
  background: linear-gradient(135deg, #27a8ff, #185cf4);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(23, 111, 255, 0.28);
}

.armory-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.armory-level-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.armory-level-range b {
  color: #8fa5c4;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.armory-quick-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.armory-quick-filters > span {
  margin-right: 4px;
}

.armory-quick-filters a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(125, 175, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 17, 31, 0.75);
  color: #bdd8f8;
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
}

.armory-quick-filters a:hover {
  border-color: rgba(74, 163, 255, 0.46);
  color: #fff;
}

.armory-quick-filters a[hidden] {
  display: none;
}

.armory-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 6px;
}

.armory-results-heading h2 {
  margin: 0;
  color: #a9c8ec;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.armory-results-heading span {
  color: #8fa5c4;
  font-size: 0.8rem;
}

.armory-nexus-row {
  grid-template-columns: 88px minmax(160px, 1.2fr) minmax(110px, 0.7fr) minmax(
      150px,
      1fr
    ) minmax(150px, 1fr) minmax(120px, 0.8fr) 150px;
  min-height: 116px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(7, 18, 33, 0.88),
    rgba(7, 20, 38, 0.64)
  );
}

.armory-row-avatar {
  position: relative;
  width: 74px;
  height: 74px;
}

.armory-row-avatar img {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(125, 175, 255, 0.24);
}

.armory-row-avatar b {
  position: absolute;
  left: -8px;
  bottom: -8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: #050b13;
  color: #fff;
  font-size: 0.82rem;
}

.armory-spec-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(74, 163, 255, 0.14);
  color: #9ed1ff;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.armory-directory-guild,
.armory-directory-zone,
.armory-nexus-row .armory-directory-status {
  min-width: 0;
}

.armory-directory-guild strong,
.armory-directory-guild small,
.armory-directory-zone strong,
.armory-directory-zone small,
.armory-nexus-row .armory-directory-status strong,
.armory-nexus-row .armory-directory-status small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armory-directory-guild strong,
.armory-directory-zone strong,
.armory-nexus-row .armory-directory-status strong {
  color: #dcecff;
  font-size: 0.83rem;
}

.armory-directory-guild small,
.armory-directory-zone small,
.armory-nexus-row .armory-directory-status small {
  margin-top: 4px;
  color: #8198b8;
  font-size: 0.73rem;
}

.armory-nexus-row .armory-directory-status {
  display: block;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.armory-nexus-row .armory-directory-status.online strong {
  color: #31d38e;
}

.armory-open-profile {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(86, 154, 235, 0.4);
  background: linear-gradient(
    135deg,
    rgba(58, 115, 190, 0.9),
    rgba(27, 67, 126, 0.9)
  );
  font-size: 0.78rem;
}

.armory-directory-pagination span {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7087a8;
  font-weight: 900;
}

.armory-directory-panels {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 26px;
}

.armory-directory-panels article {
  min-width: 0;
  border: 1px solid rgba(74, 163, 255, 0.18);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 42, 0.78),
    rgba(5, 13, 24, 0.84)
  );
  padding: 18px;
}

.armory-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.armory-panel-heading h2 {
  margin: 0;
  color: #b9d6f7;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.armory-panel-heading a {
  color: #64adff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.armory-featured-body {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.armory-featured-body img {
  width: 112px;
  height: 132px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(125, 175, 255, 0.22);
}

.armory-featured-body h3 {
  margin: 0 0 6px;
  color: #79bdff;
  font-size: 1.28rem;
}

.armory-featured-body p,
.armory-featured-body strong {
  display: block;
  margin: 0 0 10px;
  color: #b8cae3;
}

.armory-featured-body a {
  min-height: 40px;
  margin-top: 14px;
}

.armory-mini-character-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.armory-mini-character-list a {
  min-width: 0;
  color: #dcecff;
  text-align: center;
  text-decoration: none;
}

.armory-mini-character-list img {
  width: 58px;
  height: 58px;
  display: block;
  margin: 0 auto 8px;
  border-radius: 8px;
  object-fit: cover;
}

.armory-mini-character-list strong,
.armory-mini-character-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armory-mini-character-list small {
  color: #8fa5c4;
}

.armory-top-guilds {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.armory-top-guilds a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dcecff;
  text-decoration: none;
}

.armory-top-guilds span {
  color: #8fa5c4;
  font-size: 0.78rem;
  white-space: nowrap;
}

.armory-class-bars {
  display: grid;
  gap: 10px;
}

.armory-class-bars div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 9px;
  color: #dcecff;
  font-size: 0.8rem;
  font-weight: 900;
}

.armory-class-bars i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c7dff, #45d0ff);
}

@media (max-width: 1100px) {
  .armory-nexus-hero,
  .armory-filter-search,
  .armory-directory-panels {
    grid-template-columns: 1fr;
  }

  .armory-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .armory-nexus-row {
    grid-template-columns: 80px minmax(0, 1fr) minmax(120px, 0.7fr) minmax(
        130px,
        0.8fr
      );
  }

  .armory-nexus-row .armory-directory-guild,
  .armory-nexus-row .armory-directory-zone,
  .armory-open-profile {
    display: none;
  }
}

@media (max-width: 720px) {
  .armory-nexus-hero {
    padding: 42px 20px 28px;
  }

  .armory-nexus-copy h1 {
    font-size: 3rem;
  }

  .armory-filter-grid,
  .armory-nexus-row,
  .armory-featured-body {
    grid-template-columns: 1fr;
  }

  .armory-nexus-row {
    justify-items: start;
  }

  .armory-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-mini-character-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .armory-directory-meta,
  .armory-directory-status {
    display: block;
  }
}

.armory-identity-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.armory-identity-badges .armory-level-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 0;
}

.armory-details-row {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.armory-class-race {
  display: flex;
  align-items: center;
  gap: 10px;
}

.armory-class-race img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.armory-class-race span {
  color: #cfeaff;
  font-weight: 500;
  font-size: 1.05rem;
}

.armory-faction-badge {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.armory-faction-badge.alliance {
  background: linear-gradient(
    135deg,
    rgba(69, 120, 196, 0.3),
    rgba(45, 90, 160, 0.3)
  );
  color: #6ba3e0;
  border: 1px solid rgba(69, 120, 196, 0.5);
}

.armory-faction-badge.horde {
  background: linear-gradient(
    135deg,
    rgba(163, 51, 51, 0.3),
    rgba(130, 40, 40, 0.3)
  );
  color: #e06b6b;
  border: 1px solid rgba(163, 51, 51, 0.5);
}

.armory-guild-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: #d7e6ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.armory-guild-badge i {
  color: #7bb4ff;
}

a.armory-guild-badge:hover {
  border-color: rgba(74, 163, 255, 0.42);
  background: rgba(74, 163, 255, 0.12);
  color: #f4f8ff;
}

.armory-money-display {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.armory-money-display .money-gold {
  color: #ffd700;
  font-weight: 700;
  font-size: 1.1rem;
}

.armory-money-display .money-silver {
  color: #c0c0c0;
  font-weight: 600;
}

.armory-money-display .money-copper {
  color: #b87333;
  font-weight: 600;
}

.armory-played-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(74, 163, 255, 0.2);
  color: #9fb3d1;
  font-size: 0.9rem;
}

.armory-played-display i {
  color: #4aa3ff;
}

.armory-played-display span {
  font-weight: 500;
}

/* Equipment Section */
.armory-equipment-card {
  background: rgba(15, 20, 35, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.armory-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #d4e4ff;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.armory-section-title i {
  color: #60a5fa;
  font-size: 1.3rem;
}

/* Paper Doll Grid */
.armory-paperdoll {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.armory-gear-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.armory-gear-column.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.armory-gear-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Gear Slots */
.armory-slot {
  width: 72px;
  height: 72px;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4),
    rgba(20, 25, 40, 0.6)
  );
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.armory-slot:hover {
  transform: scale(1.08);
  box-shadow:
    0 5px 20px rgba(74, 163, 255, 0.3),
    inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.armory-slot.empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.5;
}

.armory-slot.empty i {
  color: rgba(215, 230, 255, 0.22);
  font-size: 1.15rem;
}

.armory-slot.empty:hover {
  transform: none;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.armory-slot-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  position: absolute;
  bottom: 4px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

/* Quality Colors */
.armory-slot.q0 {
  border-color: rgba(157, 157, 157, 0.4);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(157, 157, 157, 0.1);
}
.armory-slot.q1 {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(255, 255, 255, 0.1);
}
.armory-slot.q2 {
  border-color: rgba(30, 255, 0, 0.5);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(30, 255, 0, 0.2);
}
.armory-slot.q3 {
  border-color: rgba(0, 112, 221, 0.6);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(0, 112, 221, 0.3);
}
.armory-slot.q4 {
  border-color: rgba(163, 53, 238, 0.6);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(163, 53, 238, 0.3);
}
.armory-slot.q5 {
  border-color: rgba(255, 128, 0, 0.6);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(255, 128, 0, 0.3);
}
.armory-slot.q6 {
  border-color: rgba(230, 204, 128, 0.6);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(230, 204, 128, 0.3);
}

.armory-slot.has-item {
  border-color: color-mix(
    in srgb,
    var(--quality-color, #ffffff) 62%,
    transparent
  );
}

.armory-item-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.armory-slot:hover .armory-item-icon {
  transform: scale(1.05);
}

/* Character Avatar in Center */
.armory-char-avatar {
  text-align: center;
}

.armory-char-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(74, 163, 255, 0.5);
  box-shadow: 0 0 25px rgba(74, 163, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
}

.armory-char-name-mini {
  color: #9fb3d1;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Tooltip */
#armory-tooltip {
  position: absolute;
  display: none;
  z-index: 9999;
  background: linear-gradient(
    135deg,
    rgba(5, 10, 20, 0.98),
    rgba(15, 25, 45, 0.98)
  );
  border: 1px solid rgba(74, 163, 255, 0.4);
  border-radius: 12px;
  padding: 11px 12px;
  color: white;
  min-width: 235px;
  max-width: 305px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  font-size: 0.8rem;
  pointer-events: none;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(74, 163, 255, 0.1);
  line-height: 1.32;
  backdrop-filter: blur(10px);
}

#armory-tooltip .tt-name {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#armory-tooltip .tt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#armory-tooltip .tt-stat,
#armory-tooltip .tt-armor,
#armory-tooltip .tt-dmg,
#armory-tooltip .tt-speed,
#armory-tooltip .tt-ilvl,
#armory-tooltip .tt-bonding,
#armory-tooltip .tt-slot,
#armory-tooltip .tt-req,
#armory-tooltip .tt-enchant,
#armory-tooltip .tt-gem,
#armory-tooltip .tt-gem-stat,
#armory-tooltip .tt-socket,
#armory-tooltip .tt-socket-bonus,
#armory-tooltip .tt-durability,
#armory-tooltip .tt-sell {
  color: #9fb3d1;
  font-size: 0.8rem;
}

#armory-tooltip .tt-heroic {
  color: #1eff00;
  font-weight: 800;
}

#armory-tooltip .tt-enchant {
  color: #1eff00;
}

#armory-tooltip .tt-gem {
  margin-top: 0.12rem;
  color: #9fd0ff;
}

#armory-tooltip .tt-gem-stat {
  color: #9fd0ff;
  padding-left: 0.45rem;
}

#armory-tooltip .tt-gem-effect {
  color: #8bd4ff;
}

#armory-tooltip .tt-socket {
  color: #9fd0ff;
}

#armory-tooltip .tt-durability,
#armory-tooltip .tt-sell {
  margin-top: 0.2rem;
}

#armory-tooltip .tt-durability strong {
  color: #f4f8ff;
  font-weight: 900;
}

#armory-tooltip .tt-sell strong {
  color: #ffd76a;
  font-weight: 900;
}

#armory-tooltip .tt-sell .money-gold {
  color: #ffd76a;
}

#armory-tooltip .tt-sell .money-silver {
  color: #d9e1ee;
}

#armory-tooltip .tt-sell .money-copper {
  color: #d58b52;
}

#armory-tooltip .tt-flavor {
  color: #ffd100;
  font-style: italic;
  margin-top: 8px;
  font-size: 0.8rem;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 800px) {
  .armory-character-header {
    flex-direction: column;
    text-align: center;
  }

  .armory-money-display {
    margin-left: 0;
    justify-content: center;
  }

  .armory-details-row {
    justify-content: center;
  }

  .armory-paperdoll {
    grid-template-columns: 70px 1fr 70px;
    gap: 15px;
  }

  .armory-slot {
    width: 60px;
    height: 60px;
  }

  .armory-item-icon {
    width: 50px;
    height: 50px;
  }
}

/* Modern polish */
.armory-page {
  min-height: calc(100vh - 200px);
  padding: 42px 20px 70px;
}

.armory-page::before {
  top: -120px;
  left: 22%;
  transform: none;
  width: 900px;
  height: 620px;
  background:
    radial-gradient(
      ellipse at 30% 10%,
      rgba(74, 163, 255, 0.11) 0%,
      transparent 48%
    ),
    radial-gradient(
      ellipse at 82% 36%,
      rgba(16, 185, 129, 0.055) 0%,
      transparent 42%
    );
}

.armory-page::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: 7%;
  width: 560px;
  height: 560px;
  background: radial-gradient(
    circle,
    rgba(125, 175, 255, 0.055),
    transparent 62%
  );
  pointer-events: none;
}

.armory-container {
  max-width: 1120px;
}

.armory-back-btn {
  padding: 10px 16px;
  background: rgba(10, 15, 25, 0.48);
  border-color: rgba(125, 175, 255, 0.12);
  border-radius: 999px;
  color: #9fb2ce;
  backdrop-filter: blur(12px) saturate(125%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 0;
}

.armory-character-card,
.armory-equipment-card {
  background:
    radial-gradient(
      ellipse at 18% 0%,
      rgba(74, 163, 255, 0.1) 0%,
      transparent 42%
    ),
    linear-gradient(180deg, rgba(10, 15, 25, 0.6), rgba(7, 12, 22, 0.52));
  backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(125, 175, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.armory-character-card::before,
.armory-equipment-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 175, 255, 0.42),
    transparent
  );
}

.armory-character-card {
  padding: 30px;
}

.armory-directory-hero,
.armory-directory-filters,
.armory-directory-list {
  border: 1px solid rgba(74, 163, 255, 0.18);
  background: linear-gradient(
    135deg,
    rgba(15, 45, 70, 0.72),
    rgba(5, 14, 28, 0.82)
  );
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.armory-directory-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-bottom: 18px;
}

.armory-directory-hero h1 {
  margin: 10px 0 8px;
  color: #f4f8ff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

.armory-directory-hero p {
  max-width: 760px;
  margin: 0;
  color: #bdd0ed;
  line-height: 1.7;
}

.armory-directory-count {
  min-width: 132px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(125, 175, 255, 0.24);
  background: rgba(8, 14, 25, 0.64);
  text-align: center;
}

.armory-directory-count strong,
.armory-directory-count span {
  display: block;
}

.armory-directory-count strong {
  color: #f4f8ff;
  font-size: 2rem;
  font-weight: 900;
}

.armory-directory-count span {
  color: #8fa5c4;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.armory-directory-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.armory-directory-modes a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  background: rgba(8, 14, 25, 0.62);
  color: #bdd0ed;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.armory-directory-modes a:hover,
.armory-directory-modes a.active {
  border-color: rgba(74, 163, 255, 0.42);
  background: rgba(74, 163, 255, 0.14);
  color: #f4f8ff;
}

.armory-directory-filters {
  display: grid;
  grid-template-columns: minmax(300px, 2fr) repeat(
      2,
      minmax(140px, 1fr)
    ) repeat(2, minmax(86px, 0.6fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 18px;
}

.armory-directory-filters.armory-guild-search {
  grid-template-columns: minmax(280px, 1fr) auto;
}

.armory-directory-filters label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.armory-directory-filters span {
  color: #8fa5c4;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.armory-directory-filters input,
.armory-directory-filters select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid rgba(125, 175, 255, 0.18);
  border-radius: 12px;
  background: rgba(5, 13, 24, 0.72);
  color: #f4f8ff;
  padding: 0 13px;
  font-weight: 800;
}

.armory-directory-filters select option {
  background: #081827;
  color: #f4f8ff;
}

.armory-directory-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.armory-directory-actions button,
.armory-directory-actions a {
  min-width: 104px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  padding: 0 15px;
  font-weight: 900;
  text-decoration: none;
}

.armory-directory-actions button {
  border: 0;
  background: linear-gradient(135deg, #4aa3ff, #2d6df6);
  color: #fff;
}

.armory-directory-actions a {
  border: 1px solid rgba(125, 175, 255, 0.18);
  color: #bdd0ed;
  background: rgba(255, 255, 255, 0.045);
}

.armory-directory-actions a[hidden] {
  display: none;
}

.armory-directory-filters.is-loading,
.armory-directory-list.is-loading,
.armory-directory-pagination.is-loading {
  opacity: 0.72;
}

.armory-directory-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.armory-directory-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto 24px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid rgba(125, 175, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 14, 25, 0.58);
  color: #d9e8ff;
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}

.armory-directory-row:hover {
  border-color: rgba(74, 163, 255, 0.42);
  background: rgba(19, 47, 74, 0.72);
  transform: translateY(-1px);
}

.armory-directory-row img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(125, 175, 255, 0.28);
}

.armory-directory-name {
  min-width: 0;
}

.armory-directory-name strong,
.armory-directory-name small {
  display: block;
}

.armory-directory-name strong {
  color: #f4f8ff;
  font-size: 1rem;
  font-weight: 900;
}

.armory-directory-name small {
  color: #8fa5c4;
  margin-top: 3px;
}

.armory-directory-meta,
.armory-directory-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #bdd0ed;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.76rem;
  font-weight: 900;
}

.armory-directory-meta.alliance {
  color: #82b9ff;
}

.armory-directory-meta.horde {
  color: #ff7f7f;
}

.armory-directory-status.online {
  color: #82f0b9;
  background: rgba(49, 211, 142, 0.12);
}

.armory-directory-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.armory-directory-pagination a {
  min-width: 42px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(125, 175, 255, 0.22);
  background: rgba(8, 14, 25, 0.68);
  color: #bdd0ed;
  font-weight: 900;
  text-decoration: none;
}

.armory-directory-pagination a.active {
  color: #fff;
  background: linear-gradient(135deg, #4aa3ff, #2d6df6);
}

.armory-guild-hero,
.armory-guild-summary,
.armory-guild-roster {
  border: 1px solid rgba(74, 163, 255, 0.18);
  background:
    radial-gradient(
      ellipse at 18% 0%,
      rgba(74, 163, 255, 0.1) 0%,
      transparent 42%
    ),
    linear-gradient(135deg, rgba(15, 45, 70, 0.72), rgba(5, 14, 28, 0.82));
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.armory-guild-hero {
  padding: 28px;
  margin-bottom: 18px;
}

.armory-guild-heading {
  display: flex;
  align-items: center;
  gap: 22px;
}

.armory-guild-heading h1 {
  margin: 0 0 12px;
  color: #f4f8ff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

.armory-guild-emblem,
.armory-guild-list-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 175, 255, 0.26);
  background: rgba(8, 14, 25, 0.7);
  color: #82b9ff;
}

.armory-guild-emblem {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  font-size: 2.35rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.armory-guild-list-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.25rem;
}

.armory-guild-emblem.horde,
.armory-guild-list-emblem.horde {
  color: #ff7f7f;
  border-color: rgba(163, 51, 51, 0.38);
}

.armory-guild-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  margin-bottom: 18px;
}

.armory-guild-summary article {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(125, 175, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 14, 25, 0.58);
}

.armory-guild-summary span {
  color: #8fa5c4;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.armory-guild-summary strong,
.armory-guild-summary a {
  color: #f4f8ff;
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.armory-guild-summary a:hover {
  color: #7bb4ff;
}

.armory-guild-roster {
  padding: 18px;
}

.armory-guild-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.armory-guild-section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #f4f8ff;
  font-size: 1.22rem;
  font-weight: 900;
}

.armory-guild-section-heading h2 i {
  color: #7bb4ff;
}

.armory-guild-section-heading span {
  color: #8fa5c4;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.armory-guild-roster-list {
  display: grid;
  gap: 10px;
}

.armory-guild-roster-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(130px, auto) auto 24px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid rgba(125, 175, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 14, 25, 0.58);
  color: #d9e8ff;
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}

.armory-guild-roster-row:hover {
  border-color: rgba(74, 163, 255, 0.42);
  background: rgba(19, 47, 74, 0.72);
  transform: translateY(-1px);
}

.armory-guild-roster-row img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(125, 175, 255, 0.28);
}

.armory-guild-roster-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.armory-guild-roster-pagination[hidden] {
  display: none;
}

.armory-guild-roster-pagination button {
  min-width: 42px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(125, 175, 255, 0.22);
  background: rgba(8, 14, 25, 0.68);
  color: #bdd0ed;
  font-weight: 900;
}

.armory-guild-roster-pagination button.active {
  color: #fff;
  background: linear-gradient(135deg, #4aa3ff, #2d6df6);
}

.armory-guild-roster-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.armory-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.armory-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7bb4ff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.armory-character-header {
  gap: 24px;
}

.armory-portrait {
  width: 116px;
  height: 116px;
  border: 1px solid rgba(125, 175, 255, 0.28);
  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(125, 175, 255, 0.22),
      transparent 52%
    ),
    linear-gradient(135deg, rgba(74, 163, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.armory-portrait img {
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36));
}

.armory-online-badge {
  background: #34d399;
  border-color: rgba(7, 12, 22, 0.95);
}

.armory-name {
  color: #f4f8ff;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 12px;
  text-shadow: none;
}

.armory-level-badge,
.armory-faction-badge,
.armory-money-display,
.armory-played-display {
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.armory-level-badge {
  background: rgba(74, 163, 255, 0.1);
  border-color: rgba(125, 175, 255, 0.2);
  color: #9fd0ff;
  margin-bottom: 14px;
}

.armory-class-race {
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.armory-char-avatar .armory-class-race {
  margin: 12px auto 0;
  width: fit-content;
}

.armory-class-race img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(125, 175, 255, 0.18);
}

.armory-class-race span {
  color: #d7e6ff;
  font-weight: 800;
  font-size: 0.94rem;
}

.armory-faction-badge {
  padding: 8px 13px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}

.armory-money-display,
.armory-played-display {
  align-self: auto;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.armory-played-display {
  color: #9fb2ce;
}

.armory-character-meta {
  display: grid;
  gap: 8px;
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.armory-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #8fa5c4;
  font-size: 0.82rem;
  font-weight: 800;
}

.armory-meta-row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.armory-meta-row i {
  color: #7bb4ff;
}

.armory-meta-value {
  color: #d7e6ff;
  font-weight: 900;
  text-align: right;
}

.armory-subnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.armory-subnav button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  background: rgba(8, 14, 25, 0.62);
  color: #bdd0ed;
  font-weight: 900;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.armory-subnav button:hover,
.armory-subnav button:focus-visible {
  border-color: rgba(125, 175, 255, 0.42);
  color: #f4f8ff;
  transform: translateY(-1px);
}

.armory-subnav button.active,
.armory-subnav button[aria-selected="true"] {
  border-color: rgba(74, 163, 255, 0.56);
  background: linear-gradient(
    135deg,
    rgba(74, 163, 255, 0.26),
    rgba(45, 109, 246, 0.22)
  );
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(45, 109, 246, 0.18);
}

.armory-tab-panel {
  animation: armoryTabIn 0.18s ease;
}

.armory-tab-panel[hidden] {
  display: none;
}

@keyframes armoryTabIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.armory-equipment-card {
  padding: 28px;
}

.armory-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.armory-private-card,
.armory-owner-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(125, 175, 255, 0.16);
  background:
    radial-gradient(
      ellipse at 16% 0%,
      rgba(74, 163, 255, 0.1) 0%,
      transparent 42%
    ),
    linear-gradient(180deg, rgba(10, 15, 25, 0.62), rgba(7, 12, 22, 0.52));
  color: #d7e6ff;
}

.armory-private-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 16px;
  color: #7bb4ff;
  background: rgba(74, 163, 255, 0.12);
  border: 1px solid rgba(125, 175, 255, 0.18);
  font-size: 1.35rem;
}

.armory-private-card h2 {
  margin: 0 0 5px;
  color: #f4f8ff;
  font-size: 1.2rem;
  font-weight: 900;
}

.armory-private-card p {
  margin: 0;
  color: #9fb3d1;
  line-height: 1.55;
}

.armory-owner-notice {
  color: #bfdbfe;
  font-weight: 900;
  margin-bottom: 18px;
}

.armory-detail-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(125, 175, 255, 0.14);
  background:
    radial-gradient(
      ellipse at 18% 0%,
      rgba(74, 163, 255, 0.08) 0%,
      transparent 42%
    ),
    linear-gradient(180deg, rgba(10, 15, 25, 0.56), rgba(7, 12, 22, 0.48));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.armory-detail-card .armory-section-title {
  margin-bottom: 14px;
}

.armory-detail-card.full {
  grid-column: 1 / -1;
}

.armory-pill-list,
.armory-achievement-list {
  display: grid;
  gap: 10px;
}

.armory-data-pill,
.armory-achievement-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 12px;
  color: #d7e6ff;
  background: rgba(8, 14, 25, 0.62);
  border: 1px solid rgba(125, 175, 255, 0.13);
  font-weight: 800;
}

.armory-achievement-item {
  justify-content: space-between;
}

.armory-achievement-item i {
  color: #fbbf24;
  flex: 0 0 auto;
}

.armory-achievement-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armory-achievement-item small {
  color: #bdd0ed;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(125, 175, 255, 0.08);
  white-space: nowrap;
  font-weight: 900;
}

.armory-achievements-card {
  overflow: visible;
}

.armory-achievements-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.armory-achievement-points {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.08);
  color: #c8d7ee;
  font-weight: 900;
}

.armory-achievement-points strong {
  color: #fbbf24;
  font-size: 1.12rem;
}

.armory-achievement-nav {
  display: grid;
  gap: 12px;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(125, 175, 255, 0.12);
  border-bottom: 1px solid rgba(125, 175, 255, 0.12);
  margin-bottom: 20px;
}

.armory-achievement-main-nav,
.armory-achievement-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.armory-achievement-main-nav {
  justify-content: center;
}

.armory-achievement-subnav {
  justify-content: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(125, 175, 255, 0.12);
  background: rgba(8, 14, 25, 0.34);
}

.armory-achievement-subnav[hidden] {
  display: none;
}

.armory-achievement-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(125, 175, 255, 0.2);
  background: rgba(8, 14, 25, 0.68);
  color: #c8d7ee;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.armory-achievement-nav button.sub {
  min-height: 34px;
  padding-inline: 12px;
  border-radius: 10px;
  color: #aebfda;
  background: rgba(8, 14, 25, 0.52);
}

.armory-achievement-nav button span {
  color: #7db7ff;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(74, 163, 255, 0.12);
}

.armory-achievement-nav button:hover,
.armory-achievement-nav button.active {
  color: #ffffff;
  border-color: rgba(74, 163, 255, 0.62);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.5),
    rgba(74, 163, 255, 0.24)
  );
}

.armory-achievement-summary {
  display: grid;
  gap: 22px;
}

.armory-achievement-progress h3,
.armory-achievement-recent h3,
.armory-achievement-list-heading h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #f7fbff;
  font-size: 1.08rem;
}

.armory-achievement-progress h3 i,
.armory-achievement-recent h3 i {
  color: #7db7ff;
}

.armory-achievement-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.armory-progress-row {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 175, 255, 0.14);
  background: rgba(8, 14, 25, 0.62);
}

.armory-progress-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: #dceaff;
  font-weight: 900;
}

.armory-progress-row span {
  color: #9fb3d1;
}

.armory-progress-track {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(125, 175, 255, 0.12);
}

.armory-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4aa3ff, #34d399);
}

.armory-achievement-recent-grid,
.armory-achievement-list.detailed {
  display: grid;
  gap: 12px;
}

.armory-achievement-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 15px;
  border: 1px solid rgba(125, 175, 255, 0.14);
  background: rgba(8, 14, 25, 0.66);
}

.armory-achievement-card.locked img {
  filter: grayscale(1);
}

.armory-achievement-card.locked .armory-achievement-icon-link,
.armory-achievement-card.locked > div,
.armory-achievement-card.locked .armory-achievement-reward {
  opacity: 0.58;
}

.armory-achievement-icon-link {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(125, 175, 255, 0.28);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.34);
}

.armory-achievement-icon-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.armory-achievement-title {
  display: inline-block;
  max-width: 100%;
  color: #f7fbff;
  font-weight: 950;
  text-decoration: none;
}

.armory-achievement-title:hover {
  color: #7db7ff;
}

.armory-achievement-card p {
  margin: 4px 0 0;
  color: #c2d2ec;
  line-height: 1.45;
}

.armory-achievement-reward {
  min-width: 82px;
  text-align: right;
}

.armory-achievement-reward strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.armory-achievement-reward small {
  display: block;
  margin-top: 5px;
  color: #9fb3d1;
  font-weight: 900;
  white-space: nowrap;
}

.armory-achievement-tooltip {
  position: absolute;
  left: 74px;
  bottom: calc(100% - 6px);
  z-index: 30;
  display: none;
  width: min(360px, calc(100vw - 40px));
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(125, 175, 255, 0.36);
  background: rgba(7, 12, 22, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
  color: #d7e6ff;
  font-weight: 800;
  pointer-events: none;
}

.armory-achievement-card:hover .armory-achievement-tooltip,
.armory-achievement-card:focus-within .armory-achievement-tooltip {
  display: grid;
  gap: 8px;
}

.armory-achievement-tooltip strong {
  color: #fbbf24;
}

.armory-achievement-tooltip small {
  color: #7db7ff;
}

.armory-achievement-category-list[hidden],
.armory-achievement-summary[hidden],
.armory-achievement-card[hidden] {
  display: none;
}

.armory-achievement-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.armory-achievement-list-heading span {
  color: #9fb3d1;
  font-weight: 900;
}

.armory-achievements-card {
  padding: 0;
  border-color: rgba(76, 157, 255, 0.22);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(45, 128, 220, 0.11) 0%,
      transparent 44%
    ),
    linear-gradient(180deg, rgba(5, 15, 29, 0.94), rgba(4, 12, 23, 0.92));
}

.armory-achievements-header {
  min-height: 154px;
  align-items: center;
  padding: 28px 28px 16px;
  margin: 0;
  background:
    radial-gradient(
      ellipse at 82% 40%,
      rgba(74, 163, 255, 0.16) 0%,
      transparent 36%
    ),
    linear-gradient(180deg, rgba(8, 22, 39, 0.58), rgba(4, 12, 23, 0));
}

.armory-achievements-header .armory-section-title {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.5rem) !important;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.armory-achievements-header p {
  max-width: 520px;
  margin: 0;
  color: #aebfda;
  font-weight: 700;
  line-height: 1.55;
}

.armory-achievement-points {
  position: relative;
  min-width: 290px;
  justify-content: center;
  gap: 12px;
  padding: 20px 28px;
  border-radius: 8px;
  border-color: rgba(125, 175, 255, 0.22);
  background:
    linear-gradient(90deg, transparent, rgba(74, 163, 255, 0.12), transparent),
    rgba(5, 15, 28, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.24);
}

.armory-achievement-points i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #7ed4ff;
  background: rgba(74, 163, 255, 0.13);
  box-shadow: 0 0 24px rgba(74, 163, 255, 0.24);
}

.armory-achievement-points div,
.armory-achievement-points span,
.armory-achievement-points strong {
  display: block;
}

.armory-achievement-points span {
  color: #9fb3d1;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.armory-achievement-points strong {
  color: #ffd43b;
  font-size: 2.05rem;
  line-height: 1;
  text-shadow: 0 0 16px rgba(251, 191, 36, 0.22);
}

.armory-achievement-nav {
  margin: 0 26px 18px;
  padding: 14px;
  border: 1px solid rgba(125, 175, 255, 0.19);
  border-radius: 10px;
  background: rgba(5, 15, 28, 0.68);
}

.armory-achievement-main-nav,
.armory-achievement-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.armory-achievement-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 9px;
}

.armory-achievement-nav button {
  width: auto;
  max-width: 100%;
  justify-content: center;
  min-width: 0;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(8, 20, 36, 0.72);
}

.armory-achievement-nav button.sub {
  width: auto;
  min-width: 172px;
  justify-content: center;
}

.armory-achievement-nav button i {
  color: #9ccfff;
}

.armory-achievement-filter-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.15;
  color: #8fc8ff !important;
  padding: 0 !important;
  background: transparent !important;
}

.armory-achievement-nav button:hover,
.armory-achievement-nav button.active {
  border-color: rgba(74, 163, 255, 0.7);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.72),
    rgba(74, 163, 255, 0.3)
  );
  box-shadow: 0 0 20px rgba(74, 163, 255, 0.16);
}

.armory-achievement-summary {
  gap: 14px;
  padding: 0 26px 24px;
}

.armory-achievement-progress,
.armory-achievement-showcase-card,
.armory-achievement-recent,
.armory-achievement-side-card,
.armory-achievement-category-list {
  border: 1px solid rgba(125, 175, 255, 0.17);
  border-radius: 10px;
  background:
    radial-gradient(
      ellipse at 20% 0%,
      rgba(74, 163, 255, 0.08) 0%,
      transparent 42%
    ),
    rgba(5, 15, 28, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.armory-achievement-progress {
  padding: 18px 20px 22px;
}

.armory-achievement-progress h3,
.armory-achievement-showcase-card h3,
.armory-achievement-recent h3,
.armory-achievement-side-card h3,
.armory-achievement-list-heading h3 {
  margin: 0 0 16px;
  color: #8fc8ff;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.armory-achievement-progress-panel {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.armory-achievement-ring {
  --ring-size: 226px;
  width: var(--ring-size);
  min-height: calc(var(--ring-size) + 44px);
  position: relative;
  display: grid;
  grid-template-rows: var(--ring-size) auto;
  justify-items: center;
  justify-self: center;
  background: none;
  box-shadow: none;
}

.armory-achievement-ring::before {
  content: "";
  width: var(--ring-size);
  height: var(--ring-size);
  position: absolute;
  inset: 0 auto auto;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(5, 15, 28, 0.98) 0 54%,
      transparent 55%
    ),
    conic-gradient(
      from 0deg,
      #36c7ff calc(var(--armory-achievement-percent) * 1%),
      rgba(74, 163, 255, 0.14) 0
    );
  box-shadow:
    0 0 32px rgba(54, 199, 255, 0.22),
    inset 0 0 28px rgba(54, 199, 255, 0.08);
}

.armory-achievement-ring > div {
  position: relative;
  z-index: 1;
  width: 164px;
  height: 164px;
  margin-top: 31px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  background: rgba(5, 15, 28, 0.82);
  text-align: center;
}

.armory-achievement-ring i {
  color: #7db7ff;
  font-size: 3rem;
  opacity: 0.78;
}

.armory-achievement-ring strong {
  color: #ffffff;
  font-size: 2.65rem;
  line-height: 1;
}

.armory-achievement-ring span {
  margin-top: 4px;
  color: #47b6ff;
  font-weight: 900;
}

.armory-achievement-ring small {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 10px;
  color: #a8bbd6;
  font-weight: 800;
  text-align: center;
}

.armory-achievement-progress-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 22px;
}

.armory-progress-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.armory-progress-row > i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  color: #b7d8ff;
  background: rgba(74, 163, 255, 0.08);
}

.armory-progress-row > div:first-child {
  display: block;
  margin-bottom: 0;
}

.armory-progress-row strong {
  display: block;
  margin-bottom: 7px;
  color: #dcecff;
  font-size: 0.86rem;
}

.armory-progress-row > span {
  color: #42bbff;
  font-weight: 900;
  text-align: right;
}

.armory-progress-track {
  height: 8px;
  background: rgba(125, 175, 255, 0.13);
}

.armory-progress-track span {
  background: linear-gradient(90deg, #40a7ff, #64e4ff);
  box-shadow: 0 0 14px rgba(64, 167, 255, 0.28);
}

.armory-achievement-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.armory-achievement-showcase-card {
  min-width: 0;
  padding: 16px;
  text-align: center;
}

.armory-featured-achievement-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 136px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  background:
    radial-gradient(
      ellipse at 50% 35%,
      rgba(74, 163, 255, 0.24),
      transparent 54%
    ),
    rgba(5, 15, 28, 0.88);
}

.armory-featured-achievement-art img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 26px rgba(74, 163, 255, 0.3);
}

.armory-featured-achievement-art strong {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd43b;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 10px;
}

.armory-featured-achievement h4 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 1.05rem;
}

.armory-featured-achievement p,
.armory-achievement-showcase-card p {
  margin: 0;
  color: #a8bbd6;
  font-weight: 700;
  line-height: 1.45;
}

.armory-featured-achievement small {
  display: block;
  margin-top: 10px;
  color: #47b6ff;
  font-weight: 800;
}

.armory-achievement-streak strong {
  display: inline;
  color: #ffd43b;
  font-size: 2.4rem;
  line-height: 1;
}

.armory-achievement-streak span {
  display: inline;
  margin-left: 6px;
  color: #ffd43b;
  font-size: 1.15rem;
  font-weight: 900;
}

.armory-achievement-streak small {
  display: block;
  color: #dcecff;
  font-weight: 900;
}

.armory-achievement-streak small {
  margin-top: 4px;
  color: #a8bbd6;
}

.armory-achievement-streak-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin: 18px 0;
}

.armory-achievement-streak-days span {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #7186a7;
  font-weight: 900;
}

.armory-achievement-streak-days i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(125, 175, 255, 0.08);
}

.armory-achievement-streak-days span.earned i {
  color: #83dfff;
  background: rgba(54, 199, 255, 0.14);
  box-shadow: 0 0 16px rgba(54, 199, 255, 0.2);
}

.armory-achievement-streak-days span.today i {
  color: #ffd43b;
  background: rgba(251, 191, 36, 0.14);
}

.armory-achievement-rarity {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  text-align: left;
}

.armory-achievement-rarity-ring {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(5, 15, 28, 0.96) 0 48%, transparent 49%),
    conic-gradient(
      #22c55e 0 40%,
      #38bdf8 40% 66%,
      #a855f7 66% 84%,
      #f59e0b 84% 93%,
      #d7e4f7 93% 100%
    );
}

.armory-achievement-rarity-ring strong,
.armory-achievement-rarity-ring span {
  display: block;
  text-align: center;
}

.armory-achievement-rarity-ring strong {
  color: #60c7ff;
  font-size: 2rem;
  line-height: 1;
}

.armory-achievement-rarity-ring span {
  color: #a8bbd6;
  font-weight: 800;
}

.armory-achievement-rarity-list {
  display: grid;
  gap: 8px;
}

.armory-achievement-rarity-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #dcecff;
  font-weight: 800;
}

.armory-achievement-rarity-list div::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 999px;
  background: var(--armory-rarity-color);
  box-shadow: 0 0 10px rgba(74, 163, 255, 0.18);
}

.armory-achievement-rarity-list span {
  flex: 1;
}

.armory-achievement-rarity-list small {
  color: #8fa5c4;
}

.armory-achievement-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: stretch;
}

.armory-achievement-recent,
.armory-achievement-side-card,
.armory-achievement-category-list {
  padding: 18px;
}

.armory-achievement-section-heading,
.armory-achievement-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.armory-achievement-section-heading h3 {
  margin-bottom: 0;
}

.armory-achievement-section-heading button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  background: rgba(74, 163, 255, 0.08);
  color: #9ccfff;
  font-weight: 900;
  cursor: pointer;
}

.armory-achievement-section-heading button:hover {
  border-color: rgba(74, 163, 255, 0.46);
  color: #ffffff;
}

.armory-achievement-recent-grid,
.armory-achievement-list.detailed {
  gap: 10px;
}

.armory-achievement-card {
  min-height: 82px;
  border-radius: 9px;
  border-color: rgba(125, 175, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(74, 163, 255, 0.08), transparent 42%),
    rgba(7, 18, 33, 0.66);
}

.armory-achievement-card p {
  color: #a8bbd6;
  font-size: 0.9rem;
}

.armory-achievement-reward strong {
  border-radius: 9px;
  color: #ffd43b;
  background: rgba(0, 0, 0, 0.42);
}

.armory-achievement-recent-count {
  display: block;
  margin-top: 12px;
  color: #47b6ff;
  font-weight: 800;
  text-align: center;
}

.armory-achievement-side {
  display: grid;
  gap: 14px;
  align-content: stretch;
  grid-template-rows: auto 1fr;
}

.armory-achievement-side-card:last-child {
  min-height: 0;
}

.armory-achievement-stat-list,
.armory-achievement-focus-list {
  display: grid;
  gap: 10px;
}

.armory-achievement-stat-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(125, 175, 255, 0.09);
}

.armory-achievement-stat-list span {
  color: #a8bbd6;
  font-weight: 800;
}

.armory-achievement-stat-list strong {
  color: #f3f8ff;
  font-weight: 900;
}

.armory-achievement-focus-list > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.armory-achievement-focus-list i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
  border-radius: 8px;
  color: #8ed4ff;
  background: rgba(74, 163, 255, 0.1);
}

.armory-achievement-focus-list span strong,
.armory-achievement-focus-list span small {
  display: block;
}

.armory-achievement-focus-list span strong {
  color: #dcecff;
  font-size: 0.86rem;
}

.armory-achievement-focus-list span small {
  color: #8fa5c4;
  font-weight: 800;
}

.armory-achievement-focus-list .armory-progress-track {
  grid-column: 2;
}

.armory-achievement-category-list {
  margin: 0 26px 24px;
}

.armory-empty-detail,
.armory-cache-note {
  color: #8fa5c4;
  font-weight: 800;
}

.armory-panel-loader,
.armory-panel-load-error {
  width: 100%;
  padding: 10px 0 2px;
}

.armory-panel-loader-copy,
.armory-panel-load-error {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #d7e6ff;
  font-weight: 900;
}

.armory-panel-loader-copy span,
.armory-panel-load-error span {
  color: #9fb3d1;
  font-size: 0.92rem;
  font-weight: 700;
}

.armory-panel-progress {
  position: relative;
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(125, 175, 255, 0.22);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.72);
}

.armory-panel-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(74, 144, 255, 0.62),
    rgba(77, 224, 178, 0.95)
  );
  box-shadow: 0 0 24px rgba(74, 144, 255, 0.34);
  animation: armory-panel-progress 1.15s ease-in-out infinite;
}

.armory-panel-load-error button {
  align-self: flex-start;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(125, 175, 255, 0.3);
  border-radius: 999px;
  background: rgba(38, 116, 220, 0.28);
  color: #d7e6ff;
  font-weight: 900;
}

@keyframes armory-panel-progress {
  0% {
    transform: translateX(-115%);
  }
  55% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(240%);
  }
}

.armory-cache-note {
  width: max-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 175, 255, 0.16);
  background: rgba(8, 14, 25, 0.68);
  color: #d7e6ff;
  text-align: center;
  font-size: 0.82rem;
}

.armory-equipment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.armory-section-title {
  margin: 0;
  color: #f4f8ff;
  font-size: 1.22rem;
  font-weight: 900;
}

.armory-section-title i {
  color: #7bb4ff;
}

.armory-equipped-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #9fb2ce;
  font-size: 0.84rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.armory-equipped-count i {
  color: #7bb4ff;
}

.armory-paperdoll {
  max-width: 760px;
  grid-template-columns: 92px minmax(180px, 1fr) 92px;
  gap: 28px;
  padding: 8px 0 2px;
}

.armory-gear-column {
  gap: 20px;
}

.armory-gear-column.center {
  min-height: 520px;
  border: 1px solid rgba(125, 175, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(74, 163, 255, 0.13),
      transparent 46%
    ),
    radial-gradient(
      ellipse at 50% 76%,
      rgba(255, 255, 255, 0.055),
      transparent 50%
    ),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.armory-slot {
  width: 72px;
  height: 72px;
  margin-bottom: 7px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.18)),
    rgba(8, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.armory-slot:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 12px 26px rgba(74, 163, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.armory-slot.empty {
  border-color: rgba(125, 175, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  opacity: 0.78;
}

.armory-slot.empty i {
  color: rgba(215, 230, 255, 0.28);
}

.armory-slot-label {
  color: rgba(215, 230, 255, 0.42);
  font-size: 0.58rem;
  font-weight: 800;
}

.armory-item-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
}

.armory-char-avatar img {
  width: 110px;
  height: 110px;
  border: 1px solid rgba(125, 175, 255, 0.24);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.armory-char-name-mini {
  color: #d7e6ff;
  font-size: 0.95rem;
  font-weight: 900;
}

.armory-char-avatar .armory-char-name-mini {
  display: none;
}

.armory-model-shell {
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
}

.armory-model-viewer {
  width: 100%;
  min-height: 390px;
  position: relative;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.armory-model-viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 390px;
  position: relative;
  z-index: 2;
  background: transparent !important;
}

.armory-model-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.armory-model-ready .armory-model-fallback {
  opacity: 0;
  visibility: hidden;
}

.armory-model-fallback img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(125, 175, 255, 0.24);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.22);
}

.armory-viewer-status {
  min-height: 18px;
  color: #8fa5c4;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.armory-viewer-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-bottom: 2px;
}

.armory-viewer-controls label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid rgba(125, 175, 255, 0.2);
  background: linear-gradient(
    180deg,
    rgba(32, 62, 91, 0.82),
    rgba(11, 23, 39, 0.88)
  );
  color: #d9e8ff;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.armory-viewer-controls input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.armory-viewer-controls label::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid rgba(180, 210, 255, 0.52);
  background: rgba(3, 10, 18, 0.55);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18);
}

.armory-viewer-controls label:hover {
  border-color: rgba(125, 175, 255, 0.48);
  transform: translateY(-1px);
}

.armory-viewer-controls label:has(input:checked) {
  border-color: rgba(49, 211, 142, 0.56);
  background: linear-gradient(
    180deg,
    rgba(21, 105, 82, 0.9),
    rgba(8, 42, 38, 0.9)
  );
  color: #f1fff8;
}

.armory-viewer-controls label:has(input:checked)::before {
  border-color: #31d38e;
  background: #31d38e;
  box-shadow: inset 0 0 0 3px rgba(5, 25, 20, 0.55);
}

.armory-item-slot-name {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  color: #7f95b5;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.armory-slot.has-item:hover .armory-item-slot-name {
  opacity: 1;
}

.armory-glyph-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.armory-glyph-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 175, 255, 0.13);
  background:
    radial-gradient(
      ellipse at 12% 0%,
      rgba(74, 163, 255, 0.1) 0%,
      transparent 45%
    ),
    rgba(8, 14, 25, 0.62);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.armory-glyph-card:hover {
  border-color: rgba(74, 163, 255, 0.42);
  background:
    radial-gradient(
      ellipse at 12% 0%,
      rgba(74, 163, 255, 0.16) 0%,
      transparent 45%
    ),
    rgba(14, 32, 54, 0.78);
  transform: translateY(-1px);
}

.armory-glyph-body {
  min-width: 0;
}

.armory-glyph-title-row {
  display: block;
  min-width: 0;
}

.armory-glyph-title-row span {
  display: block;
  color: #dcecff;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armory-glyph-card:hover .armory-glyph-title-row span {
  color: #7bb4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.armory-glyph-tooltip {
  position: absolute;
  right: 10px;
  bottom: calc(100% + 10px);
  z-index: 35;
  width: max-content;
  max-width: 230px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.42);
  background: rgba(4, 10, 22, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
  color: #d8e7ff;
  font-size: 0.78rem;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.armory-glyph-tooltip::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 100%;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(125, 175, 255, 0.42);
  border-bottom: 1px solid rgba(125, 175, 255, 0.42);
  background: rgba(4, 10, 22, 0.96);
  transform: translateY(-5px) rotate(45deg);
}

.armory-glyph-card:hover .armory-glyph-tooltip,
.armory-glyph-card:focus-visible .armory-glyph-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.armory-glyph-tooltip strong,
.armory-glyph-tooltip small {
  display: block;
}

.armory-glyph-tooltip strong {
  color: #fff;
  font-size: 0.86rem;
}

.armory-glyph-tooltip small {
  margin-top: 4px;
  color: #9fb3cf;
  font-weight: 700;
}

.armory-glyph-body p {
  margin: 5px 0 0;
  color: #9fb3d1;
  font-size: 0.82rem;
  line-height: 1.35;
}

.armory-glyph-grid.compact {
  grid-template-columns: 1fr;
}

.armory-talents-card {
  overflow: visible;
  padding: 22px;
  border-color: rgba(76, 157, 255, 0.22);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(45, 128, 220, 0.12) 0%,
      transparent 45%
    ),
    linear-gradient(180deg, rgba(8, 25, 43, 0.88), rgba(4, 12, 23, 0.86));
}

.armory-talents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.armory-talents-header .armory-section-title {
  margin-bottom: 0;
  letter-spacing: 0.08em;
}

.armory-spec-switch,
.armory-talent-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.armory-spec-switch button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 175, 255, 0.2);
  background: rgba(5, 13, 24, 0.58);
  color: #b8c9e4;
  font-weight: 900;
  font-size: 0.82rem;
  cursor: pointer;
}

.armory-spec-switch button.active {
  color: #ffffff;
  border-color: rgba(89, 171, 255, 0.72);
  background: linear-gradient(
    135deg,
    rgba(42, 143, 255, 0.34),
    rgba(24, 75, 154, 0.3)
  );
  box-shadow: 0 0 18px rgba(42, 143, 255, 0.18);
}

.armory-spec-panel[hidden] {
  display: none;
}

.armory-talent-calculator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.34);
  background: rgba(96, 165, 250, 0.12);
  color: #eaf2ff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.armory-talent-calculator-link[hidden] {
  display: none;
}

.armory-talent-calculator-link:hover,
.armory-talent-calculator-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.62);
  background: rgba(96, 165, 250, 0.18);
  color: #ffffff;
  text-decoration: none;
}

.armory-talents-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  overflow: visible;
  scrollbar-width: none;
}

.armory-talent-trees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  scrollbar-width: none;
}

.armory-talents-layout::-webkit-scrollbar,
.armory-talent-trees::-webkit-scrollbar {
  display: none;
}

.armory-talent-tree {
  min-width: 0;
  min-height: 510px;
  padding: 18px 14px;
  border-radius: 10px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(74, 163, 255, 0.12) 0%,
      transparent 42%
    ),
    rgba(4, 13, 25, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.armory-talent-tree-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #f4f8ff;
  font-weight: 900;
}

.armory-tree-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.22);
  background:
    linear-gradient(rgba(5, 13, 24, 0.1), rgba(5, 13, 24, 0.1)),
    var(--armory-icon) center / cover no-repeat,
    rgba(5, 13, 24, 0.78);
}

.armory-talent-tree-header strong {
  color: #7bb4ff;
}

.armory-talent-grid {
  display: grid;
  grid-template-columns: repeat(4, 42px);
  grid-auto-rows: 42px;
  justify-content: center;
  gap: 11px 13px;
}

.armory-talent-node {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.2);
  background: rgba(5, 13, 24, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.armory-talent-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 30;
  width: max-content;
  max-width: 260px;
  min-width: 210px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.42);
  background: rgba(4, 10, 22, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
  color: #d8e7ff;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.armory-talent-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(125, 175, 255, 0.42);
  border-bottom: 1px solid rgba(125, 175, 255, 0.42);
  background: rgba(4, 10, 22, 0.96);
  transform: translate(-50%, -5px) rotate(45deg);
}

.armory-talent-node:hover .armory-talent-tooltip,
.armory-talent-node:focus-visible .armory-talent-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.armory-talent-tooltip-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.86rem;
}

.armory-talent-tooltip-title small {
  flex: 0 0 auto;
  color: #7bb4ff;
  font-size: 0.74rem;
  font-weight: 800;
}

.armory-talent-icon {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 7px;
  background:
    linear-gradient(rgba(5, 13, 24, 0.08), rgba(5, 13, 24, 0.08)),
    var(--armory-icon) center / cover no-repeat,
    rgba(5, 13, 24, 0.78);
}

.armory-talent-node.empty .armory-talent-icon {
  filter: grayscale(1);
  opacity: 0.28;
}

.armory-talent-node.partial {
  border-color: #39e0a8;
  box-shadow:
    0 0 14px rgba(52, 211, 153, 0.3),
    inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}

.armory-talent-node.full {
  border-color: #facc15;
  box-shadow:
    0 0 14px rgba(250, 204, 21, 0.36),
    inset 0 0 0 1px rgba(250, 204, 21, 0.35);
}

.armory-talent-rank {
  position: absolute;
  right: -6px;
  bottom: -6px;
  min-width: 25px;
  padding: 2px 4px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.92);
  color: #facc15;
  border: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.armory-talent-node.partial .armory-talent-rank {
  color: #34d399;
}

.armory-talent-glyphs {
  min-width: 0;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(125, 175, 255, 0.18);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(74, 163, 255, 0.09) 0%,
      transparent 46%
    ),
    rgba(5, 15, 28, 0.72);
  overflow: visible;
}

.armory-talent-glyphs h3,
.armory-build-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #f4f8ff;
  font-size: 0.93rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.armory-build-cards,
.armory-build-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.armory-build-card {
  min-width: 0;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(125, 175, 255, 0.17);
  background:
    radial-gradient(
      ellipse at 20% 0%,
      rgba(74, 163, 255, 0.08) 0%,
      transparent 42%
    ),
    rgba(5, 15, 28, 0.7);
}

.armory-build-summary-list,
.armory-build-detail-list {
  display: grid;
  gap: 11px;
}

.armory-build-summary-list div,
.armory-build-detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(125, 175, 255, 0.1);
}

.armory-build-summary-list span,
.armory-build-detail-list span,
.armory-build-subtitle {
  color: #a8bbd6;
  font-size: 0.82rem;
  font-weight: 800;
}

.armory-build-summary-list strong,
.armory-build-detail-list strong {
  color: #f3f8ff;
  font-weight: 900;
  text-align: right;
}

.armory-build-subtitle {
  display: block;
  margin: 16px 0 8px;
}

.armory-talent-distribution {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(125, 175, 255, 0.16);
}

.armory-talent-distribution span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  background: linear-gradient(
    90deg,
    rgba(63, 154, 255, 0.9),
    rgba(63, 154, 255, 0.66)
  );
}

.armory-talent-distribution span:nth-child(2) {
  background: linear-gradient(
    90deg,
    rgba(232, 67, 81, 0.9),
    rgba(232, 67, 81, 0.66)
  );
}

.armory-talent-distribution span:nth-child(3) {
  background: linear-gradient(
    90deg,
    rgba(69, 177, 255, 0.9),
    rgba(69, 177, 255, 0.66)
  );
}

.armory-build-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.armory-build-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(125, 175, 255, 0.17);
  background: rgba(9, 28, 50, 0.72);
  color: #bcd3f0;
  font-size: 0.78rem;
  font-weight: 900;
}

.armory-build-card p {
  margin: 0;
  color: #9fb3cf;
  font-size: 0.86rem;
  line-height: 1.55;
}

.armory-build-actions-card {
  display: grid;
  gap: 8px;
}

.armory-build-actions-card h3 {
  margin-bottom: 4px;
}

.armory-build-actions-card button,
.armory-build-actions-card a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.16);
  background: rgba(8, 20, 36, 0.72);
  color: #dcecff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.armory-build-actions-card button:hover,
.armory-build-actions-card a:hover {
  border-color: rgba(74, 163, 255, 0.42);
  background: rgba(21, 56, 96, 0.72);
  color: #ffffff;
}

.armory-build-actions-card button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.armory-glyph-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.armory-glyph-column h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  color: #80bdff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.armory-glyph-column h4 span {
  color: #b8c9e4;
}

.armory-glyph-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
}

.armory-glyph-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 8px;
  border: 1px solid rgba(125, 175, 255, 0.22);
  background:
    linear-gradient(rgba(5, 13, 24, 0.06), rgba(5, 13, 24, 0.06)),
    var(--armory-icon) center / cover no-repeat,
    rgba(5, 13, 24, 0.78);
  box-shadow: 0 0 14px rgba(74, 163, 255, 0.16);
}

.armory-glyph-card .armory-glyph-title-row {
  display: block;
  color: #dcecff;
  font-weight: 900;
}

.armory-glyph-card small {
  display: block;
  margin-top: 4px;
  color: #8fa5c4;
  font-size: 0.78rem;
  font-weight: 700;
}

.armory-build-timeline {
  display: grid;
  gap: 13px;
}

.armory-build-timeline div {
  position: relative;
  padding-left: 22px;
}

.armory-build-timeline div::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: -16px;
  width: 1px;
  background: rgba(125, 175, 255, 0.18);
}

.armory-build-timeline div:last-child::before {
  display: none;
}

.armory-build-timeline div > span {
  position: absolute;
  left: 0;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid rgba(99, 179, 255, 0.84);
  background: rgba(7, 22, 39, 0.98);
}

.armory-build-timeline strong,
.armory-build-timeline small {
  display: block;
}

.armory-build-timeline strong {
  color: #dcecff;
  font-size: 0.86rem;
}

.armory-build-timeline small {
  margin-top: 3px;
  color: #8fa5c4;
  font-size: 0.78rem;
}

.armory-rotation-card {
  background:
    radial-gradient(
      ellipse at 84% 18%,
      rgba(74, 163, 255, 0.15) 0%,
      transparent 40%
    ),
    rgba(5, 15, 28, 0.7);
}

.armory-rotation-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rotation;
}

.armory-rotation-card li {
  counter-increment: rotation;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: #bdd0ed;
  font-weight: 800;
  font-size: 0.84rem;
}

.armory-rotation-card li::before {
  content: counter(rotation);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(232, 67, 81, 0.65);
  color: #ff6b7a;
  background: rgba(232, 67, 81, 0.1);
}

.armory-data-pill {
  justify-content: space-between;
}

.armory-data-pill i {
  color: #7bb4ff;
  flex: 0 0 auto;
}

.armory-data-pill span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armory-data-pill small {
  color: #8fa5c4;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.armory-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.armory-stat-grid div {
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(125, 175, 255, 0.13);
  background: rgba(8, 14, 25, 0.62);
}

.armory-stat-grid span,
.armory-stat-grid strong {
  display: block;
}

.armory-stat-grid span {
  color: #8fa5c4;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.armory-stat-grid strong {
  color: #f4f8ff;
  font-size: 1.2rem;
  font-weight: 900;
}

#armory-tooltip {
  border-color: rgba(125, 175, 255, 0.24);
  border-radius: 14px;
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.72),
    0 0 24px rgba(74, 163, 255, 0.12);
}

@media (max-width: 800px) {
  .armory-character-card,
  .armory-equipment-card {
    padding: 22px;
  }

  .armory-name {
    font-size: 1.85rem;
  }

  .armory-money-display,
  .armory-played-display {
    align-self: auto;
  }

  .armory-card-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-character-meta {
    width: 100%;
  }

  .armory-subnav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .armory-subnav button {
    flex: 0 0 auto;
  }

  .armory-equipment-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-details-grid {
    grid-template-columns: 1fr;
  }

  .armory-glyph-grid {
    grid-template-columns: 1fr;
  }

  .armory-talents-layout {
    grid-template-columns: 1fr;
  }

  .armory-talent-trees {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }

  .armory-build-cards,
  .armory-build-bottom-grid,
  .armory-glyph-columns {
    grid-template-columns: 1fr;
  }

  .armory-talents-header,
  .armory-talent-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-talent-actions,
  .armory-spec-switch,
  .armory-spec-switch button,
  .armory-talent-calculator-link {
    width: 100%;
  }

  .armory-talent-tree {
    min-height: 0;
  }

  .armory-paperdoll {
    grid-template-columns: 66px minmax(120px, 1fr) 66px;
    gap: 14px;
  }

  .armory-gear-column.center {
    min-height: 450px;
  }

  .armory-directory-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-directory-filters {
    grid-template-columns: 1fr 1fr;
  }

  .armory-directory-filters.armory-guild-search {
    grid-template-columns: 1fr;
  }

  .armory-directory-actions {
    grid-column: 1 / -1;
  }

  .armory-directory-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .armory-guild-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-guild-summary {
    grid-template-columns: 1fr 1fr;
  }

  .armory-guild-roster-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .armory-achievements-header,
  .armory-achievement-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-achievement-progress-grid {
    grid-template-columns: 1fr;
  }

  .armory-achievements-header {
    padding: 22px;
  }

  .armory-achievement-points {
    width: 100%;
    min-width: 0;
  }

  .armory-achievement-main-nav,
  .armory-achievement-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .armory-achievement-progress-panel,
  .armory-achievement-showcase-grid,
  .armory-achievement-content-grid {
    grid-template-columns: 1fr;
  }

  .armory-achievement-ring {
    --ring-size: 204px;
  }

  .armory-achievement-rarity {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .armory-achievement-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .armory-achievement-reward {
    grid-column: 2;
    text-align: left;
  }

  .armory-directory-meta,
  .armory-directory-status,
  .armory-directory-row > .bi-arrow-right-short,
  .armory-guild-roster-row > .bi-arrow-right-short {
    display: none;
  }
}

@media (max-width: 560px) {
  .armory-page {
    padding: 26px 12px 46px;
  }

  .armory-achievement-summary {
    padding-inline: 14px;
  }

  .armory-achievement-nav,
  .armory-achievement-category-list {
    margin-inline: 14px;
  }

  .armory-achievement-main-nav,
  .armory-achievement-subnav {
    grid-template-columns: 1fr;
  }

  .armory-progress-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .armory-progress-row > span {
    grid-column: 2;
    text-align: left;
  }

  .armory-achievement-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-paperdoll {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 360px;
    padding: 0;
  }

  .armory-gear-column {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    justify-items: center;
  }

  .armory-gear-column.center {
    grid-row: 1;
    min-height: 360px;
    display: flex;
    border-radius: 20px;
  }

  .armory-model-shell {
    min-height: 340px;
    padding: 10px;
  }

  .armory-model-viewer,
  .armory-model-viewer canvas {
    min-height: 260px;
  }

  .armory-slot {
    width: 58px;
    height: 58px;
    margin-bottom: 0;
  }

  .armory-item-icon {
    width: 48px;
    height: 48px;
  }

  .armory-char-avatar img {
    width: 82px;
    height: 82px;
  }

  .armory-gear-bottom {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(3, 58px);
    justify-content: center;
    gap: 10px;
    margin-top: 0;
  }

  .armory-viewer-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .armory-viewer-controls label {
    flex: 1 1 92px;
    justify-content: center;
  }

  .armory-talents-header,
  .armory-spec-switch,
  .armory-spec-switch button {
    width: 100%;
  }

  .armory-spec-switch button {
    justify-content: space-between;
  }

  .armory-directory-filters {
    grid-template-columns: 1fr;
  }

  .armory-directory-actions {
    flex-direction: column;
  }

  .armory-guild-summary {
    grid-template-columns: 1fr;
  }

  .armory-guild-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-achievement-nav {
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .armory-achievement-main-nav,
  .armory-achievement-subnav {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .armory-achievement-nav button {
    flex: 0 0 auto;
  }

  .armory-achievement-tooltip {
    left: 0;
  }
}

/* Final cascade layer for the refreshed character directory. */
.armory-container.armory-directory-shell {
  max-width: 1220px;
}

.armory-directory-filters.armory-nexus-filters {
  display: block;
}

.armory-nexus-filters .armory-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.armory-directory-row.armory-nexus-row {
  grid-template-columns: 88px minmax(160px, 1.2fr) minmax(110px, 0.7fr) minmax(
      150px,
      1fr
    ) minmax(150px, 1fr) minmax(120px, 0.8fr) 150px;
}

.armory-directory-row.armory-nexus-row > img {
  display: none;
}

.armory-directory-row.armory-nexus-row .armory-row-avatar img {
  width: 74px;
  height: 74px;
}

.armory-directory-row.armory-nexus-row .armory-directory-status {
  display: block;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 1100px) {
  .armory-nexus-filters .armory-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .armory-directory-row.armory-nexus-row {
    grid-template-columns: 80px minmax(0, 1fr) minmax(120px, 0.7fr) minmax(
        130px,
        0.8fr
      );
  }
}

@media (max-width: 720px) {
  .armory-nexus-filters .armory-filter-grid,
  .armory-directory-row.armory-nexus-row {
    grid-template-columns: 1fr;
  }
}

/* Full-bleed screenshot-style directory header. */
.armory-directory-shell .armory-nexus-hero {
  width: 100vw;
  min-height: 365px;
  margin: -42px 0 0 calc(50% - 50vw);
  padding: 58px max(78px, calc((100vw - 1220px) / 2 + 38px)) 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 56px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent !important;
}

.armory-directory-shell .armory-nexus-hero::after {
  display: none;
}

.armory-directory-shell .armory-nexus-copy {
  max-width: 590px;
}

.armory-directory-shell .armory-nexus-copy .armory-card-eyebrow {
  color: #8fcbff;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(74, 163, 255, 0.42);
}

.armory-directory-shell .armory-nexus-copy h1 {
  margin: 12px 0 14px;
  color: #e7f6ff;
  font-size: clamp(3.1rem, 5.4vw, 4.75rem);
  line-height: 0.92;
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.72),
    0 0 24px rgba(74, 163, 255, 0.62);
}

.armory-directory-shell .armory-nexus-copy p {
  max-width: 470px;
  color: #cfe4ff;
  font-size: 1rem;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.armory-directory-shell .armory-directory-modes {
  gap: 10px;
  margin-top: 28px;
}

.armory-directory-shell .armory-directory-modes a {
  min-height: 42px;
  padding: 0 18px;
  border-color: rgba(111, 181, 255, 0.2);
  background: rgba(4, 13, 26, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.armory-directory-shell .armory-directory-modes a.active {
  border-color: rgba(74, 163, 255, 0.78);
  background: rgba(19, 97, 170, 0.46);
}

.armory-directory-shell .armory-nexus-stats {
  align-self: center;
  min-height: 205px;
  padding: 26px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
  border-color: rgba(89, 183, 255, 0.72);
  border-radius: 9px;
  background: linear-gradient(
    180deg,
    rgba(7, 25, 47, 0.78),
    rgba(5, 15, 29, 0.86)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(22, 109, 184, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
}

.armory-directory-shell .armory-nexus-icon {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  margin: 0;
}

.armory-directory-shell .armory-nexus-stats > strong {
  font-size: 2.1rem;
}

.armory-directory-shell .armory-nexus-stats > span {
  margin-top: -16px;
}

.armory-directory-shell .armory-nexus-stat-grid {
  grid-column: 1 / -1;
  margin: 22px 0 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(125, 175, 255, 0.16);
}

.armory-directory-shell .armory-nexus-stats em {
  grid-column: 1 / -1;
}

.armory-directory-shell .armory-nexus-filters {
  margin-top: -1px;
}

@media (max-width: 900px) {
  .armory-directory-shell .armory-nexus-hero {
    grid-template-columns: 1fr;
    padding: 42px 22px 36px;
    gap: 28px;
  }

  .armory-directory-shell .armory-nexus-stats {
    max-width: 360px;
  }
}

/* Concept-style filter command panel. */
.armory-directory-shell .armory-directory-filters.armory-nexus-filters {
  margin: 0 auto 22px;
  padding: 22px 26px 18px;
  border: 1px solid rgba(71, 153, 222, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(
      ellipse at 42% 0%,
      rgba(32, 117, 198, 0.12),
      transparent 48%
    ),
    linear-gradient(180deg, rgba(7, 24, 43, 0.88), rgba(4, 14, 27, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 20px 48px rgba(0, 0, 0, 0.28);
}

.armory-directory-shell .armory-filter-search {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.armory-directory-shell .armory-filter-search label {
  display: grid;
  gap: 10px;
  position: relative;
}

.armory-directory-shell .armory-filter-search label > span,
.armory-directory-shell .armory-filter-grid label > span:first-child,
.armory-directory-shell .armory-quick-filters > span {
  color: #a9c2df;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.armory-directory-shell .armory-filter-search label i {
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: #a9cfff;
  font-size: 1.38rem;
  pointer-events: none;
}

.armory-directory-shell .armory-filter-search input {
  min-height: 58px;
  padding: 0 54px 0 66px !important;
  border-color: rgba(74, 163, 255, 0.52);
  border-radius: 8px;
  background: rgba(3, 12, 24, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(3, 10, 20, 0.78),
    0 0 18px rgba(40, 131, 220, 0.12);
  font-weight: 800;
}

.armory-directory-shell .armory-filter-search input::placeholder {
  color: #778da8;
}

.armory-directory-shell .armory-filter-search button {
  min-height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #28a7ff, #1264f4);
  box-shadow:
    0 0 24px rgba(39, 137, 255, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.armory-directory-shell .armory-nexus-filters .armory-filter-grid {
  grid-template-columns: 1.05fr 1.05fr 1.2fr 1.25fr 1.25fr 1.25fr;
  gap: 18px;
  align-items: end;
}

.armory-directory-shell .armory-filter-grid label {
  display: grid;
  gap: 8px;
}

.armory-directory-shell .armory-filter-grid select,
.armory-directory-shell .armory-level-range input {
  min-height: 44px;
  border-color: rgba(91, 144, 195, 0.28);
  border-radius: 7px;
  background-color: rgba(3, 12, 24, 0.76);
  color: #f1f7ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.armory-directory-shell .armory-level-range {
  grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr);
  gap: 9px;
}

.armory-directory-shell .armory-level-range b {
  color: #7e95b2;
  text-align: center;
  text-transform: lowercase;
}

.armory-directory-shell .armory-quick-filters {
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(91, 144, 195, 0.12);
}

.armory-directory-shell .armory-quick-filters > span {
  flex-basis: 100%;
  margin: 0 0 -2px;
}

.armory-directory-shell .armory-quick-filters a {
  min-height: 34px;
  padding: 0 18px;
  border-color: rgba(91, 144, 195, 0.22);
  border-radius: 999px;
  background: rgba(4, 17, 32, 0.82);
  color: #b9cbe2;
}

.armory-directory-shell .armory-quick-filters .armory-clear-inline {
  margin-left: auto;
  border-color: transparent;
  background: transparent;
  color: #9fb2ce;
}

@media (max-width: 1050px) {
  .armory-directory-shell .armory-filter-search,
  .armory-directory-shell .armory-nexus-filters .armory-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .armory-directory-shell .armory-filter-search label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .armory-directory-shell .armory-filter-search,
  .armory-directory-shell .armory-nexus-filters .armory-filter-grid {
    grid-template-columns: 1fr;
  }

  .armory-directory-shell .armory-quick-filters .armory-clear-inline {
    margin-left: 0;
  }
}

/* Concept-style character results list. */
.armory-directory-shell .armory-directory-list {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 9px;
}

.armory-directory-shell .armory-results-heading {
  padding: 0 4px 16px;
}

.armory-directory-shell .armory-results-heading h2 {
  color: #a9c4e2;
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(74, 163, 255, 0.24);
}

.armory-directory-shell .armory-results-heading span {
  color: #9cb0ca;
  font-size: 0.9rem;
}

.armory-directory-shell .armory-directory-row.armory-nexus-row {
  min-height: 116px;
  margin-top: 0;
  padding: 14px 28px 14px 48px;
  display: grid;
  grid-template-columns: 112px minmax(190px, 1.25fr) minmax(
      120px,
      0.75fr
    ) minmax(160px, 1fr) minmax(170px, 1fr) minmax(176px, 0.9fr);
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(41, 129, 198, 0.44);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(5, 17, 32, 0.92), rgba(6, 20, 38, 0.78)),
    radial-gradient(
      ellipse at 24% 50%,
      rgba(41, 129, 198, 0.12),
      transparent 46%
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transform: none;
}

.armory-directory-shell .armory-directory-row.armory-nexus-row:hover {
  border-color: rgba(71, 164, 239, 0.68);
  background:
    linear-gradient(90deg, rgba(7, 22, 40, 0.96), rgba(8, 26, 48, 0.84)),
    radial-gradient(
      ellipse at 24% 50%,
      rgba(41, 129, 198, 0.18),
      transparent 46%
    );
  transform: none;
}

.armory-directory-shell
  .armory-directory-row.armory-nexus-row
  > span:not(.armory-row-avatar):not(.armory-open-profile) {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid rgba(91, 144, 195, 0.16);
}

.armory-directory-shell
  .armory-directory-row.armory-nexus-row
  .armory-directory-status {
  min-height: 84px;
  align-items: stretch;
}

.armory-directory-shell
  .armory-directory-row.armory-nexus-row
  .armory-directory-name {
  padding-left: 0;
  border-left: 0;
}

.armory-directory-shell .armory-row-avatar {
  width: 92px;
  height: 92px;
}

.armory-directory-shell
  .armory-directory-row.armory-nexus-row
  .armory-row-avatar
  img {
  width: 92px;
  height: 92px;
  border-radius: 9px;
  border-color: rgba(78, 151, 222, 0.38);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.armory-directory-shell .armory-row-avatar b {
  left: -16px;
  bottom: 10px;
  width: 46px;
  height: 46px;
  border: 3px solid rgba(129, 151, 170, 0.26);
  background: radial-gradient(circle, #171b1e, #05080c);
  font-size: 1.08rem;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.44),
    0 8px 18px rgba(0, 0, 0, 0.4);
}

.armory-directory-shell .armory-directory-name strong {
  color: #72bdff;
  font-size: 1.24rem;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(74, 163, 255, 0.22);
}

.armory-directory-shell .armory-directory-name small {
  margin-top: 7px;
  color: #a9bfdc;
  font-size: 0.92rem;
}

.armory-directory-shell .armory-spec-tag {
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(156, 66, 66, 0.32);
  color: #ffd2d2;
  font-size: 0.76rem;
}

.armory-directory-shell .armory-directory-meta {
  width: auto;
  min-height: 54px;
  padding: 0 0 0 28px;
  border-radius: 0;
  background: transparent;
  font-size: 0.9rem;
}

.armory-directory-shell .armory-directory-meta i {
  font-size: 1.35rem;
}

.armory-directory-shell .armory-directory-guild strong,
.armory-directory-shell .armory-directory-zone strong,
.armory-directory-shell .armory-nexus-row .armory-directory-status strong {
  color: #dbeaff;
  font-size: 0.95rem;
  line-height: 1.25;
}

.armory-directory-shell .armory-directory-guild small,
.armory-directory-shell .armory-directory-zone small,
.armory-directory-shell .armory-nexus-row .armory-directory-status small {
  margin-top: 6px;
  color: #8fa5c4;
  font-size: 0.84rem;
}

.armory-directory-shell
  .armory-nexus-row
  .armory-directory-status.online
  strong {
  color: #27d77a;
}

.armory-directory-shell .armory-open-profile {
  min-height: 38px;
  min-width: 0;
  width: 100%;
  display: inline-flex;
  padding: 0 14px;
  margin-top: 12px;
  justify-self: stretch;
  border: 1px solid rgba(70, 132, 199, 0.48);
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(49, 101, 166, 0.92),
    rgba(24, 62, 119, 0.94)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

.armory-directory-shell .armory-open-profile i {
  margin-left: auto;
  color: #86c8ff;
}

.armory-directory-shell .armory-directory-pagination {
  margin-top: 18px;
  gap: 8px;
}

.armory-directory-shell .armory-directory-pagination a,
.armory-directory-shell .armory-directory-pagination span {
  min-width: 42px;
  min-height: 42px;
  border-radius: 7px;
  border-color: rgba(91, 144, 195, 0.22);
  background: rgba(4, 14, 27, 0.72);
}

.armory-directory-shell .armory-directory-pagination a.active {
  background: linear-gradient(135deg, #27a8ff, #185cf4);
  box-shadow: 0 0 18px rgba(39, 137, 255, 0.52);
}

@media (max-width: 1050px) {
  .armory-directory-shell .armory-directory-row.armory-nexus-row {
    grid-template-columns: 98px minmax(0, 1fr) minmax(120px, 0.7fr) minmax(
        150px,
        0.9fr
      );
    padding-left: 34px;
  }

  .armory-directory-shell
    .armory-directory-row.armory-nexus-row
    .armory-directory-guild,
  .armory-directory-shell
    .armory-directory-row.armory-nexus-row
    .armory-directory-zone {
    display: none;
  }
}

@media (max-width: 720px) {
  .armory-directory-shell .armory-directory-row.armory-nexus-row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 16px 14px 30px;
  }

  .armory-directory-shell .armory-row-avatar,
  .armory-directory-shell
    .armory-directory-row.armory-nexus-row
    .armory-row-avatar
    img {
    width: 72px;
    height: 72px;
  }

  .armory-directory-shell .armory-row-avatar b {
    width: 38px;
    height: 38px;
    left: -12px;
    bottom: 6px;
  }

  .armory-directory-shell
    .armory-directory-row.armory-nexus-row
    .armory-directory-meta,
  .armory-directory-shell
    .armory-directory-row.armory-nexus-row
    .armory-directory-status,
  .armory-directory-shell
    .armory-directory-row.armory-nexus-row
    .armory-open-profile {
    grid-column: 1 / -1;
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }
}

/* Concept-style lower Armory dashboard. */
.armory-directory-shell .armory-directory-panels {
  display: grid;
  grid-template-columns: 1.75fr 0.9fr 1.28fr;
  gap: 18px;
  margin-top: 32px;
}

.armory-directory-shell .armory-dashboard-card {
  min-width: 0;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(71, 153, 222, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(
      ellipse at 18% 0%,
      rgba(47, 145, 229, 0.16),
      transparent 46%
    ),
    linear-gradient(180deg, rgba(7, 24, 43, 0.82), rgba(4, 14, 27, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 18px 38px rgba(0, 0, 0, 0.22);
}

.armory-directory-shell .armory-dashboard-card::before,
.armory-directory-shell .armory-dashboard-card::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none;
  opacity: 0.8;
}

.armory-directory-shell .armory-dashboard-card::before {
  top: -12px;
  left: -10px;
  border-top: 2px solid rgba(83, 190, 255, 0.72);
  border-left: 2px solid rgba(83, 190, 255, 0.44);
  filter: drop-shadow(0 0 8px rgba(83, 190, 255, 0.35));
}

.armory-directory-shell .armory-dashboard-card::after {
  right: -10px;
  bottom: -12px;
  border-right: 2px solid rgba(83, 190, 255, 0.44);
  border-bottom: 2px solid rgba(83, 190, 255, 0.72);
  filter: drop-shadow(0 0 8px rgba(83, 190, 255, 0.35));
}

.armory-directory-shell .armory-panel-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.armory-directory-shell .armory-panel-heading h2 {
  color: #c3d8f2;
  font-size: 0.82rem;
}

.armory-directory-shell .armory-panel-controls {
  display: inline-flex;
  gap: 8px;
}

.armory-directory-shell .armory-panel-controls i,
.armory-directory-shell .armory-range-pill {
  min-width: 30px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 144, 195, 0.22);
  border-radius: 7px;
  background: rgba(4, 14, 27, 0.68);
  color: #9fb9d8;
  font-size: 0.78rem;
}

.armory-directory-shell .armory-range-pill {
  gap: 6px;
  padding: 0 10px;
  font-weight: 900;
}

.armory-directory-shell .armory-featured-champion {
  min-height: 320px;
}

.armory-directory-shell .armory-featured-body {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 26px;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-featured-body img {
  width: 210px;
  height: 230px;
  object-fit: cover;
  object-position: top center;
  border: 0;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(125, 175, 255, 0.18),
    0 20px 34px rgba(0, 0, 0, 0.35);
}

.armory-directory-shell .armory-featured-body h3 {
  color: #78c0ff;
  font-size: 1.45rem;
}

.armory-directory-shell .armory-featured-body p,
.armory-directory-shell .armory-featured-body small {
  color: #9fb5d1;
}

.armory-directory-shell .armory-featured-body strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #f2f8ff;
  font-size: 1.05rem;
}

.armory-directory-shell .armory-dashboard-button,
.armory-directory-shell .armory-featured-body a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  border: 1px solid rgba(70, 132, 199, 0.48);
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(49, 101, 166, 0.92),
    rgba(24, 62, 119, 0.94)
  );
  color: #f2f8ff;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.armory-directory-shell .armory-guild-spotlight-body {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-guild-banner {
  width: 58px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 78, 78, 0.36);
  border-radius: 6px;
  background: rgba(95, 12, 16, 0.72);
  color: #ff4f4f;
  font-size: 1.8rem;
}

.armory-directory-shell .armory-guild-banner.alliance {
  border-color: rgba(112, 176, 255, 0.36);
  background: rgba(19, 57, 109, 0.72);
  color: #70b0ff;
}

.armory-directory-shell .armory-guild-spotlight h3 {
  margin: 0;
  color: #dcecff;
  font-size: 1.05rem;
}

.armory-directory-shell .armory-guild-spotlight p {
  margin: 5px 0 0;
  color: #91a8c8;
  font-size: 0.8rem;
}

.armory-directory-shell .armory-spotlight-progress {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-spotlight-progress span {
  display: flex;
  justify-content: space-between;
  color: #c6d7ef;
  font-size: 0.82rem;
}

.armory-directory-shell .armory-spotlight-progress i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(91, 144, 195, 0.18);
}

.armory-directory-shell .armory-spotlight-progress em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1887ff, #38bdf8);
}

.armory-directory-shell .armory-spotlight-progress small {
  color: #91a8c8;
}

.armory-directory-shell .armory-activity-chart {
  height: 150px;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.armory-directory-shell .armory-activity-chart svg {
  width: 100%;
  height: 100%;
}

.armory-directory-shell .armory-activity-chart line {
  stroke: rgba(125, 175, 255, 0.12);
  stroke-width: 1;
}

.armory-directory-shell .armory-activity-chart polyline {
  fill: none;
  stroke: #2f8cff;
  stroke-width: 4;
  filter: drop-shadow(0 0 6px rgba(47, 140, 255, 0.58));
}

.armory-directory-shell .armory-activity-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-activity-stats div {
  padding: 14px;
  border: 1px solid rgba(91, 144, 195, 0.18);
  border-radius: 7px;
  background: rgba(8, 24, 42, 0.68);
}

.armory-directory-shell .armory-activity-stats span,
.armory-directory-shell .armory-activity-stats small {
  display: block;
  color: #8fa5c4;
  font-size: 0.76rem;
}

.armory-directory-shell .armory-activity-stats strong {
  display: block;
  margin: 5px 0 2px;
  color: #f2f8ff;
  font-size: 1.5rem;
}

.armory-directory-shell .armory-recent-80s {
  grid-column: span 1;
}

.armory-directory-shell .armory-mini-character-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-mini-character-list img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(125, 175, 255, 0.24);
}

.armory-directory-shell .armory-top-guilds {
  position: relative;
  z-index: 1;
  gap: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: guild-rank;
}

.armory-directory-shell .armory-top-guilds li {
  counter-increment: guild-rank;
}

.armory-directory-shell .armory-top-guilds a::before {
  content: counter(guild-rank);
  color: #dcecff;
  font-weight: 900;
}

.armory-directory-shell .armory-top-guilds a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
}

.armory-directory-shell .armory-class-donut-wrap {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-class-donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.armory-directory-shell .armory-class-donut::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: #061324;
}

.armory-directory-shell .armory-class-bars {
  gap: 8px;
}

.armory-directory-shell .armory-class-bars div {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0;
}

.armory-directory-shell .armory-class-bars span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c8d9ef;
}

.armory-directory-shell .armory-class-bars span i {
  position: static;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.armory-directory-shell .armory-class-bars b {
  color: #dcecff;
}

.armory-directory-shell .armory-class-bars div > i {
  display: none;
}

@media (max-width: 1120px) {
  .armory-directory-shell .armory-directory-panels {
    grid-template-columns: 1fr 1fr;
  }

  .armory-directory-shell .armory-featured-champion,
  .armory-directory-shell .armory-realm-activity {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .armory-directory-shell .armory-directory-panels,
  .armory-directory-shell .armory-featured-body,
  .armory-directory-shell .armory-class-donut-wrap,
  .armory-directory-shell .armory-activity-stats {
    grid-template-columns: 1fr;
  }

  .armory-directory-shell .armory-featured-champion,
  .armory-directory-shell .armory-realm-activity {
    grid-column: auto;
  }

  .armory-directory-shell .armory-featured-body img {
    width: 100%;
    max-width: 220px;
  }

  .armory-directory-shell .armory-mini-character-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Trimmed three-card stats dashboard. */
.armory-directory-shell .armory-directory-panels {
  grid-template-columns: 1.25fr 0.85fr 1.05fr;
  align-items: stretch;
}

.armory-directory-shell .armory-realm-activity,
.armory-directory-shell .armory-top-guild-card,
.armory-directory-shell .armory-class-distribution {
  min-height: 315px;
}

.armory-directory-shell .armory-activity-plot {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-activity-axis {
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0 18px;
  color: #7f95b4;
  font-size: 0.74rem;
  font-weight: 900;
  text-align: right;
}

.armory-directory-shell .armory-activity-chart {
  margin-bottom: 0;
}

.armory-directory-shell .armory-activity-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
  color: #7f95b4;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.armory-directory-shell .armory-activity-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.armory-directory-shell .armory-activity-stats div {
  min-width: 0;
}

.armory-directory-shell .armory-activity-stats strong {
  font-size: 1.25rem;
}

.armory-directory-shell .armory-top-guilds {
  gap: 14px;
}

.armory-directory-shell .armory-top-guilds a {
  grid-template-columns: 24px minmax(0, 1fr) minmax(64px, auto);
  gap: 10px;
  min-width: 0;
}

.armory-directory-shell .armory-top-guilds strong {
  overflow: hidden;
  color: #dcecff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armory-directory-shell .armory-top-guilds span {
  color: #dcecff;
  font-size: 0.84rem;
  font-weight: 900;
  text-align: right;
}

.armory-directory-shell .armory-top-guilds span::after {
  content: " online";
  color: #8fa5c4;
  font-weight: 800;
}

.armory-directory-shell .armory-class-donut {
  background-color: #061324;
}

.armory-directory-shell .armory-class-donut::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(4, 14, 27, 0.96) 0deg 1.4deg,
    transparent 1.4deg 36deg
  );
  pointer-events: none;
}

.armory-directory-shell .armory-class-donut::after {
  z-index: 1;
}

@media (max-width: 1120px) {
  .armory-directory-shell .armory-directory-panels {
    grid-template-columns: 1fr;
  }

  .armory-directory-shell .armory-realm-activity {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .armory-directory-shell .armory-activity-stats,
  .armory-directory-shell .armory-activity-times {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* Real realm snapshot metrics, replacing the misleading faux activity chart. */
.armory-directory-shell .armory-realm-metrics {
  display: grid;
  gap: 13px;
  position: relative;
  z-index: 1;
}

.armory-directory-shell .armory-realm-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  padding: 12px 13px;
  border: 1px solid rgba(91, 144, 195, 0.18);
  border-radius: 7px;
  background: rgba(8, 24, 42, 0.58);
}

.armory-directory-shell .armory-realm-metric span {
  color: #a9bdd8;
  font-size: 0.8rem;
  font-weight: 900;
}

.armory-directory-shell .armory-realm-metric strong {
  color: #f2f8ff;
  font-size: 1.04rem;
}

.armory-directory-shell .armory-realm-metric i {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(91, 144, 195, 0.15);
}

.armory-directory-shell .armory-realm-metric em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1887ff, #38bdf8);
  box-shadow: 0 0 12px rgba(47, 140, 255, 0.42);
}

.armory-directory-shell .armory-realm-metric small {
  grid-column: 1 / -1;
  color: #7f95b4;
  font-size: 0.74rem;
  font-weight: 800;
}

.armory-directory-shell .armory-class-donut::before {
  display: none;
}

/* Guild directory refresh uses the same Armory shell without lower dashboard cards. */
.armory-guild-directory-shell .armory-nexus-copy h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

.armory-guild-directory-shell .armory-guild-search .armory-quick-filters {
  margin-top: 0;
}

.armory-guild-directory-shell .armory-guild-search .armory-clear-inline {
  margin-left: 0;
}

.armory-guild-directory-shell .armory-nexus-stats {
  min-height: 175px;
}

.armory-guild-directory-shell .armory-nexus-stats > span {
  margin-top: -10px;
}

.armory-guild-directory-shell .armory-nexus-stats em {
  margin-top: 18px;
}

.armory-guild-directory-shell .armory-guild-clear {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #9fb2ce;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.armory-guild-directory-shell .armory-guild-clear[hidden] {
  display: none;
}

.armory-guild-directory-shell .armory-directory-row.armory-guild-directory-row {
  min-height: 116px;
  padding: 16px 28px;
  grid-template-columns: minmax(230px, 1.35fr) minmax(120px, 0.75fr) minmax(
      120px,
      0.7fr
    ) minmax(190px, 1fr) minmax(170px, 0.9fr);
  gap: 22px;
}

.armory-guild-directory-shell
  .armory-directory-row.armory-guild-directory-row
  > span:not(.armory-guild-list-emblem):not(.armory-open-profile) {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid rgba(91, 144, 195, 0.16);
}

.armory-guild-directory-shell
  .armory-directory-row.armory-guild-directory-row
  .armory-directory-name {
  padding-left: 0;
  border-left: 0;
}

.armory-guild-directory-shell .armory-guild-list-emblem {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(125, 175, 255, 0.24),
      transparent 58%
    ),
    rgba(4, 14, 27, 0.82);
  color: #70b0ff;
  font-size: 1.65rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.25);
}

.armory-guild-directory-shell .armory-guild-list-emblem::after {
  content: "";
  width: 26px;
  height: 30px;
  display: block;
  background: currentColor;
  clip-path: polygon(
    50% 0,
    86% 13%,
    86% 43%,
    76% 67%,
    50% 100%,
    24% 67%,
    14% 43%,
    14% 13%
  );
}

.armory-guild-directory-shell .armory-guild-list-emblem i {
  display: none;
}

.armory-guild-directory-shell .armory-guild-list-emblem.horde {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.38);
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(255, 107, 107, 0.18),
      transparent 58%
    ),
    rgba(34, 8, 16, 0.72);
}

.armory-guild-directory-shell .armory-directory-name strong {
  color: #72bdff;
  font-size: 1.2rem;
}

.armory-guild-directory-shell .armory-directory-name small,
.armory-guild-directory-shell .armory-guild-directory-level small,
.armory-guild-directory-shell .armory-guild-directory-members small,
.armory-guild-directory-shell .armory-directory-status small {
  margin-top: 6px;
  color: #8fa5c4;
  font-size: 0.84rem;
}

.armory-guild-directory-shell .armory-guild-directory-level strong,
.armory-guild-directory-shell .armory-guild-directory-members strong,
.armory-guild-directory-shell .armory-directory-status strong {
  color: #dbeaff;
  font-size: 0.95rem;
}

.armory-guild-directory-shell .armory-guild-directory-members i {
  height: 7px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(91, 144, 195, 0.15);
}

.armory-guild-directory-shell .armory-guild-directory-members em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1887ff, #38bdf8);
}

.armory-guild-directory-shell
  .armory-directory-row.armory-guild-directory-row
  .armory-directory-status {
  min-height: 84px;
  align-items: stretch;
}

.armory-guild-directory-shell
  .armory-directory-row.armory-guild-directory-row
  .armory-directory-status.online
  strong {
  color: #27d77a;
}

@media (max-width: 1050px) {
  .armory-guild-directory-shell
    .armory-directory-row.armory-guild-directory-row {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.7fr) minmax(
        150px,
        0.9fr
      );
  }

  .armory-guild-directory-shell .armory-guild-directory-level,
  .armory-guild-directory-shell .armory-guild-directory-members {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .armory-guild-directory-shell
    .armory-directory-row.armory-guild-directory-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 16px;
  }

  .armory-guild-directory-shell
    .armory-directory-row.armory-guild-directory-row
    .armory-directory-meta,
  .armory-guild-directory-shell
    .armory-directory-row.armory-guild-directory-row
    .armory-directory-status {
    grid-column: 1 / -1;
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }
}

/* Character profile concept refresh. */
.armory-character-profile-page {
  padding-top: 0;
}

.armory-profile-shell {
  max-width: 1260px;
}

.armory-character-profile-page .armory-profile-hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
  margin: 0 0 24px;
  padding: 46px 20px 0;
  position: relative;
  isolation: isolate;
}

.armory-character-profile-page .armory-profile-hero::before {
  display: none;
}

.armory-character-profile-page .armory-profile-hero::after {
  display: none;
}

.armory-profile-topline,
.armory-profile-identity,
.armory-profile-stat-strip,
.armory-profile-tabs {
  position: relative;
  z-index: 1;
}

.armory-profile-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.armory-profile-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #88bdf2;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.armory-profile-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8dc8ff;
  text-decoration: none;
}

.armory-profile-back {
  min-height: 40px;
  border-radius: 999px;
  background: rgba(4, 15, 29, 0.72);
}

.armory-profile-identity {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 760px;
}

.armory-profile-portrait {
  width: 128px;
  height: 128px;
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid rgba(104, 184, 255, 0.72);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 127, 220, 0.24),
    rgba(5, 12, 24, 0.92)
  );
  box-shadow:
    0 0 0 8px rgba(7, 22, 38, 0.62),
    0 22px 52px rgba(0, 0, 0, 0.42);
}

.armory-profile-portrait img {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(84, 172, 255, 0.38);
}

.armory-profile-portrait .armory-online-badge {
  right: 8px;
  bottom: 15px;
}

.armory-profile-title h1 {
  margin: 0 0 14px;
  color: #f4fbff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.95;
  text-shadow:
    0 0 24px rgba(215, 238, 255, 0.62),
    0 0 44px rgba(45, 155, 255, 0.34);
}

.armory-profile-race-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  color: #d9ebff;
  font-size: 1rem;
  font-weight: 800;
}

.armory-profile-race-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.armory-profile-race-line img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.armory-character-profile-page .armory-identity-badges {
  margin-bottom: 0;
}

.armory-profile-stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(85, 151, 214, 0.34);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 42, 0.84),
    rgba(4, 13, 25, 0.9)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.armory-profile-stat-strip article {
  min-height: 84px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: center;
  gap: 2px 12px;
  padding: 16px 18px;
  border-left: 1px solid rgba(85, 151, 214, 0.18);
}

.armory-profile-stat-strip article:first-child {
  border-left: 0;
}

.armory-profile-stat-strip i {
  grid-row: span 3;
  align-self: center;
  color: #43a9ff;
  font-size: 1.6rem;
}

.armory-profile-stat-strip span,
.armory-profile-stat-strip small {
  color: #91a8c6;
  font-size: 0.76rem;
  font-weight: 800;
}

.armory-profile-stat-strip strong {
  min-width: 0;
  color: #f2f8ff;
  font-size: 1rem;
  font-weight: 900;
}

.armory-profile-money,
.armory-profile-money b,
.armory-profile-money small {
  display: block;
}

.armory-profile-money b {
  color: #ffb925;
  font-size: 1.05rem;
  line-height: 1.15;
}

.armory-profile-money small {
  margin-top: 4px;
  color: #bccbe0;
  font-size: 0.8rem;
}

.armory-profile-gold-stat > i {
  color: #ffce45;
}

.armory-profile-stat-strip article.online i,
.armory-profile-stat-strip article.online strong {
  color: #27d77a;
}

.armory-profile-stat-strip article.offline i,
.armory-profile-stat-strip article.offline strong {
  color: #ff5f6d;
}

.armory-profile-stat-strip article.online > i,
.armory-profile-stat-strip article.offline > i {
  font-size: 1rem;
}

.armory-profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(85, 151, 214, 0.28);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 42, 0.9),
    rgba(5, 15, 28, 0.92)
  );
  overflow: hidden;
}

.armory-profile-tabs button {
  min-height: 58px;
  justify-content: center;
  border: 0;
  border-left: 1px solid rgba(85, 151, 214, 0.14);
  border-radius: 0;
  background: transparent;
}

.armory-profile-tabs button:first-child {
  border-left: 0;
}

.armory-profile-tabs button.active {
  background: linear-gradient(
    180deg,
    rgba(25, 82, 138, 0.55),
    rgba(9, 35, 67, 0.35)
  );
  box-shadow: inset 0 -2px 0 #28a8ff;
}

.armory-profile-character-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 22px;
  align-items: start;
}

.armory-profile-equipment,
.armory-profile-card,
.armory-profile-extra-panel {
  border: 1px solid rgba(85, 151, 214, 0.28);
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 42, 0.82),
    rgba(4, 13, 25, 0.9)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.22);
}

.armory-profile-equipment {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(5, 17, 31, 0.94), rgba(3, 12, 24, 0.96)),
    rgba(4, 13, 25, 0.94);
}

.armory-character-profile-page .armory-equipment-header {
  margin-bottom: 14px;
}

.armory-character-profile-page .armory-section-title {
  margin-bottom: 0;
  color: #bce1ff;
  font-size: 0.9rem;
  text-transform: none;
}

.armory-character-profile-page .armory-equipped-count {
  color: #4aa3ff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.armory-profile-paperdoll {
  grid-template-columns: 72px minmax(320px, 1fr) 72px;
  gap: 18px;
  max-width: none;
  min-height: 780px;
  padding: 28px 26px 132px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(85, 151, 214, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 27, 0.12) 0%,
      rgba(4, 14, 27, 0.2) 48%,
      rgba(3, 10, 20, 0.9) 100%
    ),
    radial-gradient(
      ellipse at 50% 88%,
      rgba(45, 150, 236, 0.22),
      rgba(3, 10, 20, 0) 31%
    ),
    url("../img/armory/viewer.png") center calc(100% + 56px) / 114% auto
      no-repeat;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.38);
}

.armory-profile-paperdoll::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 10, 20, 0.9) 0%,
      rgba(3, 10, 20, 0.08) 20%,
      rgba(3, 10, 20, 0.08) 80%,
      rgba(3, 10, 20, 0.9) 100%
    ),
    linear-gradient(
      0deg,
      rgba(3, 10, 20, 0.82) 0%,
      rgba(3, 10, 20, 0) 34%,
      rgba(3, 10, 20, 0.12) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.armory-profile-paperdoll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 150px;
  z-index: 2;
  width: min(430px, 48vw);
  height: 118px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(72, 181, 255, 0.24) 0%,
      rgba(46, 154, 238, 0.16) 34%,
      rgba(46, 154, 238, 0.04) 68%,
      transparent 72%
    ),
    repeating-radial-gradient(
      ellipse at center,
      rgba(99, 201, 255, 0.22) 0 1px,
      transparent 2px 18px
    );
  box-shadow:
    0 0 34px rgba(45, 150, 236, 0.2),
    inset 0 0 26px rgba(52, 171, 255, 0.18);
  opacity: 0.72;
  pointer-events: none;
}

.armory-character-profile-page .armory-gear-column {
  gap: 14px;
  z-index: 3;
}

.armory-character-profile-page .armory-gear-column.center {
  min-height: 650px;
  justify-content: flex-start;
  padding-top: 26px;
}

.armory-character-profile-page .armory-slot {
  width: 64px;
  height: 64px;
  border-radius: 11px;
  background: rgba(2, 8, 16, 0.72);
}

.armory-character-profile-page .armory-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 9px;
}

.armory-character-profile-page .armory-gear-bottom {
  gap: 34px;
  margin-top: 0;
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 5;
  transform: translateX(-50%);
}

.armory-character-profile-page .armory-model-shell {
  min-height: 595px;
  width: 100%;
  padding: 0 18px;
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.armory-character-profile-page .armory-model-shell::after {
  display: none;
}

.armory-character-profile-page .armory-viewer-controls {
  position: absolute;
  top: -18px !important;
  left: 50%;
  z-index: 7;
  transform: translateX(-50%);
}

.armory-character-profile-page .armory-viewer-controls label {
  min-height: 28px;
  border-color: rgba(125, 190, 255, 0.24);
  border-radius: 6px;
  background: rgba(8, 27, 48, 0.48);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
}

.armory-character-profile-page .armory-model-viewer {
  min-height: 540px;
  width: 100%;
  position: relative;
  z-index: 3;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.armory-character-profile-page .armory-model-viewer canvas,
.armory-character-profile-page .armory-model-viewer > * {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.armory-character-profile-page .armory-model-viewer canvas {
  min-height: 540px;
  mix-blend-mode: normal;
}

.armory-character-profile-page .armory-model-fallback img {
  width: 140px;
  height: 140px;
}

.armory-character-profile-page .armory-viewer-status {
  position: relative;
  z-index: 3;
  margin-top: -28px;
}

.armory-character-profile-page.armory-model-ready .armory-viewer-status {
  display: none;
}

.armory-character-profile-page .armory-class-race {
  position: absolute;
  left: 50%;
  bottom: -2px;
  z-index: 6;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  margin-top: 0;
  transform: translateX(-50%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.armory-character-profile-page .armory-class-race span {
  display: inline-flex;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #2f96d5;
  font-size: 0.76rem;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(58, 174, 255, 0.48);
}

.armory-character-profile-page .armory-class-race strong {
  display: inline-flex;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(220, 236, 255, 0.86);
  font-size: 0.76rem;
}

.armory-profile-side {
  display: grid;
  gap: 16px;
}

.armory-profile-card {
  min-width: 0;
  padding: 18px 20px;
}

.armory-profile-card h2,
.armory-profile-extra-panel h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
  color: #bce1ff;
  font-size: 0.93rem;
  font-weight: 900;
}

.armory-profile-card h2 a {
  color: #62b8ff;
  font-size: 0.75rem;
  text-decoration: none;
}

.armory-profile-card h3 {
  margin: 0 0 12px;
  color: #e8f4ff;
}

.armory-profile-stat-list {
  display: grid;
  gap: 11px;
}

.armory-profile-stat-list div,
.armory-profile-raid-list div,
.armory-profile-timeline div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(85, 151, 214, 0.12);
}

.armory-profile-stat-list div:last-child,
.armory-profile-raid-list div:last-child,
.armory-profile-timeline div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.armory-profile-stat-list span,
.armory-profile-raid-list span,
.armory-profile-progress-list span,
.armory-profile-timeline small {
  color: #9eb4d0;
  font-size: 0.82rem;
  font-weight: 800;
}

.armory-profile-stat-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.armory-profile-stat-list span i {
  width: 15px;
  color: #b8c8dd;
  font-size: 0.86rem;
  text-align: center;
}

.armory-profile-stat-list strong,
.armory-profile-raid-list strong,
.armory-profile-progress-list strong {
  color: #e7f3ff;
  font-size: 0.84rem;
  text-align: right;
}

.armory-overview-row-health span i,
.armory-overview-row-health strong {
  color: #ff4d5f;
}

.armory-overview-row-mana span i,
.armory-overview-row-mana strong {
  color: #4c95ff;
}

.armory-overview-row-rage span i,
.armory-overview-row-rage strong {
  color: #d94b32;
}

.armory-overview-row-energy span i,
.armory-overview-row-energy strong {
  color: #ffd84d;
}

.armory-overview-row-runic-power span i,
.armory-overview-row-runic-power strong {
  color: #6fd7ff;
}

.armory-overview-row-repair span i {
  color: #d2a156;
}

.armory-profile-stat-list.compact {
  gap: 8px;
}

.armory-profile-progress-list {
  display: grid;
  gap: 12px;
}

.armory-profile-progress-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
}

.armory-profile-progress-list i {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(91, 144, 195, 0.18);
}

.armory-profile-progress-list em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1592ff, #32d3ff);
}

.armory-profile-progress-list p,
.armory-profile-card p {
  margin: 0;
  color: #8fa5c4;
}

.armory-profile-raid-list {
  display: grid;
  gap: 11px;
}

.armory-profile-raid-list em {
  grid-column: 1 / -1;
  color: #54d989;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.armory-profile-dashboard {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.armory-profile-dashboard > .armory-profile-card {
  grid-column: span 4;
}

.armory-profile-dashboard > .armory-profile-card:nth-child(4),
.armory-profile-dashboard > .armory-profile-card:nth-child(5),
.armory-profile-dashboard > .armory-profile-card:nth-child(6),
.armory-profile-dashboard > .armory-profile-card:nth-child(7) {
  grid-column: span 3;
}

.armory-profile-achievement-list {
  display: grid;
  gap: 10px;
}

.armory-profile-achievement-list a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #dcecff;
  text-decoration: none;
}

.armory-profile-achievement-list i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 215, 90, 0.28);
  border-radius: 7px;
  color: #f5c84b;
  background: rgba(92, 62, 9, 0.32);
}

.armory-profile-achievement-list strong,
.armory-profile-achievement-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armory-profile-achievement-list small {
  color: #8fa5c4;
}

.armory-profile-achievement-list b {
  color: #e8f4ff;
}

.armory-profile-talent-list {
  display: grid;
  gap: 10px;
}

.armory-profile-talent-list div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.armory-profile-talent-list img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

.armory-profile-talent-list span,
.armory-profile-talent-list strong {
  color: #dcecff;
  font-weight: 900;
}

.armory-profile-collection-card {
  text-align: center;
}

.armory-profile-collection-visual {
  min-height: 124px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(51, 166, 255, 0.18), transparent 58%),
    rgba(3, 10, 20, 0.45);
  color: #59bfff;
  font-size: 3.2rem;
}

.armory-profile-collection-card > strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dcecff;
}

.armory-profile-collection-card > strong b {
  color: #f2f8ff;
}

.armory-profile-timeline {
  display: grid;
  gap: 11px;
}

.armory-profile-timeline div {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
}

.armory-profile-timeline i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(98, 184, 255, 0.24);
  border-radius: 7px;
  color: #72bdff;
}

.armory-profile-timeline strong,
.armory-profile-timeline time {
  color: #dcecff;
  font-size: 0.82rem;
}

.armory-profile-extra-panel {
  padding: 22px;
}

.armory-profile-glyph-grid,
.armory-profile-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.armory-profile-glyph-list {
  display: grid;
  gap: 10px;
}

.armory-profile-glyph-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dcecff;
  text-decoration: none;
}

.armory-profile-glyph-list i {
  color: #b47cff;
}

.armory-profile-progress-list.wide {
  max-width: 720px;
}

.armory-profile-collection-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.armory-profile-collection-summary span {
  padding: 16px;
  border: 1px solid rgba(85, 151, 214, 0.2);
  border-radius: 8px;
  background: rgba(3, 10, 20, 0.34);
}

.armory-profile-collection-summary strong,
.armory-profile-collection-summary small {
  display: block;
}

.armory-profile-collection-summary strong {
  color: #f2f8ff;
  font-size: 1.6rem;
}

.armory-profile-collection-summary small {
  color: #8fa5c4;
}

@media (max-width: 1180px) {
  .armory-profile-stat-strip,
  .armory-profile-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .armory-profile-character-grid {
    grid-template-columns: 1fr;
  }

  .armory-profile-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .armory-profile-dashboard > .armory-profile-card,
  .armory-profile-dashboard > .armory-profile-card:nth-child(n) {
    grid-column: span 6;
  }

  .armory-profile-paperdoll {
    grid-template-columns: 68px minmax(0, 1fr) 68px;
  }
}

@media (max-width: 680px) {
  .armory-character-profile-page .armory-profile-hero {
    padding-inline: 0;
  }

  .armory-profile-topline,
  .armory-profile-identity {
    grid-template-columns: 1fr;
  }

  .armory-profile-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-profile-identity {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .armory-profile-stat-strip,
  .armory-profile-tabs,
  .armory-profile-side {
    grid-template-columns: 1fr;
  }

  .armory-profile-dashboard {
    grid-template-columns: 1fr;
  }

  .armory-profile-dashboard > .armory-profile-card,
  .armory-profile-dashboard > .armory-profile-card:nth-child(n) {
    grid-column: auto;
  }

  .armory-profile-paperdoll {
    grid-template-columns: 1fr;
  }

  .armory-character-profile-page .armory-gear-column {
    display: grid;
    grid-template-columns: repeat(4, 64px);
    justify-content: center;
  }

  .armory-character-profile-page .armory-gear-bottom {
    margin-top: 0;
  }
}
