:root {
  --bg: #050607;
  --panel: rgba(13, 15, 17, 0.68);
  --panel-strong: rgba(7, 8, 10, 0.9);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f2e8;
  --muted: #aeb3ae;
  --soft: #d8d0bd;
  --amber: #f0a22d;
  --amber-strong: #ffc24c;
  --teal: #35c2b4;
  --blue: #0d74f2;
  --blue-strong: #1397ff;
  --olive: #74845d;
  --red: #e14d3f;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
  --glass-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  color-scheme: dark;
}

/* Black and pink app interface */
:root {
  --bg: #050407;
  --panel: rgba(14, 12, 18, 0.82);
  --panel-strong: rgba(8, 7, 11, 0.96);
  --line: rgba(255, 77, 173, 0.18);
  --line-strong: rgba(255, 77, 173, 0.34);
  --text: #fff7fb;
  --muted: #a99cac;
  --soft: #ebd8e5;
  --amber: #ff4dad;
  --amber-strong: #ff7cc8;
  --teal: #ff4dad;
  --blue: #8f4dff;
  --blue-strong: #c07cff;
  --red: #ff3c7d;
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.68);
  --glass-shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
}

html {
  scroll-behavior: auto;
}

body {
  background: #050407;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 77, 173, 0.28), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(143, 77, 255, 0.22), transparent 28rem),
    linear-gradient(180deg, #050407, #09070d 48%, #050407);
}

.site-shell::before {
  background:
    linear-gradient(90deg, rgba(5, 4, 7, 0.96) 0%, rgba(5, 4, 7, 0.74) 48%, rgba(5, 4, 7, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 4, 7, 0.28), #050407 76%),
    url("assets/project-global-zone-bg.png") center / cover no-repeat;
  opacity: 0.5;
}

.site-shell::after {
  background-image:
    linear-gradient(rgba(255, 77, 173, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 173, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 77, 173, 0.18);
  background: rgba(6, 5, 9, 0.9);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(24px);
}

.header-stats {
  display: flex;
  gap: 10px;
}

.header-stats article {
  display: grid;
  min-width: 102px;
  min-height: 48px;
  place-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background: rgba(12, 10, 16, 0.78);
}

.header-stats strong {
  color: var(--amber-strong);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1;
}

.header-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 77, 173, 0.55);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 77, 173, 0.26), rgba(143, 77, 255, 0.2)),
    rgba(12, 10, 16, 0.92);
  color: #ff9ed3;
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 0 28px rgba(255, 77, 173, 0.24);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: clamp(1rem, 2vw, 1.42rem);
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.icon-social {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 77, 173, 0.18);
  border-radius: var(--radius);
  background: rgba(12, 10, 16, 0.82);
  color: var(--amber-strong);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.icon-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-social:hover,
.icon-social:focus-visible {
  border-color: rgba(255, 77, 173, 0.58);
  box-shadow: 0 0 26px rgba(255, 77, 173, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.steam-button.compact,
.ghost-button.compact {
  min-height: 42px;
  border-color: rgba(255, 77, 173, 0.22);
  background: rgba(12, 10, 16, 0.82);
}

.app-tabs {
  position: sticky;
  top: 78px;
  z-index: 35;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px clamp(14px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 77, 173, 0.12);
  background: rgba(7, 6, 10, 0.86);
  backdrop-filter: blur(22px);
}

.app-tabs button {
  display: grid;
  min-width: 104px;
  min-height: 52px;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 77, 173, 0.12);
  border-radius: var(--radius);
  background: rgba(12, 10, 16, 0.58);
  color: var(--soft);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-tabs button span {
  color: var(--muted);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.64rem;
}

.app-tabs button.is-active {
  border-color: rgba(255, 77, 173, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 77, 173, 0.24), rgba(143, 77, 255, 0.16)),
    rgba(15, 10, 20, 0.88);
  color: var(--text);
  box-shadow: 0 0 30px rgba(255, 77, 173, 0.16);
}

.app-main {
  width: min(1380px, calc(100% - 36px));
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.app-panel {
  display: none;
}

.app-panel.is-active {
  display: block;
}

.main-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.64fr);
  gap: 18px;
  min-height: 520px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.95), rgba(8, 7, 11, 0.62) 60%, rgba(8, 7, 11, 0.9)),
    url("assets/project-global-zone-bg.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  max-width: 760px;
}

.status-chip {
  width: fit-content;
  border-color: rgba(255, 77, 173, 0.34);
  background: rgba(12, 10, 16, 0.72);
  color: var(--soft);
}

.status-chip strong,
.eyebrow {
  color: var(--amber-strong);
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: 0.88;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--soft);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.paypal-button,
.tier-action {
  min-height: 48px;
  border-radius: var(--radius);
}

.primary-button,
.paypal-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #ff4dad, #8f4dff);
  color: white;
  box-shadow: 0 18px 54px rgba(255, 77, 173, 0.28);
}

.secondary-button,
.tier-action {
  border: 1px solid rgba(255, 77, 173, 0.24);
  background: rgba(12, 10, 16, 0.78);
  color: var(--text);
}

.play-icon {
  border-left-color: currentColor;
}

.live-card,
.connect-card,
.social-card,
.donor-strip,
.tier-card,
.rule-card,
.ping-console,
.map-board,
.intel-panel,
.leaderboard article,
.donate-card,
.donor-list article {
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(19, 13, 25, 0.9), rgba(7, 6, 10, 0.92)),
    rgba(12, 10, 16, 0.88);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
}

.live-card {
  display: grid;
  gap: 14px;
  align-self: center;
  padding: 14px;
}

.live-map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background: #09070d;
}

.live-map-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.live-map-frame span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(5, 4, 7, 0.8);
  color: var(--amber-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-map-frame.compact {
  margin-bottom: 20px;
}

.live-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.live-card-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 77, 173, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 4, 7, 0.62);
}

.live-card-grid span,
.connect-card span,
.social-card span,
.donor-list span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-card-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: "Cascadia Mono", Consolas, monospace;
  overflow-wrap: anywhere;
}

.live-card p {
  margin: 0;
  color: var(--soft);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
}

.live-card p span {
  color: var(--amber-strong);
}

.main-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.72fr));
  gap: 14px;
  margin-top: 16px;
}

.connect-card,
.social-card {
  min-height: 190px;
  padding: 20px;
}

.connect-card h2,
.social-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.connect-card p,
.donate-card p {
  color: var(--soft);
  line-height: 1.6;
}

.social-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  fill: var(--amber-strong);
}

.social-card a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 77, 173, 0.24);
  border-radius: var(--radius);
  color: var(--amber-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.donor-strip {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) 1fr;
  gap: 16px;
  margin-top: 16px;
  padding: 20px;
}

.donor-strip h2,
.donate-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 0.98;
  text-transform: uppercase;
}

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

.donor-list.large {
  margin-top: 16px;
}

.donor-list article {
  min-width: 0;
  padding: 16px;
}

.donor-list strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 1.08rem;
  text-transform: uppercase;
}

.donor-list em {
  display: block;
  margin-top: 6px;
  color: var(--amber-strong);
  font-style: normal;
  font-weight: 900;
}

.section-heading {
  margin-bottom: 22px;
}

.vip-band,
.content-band,
.ping-band,
.split-section,
.rankings-band,
.donate-panel {
  width: 100%;
  padding: 0;
}

.tier-plus,
.rule-intro,
.motto-card {
  background:
    linear-gradient(135deg, rgba(255, 77, 173, 0.16), rgba(143, 77, 255, 0.12)),
    rgba(12, 10, 16, 0.88);
}

