:root {
  --players-bg: #020b15;
  --players-panel: rgba(4, 18, 32, 0.92);
  --players-panel-soft: rgba(8, 29, 48, 0.78);
  --players-line: rgba(72, 154, 213, 0.31);
  --players-line-soft: rgba(100, 174, 225, 0.14);
  --players-blue: #35a9ff;
  --players-blue-bright: #75c7ff;
  --players-text: #edf7ff;
  --players-muted: #8ca9c1;
  --players-green: #42dda3;
  --players-red: #ff4f57;
  --players-gold: #ffc93d;
}

.players-body .content-wrapper {
  overflow: hidden;
}

.players-page {
  position: relative;
  min-height: 100vh;
  padding: 16px 14px 56px;
  color: var(--players-text);
}

.players-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.players-hero,
.players-filter-panel,
.players-roster-panel,
.insight-card,
.no-players-state,
.players-cta {
  border: 1px solid var(--players-line);
  border-radius: 16px;
  background: var(--players-panel);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 18px 42px rgba(0, 0, 0, 0.24);
}

.players-hero {
  position: relative;
  min-height: 440px;
  padding: 50px 46px 38px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(2, 13, 25, 0.98) 0%,
      rgba(3, 17, 31, 0.82) 35%,
      rgba(2, 13, 25, 0.2) 68%,
      rgba(2, 10, 19, 0.55) 100%
    ),
    linear-gradient(0deg, rgba(2, 11, 20, 0.94), transparent 48%),
    url("../img/banner.png") center 46% / cover no-repeat;
}

.players-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 58% 16%,
      rgba(56, 190, 255, 0.24),
      transparent 18%
    ),
    linear-gradient(180deg, transparent 60%, rgba(3, 15, 26, 0.9));
}

.players-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 630px;
}

.players-hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.players-hero-top .players-view-switch {
  flex: 0 0 auto;
  margin-top: 2px;
}

.players-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #56b9ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.players-hero h1 {
  margin: 0 0 12px;
  color: #f1f8ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(64, 164, 235, 0.32);
}

.players-hero-copy p {
  max-width: 600px;
  margin: 0;
  color: #c2d7e8;
  font-size: 1rem;
  line-height: 1.75;
}

.players-hero-stats {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 38px;
  left: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-stat {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(91, 172, 225, 0.34);
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    rgba(4, 24, 41, 0.94),
    rgba(5, 17, 30, 0.88)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.05),
    0 10px 26px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.hero-stat-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--players-blue-bright);
  background: rgba(44, 153, 226, 0.15);
  box-shadow: 0 0 22px rgba(50, 166, 240, 0.16);
  font-size: 1.4rem;
}

.hero-stat strong,
.hero-stat b,
.hero-stat small {
  display: block;
}

.hero-stat strong {
  color: var(--players-blue-bright);
  font-size: 1.55rem;
  line-height: 1;
}

.hero-stat strong em {
  margin-left: 3px;
  font-size: 0.82rem;
  font-style: normal;
}

.hero-stat b {
  margin-top: 8px;
  color: #f4f9ff;
  font-size: 0.81rem;
}

.hero-stat small {
  margin-top: 5px;
  overflow: hidden;
  color: var(--players-muted);
  font-size: 0.68rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-stat.total strong,
.hero-stat.total .hero-stat-icon {
  color: var(--players-green);
}
.hero-stat.horde strong,
.hero-stat.horde .hero-stat-icon {
  color: var(--players-red);
}
.hero-stat.alliance strong,
.hero-stat.alliance .hero-stat-icon {
  color: #2f8fff;
}

.players-filter-panel,
.players-roster-panel {
  margin-top: 18px;
  padding: 20px 24px;
}

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

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #9fd1f5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.section-heading h2 i {
  color: #65bcfa;
}

.insight-scope {
  color: #62849b;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-description {
  min-height: 34px;
  margin: -7px 0 7px;
  color: #718fa5;
  font-size: 0.66rem;
  line-height: 1.45;
}

.insight-empty {
  margin: 14px 0 0;
  color: #718fa5;
  font-size: 0.68rem;
}

