/* ─── Armory competitive hub ─── */
.armory-hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.armory-hub-tabs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 201, 240, 0.18);
  background: rgba(6, 12, 22, 0.65);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.armory-hub-tabs__link:hover,
.armory-hub-tabs__link.is-active {
  border-color: rgba(200, 169, 107, 0.45);
  color: var(--gold-light);
  box-shadow: 0 0 16px rgba(200, 169, 107, 0.12);
}

.armory-panel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.armory-panel__head h2 {
  margin: 0.25rem 0;
  font-family: var(--font-display);
  color: #fff;
}

.armory-bracket-tabs {
  display: flex;
  gap: 0.4rem;
}

.armory-bracket-tabs button {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 201, 240, 0.2);
  background: rgba(6, 12, 22, 0.7);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}

.armory-bracket-tabs button.is-active {
  border-color: rgba(200, 169, 107, 0.5);
  color: var(--gold-light);
  background: rgba(200, 169, 107, 0.1);
}

.armory-podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: var(--space-4);
  align-items: end;
  margin-bottom: 1.25rem;
}

.armory-podium--guilds {
  margin-bottom: 1.5rem;
}

.armory-podium__slot {
  text-align: center;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-lg);
}

.armory-podium__slot--1 {
  order: 2;
  padding-top: 1.5rem;
  border: 1px solid rgba(200, 169, 107, 0.55);
  box-shadow: 0 0 28px rgba(200, 169, 107, 0.18);
}

.armory-podium__slot--2 { order: 1; border: 1px solid rgba(76, 201, 240, 0.35); }
.armory-podium__slot--3 { order: 3; border: 1px solid rgba(139, 90, 43, 0.4); }

.armory-podium__medal {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.armory-podium__slot h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
}

.armory-podium__rating {
  margin: 0;
  color: var(--ice-glow);
  font-weight: 700;
}

.armory-podium__meta {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.armory-rating-badge,
.armory-guild-points {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(200, 169, 107, 0.35);
  background: rgba(200, 169, 107, 0.08);
}

.armory-table tbody tr.armory-row--gold {
  background: linear-gradient(90deg, rgba(200, 169, 107, 0.14), transparent 60%);
  border-left: 3px solid var(--gold);
}

.armory-table tbody tr.armory-row--silver {
  background: linear-gradient(90deg, rgba(76, 201, 240, 0.1), transparent 60%);
  border-left: 3px solid rgba(76, 201, 240, 0.55);
}

.armory-table tbody tr.armory-row--bronze {
  background: linear-gradient(90deg, rgba(139, 90, 43, 0.12), transparent 60%);
  border-left: 3px solid rgba(139, 90, 43, 0.55);
}

.armory-rating {
  color: var(--ice-glow);
}

.armory-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.armory-filter-bar label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.armory-filter-bar select {
  min-width: 140px;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(76, 201, 240, 0.2);
  background: rgba(6, 12, 22, 0.8);
  color: #fff;
}

.armory-guild-grid {
  display: grid;
  gap: 1rem;
}

.armory-guild-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.armory-guild-card__rank {
  font-size: 1.5rem;
  line-height: 1;
  padding-top: 0.15rem;
}

.armory-guild-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.armory-guild-card__top h3 {
  margin: 0;
  font-family: var(--font-display);
  color: #fff;
}

.armory-guild-card__leader,
.armory-guild-card__progress,
.armory-guild-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.armory-guild-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.armory-fame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.armory-fame-card {
  padding: 1.25rem 1.1rem 1.1rem;
  text-align: center;
  border: 1px solid rgba(200, 169, 107, 0.22);
  background: linear-gradient(180deg, rgba(200, 169, 107, 0.08), rgba(6, 12, 22, 0.92));
}

.armory-fame-card__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.armory-fame-card__badge {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(135deg, #f0d89a, #c8a96b);
}

.armory-fame-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
}

.armory-fame-card__subject {
  margin: 0;
  color: var(--ice-glow);
  font-weight: 600;
}

.armory-fame-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.armory-firsts-block {
  margin-bottom: 2rem;
}

.armory-firsts-block__title {
  font-family: var(--font-display);
  color: var(--gold-light);
  margin: 0 0 1rem;
}

.armory-timeline {
  display: grid;
  gap: 0.85rem;
}

.armory-timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  align-items: start;
}

.armory-timeline__item--monument {
  border-color: rgba(200, 169, 107, 0.28);
}

.armory-timeline__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 201, 240, 0.2);
  background: rgba(76, 201, 240, 0.08);
}

.armory-timeline__date {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.armory-timeline__item h4 {
  margin: 0.25rem 0;
  color: #fff;
  font-family: var(--font-display);
}

.armory-timeline__item p {
  margin: 0.15rem 0 0.45rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.armory-footnote {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.armory-footnote a {
  color: var(--ice-glow);
}

.armory-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.armory-search-bar__field {
  flex: 1 1 14rem;
}

.armory-search-bar input[type="search"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.armory-online-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.72));
  cursor: pointer;
  user-select: none;
}

.armory-online-toggle input {
  accent-color: #4cc9f0;
}

.armory-char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.armory-rankings-bridge__note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.06);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.armory-rankings-preview__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.armory-rankings-preview__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.armory-panel--fame .armory-firsts-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.armory-table--compact {
  font-size: 0.88rem;
}

.armory-table--compact th,
.armory-table--compact td {
  padding: 0.45rem 0.65rem;
  vertical-align: middle;
}

.armory-table--compact tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.armory-row--compact:hover {
  background: rgba(76, 201, 240, 0.04);
}

.armory-cell-icon {
  width: 2.75rem;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  line-height: 0;
  font-size: 0;
}

.armory-cell-muted {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 400;
}

.armory-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.armory-status--on {
  color: #6ee7a0;
}

.armory-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.armory-subtabs button {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 201, 240, 0.18);
  background: rgba(6, 12, 22, 0.7);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.armory-subtabs button.is-active {
  border-color: rgba(200, 169, 107, 0.45);
  color: var(--gold-light);
  background: rgba(200, 169, 107, 0.1);
}

@media (max-width: 768px) {
  .armory-podium,
  .armory-podium--guilds {
    grid-template-columns: 1fr;
  }

  .armory-podium__slot--1 { order: 1; }

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