.tier-head span,
.rule-card span,
.leaderboard em {
  color: var(--amber-strong);
}

.price-row {
  border-color: rgba(255, 77, 173, 0.16);
  background: rgba(255, 77, 173, 0.12);
}

.price-row strong {
  background: rgba(5, 4, 7, 0.74);
}

.perk-list li::before {
  background: var(--amber-strong);
  box-shadow: 0 0 16px rgba(255, 77, 173, 0.48);
}

.rules-board,
.tier-grid,
.leaderboard {
  gap: 14px;
}

.ping-readout,
.ping-facts article,
.region-picker select,
.map-row {
  background: rgba(5, 4, 7, 0.72);
}

.ping-readout b {
  color: var(--amber-strong);
}

.map-row.is-selected {
  border-color: rgba(255, 77, 173, 0.66);
  background:
    linear-gradient(90deg, rgba(255, 77, 173, 0.2), rgba(143, 77, 255, 0.12)),
    rgba(5, 4, 7, 0.84);
}

.donate-panel {
  display: none;
}

.donate-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 16px;
}

.donate-card {
  min-height: 360px;
  padding: clamp(24px, 4vw, 44px);
}

.footer {
  border-top-color: rgba(255, 77, 173, 0.16);
  background: rgba(5, 4, 7, 0.82);
}

.footer a {
  color: var(--amber-strong);
}

.toast {
  border-color: rgba(255, 77, 173, 0.38);
  background: rgba(12, 10, 16, 0.94);
}

@media (max-width: 1080px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .header-stats {
    display: none;
  }

  .brand {
    justify-self: start;
  }

  .app-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-hero,
  .main-grid,
  .donor-strip,
  .donate-panel.is-active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-header {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .icon-social {
    display: none;
  }

  .steam-button.compact {
    width: 42px;
    padding: 0;
  }

  .steam-button.compact span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .app-main {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .app-tabs {
    top: 68px;
    padding: 8px 12px;
  }

  .app-tabs button {
    min-width: 88px;
    min-height: 46px;
  }

  .main-hero {
    min-height: auto;
    padding: 18px;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero-actions,
  .inline-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button,
  .paypal-button {
    width: 100%;
  }

  .live-card-grid,
  .donor-list,
  .price-row,
  .perk-list,
  .rules-board,
  .ping-console,
  .split-section,
  .rankings-tools,
  .rankings-summary,
  .rankings-grid,
  .live-roster-card .leaderboard,
  .leaderboard {
    grid-template-columns: 1fr;
  }
}

.steam-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  max-width: 320px;
  padding: 4px 6px 4px 4px;
  border: 1px solid rgba(255, 77, 173, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 77, 173, 0.13), rgba(8, 6, 12, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 52px rgba(0, 0, 0, 0.32);
}

.steam-profile[hidden],
.steam-profile [hidden] {
  display: none !important;
}

.steam-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.steam-profile-trigger:hover .steam-profile-text strong,
.steam-profile-trigger:focus-visible .steam-profile-text strong {
  color: #ff7bc1;
}

.steam-profile-trigger:focus-visible {
  outline: 2px solid rgba(255, 77, 173, 0.72);
  outline-offset: 3px;
}

.steam-avatar-fallback,
.steam-profile img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.steam-avatar-fallback {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 173, 0.52);
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #ff4dad, #7d2cff);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
}

.steam-profile img {
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.steam-profile-text {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.steam-profile-text strong {
  max-width: 150px;
  overflow: hidden;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-profile-text small {
  margin-top: 3px;
  color: rgba(255, 194, 224, 0.78);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steam-profile .ghost-button.compact {
  min-height: 34px;
  padding: 0 10px;
  border-color: rgba(255, 77, 173, 0.28);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
}

@media (max-width: 760px) {
  .steam-profile {
    max-width: 210px;
  }

  .steam-profile-text strong {
    max-width: 88px;
  }

  .steam-profile-text small {
    display: none;
  }

  .steam-profile .ghost-button.compact {
    width: auto;
    padding: 0 8px;
  }
}

.clans-panel {
  display: none;
}

.clans-panel.is-active {
  display: block;
}

.clan-status {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 77, 173, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 10, 16, 0.78);
  color: var(--soft);
  font-weight: 850;
}

.clan-status[data-state="ready"] {
  border-color: rgba(84, 255, 179, 0.34);
  color: #9dffd1;
}

.clan-status[data-state="error"] {
  border-color: rgba(255, 77, 173, 0.52);
  color: #ff9bd0;
}

.clan-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.clan-card {
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 77, 173, 0.08), rgba(143, 77, 255, 0.04)),
    rgba(8, 7, 11, 0.86);
  box-shadow: var(--shadow);
}

.clan-create-card,
.clan-mine-card,
.clan-directory-card {
  padding: clamp(18px, 3vw, 26px);
}

.clan-create-card form {
  display: grid;
  gap: 14px;
}

.clan-create-card label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clan-create-card input,
.clan-create-card select,
.clan-create-card textarea,
.admin-token-field input,
.tournament-form input,
.tournament-form select,
.tournament-form textarea,
.admin-add-row select,
.match-admin-form input,
.match-admin-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 77, 173, 0.24);
  border-radius: var(--radius);
  background: rgba(4, 4, 7, 0.7);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  outline: none;
  padding: 0 12px;
}

.clan-create-card textarea,
.tournament-form textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.clan-create-card input:focus,
.clan-create-card select:focus,
.clan-create-card textarea:focus,
.admin-token-field input:focus,
.tournament-form input:focus,
.tournament-form select:focus,
.tournament-form textarea:focus,
.admin-add-row select:focus,
.match-admin-form input:focus,
.match-admin-form select:focus {
  border-color: rgba(255, 77, 173, 0.64);
  box-shadow: 0 0 0 3px rgba(255, 77, 173, 0.16);
}

.clan-roster-grid,
.tournament-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.clan-card-head,
.clan-control-row,
.clan-member-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.clan-card-head {
  margin-bottom: 16px;
}

.clan-card h3,
.clan-subsection h4 {
  margin: 0;
}

.clan-card output,
.clan-summary em,
.clan-directory-item em,
.clan-member em,
.clan-request em,
.clan-empty-state em {
  color: var(--soft);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.clan-summary {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.clan-summary span,
.clan-directory-item span,
.status-badge {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(255, 77, 173, 0.32);
  border-radius: 999px;
  color: #ff9bd0;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge[data-state="approved"],
.status-badge[data-state="registration_open"],
.status-badge[data-state="scheduled"] {
  border-color: rgba(92, 255, 178, 0.38);
  color: #9dffd1;
}

.status-badge[data-state="rejected"],
.status-badge[data-state="finished"] {
  border-color: rgba(255, 77, 98, 0.46);
  color: #ff9aa9;
}

.status-badge[data-state="ongoing"],
.status-badge[data-state="live"] {
  border-color: rgba(180, 113, 255, 0.52);
  color: #d5b3ff;
}

.clan-summary strong,
.clan-directory-item strong,
.clan-empty-state strong {
  color: var(--text);
}

.clan-subsection {
  margin-top: 18px;
}

.clan-subsection h4 {
  margin-bottom: 10px;
  color: var(--amber-strong);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clan-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clan-mini-list span,
.clan-mini-list em {
  padding: 8px 10px;
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.clan-member-list,
.clan-list,
.admin-list,
.tournament-list,
.match-list {
  display: grid;
  gap: 10px;
}

.clan-member,
.clan-request,
.clan-directory-item,
.clan-empty-state,
.admin-row,
.match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 77, 173, 0.12);
  border-radius: var(--radius);
  background: rgba(4, 4, 7, 0.62);
}

.clan-directory-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.admin-row,
.match-card {
  align-items: flex-start;
}

.admin-row > div:first-child,
.match-card {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.clan-member {
  justify-content: flex-start;
}

.clan-member > div:nth-child(2),
.clan-request > div:first-child,
.clan-directory-item > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.clan-member-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 77, 173, 0.36);
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4dad, #7d2cff);
  color: #fff;
  font-weight: 950;
}

.clan-logo {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 77, 173, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top left, rgba(255, 77, 173, 0.34), transparent 60%),
    rgba(8, 7, 11, 0.92);
  color: #fff;
  font-weight: 950;
  overflow: hidden;
}

.clan-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clan-member-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.clan-member-actions {
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.clan-action-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.68rem;
}

.clan-empty-state {
  display: grid;
  justify-content: stretch;
}

.clan-directory-item .secondary-button,
.clan-directory-item .clan-action-button {
  flex: 0 0 auto;
}

.admin-card,
.tournament-list-card,
.tournament-detail-card {
  padding: clamp(18px, 3vw, 26px);
  margin-top: 18px;
}

.admin-token-field,
.tournament-form label,
.match-admin-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-token-field {
  margin-bottom: 14px;
}

.clan-profile-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 77, 173, 0.14);
  border-radius: var(--radius);
  background: rgba(4, 4, 7, 0.58);
}