.filter-reset {
  padding: 8px 12px;
  border: 1px solid rgba(94, 166, 215, 0.29);
  border-radius: 7px;
  color: #a9c9df;
  background: rgba(10, 35, 55, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-reset:hover {
  color: white;
  border-color: #58b9fa;
}

.filter-reset.is-hidden {
  visibility: hidden;
}

.players-filter-primary {
  display: grid;
  grid-template-columns: auto minmax(280px, 580px);
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}

.faction-tabs {
  display: flex;
}

.faction-tab {
  min-width: 112px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(75, 145, 193, 0.26);
  color: #91adc2;
  background: rgba(4, 19, 33, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.faction-tab:first-child {
  border-radius: 9px 0 0 9px;
}
.faction-tab:last-child {
  border-radius: 0 9px 9px 0;
}
.faction-tab + .faction-tab {
  border-left: 0;
}
.faction-tab i {
  margin-right: 6px;
}
.faction-tab.alliance i {
  color: #258eff;
}
.faction-tab.horde i {
  color: var(--players-red);
}

.faction-tab:hover,
.faction-tab.active {
  color: white;
  background: linear-gradient(
    180deg,
    rgba(26, 112, 206, 0.85),
    rgba(8, 61, 133, 0.9)
  );
  box-shadow: inset 0 0 18px rgba(65, 163, 255, 0.22);
}

.player-search {
  position: relative;
  display: block;
}

.player-search i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #6689a3;
  transform: translateY(-50%);
}

.player-search input,
.players-filter-grid select,
.players-filter-grid input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(79, 148, 195, 0.31);
  border-radius: 8px;
  outline: none;
  color: #dcecf8;
  background: rgba(2, 14, 26, 0.8);
  font-size: 0.8rem;
}

.player-search input {
  padding: 0 50px 0 43px;
}

.player-search input:focus,
.players-filter-grid select:focus,
.players-filter-grid input:focus {
  border-color: #41aaf0;
  box-shadow: 0 0 0 3px rgba(47, 151, 220, 0.12);
}

.player-search kbd {
  position: absolute;
  top: 50%;
  right: 12px;
  padding: 2px 7px;
  border: 1px solid rgba(84, 153, 201, 0.25);
  border-radius: 4px;
  color: #56809e;
  background: rgba(12, 42, 63, 0.75);
  font-family: inherit;
  font-size: 0.68rem;
  transform: translateY(-50%);
}

.players-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(125px, 1fr)) repeat(
      2,
      minmax(80px, 0.6fr)
    );
  gap: 14px;
}

.players-filter-grid label {
  display: grid;
  gap: 7px;
}

.players-filter-grid label > span {
  color: #99b2c5;
  font-size: 0.69rem;
  font-weight: 800;
}

.players-filter-grid select,
.players-filter-grid input {
  padding: 0 12px;
}

.players-filter-grid select option {
  color: white;
  background: #061625;
}

.roster-heading span {
  color: #7795ab;
  font-size: 0.72rem;
  font-weight: 800;
}

.roster-result-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
}

.roster-result-meta small {
  color: #607f96;
  font-size: 0.59rem;
  font-weight: 700;
  line-height: 1.2;
}

.players-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(73, 145, 194, 0.2);
  border-radius: 9px;
}

.player-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
}

.player-table th {
  padding: 13px 16px;
  color: #7697af;
  background: rgba(8, 32, 51, 0.72);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
}

.player-table td {
  padding: 11px 16px;
  border-top: 1px solid rgba(70, 138, 184, 0.13);
  color: #a9c0d1;
  font-size: 0.74rem;
  vertical-align: middle;
}

.player-table tbody tr {
  cursor: pointer;
  transition: background 140ms ease;
}

.player-table tbody tr:hover {
  background: rgba(29, 101, 150, 0.12);
}

.player-table tbody tr.playerbot-row {
  cursor: default;
}

.roster-player,
.roster-class,
.roster-faction,
.roster-playtime {
  display: flex;
  align-items: center;
}

.roster-player {
  gap: 10px;
  min-width: 170px;
}

.roster-player img {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(70, 159, 219, 0.48);
  border-radius: 50%;
  object-fit: cover;
  background: #071827;
}