.clan-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.clan-profile-head h3,
.tournament-hero-card h3 {
  margin: 0;
}

.clan-profile-head em,
.clan-description,
.match-card em,
.tournament-row em {
  color: var(--soft);
  font-style: normal;
  font-weight: 800;
}

.clan-profile-grid,
.tournament-layout,
.tournament-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tournament-row {
  display: grid;
  width: 100%;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 77, 173, 0.14);
  border-radius: var(--radius);
  background: rgba(4, 4, 7, 0.62);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.tournament-row.is-selected,
.tournament-row:hover,
.tournament-row:focus-visible {
  border-color: rgba(255, 77, 173, 0.64);
  box-shadow: 0 0 0 3px rgba(255, 77, 173, 0.12);
}

.tournament-row span {
  color: #ff9bd0;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tournament-hero-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 77, 173, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 77, 173, 0.18), transparent 44%),
    rgba(4, 4, 7, 0.62);
}

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

.tournament-facts article {
  padding: 12px;
  border: 1px solid rgba(255, 77, 173, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.tournament-facts span,
.match-card span {
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tournament-columns {
  margin-top: 18px;
}

.tournament-columns h4,
.admin-tournament h4 {
  margin: 0 0 10px;
  color: var(--amber-strong);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tournament-form,
.match-admin-form {
  display: grid;
  gap: 12px;
}

.admin-tournament {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background: rgba(4, 4, 7, 0.46);
}

.admin-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.admin-list.nested {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 77, 173, 0.18);
}

.match-admin-form {
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(255, 77, 173, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.match-admin-form.existing {
  grid-template-columns: repeat(10, minmax(90px, 1fr));
}

@media (max-width: 900px) {
  .clan-layout {
    grid-template-columns: 1fr;
  }

  .clan-roster-grid,
  .tournament-admin-grid,
  .clan-profile-grid,
  .tournament-layout,
  .tournament-columns,
  .tournament-facts {
    grid-template-columns: 1fr;
  }

  .clan-card-head,
  .clan-control-row,
  .clan-directory-item,
  .clan-request,
  .admin-row,
  .admin-add-row {
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }

  .clan-member {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .clan-member-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .match-admin-form,
  .match-admin-form.existing {
    grid-template-columns: 1fr;
  }
}

.section-copy {
  max-width: 780px;
  color: var(--text-muted, rgba(245, 239, 230, 0.72));
  font-size: 0.98rem;
  line-height: 1.65;
}

.profile-panel.is-active {
  display: grid;
  gap: 18px;
}

.profile-hero,
.profile-rank-card,
.profile-stat-grid article,
.profile-detail-card {
  border: 1px solid rgba(255, 77, 173, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 12, 20, 0.92), rgba(8, 6, 12, 0.86));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.profile-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.profile-identity {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
}

.profile-avatar-fallback,
.profile-identity img {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 173, 0.52);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #ff4dad, #7d2cff);
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
}

.profile-avatar-fallback[hidden],
.profile-identity img[hidden] {
  display: none !important;
}

.profile-identity img {
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.profile-identity h2 {
  margin: 2px 0 4px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.profile-identity p:last-child {
  margin: 0;
  color: rgba(255, 214, 235, 0.78);
  font-weight: 800;
}

.profile-identity p[data-state="ready"] {
  color: #9cffc9;
}

.profile-identity p[data-state="error"] {
  color: #ff8fa8;
}

.profile-refresh {
  width: auto;
  white-space: nowrap;
}

.profile-rank-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: end;
  padding: 18px;
}

.profile-rank-card span,
.profile-stat-grid article span,
.profile-metric-list article span {
  color: #ff79bf;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-rank-card strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.profile-rank-card em,
.rank-progress small,
.profile-stat-grid article em {
  color: rgba(245, 239, 230, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.rank-progress {
  display: grid;
  gap: 10px;
}

.rank-progress div {
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 173, 0.28);
  border-radius: 999px;
  background: rgba(8, 6, 12, 0.84);
}

.rank-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff4dad, #7d2cff, #3dd6ff);
  transition: width 220ms ease;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profile-stat-grid article {
  display: grid;
  gap: 7px;
  min-height: 126px;
  align-content: end;
  padding: 16px;
}

.profile-stat-grid article strong {
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 950;
}

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

.profile-detail-card {
  padding: 16px;
}

.profile-metric-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.profile-metric-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 77, 173, 0.12);
}

.profile-metric-list article:last-child {
  border-bottom: 0;
}

.profile-metric-list article strong {
  color: #fff;
  font-weight: 950;
  text-align: right;
}

.skins-panel.is-active {
  display: grid;
  gap: 18px;
}

.skin-status {
  padding: 13px 16px;
  border: 1px solid rgba(255, 77, 173, 0.24);
  border-radius: 8px;
  background: rgba(8, 6, 12, 0.8);
  color: rgba(255, 214, 235, 0.84);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skin-status[data-state="ready"] {
  border-color: rgba(90, 255, 180, 0.28);
  color: #9cffc9;
}

.skin-status[data-state="saved"] {
  border-color: rgba(255, 77, 173, 0.48);
  color: #ff79bf;
}

.skin-status[data-state="error"] {
  border-color: rgba(255, 87, 120, 0.48);
  color: #ff8fa8;
}

.skin-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skin-category-tabs button {
  min-height: 38px;
  border: 1px solid rgba(255, 77, 173, 0.2);
  border-radius: 8px;
  background: rgba(8, 6, 12, 0.82);
  color: rgba(255, 214, 235, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 0 14px;
  text-transform: uppercase;
}

.skin-category-tabs button.is-active,
.skin-category-tabs button:hover {
  border-color: rgba(255, 77, 173, 0.72);
  background: linear-gradient(135deg, rgba(255, 77, 173, 0.22), rgba(125, 44, 255, 0.14));
  color: #fff;
}

.skin-filters {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.skin-search-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.skin-search-field span,
.skin-result-count {
  color: #ff79bf;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skin-search-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 77, 173, 0.22);
  border-radius: 8px;
  background: rgba(8, 6, 12, 0.82);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  outline: none;
  padding: 0 13px;
}

.skin-search-field input:focus {
  border-color: rgba(255, 77, 173, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 77, 173, 0.13);
}

.skin-result-count {
  min-height: 44px;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 14px;
  border: 1px solid rgba(255, 77, 173, 0.22);
  border-radius: 8px;
  background: rgba(8, 6, 12, 0.82);
}

.skin-workbench {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(320px, 1.45fr) minmax(240px, 0.9fr);
  gap: 16px;
}

.skin-weapon-list,
.skin-browser,
.skin-loadout-card {
  min-width: 0;
  border: 1px solid rgba(255, 77, 173, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 12, 20, 0.92), rgba(8, 6, 12, 0.86));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.skin-weapon-list {
  display: grid;
  gap: 8px;
  align-content: start;
  max-height: 720px;
  overflow: auto;
  padding: 12px;
}

.skin-weapon-list button,
.skin-option {
  width: 100%;
  border: 1px solid rgba(255, 77, 173, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.skin-weapon-list button {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 12px;
}

.skin-weapon-list button span,
.skin-option span,
.skin-loadout article span {
  color: #ff79bf;
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skin-weapon-list button strong,
.skin-option strong,
.skin-loadout article strong {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  font-weight: 950;
}

.skin-weapon-list button em,
.skin-option em,
.skin-loadout article em {
  color: rgba(245, 239, 230, 0.62);
  font-size: 0.73rem;
  font-style: normal;
  font-weight: 800;
}

.skin-weapon-list button small {
  color: rgba(255, 214, 235, 0.72);
  font-size: 0.68rem;
  font-weight: 850;
}

.skin-weapon-list button.is-active,
.skin-option.is-selected {
  border-color: rgba(255, 77, 173, 0.72);
  background: linear-gradient(135deg, rgba(255, 77, 173, 0.2), rgba(125, 44, 255, 0.12));
  box-shadow: 0 18px 52px rgba(255, 77, 173, 0.11);
}

.skin-browser {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.skin-preview {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 173, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 76% 28%, color-mix(in srgb, var(--skin-accent, #ff4dad) 32%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 77, 173, 0.08), rgba(8, 6, 12, 0.92));
}

.skin-preview::before {
  content: "";
  position: absolute;
  inset: 48px 34px auto auto;
  width: min(62%, 430px);
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--skin-accent, #ff4dad), transparent);
  opacity: 0.62;
  transform: rotate(-9deg);
}

.skin-preview span,
.skin-preview em {
  position: relative;
  z-index: 1;
}

.skin-preview strong {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.skin-preview span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 77, 173, 0.38);
  border-radius: 999px;
  background: rgba(8, 6, 12, 0.74);
  color: #ff79bf;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skin-preview em {
  margin-top: 12px;
  color: rgba(245, 239, 230, 0.72);
  font-style: normal;
  font-weight: 800;
}

.skin-tuning {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(100px, 0.72fr) minmax(120px, auto);
  gap: 10px;
}

.skin-tuning label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.skin-tuning span {
  color: #ff79bf;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skin-tuning select,
.skin-tuning input[type="number"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 77, 173, 0.2);
  border-radius: 8px;
  background: rgba(8, 6, 12, 0.84);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  outline: none;
  padding: 0 12px;
}

.skin-tuning select:disabled,
.skin-tuning input:disabled,
.skin-toggle input:disabled + span {
  cursor: not-allowed;
  opacity: 0.52;
}

.skin-toggle {
  align-content: end;
}

.skin-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.skin-toggle span {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 77, 173, 0.2);
  border-radius: 8px;
  background: rgba(8, 6, 12, 0.84);
  color: rgba(255, 214, 235, 0.82);
  cursor: pointer;
  padding: 0 12px;
}

.skin-toggle input:checked + span {
  border-color: rgba(255, 77, 173, 0.72);
  background: linear-gradient(135deg, rgba(255, 77, 173, 0.22), rgba(125, 44, 255, 0.14));
  color: #fff;
}

.skin-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 470px;
  overflow: auto;
  padding-right: 3px;
}

.skin-option {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--skin-accent, #ff4dad) 16%, transparent), rgba(255, 255, 255, 0.035)),
    rgba(8, 6, 12, 0.84);
}

.skin-option::after {
  content: "";
  width: 100%;
  height: 6px;
  align-self: end;
  border-radius: 999px;
  background: var(--skin-accent, #ff4dad);
  opacity: 0.78;
}

.skin-loadout-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
}

.skin-loadout-card h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.skin-loadout {
  display: grid;
  gap: 8px;
}

.skin-loadout article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.skin-save {
  width: 100%;
}

.skin-save:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.skin-empty-state {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 128px;
  padding: 14px;
  border: 1px dashed rgba(255, 77, 173, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.skin-empty-state strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.skin-empty-state em {
  color: rgba(245, 239, 230, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .profile-rank-card,
  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .profile-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .skin-result-count {
    justify-content: start;
    grid-column: 1 / -1;
  }

  .skin-workbench {
    grid-template-columns: 1fr;
  }

  .skin-tuning {
    grid-template-columns: 1fr 1fr;
  }

  .skin-toggle {
    grid-column: 1 / -1;
  }

  .skin-weapon-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 360px;
  }
}

@media (max-width: 760px) {
  .profile-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-refresh {
    width: 100%;
  }

  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .profile-identity {
    align-items: flex-start;
  }

  .profile-avatar-fallback,
  .profile-identity img {
    width: 58px;
    height: 58px;
  }

  .skin-filters,
  .skin-tuning,
  .skin-weapon-list,
  .skin-options {
    grid-template-columns: 1fr;
  }

  .skin-toggle {
    grid-column: auto;
  }

  .skin-preview {
    min-height: 190px;
  }

  .skin-preview strong {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 8%, rgba(240, 162, 45, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 34%, rgba(53, 194, 180, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(5, 6, 7, 0.64), #050607 58%, #050607 100%);
}

.site-shell::before,
.site-shell::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

.site-shell::before {
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.32), rgba(5, 6, 7, 0.92)),
    url("assets/project-global-zone-bg.png") center / cover no-repeat;
  opacity: 0.22;
  transform: scale(1.02);
}

.site-shell::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 74%);
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-rows: auto auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 11, 0.92);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px) saturate(140%);
}

.topbar-main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(1370px, calc(100% - 36px));
  min-height: 70px;
  margin: 0 auto;
  padding: 10px 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  min-width: 0;
}

.header-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-stats article {
  display: grid;
  min-width: 100px;
  min-height: 44px;
  place-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: rgba(3, 4, 5, 0.56);
}

.header-stats strong {
  color: var(--blue-strong);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
}

.header-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.portal-brand {
  justify-self: center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 194, 76, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 194, 76, 0.22), rgba(53, 194, 180, 0.14)),
    rgba(10, 12, 13, 0.76);
  color: var(--amber-strong);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: clamp(1.02rem, 2.2vw, 1.55rem);
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-nav {
  width: 100%;
  min-height: 60px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 4, 5, 0.42);
}

.nav-links a {
  position: relative;
  display: grid;
  min-width: 88px;
  justify-items: center;
  gap: 5px;
  padding: 9px 6px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--amber);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-glyph {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 900;
}

.nav-links a:hover .nav-glyph,
.nav-links a:focus-visible .nav-glyph {
  border-color: rgba(19, 151, 255, 0.54);
  color: var(--blue-strong);
}

.icon-tool {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(3, 4, 5, 0.56);
  color: var(--blue-strong);
}

.search-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.portal-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 18px;
  background:
    linear-gradient(90deg, rgba(13, 116, 242, 0.92), rgba(11, 81, 164, 0.96)),
    var(--blue);
  color: white;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portal-announcement strong {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-announcement span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.portal-announcement button {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(2, 4, 8, 0.32);
  color: white;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0 11px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: auto;
  padding: 30px clamp(18px, 4vw, 54px) 36px;
  isolation: isolate;
}

.hero-background,
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-background {
  background-image: url("assets/project-global-zone-bg.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  opacity: 0.72;
}

.hero-vignette {
  z-index: -2;
  background:
    radial-gradient(circle at 72% 54%, rgba(240, 162, 45, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.78) 37%, rgba(5, 6, 7, 0.22) 72%, rgba(5, 6, 7, 0.64) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.22) 0%, rgba(5, 6, 7, 0.16) 44%, rgba(5, 6, 7, 0.98) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  content: "";
}

.promo-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1370px, 100%);
  min-height: 58px;
  margin: 0 auto 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 194, 76, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 194, 76, 0.18), rgba(3, 4, 5, 0.86) 28%, rgba(255, 194, 76, 0.18)),
    rgba(8, 10, 12, 0.86);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
}

.promo-strip span {
  color: var(--amber-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo-strip strong {
  min-width: 0;
  color: var(--text);
  font-size: clamp(0.9rem, 1.4vw, 1.08rem);
  overflow-wrap: anywhere;
}

.promo-strip a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 194, 76, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffc24c, #d78d24);
  color: #120d08;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  width: min(1370px, 100%);
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0.55) 54%, rgba(7, 8, 10, 0.82)),
    rgba(8, 10, 12, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
  padding-bottom: 0;
}

.status-chip,
.server-strip,
.auth-strip,
.round-timeline,
.ghost-button,
.icon-button,
.primary-button,
.secondary-button,
.steam-button {
  display: inline-flex;
  align-items: center;
}

.status-chip {
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 194, 76, 0.34);
  border-radius: var(--radius);
  background: rgba(8, 10, 12, 0.58);
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-chip strong {
  color: var(--amber-strong);
}

.pulse-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5fe17a;
  box-shadow: 0 0 20px rgba(95, 225, 122, 0.95);
}

.pulse-dot::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(95, 225, 122, 0.7);
  border-radius: 50%;
  content: "";
  animation: pulse 1.8s ease-out infinite;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 7.4vw, 7.15rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.72);
}

.hero-subtitle {
  max-width: 610px;
  margin-bottom: 28px;
  color: #e0d8c8;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.65;
}

.server-strip {
  width: min(100%, 560px);
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(7, 8, 10, 0.66);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
}

.server-strip > div {
  min-width: 0;
}

.server-strip span,
.metric > span,
.quickbar span,
.map-row span,
.leaderboard span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.server-strip strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: clamp(0.94rem, 2vw, 1.08rem);
}

.auth-strip {
  width: min(100%, 560px);
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 146, 139, 0.38);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(7, 8, 10, 0.58);
  backdrop-filter: blur(18px);
}

.auth-strip span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-strip strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.auth-strip a {
  flex: 0 0 auto;
  color: var(--amber-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button,
.steam-button {
  position: relative;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 0 18px;
}

.primary-button {
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(255, 194, 76, 0.98), rgba(225, 77, 63, 0.92)),
    var(--amber);
  color: #15100a;
  box-shadow: 0 18px 54px rgba(240, 162, 45, 0.32);
}

.discord-button {
  border-color: rgba(47, 146, 139, 0.6);
}

.vip-button {
  border-color: rgba(231, 163, 58, 0.58);
}

.secondary-button,
.ghost-button,
.icon-button,
.steam-button {
  border-color: var(--line-strong);
  background: rgba(8, 10, 12, 0.62);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.ghost-button.compact,
.steam-button.compact {
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.75rem;
}

.steam-button {
  gap: 10px;
  border-color: rgba(47, 146, 139, 0.55);
}

.steam-mark {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(47, 146, 139, 0.75);
  border-radius: 50%;
  color: var(--amber-strong);
  font-size: 0.68rem;
  font-weight: 900;
}

.icon-button {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover,
.steam-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.ghost-button:focus-visible,
.icon-button:focus-visible,
.steam-button:focus-visible {
  border-color: rgba(255, 189, 70, 0.78);
  transform: translateY(-2px);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.38);
  outline: none;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #15100a;
}

.copy-icon {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 16px;
}

.copy-icon::before,
.copy-icon::after {
  position: absolute;
  width: 10px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.copy-icon::before {
  top: 0;
  right: 0;
  opacity: 0.55;
}

.copy-icon::after {
  bottom: 0;
  left: 0;
  background: rgba(12, 15, 15, 0.76);
}

.terminal-panel,
.mode-card,
.rule-card,
.tier-card,
.map-board,
.intel-panel,
.ping-console,
.leaderboard article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(130%);
}

.terminal-panel {
  align-self: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18, 21, 24, 0.74), rgba(5, 6, 7, 0.86)),
    var(--panel);
}

.terminal-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 10, 0.78);
  color: var(--muted);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.terminal-lights {
  display: flex;
  gap: 7px;
}