.roster-player span,
.roster-playtime {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.roster-player a {
  color: #eff7ff;
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
}

.roster-player a:hover {
  color: #68c2ff;
}

.roster-player-name {
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
  gap: 7px;
}

.roster-playerbot-name {
  color: #e8ddff;
  font-size: 0.79rem;
  font-weight: 800;
}

.roster-playerbot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 1px solid rgba(178, 125, 255, 0.36);
  border-radius: 999px;
  color: #d8baff;
  background: rgba(118, 66, 179, 0.2);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.roster-gm-badge {
  padding: 2px 6px;
  border: 1px solid rgba(255, 82, 89, 0.55);
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(180deg, #f0444c, #a91625);
  box-shadow: 0 0 10px rgba(239, 68, 76, 0.22);
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.roster-player small,
.roster-playtime small {
  margin-top: 3px;
  color: #68859a;
  font-size: 0.63rem;
}

.roster-class {
  gap: 9px;
  min-width: 150px;
}

.roster-class img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.roster-faction {
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.roster-faction em {
  display: none;
  font-style: normal;
}

.roster-faction.alliance {
  color: #2691ff;
  background: rgba(28, 116, 210, 0.14);
}

.roster-faction.horde {
  color: #f05258;
  background: rgba(194, 49, 57, 0.14);
}

.roster-level {
  display: inline-grid;
  min-width: 33px;
  height: 27px;
  padding: 0 7px;
  place-items: center;
  border: 1px solid rgba(62, 150, 210, 0.24);
  border-radius: 999px;
  color: #7fc7f7;
  background: rgba(26, 101, 153, 0.18);
  font-weight: 900;
}

.roster-zone {
  display: block;
  max-width: 180px;
  color: #acc6d8;
}

.roster-playtime {
  color: #d4e4ef;
  white-space: nowrap;
}

.roster-playtime small {
  color: var(--players-green);
}

.players-online-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--players-green);
  box-shadow: 0 0 7px var(--players-green);
}

.roster-actions {
  display: flex;
  gap: 7px;
}

.roster-actions a {
  display: grid;
  width: 34px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(63, 148, 207, 0.3);
  border-radius: 7px;
  color: #72bff3;
  background: rgba(14, 64, 98, 0.27);
  text-decoration: none;
}

.roster-actions a:hover {
  color: white;
  border-color: #49b6ff;
}

.roster-actions a.report {
  color: #dc7075;
  border-color: rgba(200, 65, 72, 0.3);
  background: rgba(94, 25, 31, 0.2);
}

.roster-no-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a992c8;
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.players-empty-filter {
  display: none;
  padding: 54px 20px;
  color: #819db2;
  text-align: center;
}

.players-empty-filter.show {
  display: block;
}
.players-empty-filter i,
.players-empty-filter strong,
.players-empty-filter span {
  display: block;
}
.players-empty-filter i {
  margin-bottom: 8px;
  color: #5fbaf6;
  font-size: 1.8rem;
}
.players-empty-filter strong {
  color: #d9e9f4;
}
.players-empty-filter span {
  margin-top: 5px;
  font-size: 0.75rem;
}

.players-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
}

.players-page-btn,
.players-page-gap {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  place-items: center;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 900;
}

.players-page-btn {
  border: 1px solid rgba(67, 148, 202, 0.25);
  color: #8cbcd9;
  background: rgba(8, 35, 56, 0.72);
  cursor: pointer;
}

.players-page-btn:hover:not(:disabled),
.players-page-btn.active {
  color: white;
  border-color: #3eaaf3;
  background: #126db6;
}

.players-page-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.players-page-gap {
  color: #52748d;
}

.players-insights {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.15fr;
  gap: 16px;
  margin-top: 18px;
}

.insight-card {
  min-width: 0;
  padding: 20px;
}

.hot-zone-list {
  display: grid;
}

.hot-zone-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(70, 141, 189, 0.13);
  color: #b5cad9;
  font-size: 0.71rem;
}

.hot-zone-list > div:last-of-type {
  border-bottom: 0;
}
.hot-zone-list > div span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.hot-zone-list > div i {
  color: #42a7ed;
}
.hot-zone-list > div strong {
  color: #dceaf4;
}

.faction-card {
  text-align: center;
}

.faction-donut {
  display: grid;
  width: 150px;
  height: 150px;
  margin: 10px auto 18px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    #258fff 0 var(--alliance-share),
    #ef4048 var(--alliance-share) 100%
  );
  box-shadow: 0 0 28px rgba(38, 127, 210, 0.16);
}

.faction-donut.empty {
  background: rgba(67, 105, 132, 0.28);
}

.faction-donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #061522;
  box-shadow: inset 0 0 20px rgba(25, 94, 139, 0.18);
}

.faction-donut div {
  z-index: 1;
  grid-area: 1 / 1;
}

.faction-donut strong,
.faction-donut span,
.faction-legend strong,
.faction-legend small {
  display: block;
}

.faction-donut strong {
  color: white;
  font-size: 1.5rem;
}
.faction-donut span {
  color: #7898af;
  font-size: 0.65rem;
}

.faction-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  color: #a9c0d1;
  font-size: 0.68rem;
}