.terminal-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--olive);
}

.terminal-lights i:nth-child(2) {
  background: var(--amber);
}

.terminal-lights i:nth-child(3) {
  background: var(--red);
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.metric {
  min-height: 104px;
  padding: 18px;
  background: rgba(8, 10, 12, 0.74);
}

.metric.large {
  grid-row: span 2;
  min-height: 209px;
}

.metric strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.1;
}

.metric.large strong {
  font-size: clamp(3rem, 6vw, 4.7rem);
}

.metric.large b {
  color: var(--amber-strong);
}

.round-timeline {
  width: calc(100% - 32px);
  justify-content: space-between;
  gap: 8px;
  margin: 16px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 4, 5, 0.46);
}

.round-timeline span {
  flex: 1;
  min-width: 0;
  padding: 8px 4px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.round-timeline .is-active {
  background: rgba(240, 162, 45, 0.2);
  color: var(--amber-strong);
}

.console-feed {
  display: grid;
  gap: 12px;
  padding: 0 16px 18px;
  font-family: "Cascadia Mono", Consolas, monospace;
}

.console-feed p {
  margin: 0;
  color: #c7c2b4;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.console-feed span {
  color: var(--teal);
}

.quickbar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1370px, calc(100% - 36px));
  margin: 18px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 10, 12, 0.72);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(130%);
}