.faction-legend span:first-child {
  text-align: left;
}
.faction-legend span:last-child {
  text-align: right;
}
.faction-legend strong {
  font-size: 1rem;
}
.faction-legend small {
  margin-top: 2px;
  color: #718ba0;
}
.faction-legend .horde strong {
  color: var(--players-red);
}
.faction-legend .alliance strong {
  color: #3298ff;
}

.class-distribution {
  display: grid;
  gap: 7px;
}

.class-distribution > div {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  color: #a9c0d1;
}

.class-distribution img {
  width: 21px;
  height: 21px;
  border-radius: 4px;
}

.class-distribution > div > span {
  height: 9px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(57, 105, 136, 0.2);
}

.class-distribution > div > span i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d8dda, #56c1f2);
}

.class-distribution > div:nth-child(2n) > span i {
  background: linear-gradient(90deg, #c94c2f, #ed8a30);
}
.class-distribution > div:nth-child(3n) > span i {
  background: linear-gradient(90deg, #8762c9, #be7bd4);
}
.class-distribution strong {
  font-size: 0.67rem;
  text-align: right;
}

.realm-pulse-list {
  display: grid;
}

.realm-pulse-list > span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(70, 141, 189, 0.13);
}

.realm-pulse-list > span:last-child {
  border-bottom: 0;
}
.realm-pulse-list i {
  color: #54b6f5;
}
.realm-pulse-list b {
  color: #a9c0d1;
  font-size: 0.68rem;
  font-weight: 700;
}
.realm-pulse-list strong {
  max-width: 125px;
  overflow: hidden;
  color: #e3f0f8;
  font-size: 0.7rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-players-state {
  margin-top: 18px;
  padding: 80px 24px;
  text-align: center;
}

.no-players-state > i {
  color: #65bdf5;
  font-size: 3rem;
}
.no-players-state h2 {
  margin: 14px 0 8px;
  font-family: Georgia, serif;
}
.no-players-state p {
  color: var(--players-muted);
}
.no-players-state a {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 20px;
  border-radius: 7px;
  color: white;
  background: #167bc3;
  font-weight: 800;
  text-decoration: none;
}

.players-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  min-height: 160px;
  margin-top: 18px;
  padding: 28px 60px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(2, 13, 24, 0.22),
      rgba(3, 18, 32, 0.88) 30%,
      rgba(3, 18, 32, 0.9) 68%,
      rgba(2, 13, 24, 0.38)
    ),
    url("../img/banner.png") center 60% / cover no-repeat;
}

.players-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 55px rgba(0, 0, 0, 0.6);
}

.players-cta div,
.players-cta a {
  position: relative;
  z-index: 1;
}

.players-cta span {
  color: #4eb4f7;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.players-cta h2 {
  margin: 6px 0;
  color: #dbeeff;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.players-cta p {
  margin: 0;
  color: #8daabe;
  font-size: 0.78rem;
}