.quickbar article {
  min-width: 0;
  padding: 20px clamp(14px, 2vw, 26px);
  border-right: 1px solid var(--line);
}

.quickbar article:last-child {
  border-right: 0;
}

.quickbar strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(1.1rem, 2.3vw, 1.65rem);
  text-transform: uppercase;
}

.server-browser {
  width: min(1370px, calc(100% - 36px));
  margin: 28px auto 0;
}

.server-browser-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.server-browser-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.server-refresh {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(19, 151, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(13, 116, 242, 0.16);
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.server-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.server-card {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(9, 11, 13, 0.42), rgba(6, 7, 9, 0.96) 68%),
    rgba(8, 10, 12, 0.86);
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}

.server-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/project-global-zone-bg.png") center / cover no-repeat;
  content: "";
  opacity: 0.38;
}

.server-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(240, 162, 45, 0.12), transparent 38%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  content: "";
}

.server-card.is-live {
  border-color: rgba(95, 225, 122, 0.28);
}

.server-card-map {
  position: absolute;
  top: 12px;
  left: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 112px;
  padding: 36px 66px 18px 18px;
}

.server-card-body span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(19, 151, 255, 0.22);
  color: #d7ecff;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-card-body h3 {
  margin: 8px 0 6px;
  color: var(--text);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.server-card-body strong {
  color: #7ee49b;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
}

.server-card-actions {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  width: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 4, 5, 0.46);
}

.server-card-actions a,
.server-card-actions button {
  display: grid;
  width: 48px;
  min-height: 48px;
  place-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.server-card-actions .play-icon {
  border-left-color: var(--text);
}

.server-load {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.server-load span {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: #54d768;
}

.server-load.teal span {
  width: 92%;
  background: var(--teal);
}

.server-load.amber span {
  width: 68%;
  background: var(--amber-strong);
}

.server-load.blue span {
  width: 84%;
  background: var(--blue-strong);
}

.content-band,
.vip-band,
.ping-band,
.split-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.content-band {
  padding: 96px 0 20px;
}

.vip-band {
  padding: 88px 0 20px;
}

.ping-band {
  padding: 76px 0 20px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.intel-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 0.925fr));
  gap: 16px;
}

.mode-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(34, 41, 43, 0.74), rgba(7, 8, 10, 0.9)),
    var(--panel);
}

.mode-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(231, 163, 58, 0.14) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%);
  background-size: 34px 34px;
  content: "";
  opacity: 0.28;
}

.mode-card > * {
  position: relative;
}

.mode-card span {
  color: var(--amber-strong);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 800;
}

.mode-card h3 {
  max-width: 12ch;
  margin: 76px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.mode-card p {
  max-width: 31ch;
  margin-bottom: 0;
  color: #c9c3b4;
  line-height: 1.55;
}

.mode-primary {
  background:
    linear-gradient(145deg, rgba(116, 132, 93, 0.34), rgba(15, 18, 17, 0.94)),
    var(--panel);
}

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

.tier-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(35, 41, 43, 0.72), rgba(7, 8, 10, 0.92)),
    var(--panel);
}

.tier-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(231, 163, 58, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 100%);
  background-size: 32px 32px;
  content: "";
  opacity: 0.24;
}

.tier-card > * {
  position: relative;
}

.tier-plus {
  border-color: rgba(231, 163, 58, 0.42);
  background:
    linear-gradient(145deg, rgba(240, 162, 45, 0.16), rgba(53, 194, 180, 0.08), rgba(7, 8, 10, 0.95)),
    var(--panel);
}

.tier-head {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.tier-head span {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(231, 163, 58, 0.4);
  border-radius: var(--radius);
  background: rgba(231, 163, 58, 0.12);
  color: var(--amber-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tier-head h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.price-row strong {
  display: grid;
  align-content: center;
  min-height: 74px;
  padding: 12px;
  background: rgba(7, 8, 10, 0.7);
  color: var(--text);
  font-size: clamp(1rem, 1.7vw, 1.36rem);
  line-height: 1.05;
}

.price-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.perk-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.perk-list li {
  position: relative;
  min-width: 0;
  padding-left: 20px;
  color: #c9c3b4;
  font-size: 0.94rem;
  line-height: 1.35;
}

.perk-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-strong);
  box-shadow: 0 0 14px rgba(231, 163, 58, 0.42);
  content: "";
}

.tier-card p {
  max-width: 47ch;
  margin: 0 0 18px;
  color: var(--soft);
  line-height: 1.58;
}

.tier-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(231, 163, 58, 0.46);
  border-radius: var(--radius);
  background: rgba(8, 10, 12, 0.62);
  color: var(--amber-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vip-payment {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(231, 163, 58, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 162, 45, 0.16), rgba(53, 194, 180, 0.1)),
    rgba(8, 10, 12, 0.78);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px);
}

.vip-payment span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vip-payment strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.vip-payment p {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--soft);
  line-height: 1.55;
}

.paypal-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffc24c, #e14d3f);
  color: #16110a;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(4, 5, 5, 0.34);
}

.paypal-button:hover {
  transform: translateY(-1px);
}

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

.rule-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(32, 38, 40, 0.72), rgba(7, 8, 10, 0.92)),
    var(--panel);
}

.rule-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(231, 163, 58, 0.1) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%);
  background-size: 32px 32px;
  content: "";
  opacity: 0.26;
}

.rule-card > * {
  position: relative;
}

.rule-card span {
  display: block;
  color: var(--amber-strong);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rule-card h3 {
  max-width: 18ch;
  margin: 34px 0 14px;
  font-size: clamp(1.26rem, 2vw, 1.85rem);
  line-height: 1;
  text-transform: uppercase;
}

.rule-card p,
.rule-card li {
  color: #c9c3b4;
  font-size: 0.96rem;
  line-height: 1.58;
}

.rule-card p {
  margin-bottom: 10px;
}

.rule-card p:last-child {
  margin-bottom: 0;
}

.rule-card ol {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 20px;
}

.rule-card strong {
  color: var(--text);
}

.rule-intro,
.punishment-card,
.motto-card {
  grid-column: 1 / -1;
}

.rule-intro {
  min-height: 210px;
  background:
    linear-gradient(145deg, rgba(240, 162, 45, 0.12), rgba(53, 194, 180, 0.12), rgba(7, 8, 10, 0.92)),
    var(--panel);
}

.rule-intro h3,
.motto-card h3 {
  max-width: 26ch;
}

.motto-card {
  min-height: 170px;
  display: grid;
  align-content: center;
  border-color: rgba(231, 163, 58, 0.38);
  background:
    linear-gradient(135deg, rgba(240, 162, 45, 0.18), rgba(53, 194, 180, 0.14)),
    rgba(8, 10, 12, 0.78);
}

.ping-console {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(220px, 0.55fr) auto;
  align-items: end;
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(53, 194, 180, 0.16), transparent 42%),
    rgba(8, 10, 12, 0.74);
}

.ping-readout {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(7, 8, 10, 0.62);
}

.ping-readout span,
.region-picker span,
.ping-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ping-readout strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(3.2rem, 7vw, 5.1rem);
  line-height: 0.95;
}

.ping-readout b {
  color: var(--amber-strong);
}

.ping-readout small {
  display: block;
  margin-top: 12px;
  color: var(--soft);
  font-family: "Cascadia Mono", Consolas, monospace;
}

.region-picker {
  display: grid;
  gap: 10px;
}

.region-picker select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 8, 10, 0.86);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 0 12px;
}

.ping-button {
  width: 100%;
  white-space: nowrap;
}

.ping-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.ping-facts article {
  min-width: 0;
  padding: 16px;
  background: rgba(8, 10, 12, 0.78);
}

.ping-facts strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 16px;
  padding: 76px 0 20px;
}

.map-board,
.intel-panel {
  padding: 22px;
}

.compact-heading {
  display: block;
  margin-bottom: 20px;
}

.compact-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.map-list {
  display: grid;
  gap: 10px;
}

.map-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 8, 10, 0.52);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.map-row strong {
  color: var(--soft);
  font-size: 0.94rem;
}

.map-row.is-selected {
  border-color: rgba(231, 163, 58, 0.74);
  background:
    linear-gradient(90deg, rgba(240, 162, 45, 0.18), rgba(53, 194, 180, 0.12)),
    rgba(7, 8, 10, 0.74);
}

.intel-panel {
  display: grid;
  align-content: space-between;
  min-height: 470px;
  background:
    linear-gradient(160deg, rgba(53, 194, 180, 0.18), transparent 48%),
    rgba(8, 10, 12, 0.76);
}

.radar {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(47, 146, 139, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 18%, rgba(47, 146, 139, 0.18) 18% 19%, transparent 19% 39%, rgba(47, 146, 139, 0.18) 39% 40%, transparent 40%),
    conic-gradient(from 0deg, rgba(231, 163, 58, 0.15), transparent 34%, rgba(47, 146, 139, 0.22), transparent 68%, rgba(231, 163, 58, 0.08));
  opacity: 0.92;
}