.players-cta a {
  flex: 0 0 auto;
  min-width: 260px;
  padding: 15px 24px;
  border: 1px solid #48bbff;
  border-radius: 8px;
  color: white;
  background: linear-gradient(180deg, #1387db, #0754ae);
  box-shadow:
    0 0 24px rgba(37, 151, 236, 0.35),
    inset 0 1px rgba(255, 255, 255, 0.22);
  font-family: Georgia, serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.players-cta a:hover {
  filter: brightness(1.14);
}

/* Live player map */
.players-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 18px 0 0;
  padding: 4px;
  border: 1px solid rgba(75, 145, 193, 0.24);
  border-radius: 11px;
  background: rgba(2, 13, 24, 0.84);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.players-view-button {
  display: inline-flex;
  min-width: 128px;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #8fa9bd;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.players-view-button:hover {
  color: #d8efff;
}

.players-view-button.active,
.players-view-button[aria-pressed="true"] {
  border-color: rgba(72, 172, 235, 0.36);
  color: #e6f7ff;
  background: linear-gradient(180deg, rgba(21, 91, 131, 0.68), rgba(8, 43, 72, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 5px 14px rgba(0, 0, 0, 0.19);
}

.players-view-button[aria-pressed="true"] i {
  color: #65c5ff;
}

.players-view-panel[hidden] {
  display: none !important;
}

.players-map-panel {
  margin-top: 12px;
  padding: 22px 24px 16px;
  border: 1px solid var(--players-line);
  border-radius: 16px;
  color: var(--players-text);
  background: var(--players-panel);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 18px 42px rgba(0, 0, 0, 0.24);
}

.players-map-heading,
.players-map-toolbar,
.players-map-sync,
.players-map-continent-tabs,
.players-map-filters,
.map-sidebar-title,
.players-map-footer {
  display: flex;
  align-items: center;
}

.players-map-heading {
  justify-content: space-between;
  gap: 20px;
  margin: 0 2px 20px;
}

.players-map-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: #59bafe;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.players-map-heading h2 {
  margin: 0;
  color: #eaf6ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.players-map-heading p {
  margin: 6px 0 0;
  color: #91adc2;
  font-size: 0.78rem;
}

.players-map-sync {
  flex: 0 0 auto;
  gap: 9px;
  color: #91adc2;
  font-size: 0.7rem;
  font-weight: 700;
}

.map-sync-dot,
.players-map-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7993a6;
  box-shadow: 0 0 0 4px rgba(121, 147, 166, 0.11);
}

.players-map-panel.is-online .map-sync-dot {
  background: #42dda3;
  box-shadow: 0 0 0 4px rgba(66, 221, 163, 0.13), 0 0 12px rgba(66, 221, 163, 0.45);
}

.players-map-panel.is-error .map-sync-dot {
  background: #ff8b67;
  box-shadow: 0 0 0 4px rgba(255, 139, 103, 0.12);
}

.map-refresh-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(91, 172, 225, 0.28);
  border-radius: 9px;
  color: #b7d9ee;
  background: rgba(8, 31, 49, 0.85);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.map-refresh-button:hover {
  transform: rotate(25deg);
  border-color: #53b8f5;
  color: #fff;
}

.map-refresh-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.players-map-toolbar {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 13px;
}

.players-map-continent-tabs {
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.map-continent-button {
  display: inline-flex;
  min-width: 112px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(75, 145, 193, 0.26);
  color: #91adc2;
  background: rgba(4, 19, 33, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.map-continent-button:first-child {
  border-radius: 9px 0 0 9px;
}

.map-continent-button:last-child {
  border-radius: 0 9px 9px 0;
}

.map-continent-button + .map-continent-button {
  border-left: 0;
}

.map-continent-button:hover {
  color: #fff;
}

.map-continent-button.active {
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(26, 112, 206, 0.85),
    rgba(8, 61, 133, 0.9)
  );
  box-shadow: inset 0 0 18px rgba(65, 163, 255, 0.22);
}

.map-continent-button.active i {
  color: #65c5ff;
}

.players-map-filters {
  gap: 8px;
}

.players-map-search {
  display: flex;
  min-width: 215px;
  height: 37px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(75, 145, 193, 0.2);
  border-radius: 9px;
  color: #5b8ca9;
  background: rgba(4, 18, 31, 0.75);
}

.players-map-search:focus-within {
  border-color: rgba(83, 184, 245, 0.52);
  box-shadow: 0 0 0 3px rgba(65, 166, 224, 0.1);
}

.players-map-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #d8eaf5;
  background: transparent;
  font: inherit;
  font-size: 0.65rem;
}

.players-map-search input::placeholder {
  color: #64839a;
}

.map-filter-chip {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(75, 145, 193, 0.2);
  border-radius: 999px;
  color: #718da4;
  background: rgba(5, 20, 34, 0.66);
  font-size: 0.66rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 160ms ease, border-color 160ms ease, color 160ms ease;
}

.map-filter-chip b {
  color: #c9e0ef;
  font-size: 0.66rem;
}

.map-filter-chip.active {
  border-color: rgba(94, 166, 215, 0.32);
  color: #d0e3f1;
}

.map-filter-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78c6fb;
  box-shadow: 0 0 8px rgba(120, 198, 251, 0.5);
}

.map-filter-chip.bot .map-filter-swatch {
  border: 2px solid #f5c05a;
  background: #8c6628;
  box-shadow: 0 0 8px rgba(245, 192, 90, 0.35);
}

.players-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  gap: 14px;
  align-items: stretch;
}

.players-map-canvas {
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 966 / 732;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(77, 150, 191, 0.3);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 48% 45%, rgba(21, 69, 81, 0.65), transparent 66%),
    linear-gradient(135deg, #061723, #092434 56%, #06131f);
  box-shadow: inset 0 0 55px rgba(0, 0, 0, 0.34), 0 12px 26px rgba(0, 0, 0, 0.16);
}

.players-map-art,
.players-map-art::after,
.players-map-marker-layer,
.players-map-canvas::before {
  position: absolute;
  inset: 0;
}

.players-map-art {
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.94;
  transition: opacity 200ms ease;
}

.players-map-canvas[data-map="world"] .players-map-art {
  background-image: url("../img/player-map/azeroth.jpg");
}

.players-map-canvas[data-map="outland"] .players-map-art {
  background-image: url("../img/player-map/outland.jpg");
}

.players-map-canvas[data-map="northrend"] .players-map-art {
  background-image: url("../img/player-map/northrend.jpg");
}

.players-map-canvas::before {
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(117, 173, 185, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 173, 185, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse at center, transparent 40%, rgba(2, 9, 17, 0.42) 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}

.players-map-coordinates {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 15px;
  left: 15px;
  display: flex;
  justify-content: space-between;
  color: rgba(185, 219, 226, 0.54);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.players-map-marker-layer {
  z-index: 3;
  pointer-events: none;
}

.map-marker {
  position: absolute;
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  padding: 0 6px;
  border: 2px solid rgba(228, 246, 255, 0.78);
  border-radius: 50%;
  color: #fff;
  background: #208fe0;
  box-shadow: 0 0 0 4px rgba(38, 151, 228, 0.18), 0 4px 12px rgba(0, 0, 0, 0.55);
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 130ms ease, box-shadow 130ms ease, filter 130ms ease;
}

.map-marker:hover,
.map-marker:focus-visible {
  z-index: 5;
  outline: 2px solid #dff6ff;
  outline-offset: 2px;
  transform: translate(-50%, -50%) scale(1.13);
}

.map-marker.horde {
  background: #ca3f42;
  box-shadow: 0 0 0 4px rgba(202, 63, 66, 0.2), 0 4px 12px rgba(0, 0, 0, 0.55);
}

.map-marker.playerbot {
  border-color: #f4c55f;
  color: #ffe5a5;
  background: #443b2b;
  box-shadow: 0 0 0 4px rgba(244, 197, 95, 0.2), 0 4px 12px rgba(0, 0, 0, 0.55);
}

.map-marker.playerbot i {
  font-size: 0.8rem;
}

.map-marker img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
}

.map-marker.mixed {
  border-color: #e4d9a5;
  color: #fff;
  background: linear-gradient(135deg, #298bd0 0 48%, #8e6a30 52% 100%);
}

.players-map-canvas-state {
  position: absolute;
  z-index: 4;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(112, 176, 205, 0.18);
  border-radius: 9px;
  color: #d7e9ef;
  background: rgba(4, 18, 29, 0.82);
  backdrop-filter: blur(10px);
}

.players-map-canvas-state[hidden] {
  display: none;
}

.players-map-canvas-state strong {
  font-size: 0.73rem;
}

.players-map-canvas-state small {
  margin-left: auto;
  color: #8ba7b8;
  font-size: 0.62rem;
}

.map-state-spinner {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 2px solid rgba(109, 196, 238, 0.24);
  border-top-color: #64c4ff;
  border-radius: 50%;
  animation: map-spin 850ms linear infinite;
}

@keyframes map-spin {
  to { transform: rotate(360deg); }
}

.players-map-compass {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 78px;
  display: grid;
  width: 40px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(145, 190, 202, 0.18);
  border-radius: 10px;
  color: rgba(211, 235, 237, 0.68);
  background: rgba(6, 20, 29, 0.68);
  pointer-events: none;
}

.players-map-compass span {
  margin-top: 3px;
  font-size: 0.5rem;
  font-weight: 900;
}

.players-map-compass i {
  margin-top: -7px;
  font-size: 1.2rem;
}

.players-map-sidebar {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.map-sidebar-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(77, 147, 188, 0.21);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(8, 29, 46, 0.92), rgba(4, 18, 31, 0.91));
}

.map-selection-card {
  display: flex;
  flex-direction: column;
  min-height: 188px;
}

.map-selection-content {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.map-sidebar-title {
  gap: 10px;
}

.map-sidebar-title > span {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(84, 164, 213, 0.22);
  border-radius: 9px;
  color: #65bcf4;
  background: rgba(15, 57, 82, 0.48);
}

.map-sidebar-title small {
  display: block;
  margin-bottom: 3px;
  color: #64839b;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.map-sidebar-title h3 {
  margin: 0;
  color: #cde7f7;
  font-size: 0.77rem;
  font-weight: 800;
}

.map-selection-empty {
  display: flex;
  flex: 1 1 auto;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #718da2;
  font-size: 0.68rem;
  text-align: center;
}

.map-selection-empty i {
  color: #4d9bc4;
  font-size: 1rem;
}

.map-selection-list {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  min-height: 0;
  flex: 1 1 auto;
  max-height: 240px;
  gap: 6px;
  margin-top: 12px;
  overflow: auto;
}

.map-character-choice {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  padding: 8px 9px;
  border: 1px solid rgba(75, 145, 193, 0.16);
  border-radius: 8px;
  color: #d9eaf4;
  background: rgba(4, 18, 31, 0.62);
  text-align: left;
  cursor: pointer;
}

.map-character-choice:hover,
.map-character-choice[aria-current="true"] {
  border-color: rgba(83, 184, 245, 0.44);
  background: rgba(13, 52, 77, 0.75);
}

.map-character-choice strong {
  overflow: hidden;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-character-choice > span {
  color: #94b0c4;
  font-size: 0.59rem;
}

.map-character-choice small {
  grid-column: 1 / -1;
  color: #708da3;
  font-size: 0.58rem;
}

.map-character-choice .bot-tag {
  color: #f2cc75;
}

.map-selected-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(87, 166, 212, 0.18);
  border-radius: 9px;
  background: rgba(3, 16, 28, 0.72);
}

.map-selected-profile img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 8px rgba(83, 184, 245, 0.26));
}

.map-selected-profile div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.map-selected-profile strong {
  overflow: hidden;
  color: #eff8ff;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-selected-profile span {
  color: #8ca8bd;
  font-size: 0.61rem;
}

.map-selected-profile .bot-tag {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(238, 191, 98, 0.3);
  border-radius: 999px;
  color: #f2cc75;
  background: rgba(90, 62, 20, 0.22);
  font-size: 0.55rem;
  font-weight: 800;
  white-space: nowrap;
}

.map-selected-profile a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #70c4f7;
  font-size: 0.6rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.map-selected-profile a:hover {
  color: #c4ebff;
}

.map-other-card {
  min-height: 140px;
}

.map-other-count {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(103, 166, 199, 0.23);
  border-radius: 50%;
  color: #b2cedf;
  background: rgba(11, 39, 56, 0.68);
  font-size: 0.63rem;
}

.map-other-copy {
  margin: 10px 0 11px;
  color: #718da2;
  font-size: 0.62rem;
  line-height: 1.5;
}

.map-other-list {
  display: grid;
  max-height: 265px;
  gap: 6px;
  overflow: auto;
}

.map-other-empty {
  padding: 8px 0;
  color: #68869c;
  font-size: 0.63rem;
}

.map-other-zone {
  padding: 8px 9px;
  border: 1px solid rgba(75, 145, 193, 0.13);
  border-radius: 8px;
  background: rgba(3, 16, 28, 0.57);
}

.map-other-zone > summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #bdd7e7;
  font-size: 0.64rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.map-other-zone > summary::-webkit-details-marker {
  display: none;
}

.map-other-zone > summary::after {
  color: #58b9fa;
  content: "+";
}

.map-other-zone[open] > summary::after {
  content: "−";
}

.map-other-zone > summary span:last-child {
  color: #819db1;
  font-size: 0.59rem;
}

.map-other-zone ul {
  display: grid;
  gap: 4px;
  margin: 9px 0 0;
  padding: 8px 0 0 13px;
  border-top: 1px solid rgba(75, 145, 193, 0.13);
  color: #8daabe;
  font-size: 0.59rem;
}

.map-other-zone li.bot-location {
  color: #e8c878;
}

.players-map-footer {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 13px;
  padding: 0 2px;
  color: #6f8da3;
  font-size: 0.6rem;
}

.players-map-footer i {
  margin-right: 5px;
  color: #55abd9;
}

.players-map-footer #mapSnapshotLabel {
  color: #829db1;
}