.radar::before,
.radar::after {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 1px;
  background: rgba(47, 146, 139, 0.34);
  content: "";
}

.radar::after {
  transform: rotate(90deg);
}

.radar span,
.radar i,
.radar b {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.radar span {
  top: 34%;
  left: 57%;
  width: 12px;
  height: 12px;
  background: var(--amber-strong);
  box-shadow: 0 0 24px rgba(231, 163, 58, 0.8);
}

.radar i {
  top: 63%;
  left: 31%;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.radar b {
  top: 48%;
  left: 44%;
  width: 7px;
  height: 7px;
  background: #81d48f;
}

.intel-panel p:last-child {
  margin: 14px 0 0;
  color: #c9c3b4;
  line-height: 1.65;
}

.rankings-band {
  padding-bottom: 92px;
}

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

.leaderboard article {
  min-height: 136px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(31, 36, 38, 0.72), rgba(7, 8, 10, 0.9)),
    var(--panel);
}

.leaderboard strong {
  display: block;
  margin-top: 22px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  text-transform: uppercase;
}

.leaderboard em {
  display: block;
  margin-top: 8px;
  color: var(--amber-strong);
  font-style: normal;
  font-weight: 800;
}

.rankings-status,
.rankings-tools,
.rankings-summary article,
.ranking-card,
.live-roster-card {
  border: 1px solid rgba(255, 77, 173, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 12, 20, 0.92), rgba(8, 6, 12, 0.86)),
    var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.rankings-status {
  margin-bottom: 14px;
  padding: 13px 16px;
  color: rgba(255, 214, 235, 0.84);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rankings-status[data-state="ready"] {
  border-color: rgba(90, 255, 180, 0.28);
  color: #9cffc9;
}

.rankings-status[data-state="error"] {
  border-color: rgba(255, 87, 120, 0.48);
  color: #ff8fa8;
}

.rankings-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
}

.rankings-tools label {
  display: grid;
  gap: 7px;
}

.rankings-tools span,
.rankings-summary span,
.ranking-list span {
  color: #ff79bf;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rankings-tools input {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(255, 77, 173, 0.22);
  border-radius: 8px;
  background: rgba(8, 6, 12, 0.82);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  outline: none;
  padding: 0 13px;
}

.rankings-tools input:focus {
  border-color: rgba(255, 77, 173, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 77, 173, 0.13);
}

.rankings-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.rankings-summary article {
  display: grid;
  gap: 10px;
  min-height: 106px;
  padding: 16px;
}

.rankings-summary strong {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 950;
}

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

.ranking-card,
.live-roster-card {
  min-width: 0;
  padding: 16px;
}

.live-roster-card {
  margin-top: 16px;
}

.ranking-card-head {
  margin-bottom: 12px;
}

.ranking-card-head h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.38rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ranking-list {
  display: grid;
  gap: 8px;
}

.ranking-list article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ranking-list strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.ranking-list em {
  display: block;
  margin-top: 6px;
  color: rgba(245, 239, 230, 0.66);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.live-roster-card .leaderboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-roster-card .leaderboard article {
  min-height: 104px;
  padding: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(18px);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--amber-strong);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  padding: 12px 14px;
  border: 1px solid rgba(231, 163, 58, 0.42);
  border-radius: var(--radius);
  background: rgba(8, 10, 12, 0.92);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@media (max-width: 960px) {
  .topbar {
    grid-template-rows: auto auto;
  }

  .topbar-main {
    grid-template-columns: auto 1fr;
    width: calc(100% - 28px);
    min-height: 64px;
  }

  .header-stats {
    display: none;
  }

  .portal-brand {
    justify-self: start;
  }

  .nav-links {
    display: none;
  }

  .portal-nav {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 0 14px;
  }

  .portal-announcement {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(9, 11, 12, 0.95) 0%, rgba(9, 11, 12, 0.68) 70%, rgba(9, 11, 12, 0.62) 100%),
      linear-gradient(180deg, rgba(9, 11, 12, 0.28) 0%, rgba(9, 11, 12, 0.24) 48%, rgba(9, 11, 12, 0.98) 100%);
  }

  .hero-content,
  .section-heading,
  .mode-grid,
  .tier-grid,
  .rules-board,
  .ping-console,
  .split-section,
  .leaderboard {
    grid-template-columns: 1fr;
  }

  .promo-strip {
    grid-template-columns: 1fr auto;
  }

  .promo-strip span {
    grid-column: 1 / -1;
  }

  .server-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    min-height: unset;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .terminal-panel {
    align-self: stretch;
  }

  .mode-card {
    min-height: 225px;
  }
}

@media (max-width: 680px) {
  .topbar {
    gap: 12px;
    min-height: auto;
    padding-inline: 0;
  }

  .topbar-main {
    width: calc(100% - 28px);
    gap: 10px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .topbar-actions {
    gap: 0;
  }

  .topbar-actions .icon-tool:first-child {
    display: none;
  }

  .portal-nav {
    display: none;
  }

  .topbar-actions > .ghost-button.compact {
    display: none;
  }

  .ghost-button.compact {
    width: 42px;
    padding: 0;
  }

  .steam-button.compact {
    min-width: 42px;
    padding: 0 10px;
  }

  .ghost-button.compact span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .steam-button.compact span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero {
    padding: 18px 14px 42px;
  }

  .promo-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  h1 {
    max-width: 8.1ch;
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    line-height: 0.94;
    text-wrap: wrap;
  }

  .hero-subtitle {
    max-width: 29ch;
    font-size: 0.98rem;
    overflow-wrap: break-word;
  }

  .server-strip {
    align-items: stretch;
  }

  .server-strip .icon-button {
    display: none;
  }

  .auth-strip {
    display: grid;
    gap: 6px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .terminal-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric.large {
    min-height: 96px;
  }

  .metric.large strong {
    font-size: 3.2rem;
  }

  .round-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quickbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 28px);
  }

  .server-browser {
    width: calc(100% - 28px);
  }

  .server-browser-head {
    display: grid;
  }

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

  .quickbar article:nth-child(2n) {
    border-right: 0;
  }

  .quickbar article:not(:nth-last-child(-n + 2)) {
    border-bottom: 1px solid var(--line);
  }

  .content-band,
  .vip-band,
  .ping-band,
  .split-section {
    width: calc(100% - 28px);
  }

  .content-band {
    padding-top: 70px;
  }

  .vip-band {
    padding-top: 70px;
  }

  .price-row,
  .perk-list {
    grid-template-columns: 1fr;
  }

  .tier-card {
    padding: 20px;
  }

  .vip-payment {
    align-items: stretch;
    flex-direction: column;
  }

  .paypal-button {
    width: 100%;
  }

  .split-section {
    padding-top: 58px;
  }

  .ping-band {
    padding-top: 58px;
  }

  .ping-facts {
    grid-template-columns: 1fr;
  }

  .map-row {
    display: grid;
    align-content: center;
    gap: 6px;
    min-height: 76px;
  }

  .intel-panel {
    min-height: auto;
  }

  .radar {
    width: min(100%, 260px);
    margin-bottom: 24px;
  }

  .footer {
    display: grid;
  }
}

/* Final black/pink override */
:root {
  --bg: #050407;
  --panel: rgba(14, 12, 18, 0.84);
  --panel-strong: rgba(8, 7, 11, 0.96);
  --line: rgba(255, 77, 173, 0.18);
  --line-strong: rgba(255, 77, 173, 0.34);
  --text: #fff7fb;
  --muted: #a99cac;
  --soft: #ebd8e5;
  --amber: #ff4dad;
  --amber-strong: #ff7cc8;
  --teal: #ff4dad;
  --blue: #8f4dff;
  --blue-strong: #c07cff;
  --red: #ff3c7d;
}

body {
  background: #050407;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 77, 173, 0.28), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(143, 77, 255, 0.22), transparent 28rem),
    linear-gradient(180deg, #050407, #09070d 48%, #050407);
}

.site-shell::before {
  background:
    linear-gradient(90deg, rgba(5, 4, 7, 0.96) 0%, rgba(5, 4, 7, 0.74) 48%, rgba(5, 4, 7, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 4, 7, 0.28), #050407 76%),
    url("assets/project-global-zone-bg.png") center / cover no-repeat;
  opacity: 0.5;
}

.site-shell::after {
  background-image:
    linear-gradient(rgba(255, 77, 173, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 173, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 77, 173, 0.18);
  background: rgba(6, 5, 9, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(24px);
}

.brand {
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 77, 173, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 77, 173, 0.26), rgba(143, 77, 255, 0.2)),
    rgba(12, 10, 16, 0.92);
  color: #ff9ed3;
  box-shadow: 0 0 28px rgba(255, 77, 173, 0.24);
}

.brand strong {
  font-size: clamp(1rem, 2vw, 1.42rem);
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
}

.app-tabs {
  position: sticky;
  top: 78px;
  z-index: 35;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px clamp(14px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 77, 173, 0.12);
  background: rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(22px);
}

.app-tabs button {
  display: grid;
  min-width: 104px;
  min-height: 52px;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 77, 173, 0.12);
  border-radius: var(--radius);
  background: rgba(12, 10, 16, 0.58);
  color: var(--soft);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-tabs button span {
  color: var(--muted);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.64rem;
}

.app-tabs button.is-active {
  border-color: rgba(255, 77, 173, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 77, 173, 0.24), rgba(143, 77, 255, 0.16)),
    rgba(15, 10, 20, 0.9);
  color: var(--text);
  box-shadow: 0 0 30px rgba(255, 77, 173, 0.16);
}

.app-main {
  width: min(1380px, calc(100% - 36px));
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.app-panel {
  display: none;
}

.app-panel.is-active {
  display: block;
}

.main-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.64fr);
  gap: 18px;
  min-height: 520px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.95), rgba(8, 7, 11, 0.62) 60%, rgba(8, 7, 11, 0.9)),
    url("assets/project-global-zone-bg.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  max-width: 760px;
  padding-bottom: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: 0.88;
}