.players-map-footer a {
  color: #75c7ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.players-map-footer a:hover {
  color: #eaf6ff;
}

.players-map-panel :focus-visible {
  outline: 2px solid #65c5ff;
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .players-map-layout {
    grid-template-columns: minmax(0, 1fr) 265px;
  }
  .players-map-canvas {
    min-height: 0;
  }
}

@media (max-width: 850px) {
  .players-map-layout {
    grid-template-columns: 1fr;
  }
  .players-map-canvas {
    min-height: 0;
    aspect-ratio: 966 / 732;
  }
  .players-map-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .map-selection-list {
    flex: 0 1 auto;
    max-height: 138px;
  }
}

@media (max-width: 650px) {
  .players-view-switch {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .players-view-button {
    min-width: 0;
  }
  .players-map-panel {
    padding: 16px 12px 12px;
    border-radius: 12px;
  }
  .players-map-heading {
    align-items: flex-start;
    margin: 0 1px 14px;
  }
  .players-map-heading p {
    max-width: 300px;
    font-size: 0.68rem;
    line-height: 1.5;
  }
  .players-map-sync {
    gap: 7px;
    padding-top: 18px;
    font-size: 0;
  }
  .map-refresh-button {
    width: 32px;
    height: 32px;
  }
  .players-map-toolbar {
    align-items: flex-start;
  }
  .players-map-continent-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .map-continent-button {
    min-width: 0;
    gap: 5px;
    padding: 0 6px;
    font-size: 0.63rem;
  }
  .players-map-filters {
    width: 100%;
  }
  .players-map-search {
    width: 100%;
  }
  .map-filter-chip {
    flex: 1;
    justify-content: center;
  }
  .players-map-canvas {
    min-height: 0;
    aspect-ratio: 966 / 732;
  }
  .players-map-coordinates {
    top: 10px;
    right: 10px;
    left: 10px;
    font-size: 0.44rem;
  }
  .players-map-sidebar {
    grid-template-columns: 1fr;
  }
  .map-other-list {
    max-height: 190px;
  }
  .players-map-canvas-state {
    right: 9px;
    bottom: 9px;
    left: 9px;
    flex-wrap: wrap;
    gap: 7px;
    padding: 9px;
  }
  .players-map-canvas-state small {
    width: calc(100% - 26px);
    margin-left: 26px;
  }
  .players-map-compass {
    right: 10px;
    bottom: 83px;
    width: 34px;
    height: 42px;
  }
  .players-map-footer {
    align-items: flex-start;
    flex-direction: column;
    font-size: 0.56rem;
    line-height: 1.5;
  }
}

@media (max-width: 1200px) {
  .players-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .players-hero {
    min-height: 520px;
  }
  .players-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .players-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .players-hero-top {
    gap: 16px;
  }
  .players-hero-copy {
    min-width: 0;
    flex: 1 1 0;
  }
  .players-hero-top .players-view-switch {
    align-self: flex-start;
  }
}

@media (max-width: 850px) {
  .players-page {
    padding-inline: 10px;
  }
  .players-hero {
    min-height: 690px;
    padding: 36px 24px;
  }
  .players-hero-top {
    flex-direction: column;
    gap: 16px;
  }
  .players-hero-top .players-view-switch {
    align-self: flex-start;
  }
  .players-hero-stats {
    right: 20px;
    bottom: 20px;
    left: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  .players-filter-primary {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .player-search {
    max-width: none;
  }
  .players-cta {
    gap: 30px;
    padding-inline: 30px;
  }
}

@media (max-width: 650px) {
  .players-page {
    padding: 8px 8px 36px;
  }
  .players-hero,
  .players-filter-panel,
  .players-roster-panel,
  .insight-card,
  .no-players-state,
  .players-cta {
    border-radius: 12px;
  }
  .players-hero {
    min-height: 850px;
    padding: 32px 20px;
    background-position: 62% center;
  }
  .players-hero h1 {
    font-size: 2.6rem;
  }
  .players-hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stat {
    min-height: 91px;
  }
  .players-filter-panel,
  .players-roster-panel,
  .insight-card {
    padding: 17px;
  }
  .faction-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .faction-tab {
    min-width: 0;
    padding: 0 8px;
  }
  .players-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .players-insights {
    grid-template-columns: 1fr;
  }
  .players-table-scroll {
    overflow: visible;
    border: 0;
  }
  .player-table,
  .player-table tbody,
  .player-table tr,
  .player-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .player-table thead {
    display: none;
  }
  .player-table tbody {
    display: grid;
    gap: 12px;
  }
  .player-table tbody tr {
    padding: 14px;
    border: 1px solid rgba(73, 145, 194, 0.23);
    border-radius: 10px;
    background: rgba(5, 24, 39, 0.8);
  }
  .player-table td {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 9px 2px;
    border-top: 1px solid rgba(70, 138, 184, 0.11);
  }
  .player-table td:first-child {
    display: block;
    padding-top: 0;
    border-top: 0;
  }
  .player-table td::before {
    content: attr(data-label);
    color: #6789a2;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .player-table td:first-child::before {
    content: none;
  }
  .roster-player {
    min-width: 0;
  }
  .roster-class {
    min-width: 0;
  }
  .roster-faction {
    justify-content: flex-start;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent !important;
  }
  .roster-faction em {
    display: inline;
    margin-left: 7px;
  }
  .roster-actions {
    justify-content: flex-start;
  }
  .players-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 30px 24px;
  }
  .players-cta a {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .players-filter-grid {
    grid-template-columns: 1fr;
  }
  .filter-heading {
    align-items: flex-start;
  }
  .faction-tab {
    font-size: 0.68rem;
  }
}