.status-chip,
.secondary-button,
.steam-button.compact,
.ghost-button.compact,
.tier-action {
  border-color: rgba(255, 77, 173, 0.24);
  background: rgba(12, 10, 16, 0.78);
}

.status-chip strong,
.eyebrow,
.tier-head span,
.rule-card span,
.leaderboard em {
  color: var(--amber-strong);
}

.primary-button,
.paypal-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #ff4dad, #8f4dff);
  color: white;
  box-shadow: 0 18px 54px rgba(255, 77, 173, 0.28);
}

.live-card,
.connect-card,
.social-card,
.donor-strip,
.tier-card,
.rule-card,
.ping-console,
.map-board,
.intel-panel,
.leaderboard article,
.donate-card,
.donor-list article {
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(19, 13, 25, 0.9), rgba(7, 6, 10, 0.92)),
    rgba(12, 10, 16, 0.88);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
}

.live-card {
  display: grid;
  gap: 14px;
  align-self: center;
  padding: 14px;
}

.live-map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 173, 0.16);
  border-radius: var(--radius);
  background: #09070d;
}

.live-map-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.live-map-frame span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(5, 4, 7, 0.8);
  color: var(--amber-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-map-frame.compact {
  margin-bottom: 20px;
}

.live-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.live-card-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 77, 173, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 4, 7, 0.62);
}

.live-card-grid span,
.connect-card span,
.social-card span,
.donor-list span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-card-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: "Cascadia Mono", Consolas, monospace;
  overflow-wrap: anywhere;
}

.live-card p {
  margin: 0;
  color: var(--soft);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
}

.main-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.72fr));
  gap: 14px;
  margin-top: 16px;
}

.connect-card,
.social-card {
  min-height: 190px;
  padding: 20px;
}

.connect-card h2,
.social-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.connect-card p,
.donate-card p {
  color: var(--soft);
  line-height: 1.6;
}

.social-card svg,
.icon-social svg {
  fill: var(--amber-strong);
}

.social-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
}

.social-card a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 77, 173, 0.24);
  border-radius: var(--radius);
  color: var(--amber-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.donor-strip {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) 1fr;
  gap: 16px;
  margin-top: 16px;
  padding: 20px;
}

.donor-strip h2,
.donate-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 0.98;
  text-transform: uppercase;
}

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

.donor-list.large {
  margin-top: 0;
}

.donor-list article {
  min-width: 0;
  padding: 16px;
}

.donor-list strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 1.08rem;
  text-transform: uppercase;
}

.donor-list em {
  display: block;
  margin-top: 6px;
  color: var(--amber-strong);
  font-style: normal;
  font-weight: 900;
}

.vip-band,
.content-band,
.ping-band,
.split-section,
.rankings-band,
.donate-panel {
  width: 100%;
  padding: 0;
}

.tier-plus,
.rule-intro,
.motto-card {
  background:
    linear-gradient(135deg, rgba(255, 77, 173, 0.16), rgba(143, 77, 255, 0.12)),
    rgba(12, 10, 16, 0.88);
}

.price-row {
  border-color: rgba(255, 77, 173, 0.16);
  background: rgba(255, 77, 173, 0.12);
}

.price-row strong,
.ping-readout,
.ping-facts article,
.region-picker select,
.map-row {
  background: rgba(5, 4, 7, 0.72);
}

.perk-list li::before {
  background: var(--amber-strong);
  box-shadow: 0 0 16px rgba(255, 77, 173, 0.48);
}

.map-row.is-selected {
  border-color: rgba(255, 77, 173, 0.66);
  background:
    linear-gradient(90deg, rgba(255, 77, 173, 0.2), rgba(143, 77, 255, 0.12)),
    rgba(5, 4, 7, 0.84);
}

.donate-panel {
  display: none;
}

.donate-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 16px;
}

.donate-card {
  min-height: 360px;
  padding: clamp(24px, 4vw, 44px);
}

.footer {
  border-top-color: rgba(255, 77, 173, 0.16);
  background: rgba(5, 4, 7, 0.82);
}

.footer a {
  color: var(--amber-strong);
}

.toast {
  border-color: rgba(255, 77, 173, 0.38);
  background: rgba(12, 10, 16, 0.94);
}

@media (max-width: 1080px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .header-stats {
    display: none;
  }

  .brand {
    justify-self: start;
  }

  .app-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-hero,
  .main-grid,
  .donor-strip,
  .donate-panel.is-active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-header {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .icon-social {
    display: none;
  }

  .steam-button.compact {
    width: 42px;
    padding: 0;
  }

  .steam-button.compact span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .app-main {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .app-tabs {
    top: 68px;
    padding: 8px 12px;
  }

  .app-tabs button {
    min-width: 88px;
    min-height: 46px;
  }

  .main-hero {
    min-height: auto;
    padding: 18px;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero-actions,
  .inline-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button,
  .paypal-button {
    width: 100%;
  }

  .live-card-grid,
  .donor-list,
  .price-row,
  .perk-list,
  .rules-board,
  .ping-console,
  .split-section,
  .leaderboard {
    grid-template-columns: 1fr;
  }
}
