@font-face {
  font-family: "ClanPro-Medium";
  src:
    url("https://static.klix.ba/fonts/ClanPro-Medium.woff2") format("woff2"),
    url("https://static.klix.ba/fonts/ClanPro-Medium.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClanPro-Medium";
  src:
    url("https://static.klix.ba/fonts/ClanPro-Medium.woff2") format("woff2"),
    url("https://static.klix.ba/fonts/ClanPro-Medium.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-klix: "ClanPro-Medium", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-ui: var(--font-klix);
  --bg: #050914;
  --bg2: #081225;
  --panel: rgba(10, 22, 43, .76);
  --panel2: rgba(13, 31, 61, .86);
  --line: rgba(91, 184, 255, .22);
  --line2: rgba(255, 255, 255, .08);
  --text: #eff8ff;
  --muted: #8facce;
  --blue: #20b8ff;
  --blue2: #006bff;
  --green: #3cffb0;
  --red: #ff5274;
  --yellow: #ffd166;
  --shadow: 0 24px 90px rgba(0, 0, 0, .38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.access-modal-open {
  overflow: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 107, 255, .34), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(32, 184, 255, .2), transparent 25%),
    linear-gradient(180deg, var(--bg), var(--bg2) 46%, #030712);
  color: var(--text);
  font-family: var(--font-ui);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(32,184,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,184,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
main { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 74px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1500;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 20, .78);
  backdrop-filter: blur(18px);
}
.logo, .main-nav, .header-actions, .hero-actions { display: flex; align-items: center; }
.logo { gap: 8px; font-weight: 950; letter-spacing: .04em; }
.brand-stack {
  display: grid;
  align-content: center;
  gap: 2px;
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  place-content: start;
}
.brand-main { display: inline-flex; align-items: baseline; gap: 3px; letter-spacing: .02em; line-height: .88; width: auto; height: auto; background: transparent; box-shadow: none; }
.brand-main span { width: auto; height: auto; display: inline; place-items: initial; border-radius: 0; background: transparent; box-shadow: none; }
.logo small {
  color: #b5c3da;
  font-size: 10px;
  letter-spacing: .12em;
  display: block;
  line-height: 1;
}
.logo span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #00111f;
  background: linear-gradient(135deg, var(--blue), #8ce7ff);
  box-shadow: 0 0 28px rgba(32,184,255,.45);
}
.main-nav { justify-content: center; gap: 20px; color: var(--muted); font-size: 14px; font-weight: 850; }
.main-nav a:hover { color: var(--text); }
.admin-link { position: relative; }
.admin-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
}
.header-actions { gap: 8px; }
.header-actions.guest-actions .btn.small {
  min-width: 104px;
}
.nav-toggle { display: none; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 950;
  cursor: pointer;
}
.btn.small { min-height: 38px; padding: 0 12px; font-size: 13px; }
.btn.big { min-height: 56px; padding: 0 24px; }
.btn.full { width: 100%; }
.btn.neon {
  border-color: rgba(32,184,255,.45);
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #00111f;
  box-shadow: 0 0 28px rgba(32,184,255,.34);
}
.btn.ghost { background: rgba(255,255,255,.06); }
.btn.is-disabled {
  pointer-events: none;
  opacity: .82;
}
.admin-shortcut {
  background: linear-gradient(135deg, #132f8a, #0b61d8);
  border-color: rgba(0, 132, 255, .7);
  color: #fff;
  font-size: 12px;
  letter-spacing: .03em;
  font-weight: 900;
}

.admin-rail {
  position: fixed;
  left: 0;
  top: 148px;
  z-index: 61;
  transform: translateX(-64px);
  width: 88px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(0, 132, 255, .65);
  border-left: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, rgba(19, 47, 138, .97), rgba(11, 97, 216, .97));
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(9, 42, 104, .45);
  transition: transform 0.2s ease;
}

.admin-rail:hover {
  transform: translateX(0);
}
.admin-toolbar {
  width: min(1240px, calc(100% - 32px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-toolbar a,
.admin-toolbar button {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(3, 15, 30, .74);
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.admin-toolbar a:hover,
.admin-toolbar button:hover,
.admin-toolbar button.active {
  color: #fff;
  border-color: rgba(32,184,255,.45);
  background: rgba(8, 40, 78, .85);
}

.admin-tabs {
  position: sticky;
  top: 86px;
  z-index: 20;
}

.admin-shell {
  width: calc(100% - 32px);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-shell .admin-toolbar {
  width: 100%;
  margin: 0;
  grid-template-columns: 1fr;
}

.admin-shell .admin-tabs {
  top: 98px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(23, 116, 200, .28);
  border-radius: 16px;
  background: rgba(3, 15, 30, .7);
  backdrop-filter: blur(14px);
}

.admin-shell .admin-toolbar button {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: start;
  place-items: center start;
  padding: 0 14px;
  text-align: left;
}

.admin-tab-icon,
.dashboard-tab-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: inherit;
  background: currentColor;
  filter: drop-shadow(0 0 8px rgba(32,184,255,.2));
  -webkit-mask: var(--tab-icon) center / contain no-repeat;
  mask: var(--tab-icon) center / contain no-repeat;
}

.icon-bolt { --tab-icon: url('../icons/bolt.svg'); }
.icon-discord { --tab-icon: url('../icons/discord.svg'); }
.icon-gamepad { --tab-icon: url('../icons/gamepad.svg'); }
.icon-players { --tab-icon: url('../icons/players.svg'); }
.icon-target { --tab-icon: url('../icons/target.svg'); }
.icon-trophy { --tab-icon: url('../icons/trophy.svg'); }

.admin-tab-panels {
  width: min(1240px, calc(100% - 32px));
  margin: 14px auto 0;
}

.admin-shell .admin-tab-panels {
  width: 100%;
  margin: 0;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-tab-panel > .content-grid,
.admin-tab-panel > .admin-grid {
  width: 100%;
  margin: 0 0 18px;
}

.admin-full {
  width: 100%;
  margin-bottom: 18px;
}

.admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 8px;
  border: 1px solid rgba(23, 116, 200, .25);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}

.admin-subtabs button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 0 14px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.admin-subtabs button.active,
.admin-subtabs button:hover {
  color: #fff;
  border-color: rgba(32,184,255,.45);
  background: rgba(8, 40, 78, .85);
}

.admin-subpanel {
  display: none;
}

.admin-subpanel.active {
  display: block;
}

.admin-form-wide {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  align-items: end;
}

.admin-form-wide label:has(textarea),
.admin-form-wide .admin-field-wide,
.admin-form-wide button {
  grid-column: 1 / -1;
}

.admin-form .admin-check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.admin-form .admin-check-field input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: #20b8ff;
}

.admin-form .admin-check-field span {
  color: #dcecff;
  font-size: 12px;
}

.server-admin-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(0,0,0,.16);
}

.server-edit-form {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  align-items: end;
}

.server-edit-form button {
  grid-column: 1 / -1;
}

.server-admin-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.16);
  border-radius: 10px;
  background: rgba(7, 18, 36, .58);
}

.server-admin-summary span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.server-admin-summary b {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-admin-summary small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.server-edit-open {
  flex: 0 0 auto;
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}

.admin-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(92dvh, 820px);
  overflow: auto;
  border: 1px solid rgba(32,184,255,.3);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(7, 17, 31, .98), rgba(4, 10, 22, .98));
  box-shadow: 0 30px 80px rgba(0,0,0,.58), 0 0 34px rgba(32,184,255,.16);
}

.admin-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7, 17, 31, .94);
  backdrop-filter: blur(14px);
}

.admin-modal-head h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.admin-modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.admin-modal-close:hover {
  border-color: rgba(255,82,116,.38);
  background: rgba(255,82,116,.16);
}

.server-edit-form-modal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
}

.user-ban-dialog {
  width: min(560px, 100%);
}

.user-ban-form {
  padding: 16px;
}

.user-ban-form p {
  margin: 0;
}

.user-ban-form p strong {
  color: #fff;
}

.user-ban-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.status-pill.active {
  border-color: rgba(60,255,176,.34);
  color: #7dffc9;
  background: rgba(60,255,176,.09);
}

.admin-kpis {
  width: min(1240px, calc(100% - 32px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-shell .admin-kpis {
  width: 100%;
  margin: 0;
}

.admin-kpi {
  display: grid;
  align-content: start;
  gap: 4px;
}

.admin-kpi h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  color: #fff;
}

.admin-kpi span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.btn.danger { background: rgba(255,82,116,.16); border-color: rgba(255,82,116,.38); color: #ffdbe2; }
.status-pill.danger {
  border-color: rgba(255,82,116,.38);
  color: #ffdbe2;
  background: rgba(255,82,116,.14);
}
.btn.disabled, .btn:disabled { pointer-events: none; opacity: .45; filter: grayscale(.35); }
.flash {
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(60,255,176,.28);
  border-radius: 16px;
  background: rgba(60,255,176,.1);
  color: #caffea;
  font-weight: 850;
  scroll-margin-top: 96px;
  outline: none;
}
.flash.error { border-color: rgba(255,82,116,.38); background: rgba(255,82,116,.12); color: #ffdbe2; }
.flash.is-highlighted {
  animation: flash-pulse 1.1s ease-in-out 2;
  box-shadow: 0 0 0 1px rgba(60,255,176,.34), 0 0 34px rgba(60,255,176,.24);
}

@keyframes flash-pulse {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-2px); }
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: stretch;
  min-height: 600px;
}
.hero-copy, .prize-card, .panel, .discord-box, .page-hero, .dashboard-hero, .membership-warning, .auth-intro, .auth-box {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--panel), rgba(4, 10, 22, .82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-copy {
  position: relative;
  display: grid;
  align-content: center;
  overflow: hidden;
  padding: clamp(28px, 7vw, 82px);
}
.hero-copy::after {
  content: "CS";
  position: absolute;
  right: -18px;
  bottom: -26px;
  color: rgba(32,184,255,.08);
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 950;
  line-height: .8;
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(44px, 8vw, 96px); line-height: .9; letter-spacing: 0; }
h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1; }
p { color: var(--muted); line-height: 1.72; }
.hero-copy p { max-width: 650px; font-size: 18px; }
.hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ip-box {
  width: min(100%, 520px);
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,.22);
}
.ip-box span { color: var(--muted); font-size: 12px; font-weight: 950; }
.ip-box strong { color: var(--green); font-size: clamp(20px, 3vw, 30px); }
.prize-card { display: grid; align-content: center; padding: 28px; text-align: center; }
.prize-card span { color: var(--muted); font-weight: 850; }
.prize-card strong {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: clamp(78px, 12vw, 132px);
  text-shadow: 0 0 34px rgba(60,255,176,.34);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.stats-grid article {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 22, 43, .62);
}
.stats-grid strong { color: var(--blue); font-size: 30px; }
.stats-grid span { color: var(--muted); font-size: 13px; font-weight: 850; }
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin-top: 18px;
}
.content-grid > .panel:nth-child(3n) { grid-column: auto; }
.panel { padding: clamp(18px, 3vw, 30px); }
.wide { grid-column: span 1; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}
.section-head h2 { margin-bottom: 0; }
.section-head a { color: var(--blue); font-weight: 950; }
.compact { align-items: start; }
.server-stack { display: grid; gap: 10px; }
.server-row, .rank-list span, .winner-list span, .member-list span, .rank-table article {
  display: grid;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.server-row { grid-template-columns: minmax(170px, 1fr) minmax(120px, 1fr) auto auto; padding: 14px; }
.server-row small, .member-list small, .winner-list small { display: block; color: var(--muted); }
.progress-wrap {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.progress-wrap.large { height: 14px; margin: 18px 0; }
.progress-wrap span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue2), var(--blue), var(--green));
  box-shadow: 0 0 18px rgba(32,184,255,.42);
}
.server-row b, .server-card b {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(32,184,255,.12);
  color: var(--blue);
  font-size: 14px;
}
.server-row.full b, .server-card.full b { color: var(--green); background: rgba(60,255,176,.11); }
.server-row.locked, .server-card.locked { opacity: .6; }
.server-live-row,
.admin-runtime-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-runtime-row {
  justify-content: space-between;
}

.admin-runtime-row small {
  color: var(--muted);
  font-weight: 800;
}

.live-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 5px 10px;
  color: #d7e4f7;
  background: rgba(255,255,255,.045);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-pill i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff4d61;
  box-shadow: 0 0 12px rgba(255,77,97,.65);
}

.live-pill.online {
  border-color: rgba(60,255,176,.35);
  color: #8fffd0;
  background: rgba(60,255,176,.08);
}

.live-pill.online i {
  background: #3cffb0;
  box-shadow: 0 0 12px rgba(60,255,176,.8);
}

.live-pill.offline {
  border-color: rgba(255,77,97,.32);
  color: #ff9fab;
  background: rgba(255,77,97,.08);
}
.member-list, .winner-list, .rank-list { display: grid; gap: 10px; }
.member-list span, .winner-list span { padding: 13px; }
.rank-list span { grid-template-columns: auto 1fr auto; padding: 13px; }
.rank-list em { color: var(--blue); font-style: normal; font-weight: 950; }
.rank-list strong { color: var(--green); }
.prize-wide { border-color: rgba(60,255,176,.26); background: linear-gradient(145deg, rgba(0,107,255,.2), rgba(10,22,43,.82)); }
.discord-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
}
.page-hero, .dashboard-hero, .membership-warning {
  margin-bottom: 20px;
  padding: clamp(24px, 5vw, 54px);
}
.page-hero h1, .dashboard-hero h1 { font-size: clamp(38px, 7vw, 72px); }
.server-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.server-card {
  min-height: 270px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(10,22,43,.78), rgba(4,10,22,.88));
}
.server-card.premium-only-server,
.mock-server.premium-only-server {
  border-color: rgba(255,213,79,.38);
  box-shadow: inset 0 0 0 1px rgba(255,213,79,.08), 0 0 24px rgba(255,213,79,.08);
}
.premium-server-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  border: 1px solid rgba(255,213,79,.52);
  border-radius: 999px;
  padding: 4px 8px;
  color: #ffe58a;
  background: rgba(255,213,79,.12);
  box-shadow: 0 0 16px rgba(255,213,79,.12);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.server-card-map {
  min-height: 120px;
  margin: -4px -4px 12px;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 8px;
}
.server-card header { display: grid; gap: 10px; }
.server-card p { margin-bottom: 0; }
.server-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 850; }
.server-locked-note {
  padding: 9px 11px;
  border: 1px solid rgba(255, 209, 102, .24);
  border-radius: 8px;
  background: rgba(255, 209, 102, .08);
  color: #ffd166;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.server-locked-note.premium-note {
  border-color: rgba(255, 213, 79, .58);
  background:
    linear-gradient(135deg, rgba(255, 213, 79, .16), rgba(255, 144, 26, .06)),
    rgba(9, 13, 20, .72);
  color: #ffe58a;
  font-family: var(--font-ui) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 213, 79, .08), 0 0 18px rgba(255, 177, 45, .12);
}
.mock-server .server-premium-note {
  grid-column: 1 / -1;
  margin: 6px 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}
.server-locked-note.compact {
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffd166;
  font-size: 11px !important;
  line-height: 1.18 !important;
  font-weight: 700;
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.server-locked-note.is-hidden {
  display: none;
}
.membership-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: rgba(255,209,102,.32);
  background: rgba(255,209,102,.09);
}
.current-gather { margin-bottom: 18px; }
.gather-page-hero {
  padding: clamp(20px, 4vw, 34px);
}
.gather-page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}
.gather-page-hero.is-confirmation-hero {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 12px;
  padding: 18px 22px;
  text-align: center;
}
.gather-page-hero.is-confirmation-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
}
.gather-page-hero.is-confirmation-hero p {
  font-size: 14px;
}
.gather-page-hero.is-confirmation-hero p {
  max-width: 620px;
  margin-inline: auto;
}
.server-grid.selected-server-confirmation {
  grid-template-columns: minmax(0, 940px);
  justify-content: center;
}
.selected-server-confirmation .server-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(300px, 1fr);
  align-items: center;
  align-content: center;
  gap: 18px 22px;
  padding: clamp(14px, 2.2vw, 22px);
  border-radius: 8px;
  text-align: left;
}
.selected-server-confirmation .server-card-map {
  grid-column: 1;
  grid-row: 1 / span 6;
  min-height: clamp(210px, 24vw, 300px);
  margin: 0;
}
.selected-server-confirmation .server-card header {
  grid-column: 2;
  justify-items: start;
  gap: 7px;
}
.selected-server-confirmation .server-card header strong {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
  text-transform: uppercase;
}
.selected-server-confirmation .server-card header b {
  justify-self: start;
}
.selected-server-confirmation .gather-phase {
  grid-column: 2;
  justify-self: start;
}
.selected-server-confirmation .server-live-row {
  grid-column: 2;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.selected-server-confirmation .progress-wrap {
  grid-column: 2;
  width: 100%;
  justify-self: stretch;
}
.selected-server-confirmation .server-meta {
  grid-column: 2;
  width: 100%;
  justify-self: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.selected-server-confirmation .server-meta span {
  flex: 1 1 118px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  text-align: center;
}
.selected-server-confirmation .server-card form,
.selected-server-confirmation .server-card > .btn {
  grid-column: 2;
  width: min(100%, 380px);
  justify-self: start;
  margin-top: 2px;
}
.selected-server-confirmation .server-card form .btn,
.selected-server-confirmation .server-card > .btn {
  width: 100%;
  min-height: 50px;
}
.selected-server-confirmation .gather-player-list {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
  text-align: left;
}
@media (max-width: 760px) {
  .selected-server-confirmation .server-card {
    grid-template-columns: 1fr;
  }

  .selected-server-confirmation .server-card-map,
  .selected-server-confirmation .server-card header,
  .selected-server-confirmation .gather-phase,
  .selected-server-confirmation .server-live-row,
  .selected-server-confirmation .progress-wrap,
  .selected-server-confirmation .server-meta,
  .selected-server-confirmation .server-card form,
  .selected-server-confirmation .server-card > .btn,
  .selected-server-confirmation .gather-player-list {
    grid-column: 1;
  }

  .selected-server-confirmation .server-card-map {
    grid-row: auto;
    min-height: 170px;
  }
}
.gather-flow-panel {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto 18px;
}
.gather-flow-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7,17,31,.9), rgba(3,8,18,.96));
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
}
.gather-flow-steps span {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text";
  gap: 2px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
}
.gather-flow-steps span::after {
  content: "";
  position: absolute;
  inset: auto 10px 0 10px;
  height: 2px;
  background: rgba(148,163,184,.18);
}
.gather-flow-steps b {
  grid-area: num;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 8px;
  color: #8fd8ff;
  background: rgba(32,184,255,.08);
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1;
}
.gather-flow-steps strong {
  grid-area: title;
  overflow: hidden;
  color: #f5fbff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gather-flow-steps small {
  grid-area: text;
  overflow: hidden;
  color: #91a8bf;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gather-flow-steps span.is-done {
  border-color: rgba(60,255,176,.28);
  background: linear-gradient(135deg, rgba(60,255,176,.12), rgba(255,255,255,.035));
}
.gather-flow-steps span.is-done b {
  border-color: rgba(60,255,176,.42);
  color: #3cffb0;
  background: rgba(60,255,176,.1);
}
.gather-flow-steps span.is-done::after {
  background: #3cffb0;
}
.gather-flow-steps span.is-active {
  border-color: rgba(255,155,31,.5);
  background: linear-gradient(135deg, rgba(255,155,31,.18), rgba(32,184,255,.08));
  box-shadow: 0 0 26px rgba(255,155,31,.12);
}
.gather-flow-steps span.is-active b {
  border-color: rgba(255,155,31,.64);
  color: #120904;
  background: #ff9b1f;
}
.gather-flow-steps span.is-active::after {
  background: linear-gradient(90deg, #ff9b1f, #20b8ff);
}
.gather-flow-steps.in-gather {
  grid-column: 1 / -1;
}
.gather-match-intel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
}
.gather-match-intel span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.gather-match-intel small {
  color: #91a8bf;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}
.gather-match-intel strong,
.gather-match-intel a {
  overflow: hidden;
  color: #f4fbff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gather-match-intel a {
  color: #3cffb0;
  text-decoration: none;
}
.gather-match-intel strong.online {
  color: #3cffb0;
}
.gather-match-intel strong.offline {
  color: #ff9fab;
}
.gather-focus-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 34px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5,18,36,.92), rgba(2,7,16,.96)),
    radial-gradient(circle at 12% 8%, rgba(32,184,255,.2), transparent 34%);
}
.gather-focus-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32,184,255,.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32,184,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .08;
}
.gather-focus-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.gather-focus-hero h1 {
  margin: 2px 0 4px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .92;
}
.gather-focus-hero p {
  margin: 0;
  color: #d9e9ff;
  font-size: 18px;
  font-weight: 850;
}
.gather-focus-count {
  min-width: 118px;
  padding: 12px 14px;
  border: 1px solid rgba(60,255,176,.28);
  border-radius: 8px;
  background: rgba(60,255,176,.08);
  text-align: center;
}
.gather-focus-count strong {
  display: block;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 38px;
  line-height: .9;
}
.gather-focus-count span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.gather-focus-progress {
  margin: 0;
}
.gather-match-overview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: stretch;
}
.selected-map-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 8px;
  background: rgba(3,12,26,.72);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.selected-map-thumb {
  min-height: 260px;
  border-bottom: 1px solid rgba(32,184,255,.2);
}
.selected-map-card > div:last-child {
  display: grid;
  gap: 4px;
  padding: 16px;
}
.selected-map-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.selected-map-card strong {
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(40px, 5vw, 62px);
  line-height: .88;
  text-transform: uppercase;
}
.selected-map-card p {
  margin: 0;
  color: #b8c8dc;
  font-weight: 750;
}
.gather-match-side {
  display: grid;
  gap: 12px;
  align-content: stretch;
}
.gather-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.pending-password {
  color: #ffd166 !important;
  font-size: 14px !important;
  line-height: 1.2;
}

.premium-warning {
  border-color: rgba(255,213,79,.34);
  background: linear-gradient(135deg, rgba(255,213,79,.12), rgba(3,12,26,.88));
}
.gather-teams {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gather-teams.hidden,
.gather-slots.hidden {
  display: none;
}
.gather-teams article {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(32,184,255,.2);
  border-radius: 8px;
}
.gather-teams article:first-child {
  border-color: rgba(32, 156, 255, .42);
  background: linear-gradient(135deg, rgba(0, 91, 255, .24), rgba(3,12,26,.82));
  box-shadow: inset 0 0 0 1px rgba(32,156,255,.08);
}
.gather-teams article:nth-child(2) {
  border-color: rgba(255, 70, 88, .42);
  background: linear-gradient(135deg, rgba(255, 38, 67, .22), rgba(3,12,26,.82));
  box-shadow: inset 0 0 0 1px rgba(255,70,88,.08);
}
.gather-teams h3 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}
.gather-teams article > div {
  display: grid;
  gap: 10px;
}
.team-player-chip {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(60,255,176,.26);
  border-radius: 8px;
  color: #edf8ff;
  background: rgba(255,255,255,.06);
  text-decoration: none;
}
.team-player-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.team-player-chip.premium {
  border-color: rgba(255, 213, 79, .58);
  background: linear-gradient(135deg, rgba(255, 213, 79, .16), rgba(3, 12, 26, .86));
  box-shadow: 0 0 0 1px rgba(255, 213, 79, .12), 0 0 22px rgba(255, 213, 79, .12);
}
.team-player-chip span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0,107,255,.72), rgba(255,122,0,.22)),
    url("../images/mock/hero-soldiers.png") center / cover no-repeat;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 34px;
  font-weight: 900;
}
.team-player-chip b {
  display: grid;
  gap: 2px;
  overflow: hidden;
  max-width: 100%;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-player-chip b small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-kick-form {
  margin: 0;
  flex: 0 0 auto;
}
.team-kick-form button {
  border: 1px solid rgba(255,77,97,.42);
  border-radius: 8px;
  padding: 7px 9px;
  color: #ffd7dd;
  background: rgba(255,77,97,.12);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}
.team-kick-form button:hover {
  color: #fff;
  border-color: rgba(255,77,97,.72);
  background: rgba(255,77,97,.24);
}
.team-add-chip {
  appearance: none;
  width: 100%;
  cursor: default;
}
.team-add-chip > span,
.premium-team-plus button {
  border-color: rgba(255,213,79,.46);
  color: #ffd54f;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,213,79,.24), rgba(255,213,79,.05)),
    rgba(3,12,26,.86);
  font-size: 38px;
  line-height: 1;
}
.team-add-chip label {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.team-add-chip select,
.premium-team-plus select {
  min-width: 0;
  border: 1px solid rgba(255,213,79,.28);
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(3,12,26,.96);
}
.team-add-chip button {
  border: 1px solid rgba(255,213,79,.4);
  border-radius: 8px;
  padding: 9px 12px;
  color: #07111f;
  background: #ffd54f;
  font-weight: 950;
  text-transform: uppercase;
}
.team-empty-chip {
  opacity: .74;
  border-style: dashed;
}
.gather-live-score {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid rgba(58, 160, 255, .32);
  border-radius: 8px;
  background: rgba(3, 11, 24, .86);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.gather-live-score > span,
.gather-live-score > small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
.gather-live-score > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gather-live-score > span i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6b7280;
}
.gather-live-score.is-live > span i {
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, .8);
  animation: gatherLampBlink 1.2s infinite;
}
.gather-live-score > strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}
.gather-live-score.is-finished > strong {
  color: #7dffb2;
  text-transform: uppercase;
}
.gather-live-score > strong b {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.gather-live-score > strong em {
  color: var(--accent);
  display: inline-block;
  min-width: 24px;
  font-style: normal;
  text-align: center;
}
.match-half-breakdown {
  flex: 1 1 330px;
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 6px;
  min-width: 286px;
  width: auto;
}
.match-half-breakdown span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  text-align: center;
}
.match-half-breakdown small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}
.match-half-breakdown strong {
  color: #fff;
  font-size: 15px;
  line-height: 1;
}
@media (max-width: 760px) {
  .gather-live-score {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .match-half-breakdown {
    flex-basis: 100%;
  }
}
.gather-vote-title {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  text-align: center;
}
.gather-vote-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: .95;
}
.gather-vote-title p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}
.gather-vote-title strong {
  color: #ffd166;
}
.vote-locked-note {
  color: #70ffc3 !important;
}
.map-vote-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, 100%);
  margin: 16px auto 0;
}
.map-vote-option {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 8px;
  background: rgba(5,12,24,.82);
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.map-vote-option .map-thumb {
  min-height: 122px;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 7px;
}
.map-vote-option:hover,
.map-vote-option.active {
  transform: translateY(-3px);
  border-color: rgba(60,255,176,.65);
  background: rgba(7,20,38,.92);
  box-shadow: 0 0 0 2px rgba(60,255,176,.11), 0 16px 36px rgba(0,0,0,.24), 0 0 24px rgba(32,184,255,.16);
}
.map-vote-option.locked {
  cursor: not-allowed;
  opacity: .72;
}
.map-vote-option.locked.active {
  opacity: 1;
}
.map-vote-option strong { font-size: 14px; text-transform: uppercase; }
.map-vote-option small { color: var(--muted); font-weight: 900; }
.vote-activity {
  width: min(760px, 100%);
  display: grid;
  gap: 10px;
  justify-self: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.vote-activity h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
}
.vote-activity > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.vote-activity span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(32,184,255,.2);
  border-radius: 999px;
  background: rgba(3,12,26,.72);
}
.vote-activity b {
  color: #fff;
  font-size: 12px;
}
.vote-activity small,
.vote-activity em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
.selected-map-alert {
  width: min(760px, 100%);
  justify-self: center;
  padding: 12px 14px;
  border: 1px solid rgba(60,255,176,.32);
  border-radius: 8px;
  color: #eafff5;
  background: rgba(60,255,176,.08);
  text-align: center;
  font-weight: 950;
  text-transform: uppercase;
}
.server-access-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.server-access-box span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(60,255,176,.22);
  border-radius: 8px;
  background: rgba(60,255,176,.07);
}
.copy-mini {
  width: max-content;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(32,184,255,.32);
  border-radius: 6px;
  color: #fff;
  background: rgba(32,184,255,.16);
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.copy-mini:hover,
[data-copy-value].copied {
  border-color: rgba(60,255,176,.5);
  background: rgba(60,255,176,.18);
}
.server-access-box small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}
.server-access-box strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 20px;
}
.match-access-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(60,255,176,.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(60,255,176,.13), rgba(32,184,255,.08)),
    rgba(3,12,26,.9);
  box-shadow: 0 20px 54px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.04);
}
.match-access-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: .95;
  text-transform: uppercase;
}
.match-access-command {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(60,255,176,.36);
  border-radius: 8px;
  background: rgba(60,255,176,.08);
}
.match-access-command strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(18px, 3vw, 26px);
}
.match-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.match-access-grid span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  background: rgba(32,184,255,.07);
}
.match-access-grid small {
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
}
.match-access-grid b {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 20px;
}
.gather-view-shell {
  display: grid;
  gap: 18px;
}
.gather-view-header {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(10,22,43,.88), rgba(3,12,26,.9));
}
.gather-view-header::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 420px;
  height: 220px;
  background: radial-gradient(circle, rgba(32,184,255,.16), transparent 65%);
  pointer-events: none;
}
.gather-view-title {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
}
.gather-view-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: .95;
  text-transform: uppercase;
}
.gather-view-score {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(60,255,176,.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0,91,255,.2), rgba(60,255,176,.08), rgba(255,38,67,.18)),
    rgba(3,12,26,.72);
}
.gather-view-score strong {
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(54px, 8vw, 94px);
  line-height: .82;
  text-align: center;
}
.gather-view-score strong.is-finished {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  justify-self: center;
  min-width: min(100%, 280px);
  padding: 10px 22px;
  color: #7dffb2;
  font-size: clamp(44px, 7vw, 76px);
  border: 1px solid rgba(60,255,176,.46);
  border-radius: 8px;
  background: rgba(60,255,176,.1);
  box-shadow: 0 0 24px rgba(60,255,176,.14);
}
.gather-view-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}
.gather-view-halves {
  width: min(520px, 100%);
}
.gather-view-duration {
  width: min(520px, 100%);
  color: #a9c4df;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}
.gather-view-map-card {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  background: rgba(0,0,0,.24);
}
.gather-view-map-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.gather-view-map-card strong {
  color: #fff;
  font-size: 22px;
  text-transform: uppercase;
}
.gather-view-map {
  min-height: 190px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
}
.gather-view-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gather-view-teams article {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
}
.gather-view-teams article.blue {
  border: 1px solid rgba(32,156,255,.42);
  background: linear-gradient(135deg, rgba(0,91,255,.22), rgba(3,12,26,.86));
}
.gather-view-teams article.red {
  border: 1px solid rgba(255,70,88,.42);
  background: linear-gradient(135deg, rgba(255,38,67,.2), rgba(3,12,26,.86));
}
.gather-view-teams h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}
.team-result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}
.team-result-badge.win {
  color: #70ffc3;
  border-color: rgba(60,255,176,.45);
  background: rgba(60,255,176,.12);
  box-shadow: 0 0 18px rgba(60,255,176,.12);
}
.team-result-badge.loss {
  color: #ff6f82;
  border-color: rgba(255,77,97,.38);
  background: rgba(255,77,97,.1);
}
.gather-score-table {
  display: grid;
  gap: 8px;
}
.score-head,
.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px 52px 62px;
  gap: 8px;
  align-items: center;
}
.score-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.score-row {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.045);
  text-decoration: none;
}
.score-player {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}
.score-player i {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(60,255,176,.32);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,107,255,.55), rgba(255,122,0,.18)),
    rgba(255,255,255,.05);
  font-family: var(--font-ui);
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
.score-player > span {
  display: grid;
  min-width: 0;
}
.score-row b {
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-row small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}
.score-row strong {
  color: #fff;
  text-align: center;
  font-size: 18px;
}
.server-access-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(10px);
}
.server-access-modal.closed {
  display: none;
}
.server-access-modal > div {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(60,255,176,.36);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(5,18,36,.98), rgba(3,8,18,.98));
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 30px rgba(32,184,255,.14);
}
.modal-map-thumb {
  min-height: 150px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
}
.server-access-modal h2 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: .95;
  text-transform: uppercase;
}
.server-access-modal label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-weight: 900;
  text-transform: uppercase;
}
.server-access-modal label.modal-command-primary {
  border-color: rgba(60,255,176,.4);
  background: rgba(60,255,176,.1);
}
.server-access-modal label strong {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 20px;
  text-transform: none;
}
.server-access-modal label.modal-command-primary strong {
  font-size: clamp(20px, 4vw, 28px);
}
.server-access-modal button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(32,184,255,.35);
  border-radius: 6px;
  color: #fff;
  background: rgba(32,184,255,.16);
  cursor: pointer;
  font-weight: 950;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  padding: 0 !important;
  font-size: 22px;
  line-height: 1;
}
.gather-phase {
  padding: 8px 10px;
  border: 1px solid rgba(32,184,255,.25);
  border-radius: 8px;
  color: #dbeeff;
  background: rgba(32,184,255,.08);
  font-weight: 950;
  text-transform: uppercase;
}
.phase-replacement,
.replacement-alert {
  color: #ff5e73;
  border-color: rgba(255,77,97,.42);
  background: rgba(255,77,97,.11);
}
.replacement-alert,
.live-alert {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 950;
  text-transform: uppercase;
}
.live-alert {
  color: #70ffc3;
  border: 1px solid rgba(60,255,176,.38);
  background: rgba(60,255,176,.1);
}
.match-result-card {
  width: min(760px, 100%);
  justify-self: center;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(60,255,176,.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(60,255,176,.13), rgba(32,184,255,.09)),
    rgba(3,12,26,.86);
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.04);
  text-align: center;
}
.match-result-card span,
.match-result-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.match-result-card strong {
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}
.match-result-card strong b {
  color: #70ffc3;
  font-size: .68em;
}
.match-result-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.match-result-teams span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}
.match-result-teams b,
.match-result-teams em {
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}
.match-result-teams .win {
  color: #70ffc3;
  border-color: rgba(60,255,176,.38);
  background: rgba(60,255,176,.1);
}
.match-result-teams .loss {
  color: #ff6f82;
  border-color: rgba(255,77,97,.34);
  background: rgba(255,77,97,.09);
}
.gather-player-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.gather-player-list > small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.gather-player-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gather-player-chip {
  min-width: 0;
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  padding: 5px 8px 5px 5px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 999px;
  color: #eaf6ff;
  background: rgba(3,12,26,.74);
  text-decoration: none;
}
.server-card.signups-updated {
  border-color: rgba(60,255,176,.48);
  box-shadow: 0 0 0 1px rgba(60,255,176,.14), 0 0 28px rgba(60,255,176,.14);
}
.gather-player-chip.replacement {
  border-color: rgba(255,209,102,.36);
  background: rgba(255,209,102,.08);
}
.gather-player-chip.premium {
  border-color: rgba(255,213,79,.58);
  background: linear-gradient(135deg, rgba(255,213,79,.14), rgba(3,12,26,.82));
  box-shadow: 0 0 0 1px rgba(255,213,79,.12), 0 0 22px rgba(255,213,79,.12);
}
.premium-team-list {
  gap: 10px;
}
.premium-signup-teams {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.premium-signup-teams article {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(32,184,255,.2);
  border-radius: 8px;
  padding: 10px;
  background: rgba(3,12,26,.68);
}
.premium-signup-teams article:first-child {
  border-color: rgba(32,156,255,.38);
  background: linear-gradient(135deg, rgba(0,91,255,.16), rgba(3,12,26,.78));
}
.premium-signup-teams article:nth-child(2) {
  border-color: rgba(255,70,88,.34);
  background: linear-gradient(135deg, rgba(255,38,67,.14), rgba(3,12,26,.78));
}
.premium-signup-teams header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.premium-signup-teams header span {
  color: var(--muted);
  font-size: 12px;
}
.premium-team-slots {
  display: grid !important;
  gap: 7px;
}
.premium-team-slots .gather-player-chip {
  width: 100%;
  border-radius: 8px;
}
.premium-team-slots .team-empty-slot {
  opacity: .5;
  border-style: dashed;
  color: #9fb1c7;
}
.premium-team-plus {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
}
.premium-team-plus button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,213,79,.45);
  border-radius: 8px;
  font-family: var(--font-ui);
  cursor: pointer;
}
.premium-team-plus select {
  width: 100%;
  min-height: 42px;
  font-size: 12px;
}
.premium-team-plus.is-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 720px) {
  .premium-signup-teams {
    grid-template-columns: 1fr;
  }
  .premium-team-plus {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .premium-team-plus button {
    width: 38px;
    height: 38px;
  }
}
.premium-player-badge,
.gather-slot em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,213,79,.45);
  border-radius: 999px;
  padding: 3px 6px;
  color: #ffe58a;
  background: rgba(255,213,79,.12);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.anticheat-player-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(60,255,176,.46);
  border-radius: 999px;
  padding: 3px 6px;
  color: #63ffb8;
  background: rgba(60,255,176,.12);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.anticheat-player-badge.is-bad {
  border-color: rgba(255,70,88,.48);
  color: #ff6b7c;
  background: rgba(255,70,88,.12);
}
.anticheat-player-badge.is-waiting {
  border-color: rgba(255,213,79,.42);
  color: #ffd76d;
  background: rgba(255,213,79,.1);
}
.team-player-main .anticheat-player-badge {
  margin-left: auto;
}
.gather-slot .anticheat-player-badge {
  border-color: rgba(60,255,176,.46);
  color: #63ffb8;
  background: rgba(60,255,176,.12);
}
.gather-slot .anticheat-player-badge.is-bad {
  border-color: rgba(255,70,88,.48);
  color: #ff6b7c;
  background: rgba(255,70,88,.12);
}
.gather-slot .anticheat-player-badge.is-waiting {
  border-color: rgba(255,213,79,.42);
  color: #ffd76d;
  background: rgba(255,213,79,.1);
}
.gather-player-avatar {
  position: relative;
  overflow: hidden;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(60,255,176,.34);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,107,255,.72), rgba(255,122,0,.22)),
    url("../images/mock/hero-soldiers.png") center / cover no-repeat;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.gather-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gather-player-chip b {
  overflow: hidden;
  max-width: 92px;
  color: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gather-player-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.gather-slots {
  display: grid;
  gap: 12px;
}
.gather-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gather-test-actions form {
  margin: 0;
}
.gather-slots-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gather-slots-head strong {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
}
.gather-slots-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.gather-slots-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.gather-chat-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(3,12,26,.82), rgba(3,20,34,.62));
}

.gather-chat-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.gather-chat-head h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.gather-chat-head small {
  color: #ffd27d;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.gather-chat-feed {
  max-height: 260px;
  display: grid;
  gap: 8px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(0,0,0,.2);
}

.gather-chat-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.gather-chat-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(60,255,176,.28);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0,107,255,.52), rgba(3,12,26,.8));
  font-weight: 950;
}

.gather-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gather-chat-message header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gather-chat-message b {
  color: #e9f6ff;
  font-size: 13px;
}

.gather-chat-message time {
  color: #7f94ad;
  font-size: 14px;
  font-weight: 900;
}

.gather-chat-message p {
  margin: 3px 0 0;
  color: #c7d8ea;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.gather-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.gather-chat-form input {
  min-height: 42px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255,255,255,.055);
  outline: none;
}

.gather-chat-status {
  min-height: 18px;
  margin: 0;
  color: #ff9fab;
  font-size: 12px;
  font-weight: 900;
}

.gather-chat-panel.is-locked {
  opacity: .72;
}

.gather-slot {
  min-width: 0;
  aspect-ratio: 1 / 1.08;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  background: rgba(3,12,26,.72);
  color: #eaf6ff;
  text-align: center;
  text-decoration: none;
}
.gather-slot.filled {
  border-color: rgba(60,255,176,.38);
  background:
    linear-gradient(180deg, rgba(0,107,255,.22), rgba(3,12,26,.84)),
    rgba(3,12,26,.72);
}
.gather-slot.replacement {
  border-color: rgba(255,209,102,.42);
  background: rgba(255,209,102,.09);
}
.gather-slot.premium {
  border-color: rgba(255,213,79,.58);
  background:
    linear-gradient(180deg, rgba(255,213,79,.16), rgba(3,12,26,.84)),
    rgba(3,12,26,.72);
  box-shadow: 0 0 0 1px rgba(255,213,79,.12), 0 0 22px rgba(255,213,79,.1);
}
.gather-slot.empty {
  border-style: dashed;
  color: rgba(220,235,255,.55);
  background: rgba(255,255,255,.025);
}
.gather-slot span {
  width: clamp(34px, 5vw, 48px);
  height: clamp(34px, 5vw, 48px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(60,255,176,.34);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,107,255,.72), rgba(255,122,0,.22)),
    url("../images/mock/hero-soldiers.png") center / cover no-repeat;
  font-family: var(--font-ui);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1;
}
.gather-slot.empty span {
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.05);
}
.gather-slot b {
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-hero-compact {
  padding: 22px 26px;
}

.dashboard-hero-compact h1 {
  margin-bottom: 6px;
  font-size: clamp(30px, 4vw, 46px);
}

.dashboard-hero-compact p {
  margin-bottom: 10px;
}

.membership-countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.membership-countdown span {
  min-width: 74px;
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid rgba(32, 184, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.membership-countdown strong {
  color: #3cffb0;
  font-family: var(--font-ui);
  font-size: 28px;
  line-height: .9;
}

.membership-countdown small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.dashboard-hero.admin { border-color: rgba(32,184,255,.34); }

.dashboard-hero.admin h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
  text-transform: uppercase;
}

.ban-notice {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  border-color: rgba(255,82,116,.42) !important;
  background:
    linear-gradient(135deg, rgba(255,82,116,.15), rgba(0,0,0,.16)),
    rgba(10,22,43,.76) !important;
}

.ban-notice h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
}

.ban-notice p {
  max-width: 920px;
  margin: 0;
  color: #ffdce4;
  line-height: 1.55;
}

.ban-notice strong {
  color: #ffb8c4;
}

.banned-dashboard .dashboard-profile-tabs form,
.banned-dashboard .profile-grid form,
.banned-dashboard .dashboard-hero form,
.banned-dashboard .message-window form,
.banned-dashboard .content-grid form {
  pointer-events: none;
  opacity: .48;
  filter: grayscale(.45);
}

.banned-dashboard .dashboard-profile-tabs input,
.banned-dashboard .dashboard-profile-tabs textarea,
.banned-dashboard .dashboard-profile-tabs select,
.banned-dashboard .dashboard-profile-tabs button,
.banned-dashboard .profile-grid input,
.banned-dashboard .profile-grid textarea,
.banned-dashboard .profile-grid select,
.banned-dashboard .profile-grid button,
.banned-dashboard .dashboard-hero button,
.banned-dashboard .message-window textarea,
.banned-dashboard .message-window form button,
.banned-dashboard .content-grid button {
  cursor: not-allowed;
}

.auth-layout {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, 500px);
  gap: 20px;
  align-items: center;
}
.auth-top-copy {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0 auto 14px;
  text-align: center;
}
.auth-top-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
  text-transform: none;
}
.auth-top-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.auth-intro {
  display: grid;
  overflow: hidden;
  position: relative;
  min-height: 560px;
  padding: clamp(22px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(3, 8, 15, .88) 0%, rgba(3, 8, 15, .5) 44%, rgba(3, 8, 15, .1) 100%),
    url("../images/banners/gathercs-login-banner.png?v=20260605") center / cover no-repeat;
}
.auth-intro::after {
  content: none;
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(255,255,255,.055);
  font-size: clamp(120px, 16vw, 220px);
  font-weight: 950;
}
.auth-visual-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.auth-intro h1 {
  max-width: 560px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .88;
}
.auth-intro p {
  max-width: 460px;
}
.auth-prize-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 12px;
  max-width: 430px;
}
.auth-game-badges,
.auth-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.auth-game-badges { margin-top: 0; }
.auth-chips span,
.auth-game-badges span {
  padding: 8px 11px;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 999px;
  color: #c8edff;
  background: rgba(0,0,0,.34);
  font-size: 12px;
  font-weight: 950;
}
.auth-game-badges span:nth-child(2) {
  border-color: rgba(255, 142, 32, .36);
  color: #ffd8a7;
}
.auth-prize-card {
  width: min(100%, 330px);
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 184, 62, .32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,0,0,.72), rgba(56,32,0,.46));
  box-shadow: 0 16px 46px rgba(0,0,0,.26), 0 0 28px rgba(255, 141, 0, .12);
}
.auth-prize-card small {
  color: #ffe1a8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.auth-prize-card strong {
  color: #fff;
  font-size: 46px;
  line-height: .95;
}
.auth-prize-card em {
  color: #b8c7d9;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.auth-box {
  padding: 24px;
  align-self: center;
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.22);
}

.auth-tabs.has-reset {
  grid-template-columns: repeat(3, 1fr);
}
.auth-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 950;
  cursor: pointer;
}
.auth-tabs button.active { background: linear-gradient(135deg, var(--blue2), var(--blue)); color: #00111f; }
.auth-form { display: none; gap: 14px; margin-top: 18px; }
.auth-form.active { display: grid; }
.auth-form h2 { margin-bottom: 2px; }
.auth-panel-form {
  display: grid;
  gap: 12px;
}
.auth-note {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.auth-link-button {
  justify-self: center;
  border: 0;
  padding: 0;
  color: #93d7ff;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}
.auth-link-button:hover {
  color: #fff;
}

.forgot-password-box {
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.forgot-password-box[hidden] {
  display: none !important;
}

.forgot-password-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.auth-form label, .admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.auth-form input, .auth-form select, .admin-form input, .admin-form textarea, .admin-form select, .admin-server-row input, .admin-server-row select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255,255,255,.065);
  color: var(--text);
  outline: none;
}

.auth-form select,
.admin-form select,
.admin-server-row select,
.inline-profile-form select,
.premium-match-form select,
.usdt-modal-form select,
.anticheat-row-actions select {
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
  padding-right: 44px !important;
  background:
    linear-gradient(45deg, transparent 50%, #9cc9e6 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, #9cc9e6 50%, transparent 50%) right 12px center / 7px 7px no-repeat,
    rgba(255,255,255,.065);
}

.auth-form select:hover,
.admin-form select:hover,
.admin-server-row select:hover,
.inline-profile-form select:hover,
.premium-match-form select:hover,
.usdt-modal-form select:hover,
.anticheat-row-actions select:hover {
  border-color: rgba(32,184,255,.38);
  background:
    linear-gradient(45deg, transparent 50%, #20b8ff 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, #20b8ff 50%, transparent 50%) right 12px center / 7px 7px no-repeat,
    rgba(32,184,255,.08);
}

.auth-form select option,
.admin-form select option,
.admin-server-row select option,
.inline-profile-form select option,
.premium-match-form select option,
.usdt-modal-form select option,
.anticheat-row-actions select option {
  color: #07111f;
  background: #f8fbff;
}
.admin-form textarea { min-height: 150px; padding: 14px; resize: vertical; }
.auth-form input:focus, .auth-form select:focus, .admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus, .admin-server-row select:focus { box-shadow: 0 0 0 4px rgba(32,184,255,.12); }
.auth-form label.auth-check-row {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.2);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: rgba(220,231,246,.88);
  font-size: 12px;
  line-height: 1.45;
}
.auth-form label.auth-check-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
}
.auth-form label.auth-check-row a {
  color: #73d6ff;
  font-weight: 950;
}
.auth-form label.auth-check-row a:hover {
  color: #fff;
}
.admin-form label.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: var(--text);
}

.admin-form label.check-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #ffb347;
}
.rank-table { display: grid; gap: 10px; }
.rank-table article { grid-template-columns: 58px minmax(0, 1fr) auto auto auto auto; padding: 14px; }
.rank-table em { color: var(--blue); font-style: normal; font-weight: 950; }
.rank-table b { color: var(--green); }
.leaderboard-hero {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: grid;
  align-content: end;
  margin-bottom: 18px;
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(32,184,255,.32);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, .72), rgba(3, 16, 32, .2)),
    url("../images/banners/gathercs-com-banner.png?v=20260605") center calc(28% + 40px) / cover no-repeat;
  box-shadow: 0 28px 90px rgba(0,0,0,.34), inset 0 0 80px rgba(0,119,255,.16);
}

.leaderboard-hero::after {
  content: "TOP";
  position: absolute;
  right: 28px;
  top: 18px;
  color: rgba(32,184,255,.1);
  font-family: var(--font-ui);
  font-size: clamp(120px, 18vw, 230px);
  font-weight: 700;
  line-height: .8;
  pointer-events: none;
}

.leaderboard-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: .82;
  text-transform: uppercase;
}

.leaderboard-hero p {
  max-width: 680px;
  color: #b6c7dc;
  font-weight: 750;
}

.leaderboard-arena {
  padding: clamp(18px, 3vw, 32px);
  border-color: rgba(32,184,255,.32);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 119, 255, .22), transparent 36%),
    radial-gradient(circle at 90% 12%, rgba(60, 255, 176, .1), transparent 28%),
    rgba(4,18,32,.9);
}

.leaderboard-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.leaderboard-tabs button {
  min-height: 58px;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: #9eb1c8;
  font-family: var(--font-ui);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  cursor: pointer;
}

.leaderboard-tabs button.active {
  color: #fff;
  border-color: rgba(60,255,176,.45);
  background: linear-gradient(135deg, rgba(0,107,255,.42), rgba(0,0,0,.2));
  box-shadow: inset 0 -2px 0 rgba(60,255,176,.65), 0 0 28px rgba(0,107,255,.18);
}

.leaderboard-panel {
  display: none;
}

.leaderboard-panel.active {
  display: grid;
  gap: 16px;
}

.leaderboard-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.leaderboard-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(34px, 5vw, 56px);
  line-height: .9;
}

.leaderboard-heading strong {
  color: #3cffb0;
  font-family: var(--font-ui);
  font-size: 28px;
  white-space: nowrap;
}

.leaderboard-table {
  display: grid;
  gap: 8px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 72px minmax(180px, 1fr) repeat(4, minmax(82px, auto));
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(8, 28, 52, .86), rgba(2, 10, 20, .7));
}

.leaderboard-head {
  min-height: 42px;
  color: #90a6be;
  background: rgba(0,0,0,.24);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.leaderboard-row em {
  color: #20b8ff;
  font-family: var(--font-ui);
  font-size: 28px;
  font-style: normal;
  font-weight: 800;
}

.leaderboard-row.is-podium {
  border-color: rgba(255, 210, 106, .28);
  background:
    radial-gradient(circle at 5% 50%, rgba(255, 210, 106, .18), transparent 34%),
    linear-gradient(90deg, rgba(23, 34, 55, .94), rgba(3, 12, 24, .78));
}

.leaderboard-row.rank-2 {
  border-color: rgba(220, 232, 247, .26);
  background:
    radial-gradient(circle at 5% 50%, rgba(220, 232, 247, .14), transparent 34%),
    linear-gradient(90deg, rgba(19, 31, 48, .94), rgba(3, 12, 24, .78));
}

.leaderboard-row.rank-3 {
  border-color: rgba(255, 157, 94, .25);
  background:
    radial-gradient(circle at 5% 50%, rgba(255, 157, 94, .15), transparent 34%),
    linear-gradient(90deg, rgba(28, 24, 35, .94), rgba(3, 12, 24, .78));
}

.rank-medal {
  position: relative;
  width: 56px;
  min-height: 64px;
  display: grid;
  place-items: center;
  justify-self: start;
  padding-top: 3px;
}

.rank-medal span {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.48);
  border-radius: 999px;
  color: #090f18;
  font-family: var(--font-ui);
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.34);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,.42),
    inset 0 -8px 16px rgba(0,0,0,.22),
    0 0 26px rgba(255, 210, 106, .22);
}

.rank-medal span::before {
  content: "★";
  position: absolute;
  top: 4px;
  right: 8px;
  color: rgba(255,255,255,.74);
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
}

.rank-medal small {
  position: relative;
  z-index: 3;
  margin-top: -4px;
  padding: 2px 7px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #f6fbff;
  background: rgba(2, 8, 18, .86);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .06em;
}

.rank-medal::before,
.rank-medal::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 1;
  width: 16px;
  height: 30px;
  border-radius: 3px 3px 8px 8px;
  background: linear-gradient(180deg, #1b74ff, #052b68);
  transform-origin: top center;
}

.rank-medal::before {
  left: 15px;
  transform: rotate(14deg);
}

.rank-medal::after {
  right: 15px;
  transform: rotate(-14deg);
}

.rank-medal-1 span {
  background:
    radial-gradient(circle at 32% 25%, #fff8cf 0 20%, transparent 22%),
    linear-gradient(145deg, #ffe985, #f7b91b 45%, #9b5b00);
}

.rank-medal-2 span {
  background:
    radial-gradient(circle at 32% 25%, #ffffff 0 20%, transparent 22%),
    linear-gradient(145deg, #f8fbff, #c5d2df 45%, #708091);
}

.rank-medal-3 span {
  background:
    radial-gradient(circle at 32% 25%, #ffe1ba 0 20%, transparent 22%),
    linear-gradient(145deg, #ffba72, #c9782b 45%, #764014);
}

.rank-medal-1::before,
.rank-medal-1::after {
  background: linear-gradient(180deg, #0a88ff, #03479c);
}

.rank-medal-2::before,
.rank-medal-2::after {
  background: linear-gradient(180deg, #c6d6e8, #40556d);
}

.rank-medal-3::before,
.rank-medal-3::after {
  background: linear-gradient(180deg, #ff8b3d, #81320f);
}

.leaderboard-row strong {
  min-width: 0;
  color: #fff;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.player-name-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rank-premium-badge {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(255, 210, 106, .55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 210, 106, .2), rgba(255, 144, 26, .08)),
    rgba(255, 210, 106, .08);
  color: #ffd26a;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(255, 177, 45, .16);
}

.country-flag {
  width: 30px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04)),
    rgba(0,0,0,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 14px rgba(32,184,255,.12);
  font-size: 14px;
  line-height: 1;
}

.leaderboard-row strong a,
.home-leaderboard b a,
.active-list b a {
  color: inherit;
  text-decoration: none;
}

.leaderboard-row strong a:hover,
.home-leaderboard b a:hover,
.active-list b a:hover {
  color: #20b8ff;
}

.leaderboard-row strong small {
  display: block;
  color: #8da0b5;
  font-size: 12px;
  font-weight: 800;
}

.leaderboard-row b {
  color: #3cffb0;
  font-size: 20px;
}

.leaderboard-row span {
  color: #d8e8f8;
  font-weight: 900;
}

.leaderboard-empty {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(0,0,0,.18);
}

.leaderboard-empty span {
  color: var(--muted);
}

.leaderboard-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.leaderboard-pagination a,
.leaderboard-pagination span {
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 6px;
  color: #b8cce4;
  background: rgba(255,255,255,.04);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.leaderboard-pagination a:hover,
.leaderboard-pagination span.active {
  border-color: rgba(60,255,176,.48);
  color: #fff;
  background: linear-gradient(135deg, rgba(0,107,255,.34), rgba(60,255,176,.12));
  box-shadow: 0 0 20px rgba(0,107,255,.18);
}

.stats-panel {
  display: grid;
  gap: 16px;
}

.admin-stats-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(32, 184, 255, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 20%, rgba(0,107,255,.18), transparent 34%),
    linear-gradient(135deg, rgba(4,13,26,.96), rgba(6,26,42,.82));
  box-shadow: inset 0 0 34px rgba(32,184,255,.08);
}

.admin-stats-hero.gather {
  border-color: rgba(255,122,24,.22);
  background:
    radial-gradient(circle at 16% 20%, rgba(255,122,24,.16), transparent 34%),
    linear-gradient(135deg, rgba(20,10,5,.96), rgba(18,19,25,.84));
}

.admin-stats-hero h3 {
  margin: 3px 0 7px;
  color: #fff;
  font-size: 23px;
  line-height: 1.1;
  text-transform: uppercase;
}

.admin-stats-hero p {
  margin: 0;
  max-width: 760px;
  color: #a9b9cc;
  font-size: 14px;
  line-height: 1.55;
}

.stats-live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(60,255,176,.32);
  border-radius: 6px;
  color: #caffeb;
  background: rgba(60,255,176,.08);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-live-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #3cffb0;
  box-shadow: 0 0 18px rgba(60,255,176,.72);
}

.stats-live-badge.gather {
  border-color: rgba(255,122,24,.35);
  color: #ffd4b0;
  background: rgba(255,122,24,.1);
}

.stats-kpis {
  margin: 12px 0 14px;
}

.stats-kpis-pro {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.stats-card {
  grid-column: span 6;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(32, 184, 255, .14);
  background: linear-gradient(145deg, rgba(4, 13, 26, .92), rgba(7, 22, 39, .72));
}

.stats-card.wide {
  grid-column: 1 / -1;
}

.stats-chart-card {
  min-height: 260px;
}

.stats-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
}

.stats-row small {
  display: block;
  color: #9fb2c9;
  overflow-wrap: break-word;
}

.stats-row b {
  color: #e9f6ff;
}

.stats-bars {
  display: grid;
  gap: 11px;
}

.stats-bar-row {
  display: grid;
  gap: 7px;
}

.stats-bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
  color: #dceeff;
  font-size: 12px;
}

.stats-bar-meta b {
  min-width: 0;
  overflow: hidden;
  color: #f6fbff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-bar-meta span {
  flex: 0 0 auto;
  color: #84d9ff;
  font-weight: 950;
}

.stats-bar-track {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(32,184,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}

.stats-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #006bff, #3cffb0);
  box-shadow: 0 0 18px rgba(0,107,255,.32);
}

.stats-card:nth-child(odd) .stats-bar-fill {
  background: linear-gradient(90deg, #ff7a18, #20b8ff);
}

.stats-card .admin-row-item {
  border-radius: 7px;
  background: rgba(255,255,255,.035);
}

.stats-card .admin-row-item.stats-row {
  display: block;
  grid-template-columns: 1fr;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
}

.stats-card .stats-row small {
  margin-top: 4px;
  line-height: 1.45;
}

.stats-row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 12px 16px;
  align-items: start;
  width: 100%;
}

.stats-card.wide .stats-row-grid {
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.stats-field {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.stats-field em {
  color: #86d7ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.stats-field strong {
  min-width: 0;
  color: #eaf6ff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
}

.stats-field-ip_label strong,
.stats-field-country_code strong,
.stats-field-views strong,
.stats-field-visitors strong,
.stats-field-count_rows strong,
.stats-field-team_a_score strong,
.stats-field-team_b_score strong,
.stats-field-last_seen strong,
.stats-field-last_seen_at strong,
.stats-field-created_at strong {
  white-space: nowrap;
}

.stats-field-page_path,
.stats-field-referrer {
  grid-column: span 2;
}

.stats-field-page_path strong,
.stats-field-referrer strong {
  overflow-wrap: anywhere;
}

.stats-panel,
.stats-panel * {
  box-sizing: border-box;
}

.stats-panel,
.stats-panel .admin-subpanel,
.admin-stats-grid,
.stats-card .admin-list.simple,
.stats-bars {
  min-width: 0;
  max-width: 100%;
}

.stats-card .admin-row-item,
.stats-card .stats-row span,
.stats-card .stats-row b,
.stats-card .stats-row small,
.stats-card .stats-bar-meta,
.stats-card .stats-bar-meta b {
  min-width: 0;
}

.stats-card .stats-row > span,
.stats-card .stats-row > small {
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

.stats-card .stats-row .stats-field,
.stats-card .stats-row .stats-field strong {
  max-width: 100%;
  overflow: visible;
  word-break: normal;
}

.admin-mini-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.admin-mini-pagination a,
.admin-mini-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 6px;
  color: #b9d7ef;
  background: rgba(255,255,255,.04);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.admin-mini-pagination a:hover,
.admin-mini-pagination span.active {
  color: #fff;
  border-color: rgba(32,184,255,.58);
  background: linear-gradient(135deg, rgba(0,107,255,.42), rgba(32,184,255,.16));
  box-shadow: 0 0 18px rgba(0,107,255,.22);
}

@media (max-width: 1180px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid > .stats-card,
  .admin-stats-grid > .stats-card.wide {
    grid-column: 1 / -1;
  }
}

.profile-progress-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin-top: 14px;
  overflow: hidden;
}

.profile-progress-card .section-heading {
  margin-bottom: 0;
}

.profile-progress-chart {
  min-height: 210px;
  border: 1px solid rgba(32, 184, 255, .16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(22,137,255,.16), transparent 32%),
    rgba(0,0,0,.2);
  background-size: 100% 48px, 72px 100%, auto, auto;
  padding: 8px;
}

.profile-progress-chart svg {
  width: 100%;
  height: 240px;
  display: block;
}

.chart-axis {
  stroke: rgba(255,255,255,.18);
  stroke-width: 1;
}

.chart-label {
  fill: #7f94ad;
  font-size: 12px;
  font-weight: 900;
}

.chart-line {
  fill: none;
  stroke: url("#profileProgressLine");
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(32,184,255,.32));
}

.chart-point {
  fill: #42ffae;
  stroke: #06131e;
  stroke-width: 3;
}

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

.profile-progress-meta span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.profile-progress-meta small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-progress-meta strong {
  color: #fff;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.player-profile-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(270px, 380px);
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(32,184,255,.32);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(2,7,14,.82), rgba(2,7,14,.45)),
    url("../images/hero-cs-operators.png") center / cover no-repeat,
    radial-gradient(circle at 14% 18%, rgba(32,184,255,.22), transparent 32%),
    linear-gradient(135deg, rgba(3,12,25,.96), rgba(5,24,44,.86));
}

.player-profile-avatar-wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.player-profile-avatar-wrap .eyebrow {
  justify-self: center;
  margin: 0;
}

.player-profile-avatar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: clamp(90px, 13.2vw, 150px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(60,255,176,.38);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,107,255,.72), rgba(6,18,36,.74)),
    url("../images/mock/hero-soldiers.png") center / cover no-repeat;
  box-shadow: 0 0 40px rgba(0,107,255,.2);
  font-family: var(--font-ui);
  font-size: clamp(58px, 9.8vw, 102px);
  font-weight: 800;
}

.player-profile-avatar img,
.player-avatar img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-profile-avatar::before,
.player-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(0, 107, 255, .35), rgba(255, 122, 0, .24)),
    url("../images/mock/hero-soldiers.png") center / cover no-repeat;
  filter: saturate(1.2) contrast(1.08);
}

.player-profile-avatar::after,
.player-avatar::after {
  content: "GCS";
  position: absolute;
  right: 7px;
  bottom: 4px;
  z-index: -1;
  color: rgba(255,255,255,.18);
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
}

.player-profile-hero h1 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: .9;
  text-transform: uppercase;
}

.player-profile-hero p,
.player-profile-meta {
  color: #b8c9dd;
}

.player-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
  font-weight: 900;
  font-size: 13px;
}

.player-profile-hero .country-flag {
  width: 46px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  font-size: 23px;
  padding: 0;
}

.player-profile-hero .profile-badges {
  gap: 7px;
}

.player-profile-hero .profile-badges span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.steam-verified-badge {
  border-color: rgba(60, 255, 176, .45) !important;
  color: #42ffae !important;
  background: rgba(60, 255, 176, .08) !important;
}

.steam-verified-badge::before {
  content: "✓";
  margin-right: 6px;
  color: #42ffae;
}

.steam-unverified-badge {
  border-color: rgba(255, 190, 75, .36) !important;
  color: #ffd27d !important;
  background: rgba(255, 190, 75, .08) !important;
}

.steam-unverified-badge::before {
  content: "!";
  margin-right: 6px;
  color: #ffd27d;
}

.player-profile-side {
  justify-self: end;
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(32,184,255,.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(2,9,20,.72), rgba(2,18,34,.46));
  box-shadow: inset 0 0 34px rgba(32,184,255,.08);
}

.player-game-badges {
  display: grid;
  gap: 10px;
}

.player-game-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 9px 12px;
  border: 1px solid rgba(60,255,176,.36);
  border-radius: 6px;
  color: #e9f8ff;
  background: linear-gradient(180deg, rgba(32,184,255,.16), rgba(60,255,176,.07));
  box-shadow: 0 0 22px rgba(32,184,255,.12);
  text-transform: uppercase;
}

.player-game-badge img {
  width: min(160px, 54%);
  max-height: 38px;
  object-fit: contain;
  padding: 6px 8px;
  border-radius: 5px;
  background: rgba(244, 250, 255, .94);
  filter: drop-shadow(0 0 10px rgba(32,184,255,.24));
}

.player-game-badge span {
  color: #dff6ff;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.game-choice-icon {
  width: 72px;
  height: 34px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  place-items: center;
  border: 1px solid rgba(32,184,255,.42);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(0,107,255,.3), rgba(255,122,0,.14)),
    rgba(0,0,0,.32);
}

.game-choice-icon img {
  width: 58px;
  max-height: 24px;
  object-fit: contain;
  padding: 3px 4px;
  border-radius: 4px;
  background: rgba(244, 250, 255, .92);
}

.profile-badges .is-online {
  color: #3cffb0;
  border-color: rgba(60,255,176,.38);
  background: rgba(60,255,176,.08);
}

.profile-badges .is-offline {
  color: #ff9fab;
  border-color: rgba(255,77,97,.32);
  background: rgba(255,77,97,.08);
}

.player-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
}

.social-public-card {
  grid-column: 1 / -1;
}

.player-public-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.player-match-history-card {
  grid-column: 1 / -1;
}

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

.public-stat-grid span {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(255,255,255,.035);
}

.public-stat-grid small {
  color: #92a8bf;
  font-weight: 900;
  text-transform: uppercase;
}

.public-stat-grid strong {
  color: #3cffb0;
  font-family: var(--font-ui);
  font-size: 34px;
  line-height: .9;
}

.profile-action-form {
  display: grid;
  gap: 10px;
}

.profile-action-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.profile-action-form textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.065);
  color: var(--text);
  resize: vertical;
}

.player-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.player-profile-side .player-social-links {
  margin-top: 0;
  justify-content: flex-end;
}

.player-social-links strong {
  flex: 0 0 100%;
  color: #93d7ff;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.player-social-links.is-card {
  margin-top: 0;
}

.player-social-links a,
.player-social-links span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(32,184,255,.32);
  border-radius: 6px;
  color: #e9f8ff;
  background: linear-gradient(180deg, rgba(32,184,255,.14), rgba(255,122,0,.08));
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-social-links a:hover {
  border-color: rgba(60,255,176,.56);
  color: #3cffb0;
}
.rules-content { color: var(--muted); line-height: 1.9; font-weight: 650; }

.content-hero p {
  max-width: 780px;
}

.content-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  border-radius: 8px;
}

.content-card > span,
.faq-item > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 184, 255, .38);
  border-radius: 10px;
  color: #20b8ff;
  background: rgba(32, 184, 255, .1);
  font-weight: 950;
}

.content-card h2,
.content-note h2,
.faq-item h2,
.contact-card h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
}

.content-card p,
.content-note p,
.faq-item p,
.contact-card p {
  color: var(--muted);
  line-height: 1.6;
}

.content-note {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border-radius: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-radius: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255,255,255,.055);
}

.contact-form textarea {
  padding: 14px;
  resize: vertical;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.ban-list-panel {
  display: grid;
  gap: 18px;
  border-radius: 8px;
}

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

.ban-list-row {
  display: grid;
  grid-template-columns: minmax(170px, .75fr) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.ban-list-head {
  min-height: 40px;
  color: #90a6be;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ban-list-row strong {
  color: #fff;
}

.ban-list-row small {
  display: block;
  color: var(--muted);
}

.ban-list-row span {
  color: #c7d5e5;
}

.ban-list-row b {
  color: #ff9fab;
  white-space: nowrap;
}
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.admin-form { display: grid; gap: 12px; }
.admin-server-list, .admin-list { display: grid; gap: 10px; }
.admin-server-status-center {
  display: grid;
  gap: 14px;
  margin: 16px 0 18px;
  padding: 16px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(32,184,255,.13), transparent 34%),
    rgba(5,15,30,.66);
}
.status-center-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.status-center-head h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}
.status-center-head small {
  max-width: 520px;
  color: #91a8bf;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.admin-server-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.server-status-tile {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 8px;
  background: rgba(3,10,22,.72);
}
.server-status-tile.ok {
  border-color: rgba(60,255,176,.26);
  box-shadow: inset 0 0 0 1px rgba(60,255,176,.06);
}
.server-status-tile.warn {
  border-color: rgba(255,77,97,.32);
  box-shadow: inset 0 0 0 1px rgba(255,77,97,.06);
}
.server-status-tile header,
.server-status-tile footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.server-status-tile b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
}
.server-status-tile small {
  color: #91a8bf;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.server-status-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.server-status-metrics span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.server-status-metrics strong {
  overflow: hidden;
  color: #eaf6ff;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.server-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.server-status-tile footer form {
  margin: 0;
}
@media (max-width: 1040px) {
  .admin-server-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .status-center-head,
  .server-status-tile header,
  .server-status-tile footer {
    align-items: stretch;
    flex-direction: column;
  }

  .status-center-head small {
    max-width: none;
    text-align: left;
  }

  .admin-server-status-grid,
  .server-status-metrics {
    grid-template-columns: 1fr;
  }
}
.admin-server-row {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(160px, 1fr) minmax(160px, 1fr) 120px auto auto auto;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.admin-list form, .admin-list.simple span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.admin-list small { display: block; color: var(--muted); }
.site-footer {
  width: min(1240px, calc(100% - 32px));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 24px;
  padding: 22px 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer p { margin-bottom: 0; }
.cookie-consent {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1200;
  width: min(520px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(32,184,255,.32);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(4, 13, 27, .96), rgba(5, 23, 43, .94)),
    radial-gradient(circle at top left, rgba(0,107,255,.18), transparent 42%);
  box-shadow: 0 22px 60px rgba(0,0,0,.44), 0 0 28px rgba(0,107,255,.12);
}
.cookie-consent[hidden] {
  display: none !important;
}
.cookie-consent strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}
.cookie-consent p {
  margin: 0;
  color: rgba(220,231,246,.82);
  font-size: 13px;
  line-height: 1.45;
}
.cookie-consent-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.cookie-consent-actions a {
  color: #93d7ff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}
.cookie-consent-actions a:hover {
  color: #fff;
}
.legal-hero {
  background:
    linear-gradient(90deg, rgba(2,7,14,.92), rgba(2,7,14,.56)),
    url("../images/banners/gathercs-com-banner.png") center / cover no-repeat;
}
.legal-page {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.legal-page article {
  padding: 16px;
  border: 1px solid rgba(32,184,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.legal-page h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
}
.legal-page p {
  margin: 0;
  color: rgba(220,231,246,.84);
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .server-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .auth-layout, .hero, .admin-grid { grid-template-columns: 1fr; }
  .gather-match-overview { grid-template-columns: 1fr; }
  .selected-map-thumb { min-height: 220px; }
  .gather-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-vote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gather-slots-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .leaderboard-row,
  .leaderboard-head {
    grid-template-columns: 58px minmax(0, 1fr) repeat(2, minmax(72px, auto));
  }
  .leaderboard-row > :nth-child(5),
  .leaderboard-row > :nth-child(6) {
    grid-column: auto;
  }
  .auth-layout { min-height: 0; }
  .auth-intro { min-height: 420px; }
  .admin-server-row { grid-template-columns: 1fr 1fr; }
  .admin-toolbar,
  .admin-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  main { width: min(100% - 22px, 560px); padding-top: 18px; }
  .site-header { grid-template-columns: auto auto; }
  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5,9,20,.96);
  }
  .main-nav.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: var(--text);
  }
  .header-actions { grid-column: 1 / -1; justify-content: stretch; }
  .header-actions .btn { flex: 1; }
  .hero { min-height: 0; }
  .hero-copy, .prize-card, .page-hero, .dashboard-hero, .auth-intro, .auth-box { border-radius: 22px; }
  h1 { font-size: 42px; }
  .stats-grid, .server-grid { grid-template-columns: 1fr; }
  .gather-focus-hero,
  .gather-slots-head {
    align-items: stretch;
    flex-direction: column;
  }
  .gather-teams { grid-template-columns: 1fr; }
  .server-access-box { grid-template-columns: 1fr; }
  .gather-info-grid { grid-template-columns: 1fr; }
  .selected-map-thumb { min-height: 180px; }
  .map-vote-grid { grid-template-columns: 1fr; }
  .map-vote-option .map-thumb { min-height: 150px; }
  .gather-slots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gather-slot { aspect-ratio: auto; min-height: 96px; }
  .gather-chat-head,
  .gather-chat-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
  .server-row { grid-template-columns: 1fr; }
  .server-row b { justify-self: start; }
  .discord-box, .dashboard-hero, .membership-warning, .site-footer { flex-direction: column; align-items: stretch; }
  .leaderboard-tabs {
    grid-template-columns: 1fr;
  }
  .leaderboard-heading {
    display: grid;
    align-items: start;
  }
  .player-profile-hero,
  .player-profile-grid,
  .public-stat-grid {
    grid-template-columns: 1fr;
  }

  .player-profile-hero h1 {
    font-size: 36px;
  }

  .player-profile-hero .country-flag {
    width: 40px;
    height: 30px;
    font-size: 20px;
  }

  .player-profile-side {
    justify-self: stretch;
  }

  .player-profile-side .player-social-links {
    justify-content: flex-start;
  }

  .player-social-links strong {
    text-align: left;
  }

  .social-public-card {
    grid-column: auto;
  }
  .leaderboard-row,
  .leaderboard-head {
    grid-template-columns: 1fr 1fr;
  }
  .leaderboard-row strong {
    grid-column: 1 / -1;
  }
  .rank-table article { grid-template-columns: auto 1fr; }
  .rank-table article span, .rank-table article b { grid-column: 2; }
  .auth-intro { min-height: 360px; padding: 22px; }
  .auth-intro h1 { font-size: 34px; }
  .auth-prize-card strong { font-size: 38px; }
  .auth-box { padding: 16px; }
  .admin-server-row { grid-template-columns: 1fr; }
  .admin-toolbar,
  .admin-kpis { grid-template-columns: 1fr 1fr; }
  .admin-rail {
    top: 116px;
    width: 74px;
    transform: translateX(-55px);
    font-size: 14px;
    padding: 8px 0;
  }
}

/* Slider fit polish after visual QA */
@media (min-width: 1181px) {
  .home-page .gcs-hero-slider {
    min-height: 610px;
  }

  .home-page .gcs-hero-slide {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 31vw);
    gap: 16px;
    padding-block: 26px 46px;
  }

  .home-page .gcs-hero-content {
    max-width: 840px;
    padding-left: clamp(110px, 12vw, 190px);
  }

  .home-page .gcs-hero-slide h1 {
    font-size: clamp(78px, 7.2vw, 118px);
  }

  .home-page .gcs-hero-slide h2 {
    font-size: clamp(30px, 2.6vw, 40px);
  }

  .home-page .gcs-hero-slide p {
    max-width: 620px;
    font-size: 21px !important;
  }

  .home-page .gcs-feature-row {
    max-width: 810px;
    gap: 8px;
  }

  .home-page .gcs-feature-chip {
    min-height: 64px;
    padding: 9px 10px;
  }

  .home-page .gcs-feature-chip span {
    font-size: 24px;
  }

  .home-page .gcs-feature-chip strong,
  .home-page .gcs-feature-chip small {
    font-size: 15px !important;
  }

  .home-page .gcs-prize-panel {
    min-height: 330px;
    padding: 22px 22px;
  }

  .home-page .gcs-prize-main {
    font-size: clamp(88px, 6.8vw, 118px);
  }

  .home-page .gcs-prize-panel img {
    width: min(230px, 50%);
    margin: -58px -155px 10px 0;
  }
}
@media (max-width: 420px) {
  .logo strong { font-size: 13px; }
  .prize-card strong { font-size: 76px; }
  .auth-chips { display: none; }
  .stats-grid article { min-height: 92px; }
  .admin-toolbar,
  .admin-kpis { grid-template-columns: 1fr; }
  .admin-rail {
    top: 100px;
    width: 62px;
    font-size: 10px;
    transform: translateX(-48px);
    min-height: 40px;
    padding: 6px 0;
  }
}

/* Mockup-inspired GatherCS landing */
body {
  background:
    radial-gradient(circle at 70% 8%, rgba(0,119,255,.22), transparent 28%),
    radial-gradient(circle at 22% 4%, rgba(0,119,255,.12), transparent 22%),
    linear-gradient(180deg, #050b15 0%, #07131f 52%, #02060c 100%);
}
main { width: min(1240px, calc(100% - 46px)); padding-top: 18px; }
.site-header {
  min-height: 86px;
  padding: 14px clamp(18px, 3vw, 42px);
  background: #050914;
  border-bottom-color: rgba(0,132,255,.55);
}
.logo { min-width: 180px; }
.logo-mark {
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px 2px 10px 2px;
  background: linear-gradient(135deg, #f6fbff 0 36%, #1f82ff 37% 62%, #132033 63%);
  color: #07101c;
  font-size: 26px;
  font-weight: 950;
  font-style: italic;
  box-shadow: 0 0 22px rgba(0,119,255,.28);
}
.logo strong {
  display: inline-flex;
  gap: 1px;
  color: #fff;
  font-size: 18px;
  font-style: italic;
  line-height: .86;
}
.logo strong, .brand-main { color: #fff; }
.brand-main span { color: #1689ff; }
.logo strong small {
  color: #b8c6da;
  font-size: 8px;
  font-style: italic;
  letter-spacing: .08em;
}
.main-nav { gap: 32px; font-size: 13px; color: #f4f8ff; }
.main-nav a:first-child { color: #fff; position: relative; }
.main-nav a:first-child::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -29px;
  width: 66px;
  height: 3px;
  transform: translateX(-50%);
  background: #148bff;
  box-shadow: 0 0 12px #148bff;
}
.discord-btn {
  width: 44px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55,142,255,.55);
  border-radius: 6px;
  background: linear-gradient(180deg, #173b92, #0d2259);
  color: #fff;
}
.discord-btn img { width: 26px; height: 26px; filter: brightness(1.4); }
.mock-hero {
  min-height: 540px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: end;
  overflow: hidden;
  padding: 34px 20px 42px;
  border-bottom: 1px solid rgba(20,139,255,.25);
}
.mock-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3,7,13,.98) 0 34%, rgba(4,12,23,.42) 58%, rgba(4,9,17,.84)),
    linear-gradient(0deg, rgba(4,9,17,.96) 0%, transparent 38%),
    url("../images/hero-cs-operators.png");
  background-position: center center;
  background-size: cover;
}
.mock-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  z-index: -2;
  background: linear-gradient(0deg, #050914, transparent);
}
.mock-hero-copy { max-width: 650px; align-self: center; }
.hero-kicker { color: #a8b5c8; font-size: 14px; letter-spacing: .08em; }
.mock-hero h1 {
  margin: 22px 0 6px;
  font-size: clamp(58px, 9vw, 112px);
  font-style: italic;
  letter-spacing: -3px;
  text-shadow: 0 8px 0 rgba(0,0,0,.35);
}
.mock-hero h1 span {
  color: #f7fbff;
  text-shadow: 0 2px 0 #9fa8b6, 0 10px 18px rgba(0,0,0,.6);
}
.mock-hero h1 { color: #087dff; }
.mock-hero h2 {
  margin-bottom: 16px;
  color: #b8bfcb;
  font-size: clamp(26px, 3vw, 38px);
  font-style: italic;
}
.mock-hero h2 b { color: #0586ff; }
.mock-hero p { max-width: 440px; color: #d7deea; font-size: 17px; }
.hero-prize-inline {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 22px 0 18px;
}
.crate-art {
  width: 160px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0,132,255,.55));
}
.hero-prize-inline strong {
  display: block;
  color: #087dff;
  font-size: 78px;
  font-weight: 950;
  font-style: italic;
  line-height: .8;
}
.hero-prize-inline span { color: #058cff; font-size: 21px; font-style: italic; font-weight: 950; }
.hero-actions .btn { position: relative; min-width: 318px; border-radius: 4px; color: #fff; }
.hero-actions .btn small {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  color: #48e36e;
  font-size: 14px;
}
.play-dot { width: 28px; height: 28px; display: inline-grid; place-items: center; margin-right: 8px; border: 2px solid #e9f2ff; border-radius: 50%; font-size: 12px; }
.hero-operators {
  position: absolute;
  right: 280px;
  top: 28px;
  width: 430px;
  height: 355px;
  pointer-events: none;
  display: none;
  filter: drop-shadow(0 0 38px rgba(0,132,255,.55));
}
.hero-operators span {
  position: absolute;
  bottom: 0;
  width: 190px;
  height: 305px;
  border-radius: 46% 46% 18% 18%;
  background:
    radial-gradient(circle at 50% 20%, #101723 0 18%, #050910 19% 28%, transparent 29%),
    linear-gradient(100deg, #101723, #050910 60%, #15243b);
  box-shadow: inset 0 0 0 2px rgba(91,184,255,.22);
}
.hero-operators span::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 128px;
  width: 240px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #070a0f, #1d2a3a, #070a0f);
  transform: rotate(-8deg);
}
.hero-operators span:first-child { left: 30px; transform: scale(1.08); }
.hero-operators span:last-child { right: 14px; bottom: 16px; transform: scale(.92); opacity: .85; }
.hero-ip-card {
  align-self: end;
  margin-bottom: 28px;
  padding: 26px 34px;
  border: 1px solid rgba(25,133,255,.6);
  border-radius: 6px;
  background: rgba(3,14,27,.82);
  box-shadow: 0 0 45px rgba(0,119,255,.16);
}
.hero-ip-card span { display: block; color: #b9c4d4; margin-bottom: 8px; }
.hero-ip-card strong { display: block; margin-bottom: 22px; font-size: 28px; }
.hero-ip-card .btn { width: 100%; border-radius: 5px; color: #fff; }
.hero-ip-card p { margin: 18px 0 0; text-align: center; color: #9ea9ba; }
.mock-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: -4px;
  border: 1px solid rgba(25,133,255,.32);
  border-radius: 6px;
  background: rgba(5,18,34,.86);
}
.mock-stats article {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "icon value" "icon label";
  align-content: center;
  gap: 2px 14px;
  padding: 14px 20px;
  border-right: 1px solid rgba(255,255,255,.04);
}
.stat-icon { grid-area: icon; align-self: center; width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0,132,255,.6)); }
.mock-stats strong { color: #fff; font-size: 24px; }
.mock-stats small { color: #aeb8c8; font-size: 12px; }
.mock-layout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 16px; margin-top: 18px; }
.left-col, .right-col { display: grid; gap: 16px; align-content: start; }
.panel { border-radius: 6px; background: rgba(4,18,32,.84); border-color: rgba(21,116,206,.28); box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.mock-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mock-panel-title h2 { margin: 0; color: #fff; font-size: 21px; font-style: italic; letter-spacing: .04em; }
.mock-panel-title p, .mock-panel-title a { margin: 0; color: #aab5c5; font-size: 13px; }
.mock-server-list { display: grid; gap: 8px; }
.mock-server {
  min-height: 104px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) 80px 190px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(23,98,170,.28);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(5,18,34,.94), rgba(3,16,29,.82));
}
.map-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 104px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.68)),
    linear-gradient(135deg, #254f72, #172335 48%, #5e4627);
}

.map-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .52));
}

.map-thumb span {
  position: absolute;
  left: 8px;
  bottom: 7px;
  z-index: 1;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 7px;
  border: 1px solid rgba(109,185,255,.45);
  border-radius: 5px;
  color: #fff;
  background: rgba(5,14,25,.78);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-thumb.no-map-image span {
  position: relative;
  left: auto;
  bottom: auto;
}

.map-2 { background: linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.68)), linear-gradient(135deg, #4c6d75, #182535 52%, #8f7048); }
.map-3 { background: linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.68)), linear-gradient(135deg, #2d3c4e, #111b29 52%, #5b6370); }
.map-4 { background: linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.68)), linear-gradient(135deg, #647073, #1b2834 52%, #624830); }
.map-5 { background: linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.68)), linear-gradient(135deg, #887b5c, #1c2531 52%, #47301f); }
.map-thumb strong {
  width: 46px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109,185,255,.45);
  border-radius: 6px;
  background: rgba(5,14,25,.75);
  font-size: 36px;
}
.server-main { padding: 18px 22px; }
.server-main h3 { margin: 0 0 7px; font-size: 22px; }
.server-main p { margin: 0 0 12px; color: #b7c3d1; }
.server-main p b { color: #0c8dff; }
.mock-progress { height: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(0,0,0,.34); }
.mock-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #006bff, #168eff); }
.server-count { align-self: end; padding: 0 0 28px; color: #dfe9f7; }
.server-status { display: grid; align-content: center; gap: 8px; padding: 12px 22px; border-left: 1px solid rgba(255,255,255,.04); }
.server-status em { width: max-content; padding: 8px 16px; border-radius: 5px; background: rgba(48,206,77,.13); color: #63ff5a; font-style: normal; font-weight: 950; }
.server-status strong { color: #aeb8c8; font-size: 13px; font-weight: 600; }
.server-status small { color: #70ff65; font-size: 13px; }
.server-status a {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: linear-gradient(180deg, #116dff, #0835a2);
  color: #fff;
  font-weight: 900;
}
.rules-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  text-align: center;
  color: #0c8dff;
  font-weight: 800;
}

.rules-link::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  flex: 0 0 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(12, 141, 255, .48);
  transform: rotate(45deg);
}
.bottom-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-panel { min-height: 232px; padding: 20px; }
.mini-panel h3 { color: #fff; font-style: italic; }
.mini-panel ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mini-panel li { color: #138eff; font-weight: 900; }
.mini-panel li span { display: block; color: #93a1b2; font-weight: 500; font-size: 12px; }
.winner-lines { display: grid; gap: 12px; }
.winner-lines span { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; color: #dce7f5; }
.winner-lines small { color: #9aa8ba; }
.winner-lines em { font-style: normal; }
.mini-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 14px;
}

.mini-tabs button {
  min-height: 36px;
  border: 1px solid rgba(21, 116, 206, .34);
  border-radius: 4px;
  background: rgba(255,255,255,.04);
  color: #9fb1c6;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.mini-tabs button.active {
  color: #fff;
  border-color: rgba(32,184,255,.55);
  background: rgba(13, 99, 243, .28);
}

.mini-tab-panel {
  display: none;
}

.mini-tab-panel.active {
  display: grid;
  gap: 12px;
}

.home-leaderboard {
  display: grid;
  gap: 9px;
}

.home-leaderboard span {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.home-leaderboard em {
  color: #0b8dff;
  font-style: normal;
  font-weight: 950;
}

.home-leaderboard b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
}

.home-leaderboard small {
  grid-column: 2 / 3;
  color: #9aa8ba;
  font-size: 14px;
  text-transform: uppercase;
}

.home-leaderboard strong {
  grid-row: span 2;
  color: #35e76e;
  font-size: 12px;
  white-space: nowrap;
}
.outline-link {
  min-height: 38px;
  display: grid;
  place-items: center;
  margin-top: 16px;
  border: 1px solid #087dff;
  border-radius: 3px;
  color: #0b8dff;
  font-weight: 900;
}
.discord-mini .btn { margin-top: 12px; width: 100%; border-radius: 3px; color: #fff; }
.active-list { display: grid; gap: 0; }
.active-list span,
.active-list .active-member-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.active-list .active-member-row {
  color: inherit;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.active-list .active-member-row:hover {
  transform: translateX(4px);
  border-color: rgba(0, 141, 255, .34);
  background: linear-gradient(90deg, rgba(0, 141, 255, .13), rgba(255,255,255,.025));
  box-shadow: inset 3px 0 0 rgba(0, 141, 255, .72);
}
.active-list .active-member-row b {
  color: #f7fbff;
}
.active-list i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: linear-gradient(135deg, #273548, #0d1420);
  font-style: normal;
}
.active-list small { color: #35e76e; font-size: 12px; }
.active-list small.is-online { color: #35e76e; }
.active-list small.is-offline { color: #ff5f73; }
.total-members { margin: 18px 0 0; text-align: center; font-size: 13px; }
.prize-podium { min-height: 392px; text-align: center; background: radial-gradient(circle at 50% 65%, rgba(0,119,255,.2), transparent 34%), rgba(4,18,32,.84); }
.prize-podium h2 { font-size: 22px; font-style: italic; }
.prize-podium > strong { display: block; color: #118dff; font-size: 76px; font-style: italic; line-height: .9; }
.prize-podium > span { color: #0e8cff; font-style: italic; font-weight: 950; }
.podium { display: flex; justify-content: center; align-items: end; gap: 18px; margin: 28px 0 12px; }
.podium em {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #949aa2, #353a42);
  color: #fff;
  font-size: 28px;
  font-style: normal;
  font-weight: 950;
}
.podium em.gold { width: 96px; height: 96px; background: linear-gradient(135deg, #ffd26a, #8f5b00); }
.podium small { color: #ffe070; font-size: 14px; }
.mock-footer {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1.4fr;
  gap: 34px;
  padding: 28px 20px;
  background: rgba(4,18,32,.72);
  border: 1px solid rgba(21,116,206,.2);
  border-radius: 6px 6px 0 0;
}
.mock-footer, .mock-footer p, .mock-footer a { color: #9fadbf; }
.mock-footer > div { display: grid; align-content: start; gap: 7px; }
.mock-footer strong { color: #fff; }
.footer-brand { grid-template-columns: auto 1fr; display: grid !important; }
.footer-brand strong { font-size: 14px; font-style: italic; letter-spacing: .06em; }
.footer-brand strong .brand-main { display: inline; }
.footer-brand span:not(.logo-mark) { color: #1689ff; }
.footer-brand small { display: block; color: #9fafc6; font-size: 10px; }
.footer-brand-text {
  display: grid;
  align-content: start;
  gap: 3px;
}
.footer-brand p { margin: 0; color: #9fafc6; font-size: 12px; max-width: 360px; }
.mock-footer form { display: flex; gap: 0; }
.mock-footer input { min-width: 0; flex: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 4px 0 0 4px; background: rgba(0,0,0,.26); color: #fff; padding: 0 14px; }
.mock-footer button { border: 0; border-radius: 0 4px 4px 0; background: #0d63f3; color: #fff; padding: 0 18px; font-weight: 900; }

.admin-section {
  margin-top: 10px;
}
.admin-row-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.admin-list .admin-row-item,
.reward-list .admin-row-item {
  display: grid;
}
.admin-list .admin-row-item form,
.reward-list .admin-row-item form {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}
.inline-actions form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.inline-actions input[type="text"] {
  width: 170px;
  max-width: 170px;
}

.inline-actions .admin-credit-form {
  display: grid;
  grid-template-columns: 110px 92px minmax(150px, 210px) auto;
  align-items: center;
  gap: 8px;
  padding: 8px !important;
  border: 1px solid rgba(32,184,255,.18) !important;
  border-radius: 8px !important;
  background: rgba(32,184,255,.055) !important;
}

.inline-actions .admin-credit-form input[type="number"],
.inline-actions .admin-credit-form input[type="text"] {
  width: 100%;
  max-width: none;
  min-height: 38px;
  border-radius: 6px;
}

.inline-actions .admin-credit-form .btn {
  white-space: nowrap;
}
.server-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.server-actions form {
  margin: 0;
}
.admin-server-list .admin-server-row button,
.admin-server-list .admin-server-row select,
.admin-server-list .admin-server-row input {
  min-height: 40px;
}
.admin-list .admin-row-item + .admin-row-item,
.admin-list .reward-list + .reward-list,
.reward-list .admin-row-item + .admin-row-item {
  margin-top: 8px;
}
.logo strong { font-size: 18px; }
.logo-mark {
  width: 38px;
  height: 36px;
}
.admin-module {
  border: 1px solid rgba(23, 116, 200, .32);
  background: linear-gradient(145deg, rgba(8, 22, 41, .9), rgba(5, 12, 21, .95));
}
.admin-module .section-head h2,
.admin-module h2 { color: #f2f8ff; }
.admin-module .eyebrow { color: #8ec8ff; }
.admin-server-row { row-gap: 8px; }
.admin-server-row .server-actions,
.admin-server-row .inline-actions { display: flex; }

@media (max-width: 1100px) {
  .admin-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .admin-form-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .server-edit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mock-hero { grid-template-columns: 1fr; }
  .hero-operators { right: 0; opacity: .45; }
  .hero-ip-card { width: min(100%, 430px); }
  .mock-layout { grid-template-columns: 1fr; }
  .bottom-cards { grid-template-columns: 1fr; }
  .mock-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  main { width: min(100% - 22px, 560px); }
  .site-header { min-height: auto; }
  .logo { min-width: 0; }
  .logo { min-width: 0; }
  .logo strong { font-size: 14px; }
  .logo small { font-size: 8px; letter-spacing: .08em; }
  .mock-hero { padding: 24px 0 28px; min-height: 0; }
  .mock-hero h1 { font-size: 54px; letter-spacing: -1px; }
  .mock-hero h2 { font-size: 24px; }
  .hero-operators { display: none; }
  .hero-prize-inline { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-prize-inline strong { font-size: 58px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-server { grid-template-columns: 92px 1fr; }
  .server-count { display: none; }
  .server-status { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.04); }
  .map-thumb { min-height: 92px; }
  .winner-lines span { grid-template-columns: 1fr auto; }
  .winner-lines small { grid-column: 1 / -1; }
  .mock-footer { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mock-stats { grid-template-columns: 1fr; }
  .mock-stats article { min-height: 70px; }
  .hero-ip-card { padding: 20px; }
  .hero-ip-card strong { font-size: 22px; }
  .mock-panel-title { align-items: flex-start; flex-direction: column; }
}

/* Home page final pass: closer to provided 1:1 mockup */
body.home-page {
  color: #edf6ff;
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 74% 7%, rgba(0, 118, 255, 0.24), transparent 32%),
    radial-gradient(circle at 14% 3%, rgba(0, 118, 255, 0.11), transparent 22%),
    linear-gradient(180deg, #020812 0%, #050f1d 45%, #030912 100%);
}

.home-page .site-header {
  min-height: 88px;
  border-bottom-color: rgba(20, 129, 255, 0.56);
  background: rgba(3, 10, 20, 0.98);
}

.home-page .logo {
  gap: 10px;
  min-width: 226px;
}

.home-page .logo-mark {
  width: 50px;
  height: 42px;
  border-radius: 8px 0 8px 0;
  font-size: 32px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 22px rgba(0, 119, 255, 0.35);
}

.home-page .brand-main {
  font-family: var(--font-ui);
  font-size: 50px;
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: 0.02em;
}

.home-page .brand-main strong {
  font-size: 50px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-page .logo small {
  margin-top: 2px;
  color: #afbdd0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-page .main-nav {
  gap: 30px;
  color: #e6f1ff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.03em;
}

.home-page .main-nav a {
  position: relative;
  opacity: 0.92;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.home-page .main-nav a:hover {
  opacity: 1;
}

.home-page .main-nav a.active {
  color: #fff;
  opacity: 1;
}

.home-page .main-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -31px;
  width: 66px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #1ea5ff, #0d58f0);
  box-shadow: 0 0 11px #178bff;
}

.home-page .header-actions .btn.small {
  min-height: 52px;
  border-radius: 8px;
}

.home-page .btn.neon {
  background: linear-gradient(180deg, #1975ff, #0d4cca);
  box-shadow: 0 10px 26px rgba(17, 96, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-page .discord-btn {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.home-page main {
  width: min(1320px, calc(100% - 36px));
  padding-top: 14px;
}

.home-page .mock-hero {
  min-height: 610px;
  padding: 36px 26px 32px;
  border: 1px solid rgba(12, 90, 176, 0.35);
  border-radius: 8px;
}

.home-page .mock-hero h1 {
  margin-top: 10px;
  margin-bottom: 0;
  font-family: var(--font-ui);
  font-size: clamp(98px, 13vw, 160px);
  font-weight: 700;
  line-height: 0.8;
}

.home-page .mock-hero h2 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-page .mock-hero p {
  max-width: 470px;
  font-size: 36px;
  line-height: 1.15;
  color: #c5d3e4;
}

.home-page .hero-kicker {
  font-family: var(--font-ui);
  font-size: 34px;
  color: #c7d4e5;
  letter-spacing: 0.04em;
}

.home-page .hero-prize-inline strong {
  font-family: var(--font-ui);
  font-size: clamp(96px, 11vw, 136px);
  line-height: 0.76;
}

.home-page .hero-prize-inline span {
  font-family: var(--font-ui);
  font-size: 42px;
  letter-spacing: 0.02em;
}

.home-page .hero-actions .btn {
  min-height: 68px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 42px;
  letter-spacing: 0.03em;
}

.home-page .hero-actions .btn small {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.home-page .play-dot {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.home-page .hero-ip-card {
  width: 420px;
  margin-bottom: 24px;
  border-radius: 8px;
  border-color: rgba(30, 156, 255, 0.56);
  background: rgba(3, 16, 33, 0.86);
}

.home-page .hero-ip-card span {
  font-family: var(--font-ui);
  font-size: 30px;
  letter-spacing: 0.04em;
}

.home-page .hero-ip-card strong {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  font-family: var(--font-ui);
  letter-spacing: 0.01em;
}

.home-page .ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.home-page .copy-ip {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 171, 255, 0.45);
  border-radius: 6px;
  background: rgba(5, 28, 54, 0.75);
  color: #42a9ff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home-page .copy-ip.copied {
  color: #64f273;
  border-color: rgba(100, 242, 115, 0.66);
}

.home-page .hero-ip-card .btn {
  min-height: 70px;
  font-family: var(--font-ui);
  font-size: 44px;
  letter-spacing: 0.02em;
}

.home-page .hero-ip-card p {
  font-size: 30px;
}

.home-page .mock-stats {
  margin-top: 12px;
  border-radius: 8px;
}

.home-page .mock-stats article {
  min-height: 88px;
  padding: 12px 14px;
}

.home-page .stat-icon {
  width: 22px;
  height: 22px;
}

.home-page .mock-stats strong {
  font-family: var(--font-ui);
  font-size: 44px;
  line-height: 0.9;
}

.home-page .mock-stats small {
  font-family: var(--font-ui);
  font-size: 21px;
  letter-spacing: 0.03em;
}

.home-page .mock-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 14px;
}

.home-page .panel {
  border-radius: 8px;
}

.home-page .mock-panel-title h2 {
  font-family: var(--font-ui);
  font-size: 44px;
  font-weight: 600;
}

.home-page .mock-panel-title p,
.home-page .mock-panel-title a {
  font-size: 26px;
}

.home-page .mock-server {
  min-height: 116px;
  grid-template-columns: 114px minmax(0, 1fr) 72px 200px;
}

.home-page .map-thumb {
  background-image:
    linear-gradient(150deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72)),
    url("../images/hero-cs-operators.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.home-page .map-1 { background-position: 16% 44%; }
.home-page .map-2 { background-position: 42% 42%; }
.home-page .map-3 { background-position: 57% 58%; }
.home-page .map-4 { background-position: 75% 36%; }
.home-page .map-5 { background-position: 86% 62%; }

.home-page .map-thumb strong {
  width: 40px;
  height: 56px;
  font-family: var(--font-ui);
  font-size: 38px;
}

.home-page .server-main h3 {
  font-family: var(--font-ui);
  font-size: 42px;
  line-height: 1;
}

.home-page .server-main p {
  font-size: 29px;
}

.home-page .server-count {
  font-size: 28px;
}

.home-page .server-status {
  position: relative;
}

.home-page .server-status strong {
  font-size: 29px;
  line-height: 1.02;
}

.home-page .server-status em {
  font-size: 26px;
  padding: 6px 12px;
}

.home-page .server-status a {
  min-height: 42px;
  font-size: 27px;
}

.home-page .server-status small {
  font-size: 23px;
}

.home-page .status-ico {
  position: absolute;
  right: 12px;
  top: 10px;
  color: #30e55d;
  font-size: 20px;
}

.home-page .status-ico.lock {
  color: #94a3bb;
}

.home-page .rules-link {
  font-family: var(--font-ui);
  font-size: 20px;
}

.home-page .mini-panel h3 {
  font-family: var(--font-ui);
  font-size: 38px;
}

.home-page .mini-panel li {
  font-size: 26px;
}

.home-page .mini-panel li span {
  font-size: 20px;
}

.home-page .winner-lines span {
  font-size: 26px;
}

.home-page .winner-lines small {
  font-size: 21px;
}

.home-page .outline-link {
  min-height: 44px;
  font-size: 28px;
  font-family: var(--font-ui);
}

.home-page .active-list span,
.home-page .active-list .active-member-row {
  grid-template-columns: 48px 1fr auto;
  padding: 13px 10px;
  border-radius: 8px;
}

.home-page .active-list b {
  font-size: 31px;
  line-height: 1;
}

.home-page .active-list small {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .active-list i {
  width: 40px;
  height: 40px;
}

.home-page .avatar {
  overflow: hidden;
  border: 1px solid rgba(183, 213, 247, 0.65);
  background: radial-gradient(circle at 34% 20%, #39506f, #132033);
}

.home-page .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) saturate(1.2);
}

.home-page .avatar-1 img { filter: hue-rotate(0deg) saturate(1.25); }
.home-page .avatar-2 img { filter: hue-rotate(20deg) saturate(1.3); }
.home-page .avatar-3 img { filter: hue-rotate(50deg) saturate(1.35); }
.home-page .avatar-4 img { filter: hue-rotate(75deg) saturate(1.35); }
.home-page .avatar-5 img { filter: hue-rotate(120deg) saturate(1.25); }
.home-page .avatar-6 img { filter: hue-rotate(160deg) saturate(1.25); }
.home-page .avatar-7 img { filter: hue-rotate(190deg) saturate(1.3); }
.home-page .avatar-8 img { filter: hue-rotate(230deg) saturate(1.3); }

.home-page .total-members {
  font-size: 24px;
}

.home-page .prize-podium h2 {
  font-family: var(--font-ui);
  font-size: 44px;
}

.home-page .prize-podium > strong {
  font-family: var(--font-ui);
  font-size: 116px;
}

.home-page .prize-podium > span {
  font-family: var(--font-ui);
  font-size: 40px;
}

.home-page .podium em {
  width: 84px;
  height: 84px;
  font-family: var(--font-ui);
  font-size: 38px;
}

.home-page .podium em.gold {
  width: 106px;
  height: 106px;
}

.home-page .podium small {
  font-family: var(--font-ui);
  font-size: 34px;
}

.home-page .mock-footer {
  grid-template-columns: 1.3fr 0.72fr 0.72fr 0.72fr 1.2fr;
  border-radius: 8px 8px 0 0;
}

.main-nav a:first-child {
  color: inherit;
}

.main-nav a:first-child::after {
  content: none;
}

.home-page .mock-footer strong {
  font-family: var(--font-ui);
  font-size: 31px;
}

.home-page .mock-footer a,
.home-page .mock-footer p,
.home-page .mock-footer small {
  font-size: 24px;
}

.home-page .mock-footer input {
  min-height: 44px;
  font-size: 22px;
}

.home-page .mock-footer button {
  min-height: 44px;
  font-size: 24px;
}

.home-page .social-row {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}

.home-page .social-row a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(51, 121, 194, 0.7);
  border-radius: 50%;
  font-family: var(--font-ui);
  font-size: 18px;
  color: #d8e9ff;
  background: rgba(8, 25, 45, 0.85);
}

.home-page .copyright {
  display: block;
  margin-top: 6px;
  color: #7f92a8;
}

@media (max-width: 1200px) {
  .home-page .mock-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-page .main-nav {
    font-size: 24px;
  }

  .home-page .mock-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px 14px;
  }

  .home-page .hero-ip-card {
    width: 100%;
    margin-bottom: 0;
  }

  .home-page .mock-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .mock-server {
    grid-template-columns: 98px 1fr;
  }

  .home-page .server-count {
    display: none;
  }

  .home-page .server-status {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .home-page .bottom-cards {
    grid-template-columns: 1fr;
  }

  .home-page .mock-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .home-page main {
    width: min(100% - 18px, 560px);
  }

  .home-page .main-nav a.active::after {
    bottom: -10px;
  }

  .home-page .mock-hero h1 {
    font-size: 78px;
    letter-spacing: 0;
  }

  .home-page .mock-hero h2 {
    font-size: 34px;
  }

  .home-page .mock-hero p {
    font-size: 28px;
  }

  .home-page .hero-kicker {
    font-size: 24px;
  }

  .home-page .hero-actions .btn,
  .home-page .hero-ip-card .btn {
    min-height: 58px;
    font-size: 34px;
  }

  .home-page .hero-ip-card strong {
    font-size: 40px;
  }

  .home-page .mock-stats strong {
    font-size: 35px;
  }

  .home-page .mock-stats small {
    font-size: 18px;
  }

  .home-page .mock-panel-title h2 {
    font-size: 34px;
  }

  .home-page .server-main h3 {
    font-size: 33px;
  }

  .home-page .server-main p {
    font-size: 24px;
  }

  .home-page .server-status strong {
    font-size: 24px;
  }

  .home-page .active-list b {
    font-size: 25px;
  }

  .home-page .active-list small,
  .home-page .total-members {
    font-size: 19px;
  }

  .home-page .mock-footer {
    grid-template-columns: 1fr;
  }
}

/* Final typography normalization to match reference proportions */
.home-page .site-header .logo-mark {
  width: 44px !important;
  height: 38px !important;
  font-size: 28px !important;
}

.home-page .site-header .brand-main {
  font-size: 28px !important;
  line-height: 0.9 !important;
}

.home-page .site-header .brand-main strong,
.home-page .site-header .brand-main span {
  font-size: inherit !important;
}

.home-page .site-header .logo small {
  font-size: 9px !important;
}

.home-page .main-nav {
  font-size: 13px !important;
  gap: 18px !important;
  letter-spacing: 0.07em !important;
}

.home-page .header-actions .btn.small {
  min-height: 42px !important;
  font-size: 12px !important;
}

.home-page .mock-hero {
  min-height: 500px !important;
  padding: 22px 20px 22px !important;
}

.home-page .hero-kicker {
  font-size: 14px !important;
}

.home-page .mock-hero h1 {
  font-size: clamp(64px, 8.2vw, 104px) !important;
  line-height: 0.82 !important;
  margin: 8px 0 2px !important;
}

.home-page .mock-hero h2 {
  font-size: clamp(28px, 3.8vw, 44px) !important;
  margin: 8px 0 10px !important;
}

.home-page .mock-hero p {
  font-size: 14px !important;
  line-height: 1.42 !important;
  max-width: 420px !important;
}

.home-page .hero-prize-inline strong {
  font-size: clamp(68px, 7.5vw, 96px) !important;
}

.home-page .hero-prize-inline span {
  font-size: 22px !important;
}

.home-page .hero-actions .btn {
  min-height: 52px !important;
  font-size: 18px !important;
  letter-spacing: 0.05em !important;
}

.home-page .hero-actions .btn small {
  font-size: 12px !important;
}

.home-page .hero-ip-card span {
  font-size: 17px !important;
}

.home-page .hero-ip-card strong {
  font-size: 36px !important;
}

.home-page .hero-ip-card .btn {
  min-height: 52px !important;
  font-size: 18px !important;
}

.home-page .hero-ip-card p {
  font-size: 15px !important;
}

.home-page .mock-stats strong {
  font-size: 28px !important;
}

.home-page .mock-stats small {
  font-size: 14px !important;
}

.home-page .mock-panel-title h2 {
  font-size: 17px !important;
}

.home-page .mock-panel-title p,
.home-page .mock-panel-title a {
  font-size: 12px !important;
}

.home-page .server-main h3 {
  font-size: 33px !important;
}

.home-page .server-main p {
  font-size: 14px !important;
}

.home-page .server-status strong {
  font-size: 14px !important;
}

.home-page .server-status small {
  font-size: 12px !important;
}

.home-page .mini-panel h3 {
  font-size: 14px !important;
}

.home-page .mini-panel li {
  font-size: 14px !important;
}

.home-page .mini-panel li span {
  font-size: 14px !important;
}

.home-page .winner-lines span {
  font-size: 14px !important;
}

.home-page .winner-lines small {
  font-size: 14px !important;
}

.home-page .active-list b {
  font-size: 30px !important;
}

.home-page .active-list small,
.home-page .total-members {
  font-size: 12px !important;
}

.home-page .prize-podium h2 {
  font-size: 24px !important;
}

.home-page .prize-podium > strong {
  font-size: 80px !important;
}

.home-page .prize-podium > span {
  font-size: 17px !important;
}

.home-page .podium em span {
  font-size: 32px !important;
}

.home-page .podium em small {
  font-size: 20px !important;
}

.home-page .outline-link {
  font-size: 14px !important;
  min-height: 40px !important;
}

.home-page .mock-footer .footer-brand-name {
  font-size: 26px !important;
}

.home-page .mock-footer strong {
  font-size: 14px !important;
}

.home-page .mock-footer a,
.home-page .mock-footer p,
.home-page .mock-footer small {
  font-size: 12px !important;
}

.home-page .newsletter-form input,
.home-page .newsletter-form button {
  min-height: 40px !important;
  font-size: 12px !important;
}

@media (max-width: 760px) {
  .home-page .mock-hero h1 {
    font-size: 60px !important;
  }

  .home-page .mock-hero h2 {
    font-size: 26px !important;
  }

  .home-page .hero-actions .btn,
  .home-page .hero-ip-card .btn {
    font-size: 14px !important;
  }
}

/* Home pixel corrections requested by user */
.home-page .site-header .brand-main {
  font-size: 33px;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.03em;
  gap: 2px;
  white-space: nowrap;
}

.home-page .site-header .brand-main strong,
.home-page .site-header .brand-main span {
  font-size: inherit;
  font-weight: inherit;
}

.home-page .site-header .logo small {
  font-size: 10px;
}

.home-page .main-nav {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  gap: 22px;
}

.home-page .main-nav a.active::after {
  width: 34px;
  height: 2px;
  bottom: -25px;
}

.home-page .header-actions .btn.small {
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.home-page .mock-hero {
  min-height: 520px;
  grid-template-columns: minmax(0, 1fr) 390px;
  padding: 26px 24px 26px;
}

.home-page .mock-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.97) 0 56%, rgba(3, 8, 15, 0.36) 72%, rgba(3, 8, 15, 0.9)),
    linear-gradient(0deg, rgba(3, 8, 15, 0.95) 0%, transparent 34%),
    url("../images/hero-cs-operators.png");
  background-position: center center;
  background-size: cover;
}

.home-page .mock-hero-copy {
  max-width: 560px;
}

.home-page .hero-kicker {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.home-page .mock-hero h1 {
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.82;
  letter-spacing: -0.01em;
  margin: 10px 0 4px;
}

.home-page .mock-hero h2 {
  font-size: clamp(31px, 4.2vw, 52px);
  margin: 8px 0 12px;
}

.home-page .mock-hero p {
  font-size: 17px;
  line-height: 1.45;
  max-width: 430px;
}

.home-page .hero-prize-inline {
  margin: 16px 0 16px;
}

.home-page .hero-prize-inline strong {
  font-size: clamp(74px, 8vw, 102px);
}

.home-page .hero-prize-inline span {
  font-size: 24px;
}

.home-page .hero-actions .btn {
  min-height: 54px;
  font-family: var(--font-ui);
  font-size: 19px;
  letter-spacing: 0.06em;
}

.home-page .hero-ip-card {
  width: 390px;
  padding: 22px 24px;
  margin-bottom: 12px;
}

.home-page .hero-ip-card span {
  font-size: 18px;
}

.home-page .hero-ip-card strong {
  font-size: 42px;
  letter-spacing: 0;
}

.home-page .hero-ip-card .btn {
  min-height: 54px;
  font-size: 19px;
  font-family: var(--font-ui);
}

.home-page .hero-ip-card p {
  font-size: 14px;
}

.home-page .mock-stats strong {
  font-size: 30px;
}

.home-page .mock-stats small {
  font-size: 12px;
}

.home-page .mock-panel-title h2 {
  font-size: 18px;
}

.home-page .mock-panel-title p,
.home-page .mock-panel-title a {
  font-size: 13px;
}

.home-page .mock-server {
  grid-template-columns: 112px minmax(0, 1fr) 72px 186px;
}

.home-page .server-main h3 {
  font-size: 36px;
}

.home-page .server-main p {
  font-size: 15px;
}

.home-page .server-count {
  font-size: 14px;
}

.home-page .server-status strong {
  font-size: 15px;
}

.home-page .server-status em {
  font-size: 13px;
}

.home-page .server-status a {
  font-size: 14px;
}

.home-page .server-status small {
  font-size: 13px;
}

.home-page .why-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
}

.home-page .why-list li img {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  filter: drop-shadow(0 0 6px rgba(31, 148, 255, 0.52));
}

.home-page .mini-panel li {
  font-size: 15px;
}

.home-page .mini-panel li span {
  font-size: 12px;
}

.home-page .discord-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c0d8ef;
  font-size: 14px;
}

.home-page .discord-list li img {
  width: 14px;
  height: 14px;
}

.home-page .discord-live {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(20, 114, 194, 0.42);
  border-radius: 6px;
  background: rgba(5, 20, 35, 0.7);
}

.home-page .discord-live b {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #5eb1ff;
  letter-spacing: 0.04em;
}

.home-page .discord-live span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.home-page .discord-live i.avatar {
  width: 24px;
  height: 24px;
}

.home-page .discord-live em {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(17, 92, 176, 0.54);
  color: #d8eaff;
  font-size: 12px;
  font-style: normal;
}

.home-page .prize-podium h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 26px;
}

.home-page .prize-podium h2 img {
  width: 18px;
  height: 18px;
}

.home-page .prize-podium > strong {
  font-size: 88px;
}

.home-page .prize-podium > span {
  font-size: 20px;
}

.home-page .podium em {
  width: 76px;
  height: 92px;
  border-radius: 12px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
}

.home-page .podium em span {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.home-page .podium em small {
  font-size: 22px;
  color: #fff;
  line-height: 1;
}

.home-page .podium em.silver {
  background: linear-gradient(160deg, #9ca7b7, #495464);
}

.home-page .podium em.gold {
  width: 90px;
  height: 108px;
  background: linear-gradient(160deg, #ffd36d, #946312);
}

.home-page .podium em.bronze {
  background: linear-gradient(160deg, #d6945f, #7b4822);
}

.home-page .mock-footer .footer-brand-name {
  display: inline-flex;
  gap: 2px;
  align-items: baseline;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 32px;
  line-height: 0.88;
}

.home-page .mock-footer .footer-brand-name span:last-child {
  color: #1689ff;
}

.home-page .mock-footer a,
.home-page .mock-footer p,
.home-page .mock-footer small {
  font-size: 13px;
}

.home-page .mock-footer strong {
  font-size: 19px;
}

.home-page .newsletter-form {
  margin-top: 2px;
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid rgba(42, 103, 176, 0.6);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(4, 20, 38, 0.9);
}

.home-page .newsletter-form input {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  background: transparent;
}

.home-page .newsletter-form button {
  min-height: 42px;
  border-radius: 0;
  font-size: 13px;
  padding: 0 16px;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .home-page .main-nav {
    font-size: 13px;
    gap: 16px;
  }

  .home-page .mock-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-page .hero-ip-card {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .home-page .site-header .brand-main {
    font-size: 27px;
  }

  .home-page .mock-hero h1 {
    font-size: 74px;
  }

  .home-page .mock-hero h2 {
    font-size: 34px;
  }

  .home-page .hero-actions .btn,
  .home-page .hero-ip-card .btn {
    font-size: 17px;
  }

  .home-page .mock-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .mock-footer {
    grid-template-columns: 1fr;
  }
}

/* Final emergency override: normalize oversized/bold text outside hero slider */
.home-page .mock-layout p,
.home-page .mock-layout span,
.home-page .mock-layout small,
.home-page .mock-layout a,
.home-page .mock-layout li {
  font-weight: 400 !important;
}

.home-page .mock-layout h2,
.home-page .mock-layout h3,
.home-page .mock-layout b,
.home-page .mock-layout strong {
  font-weight: 600 !important;
}

.home-page .mock-panel-title h2 {
  font-size: 14px !important;
  letter-spacing: 0.04em !important;
}

.home-page .mock-panel-title p,
.home-page .mock-panel-title a {
  font-size: 12px !important;
}

.home-page .mock-server {
  min-height: 100px !important;
}

.home-page .server-main h3 {
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
}

.home-page .server-main p {
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.home-page .server-count {
  font-size: 12px !important;
  font-weight: 500 !important;
}

.home-page .server-status strong {
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

.home-page .server-status small {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-page .server-status em {
  font-size: 14px !important;
  font-weight: 600 !important;
}

.home-page .server-status a {
  font-size: 12px !important;
  font-weight: 600 !important;
}

.home-page .active-list b {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.home-page .active-list small {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-page .total-members {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.home-page .mini-panel h3 {
  font-size: 15px !important;
}

.home-page .mini-panel li {
  font-size: 13px !important;
}

.home-page .mini-panel li span {
  font-size: 14px !important;
}

.home-page .winner-lines span {
  font-size: 12px !important;
}

.home-page .winner-lines small {
  font-size: 10px !important;
}

.home-page .discord-list li,
.home-page .discord-live b,
.home-page .discord-live em {
  font-size: 14px !important;
}

.home-page .mock-footer strong {
  font-size: 14px !important;
  font-weight: 600 !important;
}

.home-page .mock-footer a,
.home-page .mock-footer p,
.home-page .mock-footer small {
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* Final UI tune: header logo exactly like footer + +4% text + lighter weight outside slider */
.home-page .site-header .footer-brand-name {
  display: inline-flex !important;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 26px !important;
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 500 !important;
  white-space: nowrap;
  color: #fff;
}

.home-page .site-header .footer-brand-name span:last-child {
  color: #1689ff;
}

.home-page .site-header .brand-stack small {
  font-size: 10.5px !important;
  font-weight: 500 !important;
}

.home-page .mock-layout p,
.home-page .mock-layout span,
.home-page .mock-layout small,
.home-page .mock-layout a,
.home-page .mock-layout li,
.home-page .mock-layout b,
.home-page .mock-layout strong,
.home-page .mock-layout h2,
.home-page .mock-layout h3 {
  font-weight: 400 !important;
}

.home-page .mock-panel-title h2 {
  font-size: 16.65px !important;
}

.home-page .mock-panel-title p,
.home-page .mock-panel-title a {
  font-size: 12.5px !important;
}

.home-page .server-main h3 {
  font-size: 18.75px !important;
  line-height: 1.12 !important;
  font-weight: 400 !important;
}

.home-page .server-main p {
  font-size: 13.5px !important;
  line-height: 1.38 !important;
  font-weight: 400 !important;
}

.home-page .server-count {
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

.home-page .server-status strong {
  font-size: 12.5px !important;
  line-height: 1.24 !important;
  font-weight: 400 !important;
}

.home-page .server-status small,
.home-page .server-status em,
.home-page .server-status a {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-page .active-list b {
  font-size: 16.65px !important;
  font-weight: 400 !important;
}

.home-page .active-list small {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-page .total-members {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-page .mini-panel h3 {
  font-size: 15.6px !important;
  font-weight: 400 !important;
}

.home-page .mini-panel li {
  font-size: 13.5px !important;
  font-weight: 400 !important;
}

.home-page .mini-panel li span {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-page .winner-lines span {
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

.home-page .winner-lines small,
.home-page .discord-list li,
.home-page .discord-live b,
.home-page .discord-live em {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.home-page .mock-footer strong {
  font-size: 14.5px !important;
  font-weight: 500 !important;
}

.home-page .mock-footer a,
.home-page .mock-footer p,
.home-page .mock-footer small {
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* Final site-wide polish: one logo style, calmer font, clearer hero image */
body {
  font-family: var(--font-ui) !important;
  font-weight: 400;
}

body :where(p, a, span, small, li, label, input, button, textarea, select) {
  font-weight: 400 !important;
}

body :where(h1, h2, h3, h4, b, strong, em) {
  font-weight: 500 !important;
}

.site-header .logo,
.mock-footer .footer-brand {
  gap: 10px !important;
}

.site-header .logo-mark,
.mock-footer .logo-mark {
  width: 42px !important;
  height: 38px !important;
  border-radius: 8px 0 8px 0 !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  font-style: italic;
  background: linear-gradient(135deg, #f6fbff 0 36%, #1f82ff 37% 62%, #132033 63%) !important;
  color: #07101c !important;
  box-shadow: 0 0 22px rgba(0, 119, 255, 0.28) !important;
}

.site-header .footer-brand-name,
.mock-footer .footer-brand-name {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 2px !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--font-ui) !important;
  font-size: 31px !important;
  line-height: 0.88 !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  font-style: italic !important;
  white-space: nowrap !important;
}

.site-header .footer-brand-name span:last-child,
.mock-footer .footer-brand-name span:last-child {
  color: #1689ff !important;
}

.site-header .brand-stack small {
  color: #b8c6da !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  font-weight: 400 !important;
}

.main-nav,
.header-actions .btn,
.mock-layout,
.mock-stats,
.mock-footer {
  font-family: var(--font-ui) !important;
}

.main-nav {
  font-size: 14.5px !important;
  font-weight: 400 !important;
}

.btn,
.server-status a,
.rules-link,
.outline-link,
.mock-footer button {
  font-weight: 500 !important;
}

.mock-server,
.active-list span,
.mini-panel,
.mock-footer {
  font-weight: 400 !important;
}

.mock-server :where(h2, h3, p, span, small, b, strong, em, a),
.active-list :where(b, small, span),
.mini-panel :where(h3, li, span, b, small, p, a),
.winner-lines :where(span, b, small, em),
.discord-mini :where(p, li, b, em, a),
.mock-footer :where(strong, a, p, small, button, input) {
  font-weight: 400 !important;
}

.mock-panel-title h2,
.prize-podium h2,
.mini-panel h3 {
  font-weight: 500 !important;
}

.home-page .mock-hero {
  grid-template-columns: minmax(0, 0.88fr) 390px !important;
}

.home-page .mock-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.94) 0 20%, rgba(4, 12, 23, 0.38) 48%, rgba(4, 9, 17, 0.38) 100%),
    linear-gradient(0deg, rgba(4, 9, 17, 0.78) 0%, transparent 30%),
    url("../images/hero-cs-operators.png") !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-position: center, center, right center !important;
  background-size: cover, cover, auto 100% !important;
}

.home-page .mock-hero-copy {
  max-width: 560px !important;
}

.home-page .mock-hero h1,
.home-page .mock-hero h1 span,
.home-page .mock-hero h2,
.home-page .mock-hero h2 b,
.home-page .hero-prize-inline strong,
.home-page .hero-prize-inline span {
  font-weight: 600 !important;
}

@media (max-width: 980px) {
  .home-page .mock-hero {
    grid-template-columns: 1fr !important;
  }

  .home-page .mock-hero::before {
    background-size: cover, cover, auto 78% !important;
    background-position: center, center, right top !important;
  }
}

/* Logo visibility update: white/blue mark and no header subtitle */
.site-header .logo-mark,
.mock-footer .logo-mark {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0 34%, rgba(22, 137, 255, 0.98) 35% 66%, rgba(255, 255, 255, 0.96) 67% 100%) !important;
  color: #03101f !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(22, 137, 255, 0.32), 0 0 24px rgba(22, 137, 255, 0.42) !important;
}

.site-header .footer-brand-name,
.mock-footer .footer-brand-name {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.22) !important;
}

.site-header .footer-brand-name span:first-child,
.mock-footer .footer-brand-name span:first-child {
  color: #ffffff !important;
}

.site-header .footer-brand-name span:last-child,
.mock-footer .footer-brand-name span:last-child {
  color: #2a95ff !important;
  text-shadow: 0 0 14px rgba(42, 149, 255, 0.55) !important;
}

.site-header .brand-stack {
  gap: 0 !important;
}

/* Full-width expansion and player profile system */
main,
.site-footer,
.admin-toolbar,
.admin-kpis {
  width: calc(100% - 40px) !important;
  max-width: none !important;
}

.home-page main,
.home-page .site-footer {
  width: calc(100% - 40px) !important;
  max-width: none !important;
}

.home-page .mock-layout {
  grid-template-columns: minmax(0, 1fr) 380px !important;
}

.home-page .mock-hero {
  grid-template-columns: minmax(0, 1fr) 410px !important;
}

.home-page .hero-ip-card {
  width: 410px !important;
}

.dashboard-profile-tabs {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(32, 184, 255, .22);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
}

.dashboard-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 0 16px;
  color: #b8c9dd;
  background: rgba(255,255,255,.045);
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
}

.dashboard-tabs button.active,
.dashboard-tabs button:hover {
  color: #00111f;
  border-color: rgba(32,184,255,.55);
  background: linear-gradient(135deg, #20b8ff, #3cffb0);
}

.dashboard-tab-panel {
  display: none;
}

.dashboard-tab-panel.active {
  display: grid;
  gap: 18px;
}

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

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr) minmax(380px, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.player-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(130px, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 20, .76), rgba(3, 10, 20, .38)),
    url("../images/hero-cs-operators.png") center / cover no-repeat;
  opacity: .42;
}

.player-card::after {
  content: "GATHERCS.COM";
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: rgba(255, 255, 255, .07);
  font-family: var(--font-ui);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.player-card > * {
  position: relative;
  z-index: 1;
}

.player-avatar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: clamp(125px, 13.2vw, 150px);
  height: clamp(125px, 13.2vw, 150px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 184, 255, .48);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 35% 20%, rgba(63, 201, 255, .42), transparent 35%),
    linear-gradient(145deg, #0c56ce, #061a34);
  box-shadow: 0 0 34px rgba(0, 118, 255, .24);
  font-size: clamp(58px, 9.8vw, 102px);
  font-weight: 800;
}

.avatar-upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
}

.avatar-upload-form label {
  display: grid;
  gap: 6px;
  min-width: min(260px, 100%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.avatar-upload-form input[type="file"] {
  min-height: 38px;
  max-width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 8px;
  color: #dff6ff;
  background: rgba(0,0,0,.22);
}

.player-card h2,
.steam-card h2,
.game-card h2,
.social-card h2,
.invite-card h2,
.account-info-card h2,
.payment-card h2,
.payments-history-panel h2,
.rewards-panel h2 {
  margin: 0 0 6px;
  font-size: 32px;
}

.player-card p,
.steam-card p,
.game-card p,
.social-card p,
.invite-card p,
.account-info-card p,
.payment-card p,
.payments-history-panel p,
.rewards-panel p {
  color: var(--muted);
  margin-bottom: 14px;
}

.account-danger-card {
  border-color: rgba(255,82,116,.3) !important;
  background:
    linear-gradient(135deg, rgba(92, 12, 28, .2), rgba(255,255,255,.035)),
    rgba(255,255,255,.025) !important;
}

.account-danger-card .eyebrow,
.account-danger-card h2 {
  color: #ffdbe2;
}

.account-danger-card p {
  color: rgba(255, 219, 226, .82);
}

.account-delete-form input {
  border-color: rgba(255,82,116,.28) !important;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(32, 184, 255, .26);
  border-radius: 999px;
  color: #caedff;
  background: rgba(32, 184, 255, .08);
  font-size: 12px;
}

.premium-status-pill,
.profile-badges .premium-profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  border: 1px solid rgba(255,213,79,.56);
  border-radius: 999px;
  padding: 7px 11px;
  color: #ffe58a !important;
  background: linear-gradient(135deg, rgba(255,213,79,.18), rgba(3,12,26,.82)) !important;
  box-shadow: 0 0 22px rgba(255,213,79,.12);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.premium-status-pill.is-muted {
  border-color: rgba(255,255,255,.16);
  color: #9fb1c7 !important;
  background: rgba(255,255,255,.05) !important;
  box-shadow: none;
}

.achievement-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.achievement-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #eaf5ff;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(5,14,28,.82));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 8px 22px rgba(0,0,0,.22);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.achievement-badge:hover,
.achievement-badge:focus-visible {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 12px 28px rgba(0,0,0,.28), 0 0 18px color-mix(in srgb, currentColor 26%, transparent);
  outline: none;
}

.achievement-badge-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('../icons/bolt.svg') center / contain no-repeat;
  mask: url('../icons/bolt.svg') center / contain no-repeat;
  filter: drop-shadow(0 0 6px currentColor);
}

.badge-tenure .achievement-badge-icon,
.badge-new .achievement-badge-icon,
.badge-invite .achievement-badge-icon {
  -webkit-mask-image: url('../icons/players.svg');
  mask-image: url('../icons/players.svg');
}

.badge-matches .achievement-badge-icon {
  -webkit-mask-image: url('../icons/gamepad.svg');
  mask-image: url('../icons/gamepad.svg');
}

.badge-reward .achievement-badge-icon,
.badge-wins .achievement-badge-icon {
  -webkit-mask-image: url('../icons/trophy.svg');
  mask-image: url('../icons/trophy.svg');
}

.badge-elo .achievement-badge-icon,
.badge-kills .achievement-badge-icon,
.badge-kd .achievement-badge-icon {
  -webkit-mask-image: url('../icons/target.svg');
  mask-image: url('../icons/target.svg');
}

.achievement-badge.badge-tenure,
.achievement-badge.badge-new {
  border-color: rgba(32,184,255,.42);
  color: #83dcff;
  background: linear-gradient(135deg, rgba(32,184,255,.18), rgba(4,18,36,.88));
}

.achievement-badge.badge-matches {
  border-color: rgba(255,155,31,.5);
  color: #ffc56f;
  background: linear-gradient(135deg, rgba(255,155,31,.18), rgba(39,20,3,.88));
}

.achievement-badge.badge-reward {
  border-color: rgba(255,213,79,.65);
  color: #ffe58a;
  background: linear-gradient(135deg, rgba(255,213,79,.2), rgba(54,37,0,.9));
}

.achievement-badge.badge-elo {
  border-color: rgba(60,255,176,.52);
  color: #70ffc4;
  background: linear-gradient(135deg, rgba(60,255,176,.18), rgba(3,34,24,.88));
}

.achievement-badge.badge-wins {
  border-color: rgba(86,137,255,.52);
  color: #a9c4ff;
  background: linear-gradient(135deg, rgba(86,137,255,.18), rgba(5,16,45,.88));
}

.achievement-badge.badge-kills,
.achievement-badge.badge-kd {
  border-color: rgba(255,74,95,.56);
  color: #ff9daa;
  background: linear-gradient(135deg, rgba(255,74,95,.18), rgba(43,5,13,.9));
}

.achievement-badge.badge-invite {
  border-color: rgba(196,125,255,.52);
  color: #dcb6ff;
  background: linear-gradient(135deg, rgba(196,125,255,.18), rgba(28,7,48,.9));
}

.achievement-badge.badge-premium {
  border-color: rgba(255,213,79,.72);
  color: #ffe58a;
  background: linear-gradient(135deg, rgba(255,213,79,.24), rgba(50,34,0,.92));
}

.badge-premium .achievement-badge-icon {
  -webkit-mask-image: url('../icons/trophy.svg');
  mask-image: url('../icons/trophy.svg');
}

.achievement-badge-popover {
  position: fixed;
  z-index: 9999;
  width: min(310px, calc(100vw - 24px));
  display: none;
  padding: 14px 42px 14px 15px;
  border: 1px solid rgba(32,184,255,.34);
  border-radius: 8px;
  color: #dcefff;
  background:
    linear-gradient(135deg, rgba(32,184,255,.16), rgba(255,155,31,.08)),
    rgba(3, 10, 22, .96);
  box-shadow: 0 18px 42px rgba(0,0,0,.45), 0 0 24px rgba(32,184,255,.16);
}

.achievement-badge-popover.open,
.achievement-badge-popover.measuring {
  display: block;
}

.achievement-badge-popover.measuring {
  visibility: hidden;
  pointer-events: none;
}

.achievement-badge-popover strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}

.achievement-badge-popover p {
  margin: 8px 0 0;
  color: #a9bdd5;
  font-size: 13px;
  line-height: 1.35;
}

.achievement-badge-popover-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  color: #fff;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.achievement-badge-popover-close:hover {
  border-color: rgba(255,74,95,.55);
  background: rgba(255,74,95,.16);
}

.inline-profile-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.steam-connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.steam-lock-details {
  display: grid;
  gap: 10px;
}

.steam-lock-details span {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(60, 255, 176, .24);
  border-radius: 10px;
  padding: 10px 12px;
  color: #e7fff7;
  overflow-wrap: anywhere;
  background: rgba(60, 255, 176, .06);
}

.steam-lock-details b {
  color: #78ffc6;
  font-size: 14px;
  text-transform: uppercase;
}

.inline-profile-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-info-card,
.payment-card,
.payments-history-panel,
.rewards-panel {
  min-width: 0;
}

.account-info-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-info-form label:nth-of-type(3) {
  grid-column: 1 / -1;
}

.account-info-form button,
.payout-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.payout-form {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.dashboard-subtabs button {
  border: 1px solid rgba(32, 184, 255, .24);
  border-radius: 8px;
  padding: 10px 14px;
  color: #cfeaff;
  background: rgba(255, 255, 255, .045);
  font-weight: 900;
  cursor: pointer;
}

.dashboard-subtabs button.active,
.dashboard-subtabs button:hover {
  color: #fff;
  border-color: rgba(60, 255, 176, .48);
  background: rgba(60, 255, 176, .1);
}

.dashboard-subpanel {
  display: none;
}

.dashboard-subpanel.active {
  display: block;
}

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

.membership-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.membership-quick-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.membership-quick-rules span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.membership-quick-rules b {
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.membership-quick-rules small {
  color: #9fb5cc;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.membership-type-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.membership-type-card:hover,
.membership-type-card.active {
  transform: translateY(-1px);
  border-color: rgba(60,255,176,.56);
  background:
    radial-gradient(circle at top right, rgba(60,255,176,.12), transparent 38%),
    rgba(255,255,255,.05);
  box-shadow: 0 16px 32px rgba(0,0,0,.18), inset 0 0 20px rgba(32,184,255,.08);
}

.membership-type-card.premium.active,
.membership-type-card.premium:hover {
  border-color: rgba(255,213,79,.58);
  background:
    radial-gradient(circle at top right, rgba(255,213,79,.18), transparent 40%),
    rgba(255,255,255,.05);
}

.membership-type-card.basic-free {
  cursor: default;
  border-color: rgba(60,255,176,.34);
  background:
    radial-gradient(circle at top right, rgba(60,255,176,.12), transparent 38%),
    rgba(255,255,255,.035);
}

.membership-type-card.basic-free strong::after {
  content: "FREE";
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid rgba(60,255,176,.42);
  border-radius: 999px;
  color: #3cffb0;
  font-size: 11px;
  vertical-align: middle;
}

.membership-type-card input {
  width: 18px;
  height: 18px;
  accent-color: #3cffb0;
}

.membership-type-card span {
  display: grid;
  gap: 5px;
}

.membership-type-card strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.membership-type-card small {
  color: #a9c4df;
  font-size: 14px;
  line-height: 1.25;
}

.payment-method {
  width: 100%;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(32, 184, 255, .28);
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
  text-align: left;
}

.payment-method:hover {
  border-color: rgba(60, 255, 176, .48);
  transform: translateY(-1px);
}

.payment-method.active {
  border-color: rgba(60, 255, 176, .7);
  box-shadow: 0 0 0 1px rgba(60, 255, 176, .1), 0 0 22px rgba(60, 255, 176, .12);
}

.payment-method strong {
  font-size: 14px;
  text-transform: uppercase;
}

.payment-method small {
  color: #93d7ff;
  font-weight: 900;
}

.payment-method.paypal {
  background: linear-gradient(135deg, rgba(0, 107, 255, .22), rgba(32, 184, 255, .08));
}

.payment-method.card {
  background: linear-gradient(135deg, rgba(60, 255, 176, .18), rgba(255, 255, 255, .04));
}

.payment-method.usdt {
  margin-top: 12px;
  background: linear-gradient(135deg, rgba(60, 255, 176, .16), rgba(32, 184, 255, .06));
}

.payment-method.balance {
  margin-top: 12px;
  background:
    radial-gradient(circle at top right, rgba(255, 213, 79, .18), transparent 42%),
    linear-gradient(135deg, rgba(255, 213, 79, .13), rgba(60, 255, 176, .07));
  border-color: rgba(255, 213, 79, .35);
}

.payment-method.balance:hover {
  border-color: rgba(255, 213, 79, .72);
  box-shadow: 0 0 24px rgba(255, 213, 79, .12);
}

.payment-method:disabled,
.payment-method[disabled] {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

.payment-method-grid .payment-method.usdt {
  margin-top: 0;
}

.balance-purchase-form {
  margin: 0;
}

.payment-panel + .balance-purchase-form {
  margin-top: 12px;
}

.payment-method.is-disabled {
  cursor: default;
  opacity: .78;
  background: rgba(255, 255, 255, .035);
}

.paypal-button-container {
  min-height: 150px;
}

.membership-card {
  grid-column: 1 / -1;
}

.membership-premium-upgrade {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,213,79,.24);
  border-color: rgba(255,213,79,.28);
  background: radial-gradient(circle at top right, rgba(255,213,79,.12), transparent 32%);
}

.premium-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.premium-card-head strong {
  color: #ffe58a;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.premium-card-head h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: .95;
  text-transform: uppercase;
}

.premium-total-box {
  margin: 12px 0;
}

.premium-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.premium-payment-grid > div {
  min-width: 0;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.035);
}

.premium-payment-grid > div > strong {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.premium-usdt-button.payment-method {
  margin-top: 0;
}

.membership-plan-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, .7fr);
  gap: 12px;
  margin: 16px 0 12px;
}

.membership-plan-row label,
.withdrawal-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.membership-plan-row select,
.withdrawal-form input,
.withdrawal-form textarea {
  min-height: 48px;
  border: 1px solid rgba(32, 184, 255, .26);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.withdrawal-form textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.membership-total-box {
  display: grid;
  gap: 4px;
  align-content: center;
  border: 1px solid rgba(255, 213, 79, .28);
  border-radius: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255, 213, 79, .13), rgba(255, 255, 255, .035));
}

.membership-total-box small,
.membership-total-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.membership-total-box strong {
  color: #ffd54f;
  font-size: 28px;
  line-height: 1;
}

.payment-panel {
  display: none;
  margin-top: 12px;
}

.payment-panel.active {
  display: block;
}

.membership-discount-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.membership-discount-note span {
  border: 1px solid rgba(255, 213, 79, .24);
  border-radius: 999px;
  padding: 7px 10px;
  color: #ffe58a;
  background: rgba(255, 213, 79, .07);
  font-size: 12px;
  font-weight: 900;
}

.withdrawal-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.withdrawal-form label:nth-of-type(3),
.withdrawal-form button {
  grid-column: 1 / -1;
}

.withdrawal-form button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.withdrawal-list {
  margin-top: 12px;
}

.payment-status {
  min-height: 22px;
  margin-top: 10px;
  color: #78ffc6;
  font-weight: 900;
}

.payment-status.error {
  color: #ff7c7c;
}

.payment-status[data-state="processing"] {
  color: #ffd166;
}

.payment-status[data-state="received"] {
  color: #78ffc6;
}

.payment-status[data-state="failed"] {
  color: #ff7c7c;
}

.usdt-wallet-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.usdt-wallet-list span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(60, 255, 176, .2);
  border-radius: 8px;
  padding: 10px 12px;
  color: #dff9ff;
  overflow-wrap: anywhere;
  background: rgba(60, 255, 176, .06);
}

.usdt-wallet-list b {
  color: #78ffc6;
  font-size: 14px;
}

.usdt-payment-form {
  grid-template-columns: minmax(140px, .4fr) minmax(0, 1fr) auto;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 18px;
}

.payment-modal.open {
  display: grid;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
}

.payment-modal-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(32, 184, 255, .28);
  border-radius: 10px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, rgba(7, 16, 30, .98), rgba(4, 10, 20, .98));
  box-shadow: 0 32px 90px rgba(0, 0, 0, .55);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  font-size: 22px;
}

.usdt-modal-form {
  display: grid;
  gap: 12px;
}

.is-hidden {
  display: none !important;
}

.usdt-modal-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.usdt-modal-form input,
.usdt-modal-form select {
  min-height: 44px;
  border: 1px solid rgba(32, 184, 255, .26);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.usdt-checkout-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(66, 255, 174, .28);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(66, 255, 174, .08);
}

.usdt-amount-due {
  display: grid;
  gap: 4px;
}

.usdt-amount-due small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.usdt-amount-due strong {
  color: #42ffae;
  font-size: 28px;
  line-height: 1;
}

.usdt-amount-due span {
  color: #9dd9ff;
  font-size: 13px;
  font-weight: 900;
}

.usdt-qr-panel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.usdt-qr-panel img {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.usdt-qr-panel code {
  display: block;
  margin: 7px 0 10px;
  color: #dff9ff;
  overflow-wrap: anywhere;
}

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

.dashboard-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(0, 0, 0, .18);
}

.dashboard-list-row b,
.dashboard-list-row small {
  display: block;
}

.dashboard-list-row b {
  color: #fff;
}

.dashboard-list-row small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.dashboard-list-row em {
  flex: 0 0 auto;
  color: #3cffb0;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.match-history-row {
  align-items: stretch;
}

.match-history-row em {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.match-demo-missing {
  color: #92a8bf;
  font-size: 12px;
  font-weight: 900;
}

.game-card {
  grid-column: span 1;
}

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

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

.game-choice {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(32, 184, 255, .24);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.game-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.game-choice b {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.game-choice:has(input:checked) {
  border-color: rgba(60,255,176,.54);
  background: linear-gradient(180deg, rgba(32,184,255,.13), rgba(60,255,176,.08));
}

.game-choice:has(input:checked) .game-choice-icon {
  color: #fff;
  border-color: rgba(60,255,176,.72);
  box-shadow: 0 0 20px rgba(60,255,176,.18);
}

.social-card {
  grid-column: span 2;
}

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

.social-profile-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.inline-profile-form input,
.inline-profile-form select,
.invite-link input {
  min-height: 46px;
  min-width: 0;
  border: 1px solid rgba(32, 184, 255, .26);
  border-radius: 12px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, .045);
  outline: none;
}

.inline-profile-form select {
  appearance: none;
}

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

.referral-note {
  margin: 0 0 8px;
  color: #93d7ff;
}

.referral-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  margin: 12px 0 8px;
  background: rgba(255, 255, 255, .08);
}

.referral-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #006bff, #20b8ff, #3cffb0);
  box-shadow: 0 0 18px rgba(32, 184, 255, .36);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.message-dock {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
}

.message-dock-toggle {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(60,255,176,.42);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0d4cca, #20b8ff);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42), 0 0 28px rgba(32,184,255,.34);
  cursor: pointer;
}

.message-icon {
  font-size: 28px;
  line-height: 1;
}

.message-dock-toggle b {
  position: absolute;
  right: -3px;
  top: -4px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid #04101f;
  border-radius: 999px;
  color: #00111f;
  background: #3cffb0;
  font-size: 12px;
  font-weight: 950;
}

.message-window {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(420px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 120px));
  display: none;
  gap: 14px;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(32,184,255,.32);
  border-radius: 10px;
  background: rgba(3, 12, 25, .96);
  box-shadow: 0 28px 90px rgba(0,0,0,.56), 0 0 38px rgba(32,184,255,.16);
  backdrop-filter: blur(16px);
}

.message-dock.open .message-window {
  display: grid;
}

.message-window-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.message-window-head h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
}

.message-window-head small {
  color: var(--muted);
  font-weight: 800;
}

.message-window-head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.message-read-form {
  display: grid;
}

.inbox-list {
  display: grid;
  gap: 12px;
}

.message-center {
  display: grid;
  grid-template-columns: minmax(230px, .88fr) minmax(0, 1.45fr);
  gap: 14px;
  min-height: 520px;
}

.message-center.is-compact {
  grid-template-columns: 1fr;
  min-height: 0;
}

.conversation-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.message-center.is-compact .conversation-list {
  max-height: 210px;
}

.conversation-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(32, 184, 255, .22);
  border-radius: 8px;
  padding: 10px;
  color: inherit;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  text-align: left;
}

.conversation-item.active,
.conversation-item:hover {
  border-color: rgba(60, 255, 176, .42);
  background: linear-gradient(180deg, rgba(32, 184, 255, .12), rgba(60, 255, 176, .06));
}

.conversation-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 184, 255, .3);
  border-radius: 8px;
  color: #fff;
  background: radial-gradient(circle at 30% 20%, rgba(60, 255, 176, .24), rgba(0, 107, 255, .24));
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 800;
}

.conversation-item strong,
.conversation-item small,
.conversation-item em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-item strong {
  color: #fff;
  font-size: 14px;
}

.conversation-item small {
  color: #93d7ff;
  font-size: 14px;
  font-style: normal;
}

.conversation-item em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.conversation-item b {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #00111f;
  background: #3cffb0;
  font-size: 14px;
  font-weight: 950;
}

.chat-panels {
  min-width: 0;
}

.chat-thread {
  display: none;
  gap: 12px;
  height: 100%;
}

.chat-thread.active {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
}

.chat-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(32, 184, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.chat-thread-head strong,
.chat-thread-head small {
  display: block;
}

.chat-thread-head strong {
  color: #fff;
}

.chat-thread-head small {
  color: #93d7ff;
  font-size: 12px;
}

.chat-feed {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 460px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(0, 0, 0, .18);
}

.message-center.is-compact .chat-feed {
  max-height: 280px;
}

.message-center.is-compact .chat-thread.active {
  grid-template-rows: auto minmax(220px, auto) auto;
}

.chat-bubble {
  max-width: 78%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: #d9e9fb;
  background: rgba(255, 255, 255, .055);
}

.chat-bubble.is-own {
  justify-self: end;
  border-color: rgba(60, 255, 176, .42);
  color: #00111f;
  background: linear-gradient(135deg, #3cffb0, #20b8ff);
}

.chat-bubble.is-other {
  justify-self: start;
}

.chat-bubble p {
  margin: 0;
  line-height: 1.45;
}

.chat-bubble small {
  display: block;
  margin-top: 6px;
  opacity: .72;
  font-size: 14px;
}

.inbox-message {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.inbox-message.is-unread {
  border-color: rgba(60,255,176,.36);
  background: linear-gradient(180deg, rgba(60,255,176,.08), rgba(0,0,0,.18));
}

.inbox-message-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.inbox-message-head strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.inbox-message-head strong a:hover {
  color: #3cffb0;
}

.inbox-message-head small {
  display: block;
  color: var(--muted);
}

.inbox-message-head span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(60,255,176,.36);
  border-radius: 999px;
  color: #3cffb0;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.inbox-message p {
  margin: 0;
  color: #d9e9fb;
  line-height: 1.55;
}

.inbox-reply-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: end;
}

.inbox-reply-form textarea {
  width: 100%;
  min-height: 78px;
  border: 1px solid rgba(32, 184, 255, .26);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, .045);
  color: #fff;
  resize: vertical;
  outline: none;
}

.stat-tile {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px !important;
}

.stat-tile span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-tile strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.stat-tile small {
  color: #39dfff;
}

@media (max-width: 1260px) {
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .invite-card {
    grid-column: 1 / -1;
  }

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

@media (max-width: 860px) {
  main,
  .site-footer,
  .admin-toolbar,
  .admin-shell,
  .admin-tab-panels,
  .admin-kpis,
  .home-page main,
  .home-page .site-footer {
    width: calc(100% - 18px) !important;
  }

  .profile-grid,
  .dashboard-card-grid,
  .content-grid,
  .inline-profile-form,
  .invite-link,
  .inbox-reply-form,
  .account-info-form,
  .membership-plan-row,
  .membership-type-grid,
  .membership-quick-rules,
  .payment-method-grid,
  .premium-payment-grid,
  .premium-match-form,
  .withdrawal-form,
  .message-center {
    grid-template-columns: 1fr !important;
  }

  .admin-shell {
    display: block;
  }

  .admin-shell .admin-tabs {
    position: sticky;
    top: 64px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    margin: 0 0 12px;
    padding: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .admin-shell .admin-toolbar button {
    flex: 0 0 auto;
    min-height: 38px;
    min-width: max-content;
    padding: 0 12px;
    font-size: 13px;
    justify-content: center;
    place-items: center;
    text-align: center;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .admin-tab-icon,
  .dashboard-tab-icon {
    width: 16px;
    height: 16px;
  }

  .admin-subtabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .admin-subtabs button {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
  }

  .admin-form-wide,
  .server-edit-form,
  .admin-row-item {
    grid-template-columns: 1fr !important;
  }

  .server-admin-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .server-edit-open {
    width: 100%;
  }

  .admin-modal {
    align-items: start;
    padding: 10px;
  }

  .admin-modal-dialog {
    max-height: calc(100dvh - 20px);
  }

  .admin-modal-head {
    padding: 13px;
  }

  .admin-modal-head h3 {
    font-size: 20px;
  }

  .invite-card {
    grid-column: auto;
  }

  .social-card {
    grid-column: auto;
  }

  .game-choice-list {
    grid-template-columns: 1fr;
  }

  .social-profile-form button {
    justify-self: stretch;
  }

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

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

  .message-dock {
    right: 12px;
    bottom: 12px;
  }

  .message-dock-toggle {
    width: 56px;
    height: 56px;
  }

  .message-window {
    right: -2px;
    bottom: 66px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 96px);
  }

  .dashboard-list-row {
    display: grid;
  }

  .dashboard-list-row em {
    text-align: left;
  }

  .conversation-list {
    max-height: 260px;
  }

  .chat-thread.active {
    grid-template-rows: auto minmax(220px, auto) auto;
  }

  .chat-bubble {
    max-width: 88%;
  }
}

/* Mockup asset pass: use extracted visual elements and match the 1024px reference layout */
.home-page main,
.home-page .site-footer {
  width: min(1100px, calc(100% - 38px)) !important;
}

.home-page main {
  padding-top: 0 !important;
  padding-bottom: 26px !important;
}

.home-page .site-header {
  min-height: 70px !important;
  padding: 14px 34px !important;
  grid-template-columns: 232px minmax(0, 1fr) auto !important;
  gap: 18px !important;
}

.site-header .logo,
.mock-footer .footer-brand {
  min-width: 0 !important;
}

.logo-img {
  display: block;
  width: 232px;
  height: 52px;
  object-fit: contain;
}

.home-page .site-header .logo-img {
  width: 232px !important;
  height: 52px !important;
}

.home-page .main-nav {
  gap: 25px !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
}

.home-page .main-nav a.active::after {
  bottom: -25px !important;
  width: 52px !important;
}

.home-page .header-actions .btn.small {
  min-height: 38px !important;
  min-width: 168px !important;
  border-radius: 5px !important;
  font-size: 14px !important;
}

.home-page .header-actions.guest-actions .btn.small {
  min-width: 112px !important;
}

.home-page .discord-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 5px !important;
}

.home-page .discord-btn img {
  width: 24px !important;
  height: 24px !important;
}

.home-page .mock-hero {
  min-height: 448px !important;
  grid-template-columns: minmax(0, 1fr) 374px !important;
  padding: 28px 12px 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.home-page .mock-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.98) 0 34%, rgba(3, 8, 15, 0.46) 56%, rgba(3, 8, 15, 0.8) 100%),
    linear-gradient(0deg, rgba(3, 8, 15, 0.88) 0%, transparent 35%),
    url("../images/hero-cs-operators.png") !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-position: center, center, center right !important;
  background-size: cover, cover, auto 100% !important;
}

.home-page .mock-hero-copy {
  max-width: 500px !important;
}

.home-page .hero-kicker {
  font-size: 14px !important;
  letter-spacing: 0.06em !important;
}

.home-page .mock-hero h1 {
  font-size: clamp(76px, 9vw, 108px) !important;
  line-height: 0.82 !important;
  margin: 16px 0 4px !important;
}

.home-page .mock-hero h2 {
  font-size: clamp(30px, 3.3vw, 38px) !important;
  line-height: 0.95 !important;
  margin: 8px 0 12px !important;
}

.home-page .mock-hero p {
  max-width: 390px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.home-page .hero-prize-inline {
  gap: 24px !important;
  margin: 10px 0 18px !important;
}

.home-page .crate-art {
  width: 150px !important;
  height: 95px !important;
}

.home-page .hero-prize-inline strong {
  font-size: 78px !important;
}

.home-page .hero-prize-inline span {
  font-size: 20px !important;
}

.home-page .hero-actions {
  gap: 18px !important;
}

.home-page .hero-actions .btn {
  min-width: 255px !important;
  min-height: 54px !important;
  border-radius: 4px !important;
  font-size: 18px !important;
}

.home-page .hero-actions .btn.ghost {
  min-width: 214px !important;
}

.home-page .hero-ip-card {
  width: 374px !important;
  margin: 0 8px 20px 0 !important;
  padding: 18px 26px 18px !important;
  border-radius: 5px !important;
  align-self: end !important;
}

.home-page .hero-ip-card span {
  font-size: 14px !important;
}

.home-page .hero-ip-card strong {
  font-size: 24px !important;
}

.home-page .hero-ip-card .btn {
  min-height: 52px !important;
  border-radius: 4px !important;
  font-size: 22px !important;
}

.home-page .hero-ip-card p {
  font-size: 14px !important;
}

.home-page .mock-stats {
  margin-top: 0 !important;
  grid-template-columns: repeat(6, 1fr) !important;
  border-radius: 5px !important;
}

.home-page .mock-stats article {
  min-height: 68px !important;
  padding: 12px 16px !important;
  grid-template-columns: auto auto minmax(0, 1fr) !important;
  grid-template-areas: "icon value label" !important;
  align-items: center !important;
  align-content: center !important;
  gap: 0 7px !important;
}

.home-page .stat-icon {
  width: 32px !important;
  height: 32px !important;
}

.home-page .mock-stats strong {
  font-size: 21px !important;
  line-height: 1 !important;
  grid-area: value !important;
  justify-self: start !important;
}

.home-page .mock-stats small {
  font-size: 10px !important;
  grid-area: label !important;
  justify-self: start !important;
  align-self: center !important;
  white-space: nowrap !important;
}

.home-page .mock-layout {
  grid-template-columns: minmax(0, 730px) 356px !important;
  gap: 14px !important;
  margin-top: 14px !important;
}

.home-page .panel {
  border-radius: 5px !important;
}

.home-page .mock-panel-title {
  margin-bottom: 14px !important;
}

.home-page .mock-panel-title h2 {
  font-size: 18px !important;
}

.home-page .mock-server {
  grid-template-columns: 112px minmax(0, 1fr) 66px 178px !important;
  min-height: 88px !important;
}

.home-page .map-thumb {
  min-height: 88px !important;
  background-size: cover !important;
  background-position: center !important;
}

.home-page .map-thumb strong {
  display: none !important;
}

.home-page .map-1 { background-image: url("../images/mock/server-thumb-1.png") !important; }
.home-page .map-2 { background-image: url("../images/mock/server-thumb-2.png") !important; }
.home-page .map-3 { background-image: url("../images/mock/server-thumb-3.png") !important; }
.home-page .map-4 { background-image: url("../images/mock/server-thumb-4.png") !important; }
.home-page .map-5 { background-image: url("../images/mock/server-thumb-5.png") !important; }

.home-page .server-main {
  padding: 17px 18px !important;
}

.home-page .server-main h3 {
  font-size: 20px !important;
  line-height: 1 !important;
}

.home-page .server-main p {
  font-size: 13px !important;
}

.home-page .server-live-row {
  margin: 7px 0;
}

.home-page .live-pill {
  min-height: 24px;
  padding: 4px 9px;
  font-family: var(--font-ui);
  font-size: 10px !important;
  line-height: 1 !important;
}

.home-page .server-status {
  padding: 11px 18px !important;
}

.home-page .server-status strong,
.home-page .server-status a {
  font-size: 12px !important;
}

.home-page .server-status small,
.home-page .server-status em {
  font-size: 14px !important;
}

.home-page .server-status a.gather-select-link,
.server-status a.gather-select-link {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.home-page .server-status a.gather-select-link:hover,
.server-status a.gather-select-link:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 255, 176, .42);
  background: linear-gradient(180deg, #1f8bff, #075be8);
  box-shadow: 0 0 0 1px rgba(60, 255, 176, .18), 0 12px 28px rgba(0, 107, 255, .34), 0 0 18px rgba(32, 184, 255, .26);
}

.home-page .server-status a.gather-select-link.disabled,
.server-status a.gather-select-link.disabled {
  cursor: not-allowed;
  border-color: rgba(255,213,79,.34);
  color: #ffe58a;
  background: linear-gradient(180deg, rgba(255,213,79,.22), rgba(76,50,0,.7));
  box-shadow: none;
}

.home-page .server-status a.gather-select-link.disabled:hover,
.server-status a.gather-select-link.disabled:hover {
  transform: none;
  border-color: rgba(255,213,79,.34);
  background: linear-gradient(180deg, rgba(255,213,79,.22), rgba(76,50,0,.7));
  box-shadow: none;
}

.home-page .server-status a.open-gather-link,
.server-status a.open-gather-link {
  background: linear-gradient(180deg, #30d66b, #119642);
  box-shadow: 0 10px 24px rgba(48, 214, 107, .22);
}

.home-page .server-status a.open-gather-link:hover,
.server-status a.open-gather-link:hover {
  background: linear-gradient(180deg, #4cff86, #16b553);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 14px 30px rgba(48, 214, 107, .3), 0 0 20px rgba(60,255,176,.26);
}

.home-page .bottom-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.home-page .mini-panel {
  min-height: 218px !important;
  padding: 16px !important;
}

.home-page .active-panel {
  min-height: 448px !important;
}

.home-page .active-list span {
  grid-template-columns: 38px 1fr auto !important;
  padding: 9px 0 !important;
}

.home-page .active-list i {
  width: 34px !important;
  height: 34px !important;
}

.home-page .active-list b {
  font-size: 14px !important;
}

.home-page .prize-podium {
  min-height: 322px !important;
  padding: 15px 16px !important;
  background:
    radial-gradient(circle at 50% 66%, rgba(0, 119, 255, .23), transparent 35%),
    linear-gradient(180deg, rgba(4, 18, 32, .92), rgba(3, 13, 25, .9)) !important;
}

.home-page .prize-podium h2 {
  font-size: 20px !important;
  margin-bottom: 8px !important;
}

.home-page .prize-podium > strong {
  font-size: 74px !important;
}

.home-page .prize-podium > span {
  font-size: 15px !important;
}

.home-page .podium {
  align-items: end !important;
  gap: 16px !important;
  margin: 16px 0 10px !important;
}

.home-page .podium em {
  position: relative !important;
  width: 74px !important;
  height: auto !important;
  display: grid !important;
  justify-items: center !important;
  align-content: end !important;
  gap: 3px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.home-page .podium em.gold {
  width: 88px !important;
}

.home-page .podium em img {
  width: 66px !important;
  height: auto !important;
  display: block !important;
}

.home-page .podium em.gold img {
  width: 78px !important;
}

.home-page .podium em span {
  position: absolute !important;
  top: 23px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 2 !important;
  color: #fff !important;
  font-family: var(--font-ui) !important;
  font-size: 32px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .78), 0 0 12px rgba(255, 255, 255, .28) !important;
  pointer-events: none !important;
}

.home-page .podium em.gold span {
  top: 26px !important;
  font-size: 36px !important;
}

.home-page .podium em small {
  margin-top: 0 !important;
  color: #f8fbff !important;
  font-size: 18px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .65) !important;
}

.home-page .mock-footer {
  grid-template-columns: 1.28fr .7fr .7fr .78fr 1.4fr !important;
  gap: 28px !important;
  margin-bottom: 0 !important;
  padding: 20px 14px !important;
}

.home-page .footer-brand {
  grid-template-columns: 1fr !important;
}

.home-page .footer-logo-img {
  width: 200px !important;
  height: auto !important;
}

.home-page .newsletter-form {
  grid-template-columns: 1fr 94px !important;
}

@media (max-width: 1100px) {
  .home-page .site-header {
    padding-inline: 24px !important;
    grid-template-columns: auto 1fr auto !important;
  }
}

@media (max-width: 980px) {
  .home-page .mock-layout {
    grid-template-columns: 1fr !important;
  }

  .home-page .mock-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .home-page main,
  .home-page .site-footer {
    width: min(100% - 18px, 560px) !important;
  }

  .home-page .site-header {
    grid-template-columns: auto auto !important;
  }

  .home-page .logo-img {
    width: 190px !important;
    height: auto !important;
  }

  .home-page .mock-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .home-page .mock-server {
    grid-template-columns: 102px 1fr !important;
  }

  .home-page .bottom-cards {
    grid-template-columns: 1fr !important;
  }

  .home-page .mock-footer {
    grid-template-columns: 1fr !important;
  }
}

/* Final full-width override */
@media (min-width: 861px) {
  main,
  .site-footer,
  .admin-toolbar,
  .admin-kpis,
  .home-page main,
  .home-page .site-footer {
    width: calc(100% - 40px) !important;
    max-width: none !important;
  }

  .home-page .mock-layout {
    grid-template-columns: minmax(0, 1fr) 380px !important;
  }

  .home-page .mock-hero {
    grid-template-columns: minmax(0, 1fr) 410px !important;
  }

  .home-page .hero-ip-card {
    width: 410px !important;
  }
}

/* Hero prize card replaces IP box */
.home-page .hero-prize-card {
  align-self: center;
  justify-self: start;
  width: min(560px, 100%);
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 2px;
  margin: 20px 0 0 -210px;
  padding: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.home-page .hero-prize-field {
  width: min(430px, 100%);
  min-height: 245px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 4px 18px 8px;
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 132, 255, .2), transparent 46%),
    linear-gradient(180deg, rgba(1, 8, 18, .78), rgba(1, 6, 14, .56));
  border: 0;
  box-shadow: none;
}

.home-page .hero-prize-card .crate-art {
  width: 360px !important;
  height: 220px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0,132,255,.72));
}

.home-page .hero-prize-card strong {
  display: block;
  color: #087dff;
  font-family: var(--font-ui);
  font-size: 98px;
  font-style: italic;
  line-height: .76;
  text-shadow: 0 0 24px rgba(0, 132, 255, .36);
}

.home-page .hero-prize-card span {
  display: block;
  color: #058cff;
  font-family: var(--font-ui);
  font-size: 23px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .04em;
}

.home-page .hero-ip-card {
  display: none !important;
}

@media (min-width: 861px) {
  .home-page .hero-prize-card {
    width: 560px !important;
  }
}

@media (max-width: 980px) {
  .home-page .hero-prize-card {
    justify-self: stretch;
    width: 100% !important;
    margin: 18px 0 0;
  }
}

@media (min-width: 981px) {
  .home-page .mock-hero {
    position: relative !important;
  }

  .home-page .hero-prize-card {
    position: absolute !important;
    left: 58% !important;
    top: 49% !important;
    transform: translate(-50%, -50%) !important;
    width: 460px !important;
    min-height: 292px !important;
    margin: 0 !important;
  }

  .home-page .hero-prize-field {
    width: 420px !important;
    min-height: 238px !important;
  }
}

/* ELO guide */
.elo-hero {
  overflow: hidden;
  position: relative;
}

.elo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(0, 132, 255, .24), transparent 28%),
    linear-gradient(90deg, transparent, rgba(0, 132, 255, .06));
  pointer-events: none;
}

.elo-hero > * {
  position: relative;
  z-index: 1;
}

.elo-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.elo-kpis article {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(32, 184, 255, .28);
  border-radius: 16px;
  background: rgba(4, 16, 31, .72);
}

.elo-kpis span,
.elo-card > span,
.elo-breakdown .eyebrow,
.elo-summary .eyebrow {
  color: #20b8ff;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

.elo-kpis strong {
  color: #fff;
  font-size: 46px;
  line-height: 1;
}

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

.elo-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.elo-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 184, 255, .4);
  border-radius: 10px;
  background: rgba(32, 184, 255, .1);
  font-size: 18px;
}

.elo-card h2,
.elo-breakdown h2,
.elo-summary h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
}

.elo-card p,
.elo-breakdown p,
.elo-summary p {
  color: var(--muted);
  line-height: 1.55;
}

.elo-breakdown {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

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

.elo-action-list span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.elo-action-list b {
  color: #fff;
}

.elo-action-list em {
  color: #3cffb0;
  font-style: normal;
}

.elo-summary {
  margin-top: 16px;
  border-color: rgba(60, 255, 176, .24);
}

@media (max-width: 980px) {
  .elo-kpis,
  .elo-grid,
  .elo-breakdown {
    grid-template-columns: 1fr;
  }

  .elo-action-list {
    grid-template-columns: 1fr;
  }
}

/* How gather works guide */
.how-hero {
  border-color: rgba(32, 184, 255, .3);
  background:
    linear-gradient(135deg, rgba(0, 107, 255, .18), rgba(4, 10, 22, .9)),
    linear-gradient(145deg, var(--panel), rgba(4, 10, 22, .82));
}

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

.how-step {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.how-step > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 184, 255, .42);
  border-radius: 12px;
  color: #20b8ff;
  background: rgba(32, 184, 255, .1);
  font-weight: 700;
}

.how-step h2,
.how-flow h2,
.how-rules h2,
.how-elo-link h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
}

.how-step p,
.how-flow p,
.how-elo-link p {
  color: var(--muted);
  line-height: 1.55;
}

.how-flow,
.how-elo-link {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}

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

.flow-line span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 184, 255, .3);
  border-radius: 12px;
  color: #dff3ff;
  background: rgba(255, 255, 255, .045);
}

.how-rules {
  margin-top: 16px;
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.requirement-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.requirement-grid b {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

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

.how-elo-link {
  border-color: rgba(60, 255, 176, .22);
}

@media (max-width: 980px) {
  .how-steps,
  .how-flow,
  .how-elo-link,
  .requirement-grid {
    grid-template-columns: 1fr;
  }

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

/* Home page readability: lift small 10px/12px labels to 14px */
.home-page .mock-stats small,
.home-page .server-main p,
.home-page .server-status strong,
.home-page .server-status small,
.home-page .server-count,
.home-page .active-list small,
.home-page .active-list b,
.home-page .mini-panel li span,
.home-page .winner-lines small,
.home-page .winner-lines span,
.home-page .discord-mini li,
.home-page .discord-mini p,
.home-page .mock-panel-title p,
.home-page .mock-panel-title a,
.home-page .total-members,
.home-page .mock-footer p,
.home-page .mock-footer small,
.home-page .mock-footer a,
.home-page .mock-footer input,
.home-page .mock-footer button {
  font-size: 14px !important;
}

/* Two-slide premium hero controlled from Admin > Dizajn */
.home-page .gcs-hero-slider {
  position: relative;
  min-height: 518px;
  overflow: hidden;
  border: 1px solid rgba(0, 132, 255, .34);
  border-left: 0;
  border-right: 0;
  background: #020814;
  box-shadow: inset 0 -1px 0 rgba(0, 132, 255, .36);
}

.home-page .gcs-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 34vw);
  align-items: center;
  gap: 28px;
  padding: 30px clamp(20px, 3vw, 48px);
  opacity: 0;
  transform: translateX(22px);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
}

.home-page .gcs-hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.home-page .gcs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 16, .34), rgba(2, 7, 16, .94) 28%, rgba(2, 7, 16, .72) 58%, rgba(2, 7, 16, .92)),
    radial-gradient(circle at 48% 45%, color-mix(in srgb, var(--slide-accent) 22%, transparent), transparent 34%),
    var(--slide-bg) center/cover no-repeat;
  filter: saturate(1.12) contrast(1.06);
}

.home-page .gcs-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 14%, rgba(0, 132, 255, .14) 14.2% 14.5%, transparent 14.7%),
    radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--slide-accent) 24%, transparent), transparent 24%);
  opacity: .9;
}

.home-page .theme-orange .gcs-hero-bg {
  filter: hue-rotate(142deg) saturate(1.28) contrast(1.06);
}

.home-page .gcs-hero-content,
.home-page .gcs-prize-panel {
  position: relative;
  z-index: 1;
}

.home-page .gcs-hero-content {
  max-width: 930px;
  justify-self: center;
  text-align: center;
  padding-left: clamp(90px, 15vw, 250px);
}

.home-page .gcs-game-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: .04em;
  text-shadow: 0 3px 14px #000;
}

.home-page .gcs-game-label span {
  color: #fff;
  font-size: .86em;
}

.home-page .gcs-hero-slide h1 {
  margin: 14px 0 2px;
  color: #f4f8ff;
  font-family: var(--font-ui);
  font-size: clamp(78px, 9.8vw, 150px);
  line-height: .78;
  font-style: italic;
  font-weight: 700 !important;
  letter-spacing: .01em;
  text-shadow: 0 5px 22px rgba(0, 0, 0, .72);
}

.home-page .gcs-hero-slide h1 span,
.home-page .gcs-hero-slide h2 b {
  color: var(--slide-accent);
}

.home-page .gcs-hero-slide h2 {
  margin: 8px 0 16px;
  color: #f4f4f4;
  font-family: var(--font-ui);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: .95;
  font-style: italic;
  font-weight: 650 !important;
  letter-spacing: .02em;
  text-shadow: 0 3px 14px #000;
}

.home-page .gcs-hero-slide p {
  max-width: 660px;
  margin: 0 auto 22px;
  color: #e4e9f2;
  font-family: var(--font-ui);
  font-size: 23px !important;
  line-height: 1.22;
  letter-spacing: .04em;
}

.home-page .gcs-feature-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 22px auto 24px;
  max-width: 1010px;
}

.home-page .gcs-feature-chip {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon top" "icon bottom";
  align-content: center;
  gap: 0 10px;
  padding: 10px 14px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%, 0 10px);
  border: 1px solid color-mix(in srgb, var(--slide-accent) 70%, transparent);
  background: rgba(1, 8, 18, .66);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  text-align: left;
}

.home-page .gcs-feature-chip span {
  grid-area: icon;
  align-self: center;
  color: var(--slide-accent);
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--slide-accent) 70%, transparent));
}

.home-page .gcs-feature-chip strong,
.home-page .gcs-feature-chip small {
  font-family: var(--font-ui);
  font-size: 17px !important;
  line-height: 1.05;
  letter-spacing: .04em;
}

.home-page .gcs-feature-chip strong {
  grid-area: top;
  color: #fff;
  font-weight: 650 !important;
}

.home-page .gcs-feature-chip small {
  grid-area: bottom;
  color: #d6dfeb;
}

.home-page .gcs-hero-actions {
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(260px, 380px);
  justify-content: center;
  gap: 18px;
}

.home-page .gcs-primary-cta,
.home-page .gcs-discord-cta {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%, 0 12px);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--slide-accent) 78%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--slide-accent) 86%, #ffffff 8%), color-mix(in srgb, var(--slide-accent) 74%, #001b3d 26%));
  font-family: var(--font-ui);
  font-size: 27px !important;
  font-weight: 650 !important;
  font-style: italic;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.home-page .gcs-primary-cta i {
  margin-left: 12px;
  font-size: 30px;
  font-style: normal;
}

.home-page .gcs-discord-cta {
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, .5);
}

.home-page .gcs-discord-cta img {
  width: 34px;
  height: 34px;
}

.home-page .gcs-discord-cta span {
  width: 100%;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-style: normal;
}

.home-page .gcs-discord-cta strong {
  color: var(--slide-accent);
  font-size: 20px;
  line-height: 1;
}

.home-page .gcs-prize-panel {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px 26px;
  clip-path: polygon(36px 0, 100% 0, calc(100% - 18px) 100%, 0 100%, 0 36px);
  border: 1px solid color-mix(in srgb, var(--slide-accent) 74%, transparent);
  background:
    radial-gradient(circle at 80% 42%, color-mix(in srgb, var(--slide-accent) 18%, transparent), transparent 34%),
    rgba(0, 3, 10, .72);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .42), 0 0 28px color-mix(in srgb, var(--slide-accent) 18%, transparent);
}

.home-page .gcs-prize-title {
  color: #fff;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 32px;
  line-height: .96;
  font-style: italic;
  font-weight: 650 !important;
}

.home-page .gcs-prize-title span,
.home-page .gcs-prize-main {
  color: var(--slide-accent);
}

.home-page .gcs-prize-main {
  font-family: var(--font-ui);
  font-size: clamp(88px, 8vw, 138px);
  line-height: .78;
  font-style: italic;
  font-weight: 700 !important;
  text-shadow: 0 0 28px color-mix(in srgb, var(--slide-accent) 40%, transparent);
}

.home-page .gcs-prize-panel img {
  width: min(250px, 52%);
  margin: -68px -190px 10px 0;
  filter: drop-shadow(0 0 24px color-mix(in srgb, var(--slide-accent) 60%, transparent));
}

.home-page .gcs-prize-places {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.home-page .gcs-prize-places div {
  min-height: 70px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 173, 35, .34), rgba(73, 32, 0, .64));
  border: 1px solid rgba(255, 178, 55, .3);
}

.home-page .gcs-prize-places div:nth-child(2) {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(34,39,47,.72));
  border-color: rgba(255,255,255,.18);
}

.home-page .gcs-prize-places small {
  color: #fff5d5;
  font-size: 15px !important;
  font-weight: 650 !important;
  font-style: italic;
}

.home-page .gcs-prize-places strong {
  color: #ffd15a;
  font-size: 32px;
  line-height: .9;
}

.home-page .gcs-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.home-page .gcs-slider-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.25);
  cursor: pointer;
}

.home-page .gcs-slider-dots button.active {
  background: var(--blue);
}

.design-fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(32, 184, 255, .22);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}

.design-fieldset legend {
  padding: 0 8px;
  color: #fff;
  font-size: 20px;
}

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

.design-grid label:nth-child(4),
.design-grid label:nth-child(11),
.design-grid label:nth-child(n+12) {
  grid-column: span 2;
}

.seo-admin-form > fieldset,
.seo-admin-actions {
  grid-column: 1 / -1;
}

.seo-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.seo-page-grid {
  display: grid;
  gap: 12px;
}

.seo-page-row {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(220px, 1fr) minmax(280px, 1.35fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.16);
}

.seo-page-label {
  display: grid;
  gap: 5px;
  padding-top: 6px;
}

.seo-page-label b {
  color: #fff;
  font-size: 14px;
}

.seo-page-label small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  word-break: break-all;
}

@media (max-width: 1180px) {
  .home-page .gcs-hero-slide {
    grid-template-columns: 1fr;
    min-height: 760px;
  }

  .home-page .gcs-hero-content {
    padding-left: 0;
  }

  .home-page .gcs-prize-panel {
    width: min(100%, 560px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .home-page .gcs-hero-slider {
    min-height: 850px;
  }

  .home-page .gcs-hero-slide {
    padding: 26px 14px 44px;
  }

  .home-page .gcs-feature-row,
  .home-page .gcs-prize-places,
  .design-grid {
    grid-template-columns: 1fr;
  }

  .seo-page-row {
    grid-template-columns: 1fr;
  }

  .home-page .gcs-hero-actions {
    grid-template-columns: 1fr;
  }

  .home-page .gcs-hero-slide h1 {
    font-size: 68px;
  }

  .home-page .gcs-hero-slide p {
    font-size: 18px !important;
  }

  .design-grid label:nth-child(4),
  .design-grid label:nth-child(11),
  .design-grid label:nth-child(n+12) {
    grid-column: span 1;
  }
}

/* Final slider fit override */
@media (min-width: 1181px) {
  .home-page .gcs-hero-slider {
    min-height: 610px !important;
  }

  .home-page .gcs-hero-slide {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 31vw) !important;
    gap: 16px !important;
    padding-block: 26px 46px !important;
  }

  .home-page .gcs-hero-content {
    max-width: 840px !important;
    padding-left: clamp(110px, 12vw, 190px) !important;
  }

  .home-page .gcs-hero-slide h1 {
    font-size: clamp(78px, 7.2vw, 118px) !important;
  }

  .home-page .gcs-hero-slide h2 {
    font-size: clamp(30px, 2.6vw, 40px) !important;
  }

  .home-page .gcs-hero-slide p {
    max-width: 620px !important;
    font-size: 21px !important;
  }

  .home-page .gcs-feature-row {
    max-width: 810px !important;
    gap: 8px !important;
  }

  .home-page .gcs-feature-chip {
    min-height: 64px !important;
    padding: 9px 10px !important;
  }

  .home-page .gcs-feature-chip span {
    font-size: 24px !important;
  }

  .home-page .gcs-feature-chip strong,
  .home-page .gcs-feature-chip small {
    font-size: 15px !important;
  }

  .home-page .gcs-prize-panel {
    min-height: 330px !important;
    padding: 22px !important;
  }

  .home-page .gcs-prize-main {
    font-size: clamp(88px, 6.8vw, 118px) !important;
  }

  .home-page .gcs-prize-panel img {
    width: min(230px, 50%) !important;
    margin: -58px -155px 10px 0 !important;
  }
}

@media (max-width: 760px) {
  .gather-view-header,
  .gather-view-teams,
  .gather-view-score {
    grid-template-columns: 1fr;
  }
  .gather-view-score {
    width: 100%;
  }
  .score-head,
  .score-row {
    grid-template-columns: minmax(0, 1fr) 38px 38px 48px;
  }
  .score-player i {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

.home-page .server-main p {
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.home-page .server-live-row {
  gap: 10px;
  margin: 9px 0;
}

.home-page .live-pill {
  min-height: 30px !important;
  padding: 6px 11px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.home-page .server-main h3 {
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
}

.home-page .server-status strong {
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.home-page .server-status a,
.home-page .server-status a.gather-select-link,
.home-page .server-status a.open-gather-link {
  font-size: 12px !important;
}

.server-status em.active-gather-lamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.server-status em.active-gather-lamp::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #3cff7f;
  box-shadow: 0 0 14px rgba(60, 255, 127, .95);
  animation: gatherLampBlink 1s ease-in-out infinite;
}

@keyframes gatherLampBlink {
  0%, 100% {
    opacity: .35;
    transform: scale(.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.gather-view-map-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.gather-view-map-card small {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(2, 8, 18, .72);
}

.gather-view-map-card strong {
  display: none;
}

.gather-view-map {
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.admin-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-health-card {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(7, 14, 28, .72);
}

.admin-health-card.ok {
  border-color: rgba(60, 255, 127, .34);
}

.admin-health-card.warn {
  border-color: rgba(255, 91, 91, .38);
}

.admin-health-card strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.admin-health-card small,
.admin-health-card p {
  color: rgba(230, 240, 255, .68);
}

.admin-health-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-health-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin: 18px 0;
}

.admin-console-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.admin-console-form input {
  min-width: 0;
}

@media (max-width: 800px) {
  .admin-health-grid,
  .admin-health-tools,
  .admin-console-form {
    grid-template-columns: 1fr;
  }
}

/* Global footer: use the homepage footer style everywhere. */
.site-footer {
  width: calc(100% - 40px) !important;
  max-width: none !important;
  display: grid !important;
  justify-content: initial !important;
  gap: 34px !important;
  margin: 0 auto 24px !important;
  color: var(--muted) !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.mock-footer {
  grid-template-columns: 1.28fr .7fr .7fr .78fr 1.4fr !important;
  gap: 28px !important;
  padding: 20px 14px !important;
  border-radius: 6px 6px 0 0 !important;
  font-family: var(--font-ui) !important;
  font-weight: 400 !important;
}

.mock-footer > div,
.footer-brand {
  display: grid !important;
  align-content: start !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.footer-brand {
  grid-template-columns: 1fr !important;
}

.footer-logo-img {
  width: 200px !important;
  height: auto !important;
}

.mock-footer strong {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.mock-footer a,
.mock-footer p,
.mock-footer small,
.mock-footer input,
.mock-footer button {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.footer-brand-text {
  display: grid !important;
  align-content: start !important;
  gap: 3px !important;
}

.footer-brand small {
  display: block !important;
  color: #9fafc6 !important;
  font-size: 12px !important;
}

.footer-brand p {
  margin: 0 !important;
  color: #9fafc6 !important;
  font-size: 12px !important;
  max-width: 360px !important;
}

.mock-footer form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.mock-footer input {
  min-height: initial !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 14px !important;
  border-radius: 4px 0 0 4px !important;
}

.mock-footer button {
  min-height: initial !important;
  padding: 0 18px !important;
  border-radius: 0 4px 4px 0 !important;
  white-space: nowrap !important;
}

.mock-footer > div:last-child {
  min-width: 230px !important;
}

.mock-footer > div:last-child p {
  max-width: 320px !important;
}

@media (max-width: 980px) {
  .mock-footer {
    grid-template-columns: 1fr 1fr !important;
  }

  .mock-footer > div:last-child {
    min-width: 0 !important;
  }
}

@media (max-width: 760px) {
  .site-footer {
    width: calc(100% - 40px) !important;
  }

  .mock-footer {
    grid-template-columns: 1fr !important;
  }

  .mock-footer form {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .mock-footer input,
  .mock-footer button {
    border-radius: 4px !important;
  }

  .contact-layout,
  .ban-list-row,
  .faq-item,
  .admin-stats-grid,
  .profile-progress-meta {
    grid-template-columns: 1fr;
  }

  .admin-stats-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-kpis-pro {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid > .stats-card,
  .admin-stats-grid > .stats-card.wide {
    grid-column: 1 / -1;
  }

  .ban-list-head {
    display: none;
  }
}

/* Forum */
.home-page .bottom-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.home-page .why-list li b,
.home-page .why-list li span,
.home-page .discord-mini p,
.home-page .discord-mini li,
.home-page .discord-live b,
.home-page .forum-comment-line small,
.home-page .forum-comment-line em {
  font-size: 14px !important;
}

.forum-mini {
  align-content: start;
}

.forum-comment-list {
  display: grid;
  gap: 9px;
}

.forum-comment-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 10px;
  border: 1px solid rgba(31, 148, 255, .2);
  border-radius: 6px;
  background: rgba(0, 0, 0, .2);
  color: inherit;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.forum-comment-line:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 148, 255, .52);
  background: rgba(31, 148, 255, .1);
}

.forum-comment-line span {
  color: #1894ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-comment-line b {
  color: #fff;
  font-size: 13px;
  text-align: right;
}

.forum-comment-line small {
  grid-column: 1 / -1;
  color: #c2d4e9;
  line-height: 1.35;
}

.forum-comment-line em {
  grid-column: 1 / -1;
  color: #7f91a8;
  font-style: normal;
}

.forum-page main {
  padding-top: 22px;
}

.forum-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 12, 25, .94), rgba(4, 18, 34, .76)),
    url('../images/banners/gathercs-com-banner.png?v=20260605') center 36% / cover no-repeat;
}

.forum-hero h1 {
  margin-bottom: 8px;
}

.forum-hero-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(32, 184, 255, .42);
  border-radius: 8px;
  background: rgba(0, 0, 0, .45);
  box-shadow: inset 0 0 24px rgba(31, 148, 255, .16);
  text-align: center;
}

.forum-hero-card strong {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 58px;
  line-height: .9;
}

.forum-hero-card span {
  color: #9fb3ca;
  font-size: 14px;
  text-transform: uppercase;
}

.forum-focus-strip {
  width: min(var(--container), calc(100% - 28px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 18px;
}

.forum-focus-strip a {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(32,184,255,.2);
  border-radius: 8px;
  color: #dff3ff;
  background:
    linear-gradient(135deg, rgba(32,184,255,.11), rgba(255,155,31,.055)),
    rgba(5,14,29,.72);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.forum-focus-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(60,255,176,.42);
  background:
    linear-gradient(135deg, rgba(60,255,176,.12), rgba(32,184,255,.09)),
    rgba(5,14,29,.86);
}

.forum-focus-strip b {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.forum-focus-strip small {
  color: #9fb5cc;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.forum-main,
.forum-side,
.forum-section-list,
.forum-latest-list {
  display: grid;
  gap: 14px;
}

.forum-game-card {
  display: grid;
  gap: 18px;
  border-color: color-mix(in srgb, var(--forum-accent) 46%, rgba(255,255,255,.08));
}

.forum-game-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.forum-game-head img {
  width: 58px;
  height: 58px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--forum-accent) 54%, transparent);
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
}

.forum-game-head h2,
.forum-latest-card h2,
.forum-rules-card h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-style: italic;
}

.forum-game-head p,
.forum-rules-card p {
  margin: 4px 0 0;
  color: #9fb0c4;
  font-size: 14px;
}

.forum-section-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px;
  background: rgba(0,0,0,.18);
  color: inherit;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.forum-section-row:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--forum-accent) 62%, rgba(255,255,255,.08));
  background: color-mix(in srgb, var(--forum-accent) 13%, rgba(0,0,0,.22));
}

.forum-section-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: color-mix(in srgb, var(--forum-accent) 18%, rgba(0,0,0,.42));
  color: var(--forum-accent);
  font-size: 22px;
  font-weight: 900;
}

.forum-section-icon.has-game-icon {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--forum-accent) 28%, transparent), transparent 62%),
    rgba(0,0,0,.36);
}

.forum-section-icon.has-game-icon img {
  width: 27px;
  height: 27px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--forum-accent) 54%, transparent));
}

.forum-form-game {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(31,148,255,.26);
  border-radius: 999px;
  background: rgba(31,148,255,.08);
  color: #d9ecff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-form-game img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.forum-section-row h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.forum-section-row p {
  margin: 2px 0 0;
  color: #c9d7e8;
  font-size: 14px;
}

.forum-section-row small {
  display: block;
  margin-top: 4px;
  color: #8799ae;
  font-size: 12px;
}

.forum-section-row strong {
  color: #fff;
  font-size: 22px;
  text-align: right;
}

.forum-section-row strong small {
  margin: 0;
  color: #8ea0b6;
  font-size: 14px;
  text-transform: uppercase;
}

.forum-latest-card,
.forum-rules-card {
  position: sticky;
  top: 90px;
}

.forum-rules-card {
  position: static;
}

.forum-latest-list article {
  padding: 12px;
  border: 1px solid rgba(31, 148, 255, .2);
  border-radius: 7px;
  background: rgba(0,0,0,.18);
}

.forum-latest-list a {
  display: block;
  padding: 12px;
  border: 1px solid rgba(31, 148, 255, .2);
  border-radius: 7px;
  background: rgba(0,0,0,.18);
  color: inherit;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.forum-latest-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 148, 255, .52);
  background: rgba(31, 148, 255, .1);
}

.forum-latest-list span {
  color: #1894ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-latest-list h3 {
  margin: 4px 0;
  color: #fff;
  font-size: 17px;
}

.forum-latest-list p {
  margin: 0 0 8px;
  color: #c2d0e2;
  font-size: 14px;
}

.forum-latest-list small {
  color: #8799ae;
  font-size: 12px;
}

.forum-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8799ae;
  font-size: 14px;
}

.forum-breadcrumb a,
.forum-breadcrumb strong {
  color: #5eb1ff;
}

.forum-topic-list,
.forum-replies {
  display: grid;
  gap: 12px;
}

.forum-topic-list-card {
  display: grid;
  gap: 18px;
}

.forum-topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: rgba(0,0,0,.18);
  color: inherit;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.forum-topic-row:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--forum-accent, #1f7fff) 62%, rgba(255,255,255,.08));
  background: color-mix(in srgb, var(--forum-accent, #1f7fff) 12%, rgba(0,0,0,.22));
}

.forum-topic-row h3 {
  margin: 0;
  color: #fff;
  font-size: 19px;
}

.forum-topic-row p {
  margin: 4px 0;
  color: #b9c8dc;
  font-size: 14px;
}

.forum-topic-row small {
  color: #8799ae;
  font-size: 12px;
}

.forum-topic-row strong {
  color: #fff;
  font-size: 24px;
  text-align: right;
}

.forum-topic-row strong small {
  display: block;
  font-size: 14px;
  color: #8fa2b8;
  text-transform: uppercase;
}

.forum-empty {
  padding: 16px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 7px;
  color: #9fb0c4;
  background: rgba(0,0,0,.16);
}

.forum-topic-post,
.forum-reply {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
}

.forum-post-author {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 7px;
  padding-right: 18px;
  border-right: 1px solid rgba(31, 148, 255, .22);
  text-align: center;
}

.forum-post-author img {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(31,148,255,.38);
  border-radius: 10px;
  object-fit: cover;
  background: rgba(0,0,0,.24);
}

.forum-post-author b,
.forum-post-author a {
  color: #fff;
  font-size: 15px;
}

.forum-post-author a:hover {
  color: #5eb1ff;
}

.forum-post-author small {
  color: #8fa2b8;
  font-size: 12px;
}

.forum-author-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
}

.forum-author-badges span {
  padding: 4px 7px;
  border: 1px solid rgba(31,148,255,.24);
  border-radius: 999px;
  background: rgba(31,148,255,.08);
  color: #b8cbe3;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.forum-author-badges .is-verified {
  border-color: rgba(50, 226, 115, .42);
  background: rgba(50, 226, 115, .12);
  color: #6dff9b;
}

.forum-author-badges .is-muted {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #9aa8ba;
}

.forum-author-badges .achievement-badge {
  min-height: 22px;
  padding: 4px 7px;
  font-size: 10px;
  box-shadow: none;
}

.forum-author-badges .achievement-badge-icon {
  width: 11px;
  height: 11px;
  flex-basis: 11px;
}

.forum-author-badges .achievement-badge.badge-tenure,
.forum-author-badges .achievement-badge.badge-new {
  border-color: rgba(32,184,255,.42);
  color: #83dcff;
  background: linear-gradient(135deg, rgba(32,184,255,.18), rgba(4,18,36,.88));
}

.forum-author-badges .achievement-badge.badge-matches {
  border-color: rgba(255,155,31,.5);
  color: #ffc56f;
  background: linear-gradient(135deg, rgba(255,155,31,.18), rgba(39,20,3,.88));
}

.forum-author-badges .achievement-badge.badge-reward {
  border-color: rgba(255,213,79,.65);
  color: #ffe58a;
  background: linear-gradient(135deg, rgba(255,213,79,.2), rgba(54,37,0,.9));
}

.forum-author-badges .achievement-badge.badge-elo {
  border-color: rgba(60,255,176,.52);
  color: #70ffc4;
  background: linear-gradient(135deg, rgba(60,255,176,.18), rgba(3,34,24,.88));
}

.forum-author-badges .achievement-badge.badge-wins {
  border-color: rgba(86,137,255,.52);
  color: #a9c4ff;
  background: linear-gradient(135deg, rgba(86,137,255,.18), rgba(5,16,45,.88));
}

.forum-author-badges .achievement-badge.badge-kills,
.forum-author-badges .achievement-badge.badge-kd {
  border-color: rgba(255,74,95,.56);
  color: #ff9daa;
  background: linear-gradient(135deg, rgba(255,74,95,.18), rgba(43,5,13,.9));
}

.forum-author-badges .achievement-badge.badge-invite {
  border-color: rgba(196,125,255,.52);
  color: #dcb6ff;
  background: linear-gradient(135deg, rgba(196,125,255,.18), rgba(28,7,48,.9));
}

.forum-post-body h2 {
  margin: 4px 0 10px;
  color: #fff;
  font-size: 25px;
}

.forum-post-body p {
  margin: 0;
  color: #d3dfef;
  font-size: 15px;
  line-height: 1.55;
}

.forum-topic-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.forum-topic-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(31,148,255,.24);
  border-radius: 999px;
  color: #aecaeb;
  font-size: 12px;
  background: rgba(31,148,255,.08);
}

.forum-form-card {
  display: grid;
  gap: 12px;
}

.forum-form-card h2 {
  margin: 0;
  color: #fff;
  font-size: 23px;
}

.forum-form-card form {
  display: grid;
  gap: 10px;
}

.forum-form-card input,
.forum-form-card textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(61,163,255,.34);
  border-radius: 6px;
  background: rgba(0,0,0,.22);
  color: #fff;
  padding: 11px 12px;
  font: inherit;
  outline: none;
}

.forum-form-card textarea {
  resize: vertical;
  line-height: 1.45;
}

.forum-form-card input:focus,
.forum-form-card textarea:focus {
  border-color: rgba(33,163,255,.82);
  box-shadow: 0 0 0 3px rgba(33,163,255,.12);
}

.forum-lock-note {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,179,64,.28);
  border-radius: 6px;
  background: rgba(255,179,64,.09);
  color: #ffd79a;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .forum-layout,
  .forum-hero {
    grid-template-columns: 1fr;
  }

  .forum-focus-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-latest-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .forum-focus-strip {
    grid-template-columns: 1fr;
  }

  .home-page .bottom-cards {
    grid-template-columns: 1fr !important;
  }

  .forum-section-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .forum-topic-row,
  .forum-topic-post,
  .forum-reply {
    grid-template-columns: 1fr;
  }

  .forum-post-author {
    justify-items: start;
    grid-template-columns: 58px minmax(0, 1fr);
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 148, 255, .22);
    text-align: left;
  }

  .forum-post-author img {
    grid-row: span 2;
    width: 58px;
    height: 58px;
  }

  .forum-author-badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .forum-section-row strong {
    grid-column: 2;
    text-align: left;
  }
}

/* Homepage mini boxes final layout */
.home-page .bottom-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.home-page .bottom-cards > .mini-panel:nth-child(1) {
  order: 1;
}

.home-page .bottom-cards > .leaderboard-panel {
  order: 2;
}

.home-page .bottom-cards > .discord-mini {
  order: 3;
}

.home-page .bottom-cards > .forum-mini {
  order: 4;
}

.home-page .bottom-cards .mini-panel :where(p, li, span, b, small, em, a, strong, button) {
  font-size: 14px !important;
}

.home-page .bottom-cards .mini-panel h3 {
  font-size: 18px !important;
}

@media (max-width: 760px) {
  .home-page .bottom-cards {
    grid-template-columns: 1fr !important;
  }
}

/* Homepage four-card row */
.home-page .left-col > .bottom-cards:not(.home-four-boxes) {
  display: none !important;
}

.home-page .home-four-boxes {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

.home-page .home-four-boxes > .mini-panel {
  min-height: 260px !important;
  padding: 16px !important;
}

.home-page .home-four-boxes > .mini-panel:nth-child(1) {
  order: 1 !important;
}

.home-page .home-four-boxes > .discord-mini {
  order: 2 !important;
}

.home-page .home-four-boxes > .home-prize-mini {
  order: 4 !important;
}

.home-page .home-four-boxes > .forum-mini {
  order: 3 !important;
}

.home-page .home-four-boxes .mini-panel :where(p, li, span, b, small, em, a, strong, button) {
  font-size: 14px !important;
}

.home-page .home-four-boxes .mini-panel h3 {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  font-size: 18px !important;
  line-height: 1.05;
}

.home-page .home-four-boxes .mini-panel h3 img {
  width: 18px;
  height: 18px;
}

.home-page .home-prize-mini {
  min-height: 260px !important;
}

.home-page .home-prize-mini > strong {
  display: block;
  margin-top: 4px;
  color: #118dff;
  font-size: 46px !important;
  font-style: italic;
  line-height: .9;
}

.home-page .home-prize-mini > span {
  display: block;
  margin-top: 4px;
  color: #0e8cff;
  font-size: 14px !important;
  font-style: italic;
  font-weight: 800 !important;
}

.home-page .home-prize-mini .podium {
  gap: 10px !important;
  margin: 16px 0 10px !important;
}

.home-page .home-prize-mini .podium em {
  width: 52px !important;
  height: 52px !important;
  font-size: 20px !important;
}

.home-page .home-prize-mini .podium em.gold {
  width: 64px !important;
  height: 64px !important;
}

.home-page .home-prize-mini .podium em img {
  width: 32px !important;
  height: 32px !important;
}

.home-page .home-prize-mini .podium em.gold img {
  width: 40px !important;
  height: 40px !important;
}

.home-page .home-prize-mini .podium em span {
  font-size: 20px !important;
}

.home-page .home-prize-mini .podium small {
  font-size: 13px !important;
}

.home-page .home-four-boxes .outline-link,
.home-page .home-four-boxes .btn.small {
  min-height: 34px !important;
  margin-top: 10px !important;
  font-size: 14px !important;
}

@media (max-width: 1180px) {
  .home-page .home-four-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .home-page .home-four-boxes {
    grid-template-columns: 1fr !important;
  }
}

/* Homepage four-card polish */
.home-page .home-four-boxes {
  align-items: stretch !important;
}

.home-page .home-four-boxes > .mini-panel {
  min-height: 304px !important;
  display: flex !important;
  flex-direction: column !important;
}

.home-page .home-four-boxes .why-list,
.home-page .home-four-boxes .discord-list,
.home-page .home-four-boxes .forum-comment-list {
  flex: 1 1 auto;
}

.home-page .home-four-boxes .outline-link,
.home-page .home-four-boxes .btn.small {
  margin-top: auto !important;
}

.home-page .home-prize-mini {
  justify-content: flex-start !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 198, 64, .18), transparent 28%),
    radial-gradient(circle at 50% 82%, rgba(0,119,255,.18), transparent 36%),
    rgba(4,18,32,.84) !important;
}

.home-page .home-prize-mini h3 {
  justify-content: center;
  text-align: center;
}

.home-page .home-prize-mini > strong {
  margin-top: 8px !important;
  font-size: 62px !important;
  text-shadow: 0 0 22px rgba(17, 141, 255, .42);
}

.home-page .home-prize-mini > span {
  margin-top: 2px !important;
  color: #6fc2ff !important;
  letter-spacing: .04em;
}

.home-page .home-prize-mini .podium {
  flex: 1 1 auto;
  align-items: center !important;
  gap: 12px !important;
  margin: 14px 0 12px !important;
}

.home-page .home-prize-mini .podium em {
  width: 62px !important;
  height: 62px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.28), inset 0 0 18px rgba(255,255,255,.12);
}

.home-page .home-prize-mini .podium em.gold {
  width: 76px !important;
  height: 76px !important;
}

.home-page .home-prize-mini .podium em img {
  width: 38px !important;
  height: 38px !important;
}

.home-page .home-prize-mini .podium em.gold img {
  width: 48px !important;
  height: 48px !important;
}

.home-page .home-prize-mini .podium em span {
  font-size: 22px !important;
}

.home-page .home-prize-mini .podium small {
  font-size: 14px !important;
}

.home-page .home-four-boxes .forum-comment-list {
  gap: 8px !important;
}

.home-page .home-four-boxes .forum-comment-line {
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 9px 10px !important;
}

.home-page .home-four-boxes .forum-comment-line b {
  grid-column: 1;
  grid-row: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .home-four-boxes .forum-comment-line span {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: #7dbfff;
  font-size: 12px !important;
  text-align: right;
  white-space: nowrap;
  text-transform: none;
}

.home-page .home-four-boxes .forum-comment-line small {
  grid-column: 1 / -1;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d6e5f5;
}

.home-page .home-four-boxes .forum-comment-line em {
  grid-column: 1 / -1;
  font-size: 12px !important;
}

/* Homepage boxed row container + prize redesign */
.home-page main,
.home-page .site-footer {
  width: min(1320px, calc(100% - 40px)) !important;
  max-width: 1320px !important;
}

.home-page .home-four-boxes {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.home-page .home-four-boxes > .mini-panel {
  min-height: 318px !important;
  padding: 18px !important;
}

.home-page .home-four-boxes .mini-panel :where(p, li, span, b, small, em, a, button) {
  font-size: 14px !important;
}

.home-page .home-four-boxes .mini-panel h3 {
  font-size: 18px !important;
}

.home-page .home-four-boxes > .forum-mini {
  order: 3 !important;
}

.home-page .home-four-boxes > .home-prize-mini {
  order: 4 !important;
}

.home-page .home-prize-mini {
  position: relative;
  border-color: rgba(255, 191, 74, .38) !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 213, 89, .22), transparent 30%),
    linear-gradient(160deg, rgba(50, 28, 6, .62), rgba(4, 18, 32, .88) 48%, rgba(3, 12, 24, .92)) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.26), inset 0 0 28px rgba(255, 184, 64, .08) !important;
}

.home-page .home-prize-mini::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 204, 89, .18);
  border-radius: 6px;
  pointer-events: none;
}

.home-page .home-prize-mini h3 {
  justify-content: flex-start !important;
  color: #fff6d8 !important;
}

.home-page .home-prize-total {
  position: relative;
  display: grid;
  place-items: center;
  gap: 2px;
  margin: 6px 0 12px;
  padding: 14px 10px 12px;
  border: 1px solid rgba(255, 203, 87, .24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 187, 45, .12), rgba(0,0,0,.18));
}

.home-page .home-prize-total span,
.home-page .home-prize-total small {
  color: #f5c96d;
  font-size: 14px !important;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.home-page .home-prize-total .home-prize-amount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 260px);
  min-height: 92px;
  padding: 10px 18px 14px;
  color: #fff;
  font-size: 0 !important;
  line-height: .82;
  font-style: italic;
  text-shadow: 0 0 24px rgba(255, 184, 64, .86), 0 3px 0 rgba(0,0,0,.48);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .24), transparent 28%),
    linear-gradient(180deg, rgba(255, 213, 77, .38), rgba(255, 124, 26, .14));
  border: 2px solid rgba(255, 226, 116, .68);
  border-radius: 10px;
  box-shadow: inset 0 0 26px rgba(255, 203, 87, .22), 0 18px 38px rgba(0,0,0,.34), 0 0 38px rgba(255, 174, 46, .28);
}

.home-page .home-prize-total .home-prize-amount span {
  color: #fff;
  font-size: 92px !important;
  font-weight: 950;
  letter-spacing: 0;
  line-height: .78;
}

.home-page .home-prize-total .home-prize-amount em {
  color: #ffd86a;
  font-size: 28px !important;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
  text-shadow: 0 0 12px rgba(255, 184, 64, .5);
}

.home-page .home-prize-total p {
  max-width: 260px;
  margin: 6px auto 0;
  color: rgba(255,255,255,.82);
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.home-page .home-prize-places {
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
}

.home-page .home-prize-places span {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: rgba(0,0,0,.22);
}

.home-page .home-prize-places b {
  color: #d8e8fb;
  font-size: 14px !important;
  text-transform: uppercase;
}

.home-page .home-prize-places strong {
  color: #fff;
  font-size: 18px !important;
}

.home-page .home-prize-places .first {
  border-color: rgba(255, 206, 88, .42);
  background: rgba(255, 177, 35, .12);
}

.home-page .home-prize-places .second {
  border-color: rgba(204, 220, 238, .28);
}

.home-page .home-prize-places .third {
  border-color: rgba(255, 137, 66, .32);
}

@media (max-width: 1180px) {
  .home-page .home-four-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .home-page main,
  .home-page .site-footer {
    width: min(100% - 18px, 560px) !important;
  }

  .home-page .home-four-boxes {
    grid-template-columns: 1fr !important;
  }
}

/* Shared GatherCS banner image for every page-level banner/hero area. */
.page-hero,
.dashboard-hero,
.player-profile-hero {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(32, 184, 255, .32) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(90deg, rgba(2, 7, 16, .88) 0%, rgba(2, 10, 22, .66) 46%, rgba(2, 10, 22, .28) 100%),
    url("../images/banners/gathercs-com-banner.png?v=20260605") center 42% / cover no-repeat !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34), inset 0 0 84px rgba(0, 119, 255, .18) !important;
}

.page-hero > *,
.dashboard-hero > *,
.player-profile-hero > * {
  position: relative;
  z-index: 1;
}

.dashboard-hero.admin {
  background:
    linear-gradient(90deg, rgba(2, 7, 16, .9) 0%, rgba(2, 10, 22, .68) 48%, rgba(2, 10, 22, .24) 100%),
    url("../images/banners/gathercs-com-banner.png?v=20260605") center 42% / cover no-repeat !important;
}

.player-profile-hero {
  background:
    linear-gradient(90deg, rgba(2, 7, 16, .9) 0%, rgba(2, 10, 22, .62) 52%, rgba(2, 10, 22, .28) 100%),
    url("../images/banners/gathercs-com-banner.png?v=20260605") center 42% / cover no-repeat !important;
}

.player-profile-hero,
.user-dashboard-page .dashboard-hero.dashboard-hero-compact {
  background-position: center calc(42% + 42px) !important;
}

@media (max-width: 760px) {
  .page-hero,
  .dashboard-hero,
  .player-profile-hero {
    background-position: 57% 42% !important;
  }

  .player-profile-hero,
  .user-dashboard-page .dashboard-hero.dashboard-hero-compact {
    background-position: 57% calc(42% + 28px) !important;
  }
}

/* Keep homepage aligned with the same desktop width as the rest of the site. */
@media (min-width: 861px) {
  .home-page main,
  .home-page .site-footer {
    width: calc(100% - 40px) !important;
    max-width: none !important;
  }
}

.main-nav,
.home-page .main-nav {
  gap: 8px !important;
  flex-wrap: wrap;
  font-size: 18px !important;
  line-height: 1 !important;
}

.main-nav a,
.home-page .main-nav a {
  position: relative !important;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 11px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #dcecff;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.main-nav a:first-child::after,
.home-page .main-nav a:first-child::after {
  display: none !important;
}

.main-nav a:hover,
.home-page .main-nav a:hover,
.main-nav a.active,
.home-page .main-nav a.active {
  color: #fff !important;
  border-color: rgba(32,184,255,.42);
  background: linear-gradient(180deg, rgba(32,184,255,.16), rgba(4,12,28,.44));
  box-shadow: inset 0 0 18px rgba(32,184,255,.08), 0 0 18px rgba(32,184,255,.12);
  transform: translateY(-1px);
}

.main-nav a.active::after,
.home-page .main-nav a.active::after {
  content: "";
  display: block !important;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  width: auto;
  transform: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #20b8ff, #3cffb0);
  box-shadow: 0 0 12px rgba(32,184,255,.72);
}

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

.news-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(32,184,255,.18), transparent 36%),
    linear-gradient(180deg, rgba(7,17,31,.92), rgba(5,10,20,.96));
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.news-card.has-news-image {
  grid-template-rows: auto auto auto 1fr auto;
}

.news-card.is-pinned {
  border-color: rgba(255, 177, 45, .56);
  box-shadow: 0 18px 44px rgba(0,0,0,.34), 0 0 26px rgba(255,177,45,.14);
}

.news-card.is-pinned .news-card-meta span {
  background: linear-gradient(135deg, #ffd56a, #ff9b1f);
  color: #1a1002;
}

.news-card-image {
  display: block;
  width: calc(100% + 40px);
  height: 170px;
  margin: -20px -20px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(32,184,255,.22);
  background: #030a14;
}

.news-card-image img,
.news-full-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(60,255,176,.38);
  box-shadow: 0 18px 44px rgba(0,0,0,.34), 0 0 22px rgba(32,184,255,.12);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-card-meta span,
.news-card-meta a.news-tag-pill,
.news-card-meta time {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card-meta span,
.news-card-meta a.news-tag-pill,
.news-static-tag {
  color: #06101c;
  padding: 5px 9px 3px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3cffb0, #20b8ff);
}

.news-card-meta a.news-tag-pill,
.news-tag-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease;
}

.news-card-meta a.news-tag-pill:hover,
.news-tag-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

.news-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-card-meta time {
  color: #93d7ff;
}

.news-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: .95;
  text-transform: uppercase;
}

.news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-card p,
.news-note p {
  color: #c8d8ea;
  font-size: 14px;
  line-height: 1.45;
}

.news-full-post {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin-inline: auto;
}

.news-full-post h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .92;
  text-transform: uppercase;
}

.news-full-image {
  max-height: 440px;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 8px;
}

.news-body {
  display: grid;
  gap: 12px;
  color: #d9e8f8;
  font-size: 18px;
  line-height: 1.65;
}

.news-body p {
  margin: 0;
}

.news-video-box,
.news-video-link {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at left top, rgba(32,184,255,.16), transparent 34%),
    rgba(3,11,24,.78);
}

.news-video-box span,
.news-video-link span {
  color: #3cffb0;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  background: #030a14;
  box-shadow: inset 0 0 50px rgba(32,184,255,.08);
}

.news-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-video-box a,
.news-video-link a {
  width: fit-content;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.news-video-box a:hover,
.news-video-link a:hover {
  color: #20b8ff;
}

.home-latest-news-panel {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 18px !important;
  padding: 16px !important;
  border-color: rgba(32, 184, 255, .34) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(32, 184, 255, .16), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(255, 177, 45, .12), transparent 34%),
    rgba(4,18,32,.86) !important;
}

.home-latest-news-panel .mock-panel-title {
  margin-bottom: 0 !important;
}

.home-latest-news-panel .mock-panel-title h2 {
  font-size: 18px !important;
}

.home-latest-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 184, 255, .22);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, .94), rgba(3, 10, 21, .96));
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 255, 176, .4);
  box-shadow: 0 14px 30px rgba(0,0,0,.26), 0 0 18px rgba(32,184,255,.12);
}

.home-news-card.is-pinned {
  border-color: rgba(255, 190, 64, .5);
  box-shadow: inset 0 0 22px rgba(255, 177, 45, .08);
}

.home-news-image {
  display: block;
  height: 142px;
  overflow: hidden;
  border-bottom: 1px solid rgba(32,184,255,.18);
  background: #030a14;
}

.home-news-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .22s ease;
}

.home-news-card:hover .home-news-image img {
  transform: scale(1.04);
}

.home-news-body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.home-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-news-meta span,
.home-news-meta time {
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1;
  text-transform: uppercase;
}

.home-news-meta span {
  max-width: 108px;
  overflow: hidden;
  padding: 5px 7px 3px;
  border-radius: 5px;
  color: #06101c;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(135deg, #3cffb0, #20b8ff);
}

.home-news-card.is-pinned .home-news-meta span {
  background: linear-gradient(135deg, #ffd56a, #ff9b1f);
}

.home-news-meta time {
  color: #8fcfff;
  white-space: nowrap;
}

.home-news-card h3 {
  min-height: 42px;
  margin: 0;
  color: #fff;
  font-size: 17px !important;
  line-height: 1.02;
  text-transform: uppercase;
}

.home-news-card h3 a,
.home-news-read {
  color: inherit;
  text-decoration: none;
}

.home-news-card p {
  min-height: 42px;
  margin: 0;
  color: #c5d7ea;
  font-size: 14px !important;
  line-height: 1.32;
}

.home-news-read {
  width: fit-content;
  color: #3cffb0;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.home-news-read:hover {
  color: #20b8ff;
}

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

  .home-news-image {
    height: 132px;
  }
}

@media (max-width: 620px) {
  .home-latest-news-grid {
    grid-template-columns: 1fr;
  }

  .home-news-card h3,
  .home-news-card p {
    min-height: 0;
  }
}

.news-source-box {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at right top, rgba(60,255,176,.12), transparent 34%),
    rgba(3,11,24,.72);
}

.news-source-box span {
  color: #3cffb0;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-source-box a {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.news-source-box a:hover {
  color: #20b8ff;
}

.news-source-box p {
  margin: 0;
  color: #a9bdd3;
  font-size: 15px;
  line-height: 1.45;
}

.news-comments {
  max-width: 1040px;
  margin: 18px auto 0;
  display: grid;
  gap: 18px;
}

.news-comments-head h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: .95;
  text-transform: uppercase;
}

.news-comment-form {
  display: grid;
  gap: 12px;
}

.news-comment-form label {
  display: grid;
  gap: 8px;
  color: #9fdcff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-comment-form textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 8px;
  padding: 14px;
  color: #eaf5ff;
  background: rgba(3,9,20,.9);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.news-login-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,177,45,.26);
  border-radius: 8px;
  background: rgba(255,177,45,.08);
}

.news-login-note p {
  margin: 0;
  color: #f8df9d;
  font-size: 14px;
}

.news-comment-list {
  display: grid;
  gap: 12px;
}

.news-comment {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background: rgba(5,14,28,.72);
}

.news-comment img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(32,184,255,.34);
}

.news-comment header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.news-comment header a {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.news-comment header a:hover {
  color: #20b8ff;
}

.news-comment time {
  color: #7f94ad;
  font-size: 13px;
  font-weight: 800;
}

.news-comment p {
  margin: 0;
  color: #d8e8f8;
  font-size: 14px;
  line-height: 1.5;
}

.tournament-coming-soon {
  min-height: min(74vh, 760px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(32,184,255,.36);
  border-radius: 8px;
  background: #041022;
  box-shadow: 0 30px 90px rgba(0,0,0,.42), inset 0 0 120px rgba(32,184,255,.14);
}

.tournament-coming-soon::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: url("../images/banners/tournament-coming-soon.png") center center / cover no-repeat;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.025);
}

.tournament-coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(32,184,255,.10), transparent 35%),
    linear-gradient(90deg, rgba(2,7,16,.78), rgba(2,8,18,.52), rgba(2,7,16,.76));
}

.tournament-coming-soon-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 34px));
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.tournament-coming-soon-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(82px, 15vw, 190px);
  line-height: .78;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(32,184,255,.72), 0 8px 0 rgba(0,0,0,.25);
}

.tournament-coming-soon-content p {
  max-width: 620px;
  margin: 0;
  color: #d9e9ff;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.15;
  text-transform: uppercase;
}

.tournament-coming-soon-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tournament-coming-soon-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px 5px;
  border: 1px solid rgba(32,184,255,.34);
  border-radius: 8px;
  color: #9fdcff;
  background: rgba(3,11,24,.72);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.tournament-info-grid {
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .main-nav,
  .home-page .main-nav {
    gap: 8px !important;
    font-size: 18px !important;
  }

  .main-nav a,
  .home-page .main-nav a {
    width: 100%;
    justify-content: center;
  }

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

  .news-comment {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .news-comment img {
    width: 42px;
    height: 42px;
  }

  .news-comment form {
    grid-column: 1 / -1;
  }

  .news-login-note {
    align-items: stretch;
    flex-direction: column;
  }

  .tournament-coming-soon {
    min-height: 520px;
  }
}

/* Gather room layout: keep player chat visible on the right. */
.gather-focus-panel.has-gather-chat {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
}

.gather-focus-panel.has-gather-chat > .gather-focus-hero {
  grid-column: 1 / -1;
}

.gather-focus-panel.has-gather-chat > .gather-chat-panel {
  grid-column: 2;
  grid-row: 2 / span 10;
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 116px);
  margin-top: 0;
}

.gather-focus-panel.has-gather-chat > .gather-chat-panel .gather-chat-feed {
  max-height: min(52vh, 520px);
}

.gather-focus-panel.has-gather-chat > :where(
  .gather-flow-steps,
  .gather-match-intel,
  .gather-match-overview,
  .server-access-modal,
  .gather-teams,
  .gather-live-score,
  .gather-vote-title,
  .map-vote-grid,
  .vote-activity,
  .selected-map-alert,
  .replacement-alert,
  .live-alert,
  .match-result-card,
  .gather-slots,
  .gather-test-actions
) {
  grid-column: 1;
}

.gather-focus-panel.has-gather-chat > p.muted {
  grid-column: 1;
}

@media (max-width: 1180px) {
  .gather-focus-panel.has-gather-chat {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  }

  .gather-focus-panel.has-gather-chat .gather-match-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gather-focus-panel.has-gather-chat {
    grid-template-columns: 1fr;
  }

  .gather-focus-panel.has-gather-chat > .gather-chat-panel,
  .gather-focus-panel.has-gather-chat > :where(
    .gather-flow-steps,
    .gather-match-intel,
    .gather-match-overview,
    .server-access-modal,
    .gather-teams,
    .gather-live-score,
    .gather-vote-title,
    .map-vote-grid,
    .vote-activity,
    .selected-map-alert,
    .replacement-alert,
    .live-alert,
    .match-result-card,
    .gather-slots,
    .gather-test-actions
  ),
  .gather-focus-panel.has-gather-chat > p.muted {
    grid-column: 1;
  }

  .gather-focus-panel.has-gather-chat > .gather-chat-panel {
    grid-row: auto;
    position: relative;
    top: auto;
    max-height: none;
  }

  .gather-focus-panel.has-gather-chat > .gather-chat-panel .gather-chat-feed {
    max-height: 300px;
  }
}

@media (max-width: 860px) {
  .gather-flow-steps {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .gather-flow-steps span {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }

  .gather-match-intel {
    grid-template-columns: 1fr;
  }
}

/* Site-wide beta notice */
.beta-notice {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 18px;
  background: linear-gradient(90deg, rgba(5, 14, 30, 0.98), rgba(13, 35, 64, 0.98), rgba(24, 12, 6, 0.98));
  border-bottom: 1px solid rgba(35, 148, 255, 0.45);
  color: #d9ebff;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 80;
}

.beta-notice strong {
  color: #ff9b1f;
  font-size: 15px;
  font-weight: 800;
}

.beta-notice span {
  color: rgba(226, 238, 255, 0.82);
  font-weight: 600;
}

.anticheat-notice {
  min-height: 30px;
  padding: 5px 18px;
  background: linear-gradient(90deg, rgba(2, 14, 24, 0.98), rgba(5, 42, 38, 0.98), rgba(6, 22, 42, 0.98));
  border-bottom-color: rgba(60, 255, 176, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.anticheat-notice strong {
  color: #3cffb0;
}

.anticheat-notice span {
  color: rgba(218, 255, 239, 0.82);
}

.anticheat-notice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 10px;
  border: 1px solid rgba(60, 255, 176, 0.55);
  border-radius: 6px;
  background: linear-gradient(135deg, #3cffb0, #18bfff);
  color: #03130d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(24, 191, 255, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.anticheat-notice-link:hover {
  color: #03130d;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(60, 255, 176, 0.32);
}

@media (max-width: 720px) {
  .beta-notice {
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .beta-notice strong {
    font-size: 14px;
  }

  .anticheat-notice {
    padding: 6px 14px;
  }

  .anticheat-notice-link {
    margin-top: 4px;
  }
}

/* Dashboard notifications and friends */
.dashboard-alert-link {
  position: relative;
  gap: 7px;
}

.dashboard-alert-link b {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff9b1f;
  color: #0a0f16;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.profile-friends-card {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.profile-friends-head,
.friend-request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-friends-head strong {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
}

.profile-friends-head small {
  color: #8ea6bf;
  font-size: 12px;
}

.profile-friend-list,
.priority-request-list,
.notification-list {
  display: grid;
  gap: 10px;
}

.profile-friend-list {
  margin-top: 12px;
}

.profile-friend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: #d9ebff;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.profile-friend-item:hover {
  border-color: rgba(60,255,176,.42);
  background: rgba(32,184,255,.08);
  transform: translateY(-1px);
}

.mini-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,107,255,.45), rgba(255,155,31,.28));
  color: #fff;
  font-weight: 900;
  overflow: hidden;
}

.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-friend-item b {
  display: block;
  color: #fff;
  font-size: 14px;
}

.profile-friend-item small {
  display: block;
  color: #8ea6bf;
  font-size: 12px;
}

.friend-request-row {
  padding: 10px;
  border: 1px solid rgba(255,155,31,.24);
  border-radius: 8px;
  background: rgba(255,155,31,.06);
}

.premium-match-card {
  grid-column: 1 / -1;
}

.premium-match-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.premium-match-form label,
.premium-match-members {
  min-width: 0;
}

.premium-match-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-match-form select {
  min-height: 46px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255,255,255,.055);
}

.premium-match-map,
.premium-match-members,
.premium-match-form .btn {
  grid-column: 1 / -1;
}

.premium-match-members {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255,213,79,.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,213,79,.055);
}

.premium-match-members > strong {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}

.premium-match-members > small {
  color: #9fb1c7;
  font-size: 12px;
  font-weight: 800;
}

.premium-match-members label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 9px;
  background: rgba(255,255,255,.04);
  text-transform: none;
}

.premium-match-members input {
  width: 18px;
  height: 18px;
  accent-color: #ffd54f;
}

.premium-match-members span {
  display: grid;
  color: #fff;
  font-size: 14px;
}

.premium-match-members span small {
  color: #8ea6bf;
  font-size: 12px;
}

.premium-match-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 18px;
}

.premium-match-modal.open {
  display: grid;
}

.premium-match-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}

.premium-match-modal-dialog {
  position: relative;
  width: min(680px, 100%);
  border: 1px solid rgba(32,184,255,.32);
  border-radius: 10px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(0,91,255,.16), rgba(255,155,31,.08)),
    #07111f;
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
}

.premium-match-modal-dialog h3 {
  margin: 6px 34px 18px 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.premium-match-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.premium-match-mode-grid button {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 9px;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 10px;
  padding: 18px;
  color: #fff;
  background: rgba(255,255,255,.055);
  text-align: left;
  cursor: pointer;
}

.premium-match-mode-grid button:first-child {
  border-color: rgba(60,255,176,.34);
  background: linear-gradient(135deg, rgba(60,255,176,.12), rgba(255,255,255,.045));
}

.premium-match-mode-grid button:nth-child(2) {
  border-color: rgba(255,213,79,.34);
  background: linear-gradient(135deg, rgba(255,213,79,.13), rgba(255,255,255,.045));
}

.premium-match-mode-grid button:hover,
.premium-match-mode-grid button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(32,184,255,.7);
  box-shadow: 0 0 28px rgba(32,184,255,.16);
}

.premium-match-mode-grid button:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.premium-match-mode-grid b {
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.premium-match-mode-grid small {
  color: #a9bdd4;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .premium-match-modal-dialog {
    padding: 20px;
  }

  .premium-match-modal-dialog h3 {
    font-size: 23px;
  }

  .premium-match-mode-grid {
    grid-template-columns: 1fr;
  }

  .premium-match-mode-grid button {
    min-height: 120px;
  }
}

.premium-match-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.premium-match-list h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
}

.premium-match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255,255,255,.04);
}

.premium-match-row b,
.premium-match-row small {
  display: block;
}

.premium-match-row b {
  color: #fff;
  font-size: 14px;
}

.premium-match-row small {
  color: #8ea6bf;
  font-size: 12px;
}

.premium-match-state {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 6px 9px;
  color: #cfeaff;
  background: rgba(255,255,255,.055);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.premium-match-state.state-pending {
  border-color: rgba(255,213,79,.45);
  color: #ffe58a;
  background: rgba(255,213,79,.12);
}

.premium-match-state.state-accepted,
.premium-match-state.state-open {
  border-color: rgba(60,255,176,.38);
  color: #78ffc6;
  background: rgba(60,255,176,.09);
}

.friend-request-row .profile-friend-item {
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
}

.friend-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.notification-row {
  text-decoration: none;
}

.notification-row.is-unread {
  border-color: rgba(255,155,31,.38);
  background: rgba(255,155,31,.07);
}

.notification-row em {
  color: #ffbe6b;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-friend-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.clan-dashboard-grid {
  align-items: start;
}

.clan-card {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.clan-card h2 {
  margin: 0 0 6px;
  font-size: 32px;
}

.clan-card p {
  margin: 0;
  color: var(--muted);
}

.clan-member-list,
.clan-invite-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.clan-member-item {
  border-color: rgba(60,255,176,.24);
  background: rgba(60,255,176,.055);
}

.clan-invite-form,
.clan-create-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding-top: 4px;
}

.clan-invite-form button,
.clan-create-form button {
  min-height: 46px;
}

.clan-danger-form {
  display: flex;
  justify-content: flex-start;
}

.clan-request-row {
  border-color: rgba(60,255,176,.26);
  background: rgba(60,255,176,.055);
}

@media (max-width: 720px) {
  .inline-actions .admin-credit-form {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .friend-request-row,
  .profile-friends-head {
    align-items: stretch;
    flex-direction: column;
  }

  .friend-request-actions {
    justify-content: stretch;
  }

  .friend-request-actions .btn {
    flex: 1;
  }

  .clan-invite-form,
  .clan-create-form {
    grid-template-columns: 1fr;
  }
}

/* Global readable web font override. */
:root {
  --font-cs: var(--font-ui);
}

body,
body *:not(svg):not(path) {
  font-family: var(--font-cs) !important;
}

.home-page .server-status a.gather-select-link,
.home-page .server-status a.open-gather-link,
.server-grid .server-card form .btn,
.server-grid .server-card > .btn,
.gather-test-actions .btn,
.dashboard-hero .btn.big[href*="gather.php"],
.dashboard-tab-panel[data-panel="gather"] .btn {
  font-size: 14px !important;
}

.home-page .server-status .my-gather-label {
  font-size: 14px !important;
}

.user-dashboard-page .dashboard-gather-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: min(100%, 300px);
  min-height: 64px;
  border-radius: 6px;
  border-color: rgba(255, 190, 55, .78) !important;
  padding: 0 34px;
  color: #08120c !important;
  background: linear-gradient(135deg, #ffb000 0%, #3cffb0 50%, #20b8ff 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .16) inset,
    0 14px 34px rgba(255, 156, 0, .24),
    0 0 42px rgba(32, 184, 255, .36) !important;
  font-size: 18px !important;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.user-dashboard-page .dashboard-gather-cta::before {
  content: "";
  width: 23px;
  height: 23px;
  margin-right: 10px;
  flex: 0 0 23px;
  background: currentColor;
  -webkit-mask: url("../icons/gamepad.svg") center / contain no-repeat;
  mask: url("../icons/gamepad.svg") center / contain no-repeat;
}

.user-dashboard-page .dashboard-gather-cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-135%);
  transition: transform .45s ease;
}

.user-dashboard-page .dashboard-gather-cta:hover,
.user-dashboard-page .dashboard-gather-cta:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .22) inset,
    0 18px 42px rgba(255, 156, 0, .34),
    0 0 58px rgba(32, 184, 255, .5) !important;
}

.user-dashboard-page .dashboard-gather-cta:hover::after,
.user-dashboard-page .dashboard-gather-cta:focus-visible::after {
  transform: translateX(135%);
}

.home-page .home-gather-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.home-page .home-gather-tabs button {
  min-height: 44px;
  border: 1px solid rgba(32,184,255,.28);
  border-radius: 6px;
  color: #d9ebff;
  background: rgba(5,14,28,.76);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
}

.home-page .home-gather-tabs button.active,
.home-page .home-gather-tabs button:hover {
  border-color: rgba(255,155,31,.58);
  color: #fff;
  background: linear-gradient(135deg, rgba(0,107,255,.72), rgba(255,155,31,.42));
  box-shadow: 0 0 24px rgba(32,184,255,.18);
}

.home-page .home-gather-tab-panel {
  grid-column: 1 / -1;
  display: none;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 28px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0,107,255,.12), rgba(255,155,31,.09)),
    rgba(2, 10, 22, .7);
  text-align: center;
}

.home-page .home-gather-tab-panel.active {
  display: grid;
}

.home-page .home-gather-tab-panel[data-panel="cs2"],
.home-page .home-gather-tab-panel[data-panel="cs16"] {
  min-height: 72px;
  gap: 4px;
  padding: 12px 16px;
}

.home-page .home-gather-tab-panel[data-panel="cs2"] h2,
.home-page .home-gather-tab-panel[data-panel="cs16"] h2 {
  font-size: clamp(20px, 2.4vw, 28px);
}

.home-page .home-gather-tab-panel[data-panel="cs2"] p,
.home-page .home-gather-tab-panel[data-panel="cs16"] p {
  font-size: 14px;
}

.home-page .mock-server-panel[data-active-tab="cs16"] .mock-server[data-game]:not([data-game="cs16"]),
.home-page .mock-server-panel[data-active-tab="cs2"] .mock-server[data-game]:not([data-game="cs2"]) {
  display: none !important;
}

.home-page .home-gather-tab-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1;
}

.home-page .home-gather-tab-panel p {
  margin: 0;
  color: #ffbe6b;
  font-size: 18px;
  font-weight: 850;
  text-transform: uppercase;
}

/* Red unread notification states */
.dashboard-alert-link.has-new {
  border-color: rgba(255, 54, 76, .75) !important;
  color: #fff !important;
  background: rgba(255, 54, 76, .16) !important;
  box-shadow: 0 0 20px rgba(255, 54, 76, .22);
}

.dashboard-alert-link.has-new b,
.dashboard-tab-badge {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: #ff2f46;
  box-shadow: 0 0 16px rgba(255, 47, 70, .55);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.user-dashboard-page .dashboard-tabs button.has-new {
  border-color: rgba(255, 54, 76, .72) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(255, 47, 70, .28), rgba(92, 10, 24, .82)) !important;
  box-shadow: 0 0 18px rgba(255, 54, 76, .2);
}

.user-dashboard-page .dashboard-tabs button.has-new.active,
.user-dashboard-page .dashboard-tabs button.has-new:hover {
  border-color: rgba(255, 98, 116, .9) !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ff2f46, #9b1024) !important;
  box-shadow: 0 14px 32px rgba(255, 47, 70, .28);
}

.notification-row.is-unread {
  border-color: rgba(255, 54, 76, .62) !important;
  background: linear-gradient(135deg, rgba(255, 47, 70, .16), rgba(8, 16, 30, .84)) !important;
  box-shadow: inset 3px 0 0 #ff2f46, 0 10px 24px rgba(255, 47, 70, .12);
}

.notification-row.is-unread em {
  color: #fff !important;
  background: #ff2f46;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 0 14px rgba(255, 47, 70, .45);
}

.discord-coming-soon-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 20px;
}

.discord-coming-soon-modal.open {
  display: grid;
}

.discord-coming-soon-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 4, 12, .78);
  backdrop-filter: blur(10px);
}

.discord-coming-soon-dialog {
  position: relative;
  width: min(430px, 100%);
  padding: 28px;
  border: 1px solid rgba(32,184,255,.42);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(4, 14, 31, .98), rgba(13, 35, 64, .98));
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 34px rgba(32,184,255,.22);
  color: #fff;
  text-align: center;
}

.discord-coming-soon-dialog > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ff9b1f;
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.discord-coming-soon-dialog h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.discord-coming-soon-dialog p {
  margin: 12px 0 20px;
  color: #bdd0e8;
  font-size: 14px;
}

/* User dashboard pro layout */
.user-dashboard-page main {
  padding-top: 18px;
}

.user-dashboard-page .dashboard-hero.dashboard-hero-compact {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: clamp(18px, 2.8vw, 30px);
  border-radius: 8px;
  border-color: rgba(32,184,255,.28);
  background:
    linear-gradient(90deg, rgba(3, 10, 22, .94), rgba(3, 13, 29, .76), rgba(12, 9, 6, .72)),
    url("../images/banners/gathercs-com-banner.png?v=20260605") center 42% / cover no-repeat;
  box-shadow: 0 18px 48px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.035);
}

.user-dashboard-page .dashboard-hero.dashboard-hero-compact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.045), transparent 34%, rgba(0,0,0,.26));
}

.user-dashboard-page .dashboard-hero.dashboard-hero-compact > * {
  position: relative;
  z-index: 1;
}

.user-dashboard-page .dashboard-hero-compact h1 {
  max-width: 760px;
  margin: 2px 0 6px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: .98;
}

.user-dashboard-page .dashboard-hero-compact p {
  margin: 0 0 10px;
  color: #c9d9eb;
  font-size: 15px;
}

.user-dashboard-page .membership-countdown {
  gap: 7px;
}

.user-dashboard-page .membership-countdown span {
  min-width: 74px;
  border-radius: 6px;
  border-color: rgba(60,255,176,.24);
  background: rgba(0,0,0,.24);
}

.user-dashboard-page .membership-countdown strong {
  color: #42ffae;
  font-size: 26px;
}

.user-dashboard-page .dashboard-profile-tabs {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.user-dashboard-page .dashboard-tabs {
  position: sticky;
  top: 86px;
  z-index: 5;
  display: grid;
  gap: 7px;
  max-height: calc(100vh - 108px);
  overflow: auto;
  padding: 12px;
  border-radius: 8px;
  border-color: rgba(32,184,255,.26);
  background:
    linear-gradient(180deg, rgba(6, 18, 35, .96), rgba(3, 9, 19, .96)),
    rgba(0,0,0,.35);
  box-shadow: 0 16px 44px rgba(0,0,0,.28);
}

.user-dashboard-page .dashboard-tabs button {
  width: 100%;
  justify-content: flex-start;
  min-height: 46px;
  border-radius: 6px;
  padding: 0 13px;
  color: #c6d8eb;
  background: rgba(255,255,255,.035);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
}

.user-dashboard-page .dashboard-tabs button.active,
.user-dashboard-page .dashboard-tabs button:hover {
  color: #06101c;
  border-color: rgba(60,255,176,.55);
  background: linear-gradient(135deg, #42ffae, #20b8ff);
  box-shadow: 0 10px 26px rgba(32,184,255,.18);
  transform: translateY(-1px);
}

.user-dashboard-page .dashboard-tab-icon {
  width: 18px;
  height: 18px;
}

.user-dashboard-page .dashboard-tab-panels {
  min-width: 0;
}

.user-dashboard-page .dashboard-tab-panel.active {
  display: grid;
  gap: 14px;
}

.user-dashboard-page .dashboard-card-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.user-dashboard-page .dashboard-card-grid > .panel,
.user-dashboard-page .dashboard-tab-panel > .panel,
.user-dashboard-page .dashboard-tab-panel > .dashboard-subpanel.panel,
.user-dashboard-page .profile-progress-card,
.user-dashboard-page .stat-tile {
  border-radius: 8px;
  border-color: rgba(32,184,255,.22);
  background:
    linear-gradient(145deg, rgba(8, 19, 36, .92), rgba(3, 10, 22, .94));
  box-shadow: 0 14px 36px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.025);
}

.user-dashboard-page .dashboard-card-grid > .panel {
  grid-column: span 6;
  padding: clamp(16px, 2vw, 22px);
}

.user-dashboard-page .notifications-panel,
.user-dashboard-page .friends-panel,
.user-dashboard-page .matches-history-panel,
.user-dashboard-page .inbox-panel,
.user-dashboard-page .invite-card,
.user-dashboard-page .social-card,
.user-dashboard-page .payments-history-panel,
.user-dashboard-page .rewards-panel {
  grid-column: 1 / -1 !important;
}

.user-dashboard-page .player-card {
  grid-column: span 7 !important;
  grid-template-columns: minmax(132px, 166px) minmax(0, 1fr);
  border-radius: 8px;
}

.user-dashboard-page .account-info-card {
  grid-column: span 5 !important;
}

.user-dashboard-page .player-card::before {
  opacity: .52;
  background:
    linear-gradient(90deg, rgba(3, 10, 20, .86), rgba(3, 10, 20, .46)),
    url("../images/banners/gathercs-com-banner.png?v=20260605") center 42% / cover no-repeat;
}

.user-dashboard-page .player-card::after {
  right: 14px;
  bottom: 8px;
  font-size: 40px;
}

.user-dashboard-page .player-avatar {
  width: clamp(132px, 12vw, 166px);
  height: clamp(132px, 12vw, 166px);
  border-radius: 8px;
}

.user-dashboard-page .player-card h2,
.user-dashboard-page .steam-card h2,
.user-dashboard-page .game-card h2,
.user-dashboard-page .social-card h2,
.user-dashboard-page .invite-card h2,
.user-dashboard-page .account-info-card h2,
.user-dashboard-page .payment-card h2,
.user-dashboard-page .payments-history-panel h2,
.user-dashboard-page .rewards-panel h2,
.user-dashboard-page .clan-card h2,
.user-dashboard-page .inbox-panel h2,
.user-dashboard-page .friends-panel h2,
.user-dashboard-page .matches-history-panel h2,
.user-dashboard-page .notifications-panel h2 {
  margin-bottom: 7px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
}

.user-dashboard-page .section-heading {
  gap: 12px;
  margin-bottom: 14px;
}

.user-dashboard-page .profile-badges span {
  border-radius: 6px;
  border-color: rgba(60,255,176,.22);
  background: rgba(60,255,176,.07);
}

.user-dashboard-page .inline-profile-form input,
.user-dashboard-page .inline-profile-form select,
.user-dashboard-page .inline-profile-form textarea,
.user-dashboard-page .invite-link input {
  border-radius: 6px;
  border-color: rgba(32,184,255,.24);
  background: rgba(0,0,0,.24);
}

.user-dashboard-page .account-info-form,
.user-dashboard-page .social-profile-form {
  gap: 12px;
}

.user-dashboard-page .profile-stats {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
}

.user-dashboard-page .stat-tile {
  min-height: 112px;
  padding: 15px !important;
}

.user-dashboard-page .stat-tile strong {
  font-size: 28px;
}

.user-dashboard-page .dashboard-list-row,
.user-dashboard-page .profile-friend-item,
.user-dashboard-page .friend-request-row,
.user-dashboard-page .conversation-item,
.user-dashboard-page .chat-thread-head,
.user-dashboard-page .chat-feed,
.user-dashboard-page .game-choice,
.user-dashboard-page .payment-method {
  border-radius: 6px;
  background: rgba(0,0,0,.22);
}

.user-dashboard-page .dashboard-list-row:hover,
.user-dashboard-page .profile-friend-item:hover,
.user-dashboard-page .conversation-item:hover {
  border-color: rgba(60,255,176,.38);
  background: rgba(32,184,255,.08);
}

.user-dashboard-page .dashboard-list-row {
  align-items: stretch;
}

.user-dashboard-page .money-balance-card {
  overflow: hidden;
  position: relative;
  border-color: rgba(60,255,176,.28);
  background:
    linear-gradient(135deg, rgba(60,255,176,.12), rgba(32,184,255,.07)),
    rgba(0,0,0,.24);
}

.user-dashboard-page .money-balance-card::after {
  content: "EUR";
  position: absolute;
  right: 18px;
  bottom: 8px;
  color: rgba(255,255,255,.06);
  font-size: 72px;
  font-weight: 950;
  line-height: 1;
}

.user-dashboard-page .money-balance-card > * {
  position: relative;
  z-index: 1;
}

.user-dashboard-page .money-balance-card h2 {
  color: #3cffb0;
  text-shadow: 0 0 28px rgba(60,255,176,.28);
}

.user-dashboard-page .balance-card-meta {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(0,0,0,.22);
}

.user-dashboard-page .balance-card-meta span {
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
}

.user-dashboard-page .balance-card-meta small {
  color: #b8c9dd;
}

.user-dashboard-page .game-choice-list,
.user-dashboard-page .clan-member-list,
.user-dashboard-page .clan-invite-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.user-dashboard-page .dashboard-subtabs {
  padding: 6px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.user-dashboard-page .dashboard-subtabs button {
  border-radius: 6px;
}

.user-dashboard-page .message-dock-toggle {
  border-radius: 50%;
}

@media (max-width: 1180px) {
  .user-dashboard-page .dashboard-profile-tabs {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .user-dashboard-page .dashboard-tabs button {
    padding: 0 10px;
    font-size: 13px;
  }

  .user-dashboard-page .player-card,
  .user-dashboard-page .account-info-card,
  .user-dashboard-page .dashboard-card-grid > .panel {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 860px) {
  .user-dashboard-page .dashboard-hero.dashboard-hero-compact {
    grid-template-columns: 1fr;
  }

  .user-dashboard-page .dashboard-hero .btn.big,
  .user-dashboard-page .dashboard-hero .btn.big[href*="gather.php"] {
    width: 100%;
  }

  .user-dashboard-page .dashboard-profile-tabs {
    grid-template-columns: 1fr;
  }

  .user-dashboard-page .dashboard-tabs {
    position: sticky;
    top: 70px;
    display: flex;
    overflow-x: auto;
    max-height: none;
    padding: 8px;
  }

  .user-dashboard-page .dashboard-tabs button {
    flex: 0 0 auto;
    width: auto;
    min-width: 138px;
    justify-content: center;
    text-align: center;
  }

  .user-dashboard-page .dashboard-card-grid,
  .user-dashboard-page .account-info-form,
  .user-dashboard-page .social-profile-form,
  .user-dashboard-page .clan-invite-form,
  .user-dashboard-page .clan-create-form,
  .user-dashboard-page .invite-link,
  .user-dashboard-page .message-center {
    grid-template-columns: 1fr !important;
  }

  .user-dashboard-page .player-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .user-dashboard-page .player-avatar {
    justify-self: center;
  }

  .user-dashboard-page .profile-badges,
  .user-dashboard-page .avatar-upload-form {
    justify-content: center;
  }

  .user-dashboard-page .dashboard-list-row,
  .user-dashboard-page .friend-request-row {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .user-dashboard-page .dashboard-hero-compact h1 {
    font-size: 30px;
  }

  .user-dashboard-page .membership-countdown span {
    flex: 1 1 30%;
    min-width: 0;
  }

  .user-dashboard-page .dashboard-tabs button {
    min-width: 118px;
    font-size: 12px;
  }

  .user-dashboard-page .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-page .active-list .active-member-row {
  grid-template-columns: 48px minmax(0, 1fr) minmax(32px, .35fr) auto !important;
  gap: 10px !important;
}

.home-page .active-member-main {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-weight: 800;
}

.home-page .active-member-main b {
  min-width: 0;
  overflow: hidden;
  color: #f7fbff !important;
  font-size: 14px !important;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .active-member-main em {
  color: #37f0a0;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .active-member-separator {
  display: block;
  width: 100%;
  min-width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 185, 255, .2), rgba(255, 255, 255, .4), rgba(255, 154, 31, .18));
  opacity: .8;
}

.home-page .active-list .active-member-row > small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  justify-self: end;
  min-width: 76px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(4, 9, 22, .62);
  color: #ff5f73;
  font-size: 14px !important;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-page .active-list .active-member-row > small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.home-page .active-list .active-member-row > small.is-online {
  color: #35e76e;
  border-color: rgba(53, 231, 110, .34);
  background: rgba(53, 231, 110, .08);
}

.home-page .active-list .active-member-row > small.is-offline {
  color: #ff5f73;
  border-color: rgba(255, 95, 115, .32);
  background: rgba(255, 95, 115, .08);
}

@media (max-width: 560px) {
  .home-page .active-list .active-member-row {
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
  }

  .home-page .active-member-separator {
    display: none;
  }
}

.home-page .home-ad-banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 18px !important;
}

.home-page .home-ad-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  min-height: 200px;
  overflow: hidden;
  border: 1px dashed rgba(32, 184, 255, .45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, .92), rgba(15, 23, 42, .72)),
    radial-gradient(circle at 25% 15%, rgba(32, 184, 255, .18), transparent 34%),
    radial-gradient(circle at 80% 85%, rgba(255, 177, 45, .14), transparent 32%);
  box-shadow: inset 0 0 28px rgba(32, 184, 255, .08), 0 14px 34px rgba(0, 0, 0, .22);
  color: #d7edff;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-page .home-ad-banner:hover {
  border-color: rgba(255, 177, 45, .7);
  box-shadow: inset 0 0 34px rgba(32, 184, 255, .11), 0 18px 42px rgba(0, 0, 0, .32);
  transform: translateY(-2px);
}

.home-page .home-ad-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.home-page .home-ad-banner.is-empty::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  pointer-events: none;
}

.home-page .home-ad-banner span {
  position: relative;
  z-index: 1;
  color: #f7fbff;
  font-family: var(--font-ui);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-shadow: 0 0 18px rgba(32, 184, 255, .28);
  text-transform: uppercase;
}

.home-page .home-priority-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: stretch;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5,17,34,.92), rgba(4,9,18,.96)),
    radial-gradient(circle at 10% 10%, rgba(32,184,255,.14), transparent 32%);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.home-page .home-priority-strip article,
.home-page .home-priority-strip a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.home-page .home-priority-strip span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32,184,255,.34);
  border-radius: 8px;
  color: #8fd8ff;
  background: rgba(32,184,255,.08);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1;
}

.home-page .home-priority-strip div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-page .home-priority-strip b {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .home-priority-strip small {
  overflow: hidden;
  color: #96abc1;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .home-priority-strip a {
  justify-content: center;
  min-width: 150px;
  border-color: rgba(60,255,176,.42);
  color: #06121f;
  background: linear-gradient(135deg, #3cffb0, #20b8ff);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.home-page .home-priority-strip a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(60,255,176,.2);
}

.ads-admin-form {
  align-items: stretch;
}

.news-admin-form {
  align-items: start;
}

.news-editor-note {
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  padding: 12px 14px;
  color: #b9d7f2;
  background: rgba(32,184,255,.08);
  font-size: 14px;
  line-height: 1.45;
}

.news-admin-list .news-admin-row {
  align-items: center;
}

.news-admin-row a {
  color: #8ddcff;
  text-decoration: none;
}

.news-admin-row a:hover {
  color: #fff;
}

.ads-admin-form .admin-ad-grid {
  grid-column: 1 / -1;
}

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

.admin-ad-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(32, 184, 255, .18);
  border-radius: 12px;
  background: rgba(3, 12, 24, .72);
}

.admin-ad-card legend {
  padding: 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.admin-ad-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, .95), rgba(15, 23, 42, .76)),
    radial-gradient(circle at 20% 20%, rgba(32, 184, 255, .18), transparent 34%);
}

.admin-ad-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.admin-ad-preview span {
  color: #d7edff;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .home-page .home-ad-banners,
  .admin-ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-page .home-ad-banners,
  .admin-ad-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-priority-strip {
    grid-template-columns: 1fr;
  }

  .home-page .home-ad-banner,
  .admin-ad-preview {
    height: 200px;
    min-height: 200px;
  }
}

/* Ad banners: always resize uploaded images to the exact banner frame. */
.home-page .home-ad-banner.has-image,
.admin-ad-preview.has-image {
  background: #050b16 !important;
  border-style: solid !important;
}

.home-page .home-ad-banner.has-image img,
.admin-ad-preview.has-image img {
  position: absolute !important;
  inset: 15px !important;
  display: block !important;
  width: calc(100% - 30px) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: calc(100% - 30px) !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: fill !important;
  object-position: center center !important;
}

/* Global public chat */
body.public-chat-open {
  overflow: hidden;
}

body.public-chat-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1490;
  pointer-events: none;
  background: rgba(2, 7, 14, .42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.public-chat-dock {
  position: fixed;
  right: 25px;
  bottom: 20px;
  z-index: 1500;
  font-family: var(--font-ui);
}

.public-chat-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(32, 184, 255, .55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(13, 99, 243, .96), rgba(5, 16, 35, .96)),
    radial-gradient(circle at 25% 0%, rgba(255, 177, 45, .28), transparent 38%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .42), 0 0 24px rgba(32, 184, 255, .2);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.public-chat-toggle::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(32, 184, 255, .32);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.public-chat-dock:not(.open) .public-chat-toggle {
  animation: publicChatBreathe 2.8s ease-in-out infinite, publicChatNudge 7s ease-in-out infinite;
}

.public-chat-dock:not(.open) .public-chat-toggle::after {
  animation: publicChatRing 2.8s ease-out infinite;
}

.public-chat-dock.has-unread:not(.open) .public-chat-toggle {
  border-color: rgba(255, 75, 95, .9);
  animation: publicChatUnreadPulse 1.2s ease-in-out infinite, publicChatUnreadShake 2.8s ease-in-out infinite;
}

.public-chat-dock.has-unread:not(.open) .public-chat-toggle::after {
  border-color: rgba(255, 75, 95, .58);
  animation: publicChatUnreadRing 1.2s ease-out infinite;
}

.public-chat-dock:not(.open) .public-chat-toggle:hover,
.public-chat-dock:not(.open) .public-chat-toggle:hover::after {
  animation: none;
}

@keyframes publicChatBreathe {
  0%, 100% {
    box-shadow: 0 16px 36px rgba(0, 0, 0, .42), 0 0 22px rgba(32, 184, 255, .2);
  }
  50% {
    box-shadow: 0 18px 42px rgba(0, 0, 0, .5), 0 0 36px rgba(32, 184, 255, .42);
  }
}

@keyframes publicChatNudge {
  0%, 76%, 100% { transform: translate3d(0, 0, 0); }
  80% { transform: translate3d(-2px, 0, 0) rotate(-1deg); }
  84% { transform: translate3d(2px, 0, 0) rotate(1deg); }
  88% { transform: translate3d(-1px, 0, 0) rotate(-.6deg); }
  92% { transform: translate3d(1px, 0, 0) rotate(.6deg); }
}

@keyframes publicChatRing {
  0% {
    opacity: .52;
    transform: scale(.95);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes publicChatUnreadPulse {
  0%, 100% {
    box-shadow: 0 16px 36px rgba(0, 0, 0, .42), 0 0 18px rgba(255, 75, 95, .34);
  }
  50% {
    box-shadow: 0 19px 46px rgba(0, 0, 0, .54), 0 0 34px rgba(255, 75, 95, .68), 0 0 18px rgba(32, 184, 255, .28);
  }
}

@keyframes publicChatUnreadShake {
  0%, 70%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  75% { transform: translate3d(-3px, 0, 0) rotate(-1.5deg); }
  80% { transform: translate3d(3px, 0, 0) rotate(1.5deg); }
  85% { transform: translate3d(-2px, 0, 0) rotate(-1deg); }
  90% { transform: translate3d(2px, 0, 0) rotate(1deg); }
}

@keyframes publicChatUnreadRing {
  0% {
    opacity: .75;
    transform: scale(.94);
  }
  72%, 100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-chat-dock .public-chat-toggle,
  .public-chat-dock .public-chat-toggle::after {
    animation: none !important;
  }
}

.public-chat-toggle:hover,
.public-chat-dock.open .public-chat-toggle {
  border-color: rgba(255, 177, 45, .9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 34px rgba(32, 184, 255, .32);
  transform: translateY(-2px);
}

.public-chat-toggle svg {
  width: 23px;
  height: 23px;
}

.public-chat-toggle b {
  position: absolute;
  top: -8px;
  right: -6px;
  display: grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border: 2px solid #07111f;
  border-radius: 999px;
  background: #ef233c;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 0 18px rgba(239, 35, 60, .55);
}

.public-chat-toggle b[hidden] {
  display: none !important;
}

.public-chat-window {
  position: absolute;
  right: 0;
  bottom: 70px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(390px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 130px));
  overflow: hidden;
  border: 1px solid rgba(32, 184, 255, .28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, .98), rgba(3, 9, 20, .98)),
    radial-gradient(circle at 15% 0%, rgba(32, 184, 255, .22), transparent 36%),
    radial-gradient(circle at 88% 100%, rgba(255, 177, 45, .12), transparent 32%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .58), inset 0 0 28px rgba(32, 184, 255, .06);
  overscroll-behavior: contain;
}

.public-chat-window[hidden] {
  display: none !important;
}

.public-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
}

.public-chat-header strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.public-chat-header span {
  color: #8db5d6;
  font-size: 13px;
}

.public-chat-header button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.public-chat-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  scrollbar-color: rgba(32, 184, 255, .45) rgba(255, 255, 255, .05);
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.public-chat-empty,
.public-chat-login,
.public-chat-status,
.public-chat-typing {
  margin: 0;
  color: #9fb9cf;
  font-size: 14px;
  line-height: 1.35;
}

.public-chat-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.public-chat-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(32, 184, 255, .36);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 99, 243, .35), rgba(255, 177, 45, .18));
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.public-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-chat-message > div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
}

.public-chat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.public-chat-meta a,
.public-chat-meta strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-chat-message.is-own:not(.is-admin) .public-chat-meta a,
.public-chat-message.is-own:not(.is-admin) .public-chat-meta strong {
  color: #ffd34d;
  text-shadow: 0 0 12px rgba(255, 211, 77, .25);
}

.public-chat-message.is-admin .public-chat-meta a,
.public-chat-message.is-admin .public-chat-meta strong {
  color: #ff4d61;
  text-shadow: 0 0 12px rgba(255, 77, 97, .32);
}

.public-chat-meta time {
  flex: 0 0 auto;
  color: #6f8ba6;
  font-size: 12px;
}

.public-chat-message p {
  margin: 0;
  color: #d7edff;
  font-size: 14px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.public-chat-edited {
  display: block;
  margin-top: 5px;
  color: #6f8ba6;
  font-size: 11px;
  font-style: italic;
}

.public-chat-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.public-chat-admin-actions button {
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: #d7edff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 0 9px;
  text-transform: uppercase;
}

.public-chat-admin-actions button:hover {
  border-color: rgba(255, 177, 45, .65);
  color: #fff;
}

.public-chat-admin-actions button[data-public-chat-edit] {
  border-color: rgba(32, 184, 255, .35);
  color: #bfe9ff;
  background: rgba(32, 184, 255, .1);
}

.public-chat-admin-actions button[data-public-chat-delete] {
  border-color: rgba(239, 35, 60, .28);
  color: #ffd5dc;
}

.public-chat-status,
.public-chat-login {
  margin: 0 14px 10px;
  padding: 9px 10px;
  border: 1px solid rgba(32, 184, 255, .18);
  border-radius: 8px;
  background: rgba(32, 184, 255, .07);
}

.public-chat-typing {
  min-height: 18px;
  margin: 0 14px 8px;
  color: #54b7ff;
  font-size: 13px;
  font-style: italic;
}

.public-chat-typing[hidden] {
  display: none !important;
}

.public-chat-status[data-type="error"] {
  border-color: rgba(239, 35, 60, .35);
  background: rgba(239, 35, 60, .1);
  color: #ffd5dc;
}

.public-chat-login a {
  color: #54b7ff;
  font-weight: 900;
  text-decoration: none;
}

.public-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.public-chat-form input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(0, 0, 0, .32);
  color: #fff;
  font-size: 14px;
  outline: none;
  padding: 0 12px;
}

.public-chat-form input:focus {
  border-color: rgba(32, 184, 255, .62);
  box-shadow: 0 0 0 3px rgba(32, 184, 255, .12);
}

.public-chat-form button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d63f3, #179cff);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  padding: 0 14px;
  text-transform: uppercase;
}

.public-chat-form button:disabled {
  cursor: wait;
  opacity: .65;
}

.public-chat-moderation-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: none;
  place-items: center;
  padding: 20px;
}

.public-chat-moderation-modal.open {
  display: grid;
}

.public-chat-moderation-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 7, 14, .78);
  cursor: pointer;
}

.public-chat-moderation-dialog {
  position: relative;
  width: min(390px, 100%);
  border: 1px solid rgba(32, 184, 255, .32);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, .98), rgba(3, 9, 20, .98)),
    radial-gradient(circle at 20% 0%, rgba(32, 184, 255, .2), transparent 34%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58);
  color: #d7edff;
  padding: 22px;
}

.public-chat-moderation-dialog .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.public-chat-moderation-dialog span {
  color: #54b7ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-chat-moderation-dialog h3 {
  margin: 6px 42px 6px 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.public-chat-moderation-dialog p {
  margin: 0 0 14px;
  color: #9fb9cf;
  font-size: 14px;
}

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

.public-chat-mute-grid button {
  min-height: 44px;
  border: 1px solid rgba(32, 184, 255, .24);
  border-radius: 10px;
  background: rgba(13, 99, 243, .16);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-chat-mute-grid button:hover {
  border-color: rgba(255, 177, 45, .7);
  background: rgba(255, 177, 45, .14);
}

.public-chat-mute-grid button:disabled {
  cursor: wait;
  opacity: .6;
}

@media (max-width: 640px) {
  .public-chat-dock {
    right: 19px;
    bottom: 14px;
  }

  .public-chat-toggle {
    min-height: 50px;
    padding: 0 15px;
  }

  .public-chat-window {
    right: -4px;
    bottom: 64px;
    width: calc(100vw - 20px);
    height: min(520px, calc(100vh - 120px));
  }
}

/* Keep home header account buttons compact like the rest of the site. */
.home-page .header-actions {
  gap: 7px !important;
}

.home-page .header-actions .btn.small,
.home-page .header-actions.guest-actions .btn.small {
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  white-space: nowrap !important;
}

.home-page .header-actions .dashboard-alert-link b {
  min-width: 16px !important;
  height: 16px !important;
  margin-left: 5px !important;
  font-size: 10px !important;
}

/* Final typography trim after switching the public UI to the Klix-style font stack. */
body {
  font-size: 15px;
}

.main-nav,
.home-page .main-nav {
  gap: 6px !important;
  font-size: 15px !important;
}

.main-nav a,
.home-page .main-nav a {
  min-height: 34px !important;
  padding: 8px 9px 7px !important;
  letter-spacing: 0 !important;
}

.btn {
  min-height: 42px;
  border-radius: 10px;
  padding-inline: 16px;
  font-size: 14px;
}

.btn.small,
.home-page .header-actions .btn.small,
.home-page .header-actions.guest-actions .btn.small {
  min-height: 32px !important;
  padding: 0 9px !important;
  font-size: 12px !important;
}

.btn.big,
.dashboard-hero .btn.big[href*="gather.php"],
.dashboard-tab-panel[data-panel="gather"] .btn {
  min-height: 50px !important;
  font-size: 15px !important;
}

h1 {
  font-size: clamp(36px, 5.8vw, 72px);
}

h2 {
  font-size: clamp(23px, 2.8vw, 34px);
}

.page-hero h1,
.dashboard-hero h1,
.gather-page-hero h1,
.gather-focus-hero h1,
.forum-hero h1,
.leaderboard-hero h1,
.player-profile-hero h1 {
  font-size: clamp(28px, 4.2vw, 48px) !important;
}

.page-hero p,
.dashboard-hero p,
.gather-page-hero p,
.gather-focus-hero p,
.forum-hero p,
.leaderboard-hero p {
  font-size: 15px !important;
}

.panel h2,
.dashboard-subpanel h2,
.user-dashboard-page .player-card h2,
.user-dashboard-page .steam-card h2,
.user-dashboard-page .game-card h2,
.user-dashboard-page .social-card h2,
.user-dashboard-page .invite-card h2,
.user-dashboard-page .account-info-card h2,
.user-dashboard-page .payment-card h2,
.user-dashboard-page .payments-history-panel h2,
.user-dashboard-page .rewards-panel h2,
.user-dashboard-page .clan-card h2,
.user-dashboard-page .inbox-panel h2,
.user-dashboard-page .friends-panel h2,
.user-dashboard-page .matches-history-panel h2,
.user-dashboard-page .notifications-panel h2 {
  font-size: clamp(20px, 2.1vw, 28px) !important;
}

.user-dashboard-page .dashboard-hero-compact h1 {
  font-size: clamp(24px, 3vw, 38px) !important;
}

.user-dashboard-page .dashboard-tabs button {
  min-height: 42px !important;
  font-size: 13px !important;
}

.user-dashboard-page .stat-tile strong {
  font-size: 24px !important;
}

.home-page .mock-stats strong,
.home-page .stats-grid strong {
  font-size: 26px !important;
}

.home-page .home-gather-tab-panel h2 {
  font-size: clamp(19px, 2.1vw, 25px) !important;
}

.home-page .home-gather-tab-panel p {
  font-size: 13px !important;
}

.home-page .active-member-main b {
  font-size: 15px !important;
}

.home-page .active-member-main em,
.home-page .active-list .active-member-row > small {
  font-size: 12px !important;
}

.public-chat-toggle {
  min-height: 48px !important;
  font-size: 15px !important;
}

.public-chat-header strong {
  font-size: 19px !important;
}

.public-chat-moderation-dialog h3 {
  font-size: 24px !important;
}

@media (max-width: 760px) {
  .main-nav,
  .home-page .main-nav {
    font-size: 14px !important;
  }

  .main-nav a,
  .home-page .main-nav a {
    min-height: 34px !important;
    padding: 8px 10px !important;
  }

  h1 {
    font-size: 34px;
  }

  .page-hero h1,
  .dashboard-hero h1,
  .gather-page-hero h1,
  .gather-focus-hero h1,
  .forum-hero h1,
  .leaderboard-hero h1,
  .player-profile-hero h1 {
    font-size: 30px !important;
  }
}

/* Visual compact pass: keep the site readable without oversized UI text.
   The homepage bitmap slider keeps its own slider.css typography. */
body {
  font-size: 14px !important;
  line-height: 1.45;
}

.site-header {
  gap: 14px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.main-nav,
.home-page .main-nav {
  gap: 5px !important;
  font-size: 14px !important;
}

.main-nav a,
.home-page .main-nav a {
  min-height: 32px !important;
  padding: 7px 8px 6px !important;
  border-radius: 7px !important;
}

.btn,
button,
input,
select,
textarea {
  font-size: 14px !important;
}

.btn {
  min-height: 40px !important;
  padding-inline: 14px !important;
  border-radius: 8px !important;
}

.btn.small,
.header-actions .btn.small,
.home-page .header-actions .btn.small,
.home-page .header-actions.guest-actions .btn.small {
  min-height: 31px !important;
  padding-inline: 8px !important;
  font-size: 12px !important;
}

.btn.big,
.home-page .server-status a.gather-select-link,
.home-page .server-status a.open-gather-link,
.server-grid .server-card form .btn,
.server-grid .server-card > .btn,
.dashboard-hero .btn.big[href*="gather.php"],
.dashboard-tab-panel[data-panel="gather"] .btn {
  min-height: 46px !important;
  font-size: 14px !important;
}

h1 {
  font-size: 24px !important;
  line-height: .96 !important;
}

h2 {
  font-size: clamp(21px, 2.4vw, 30px) !important;
  line-height: 1.04 !important;
}

h3 {
  font-size: clamp(18px, 2vw, 24px) !important;
  line-height: 1.08 !important;
}

.page-hero h1,
.dashboard-hero h1,
.gather-page-hero h1,
.gather-focus-hero h1,
.forum-hero h1,
.leaderboard-hero h1,
.player-profile-hero h1,
.elo-hero h1,
.how-hero h1,
.admin-stats-hero h3 {
  font-size: clamp(24px, 3.4vw, 40px) !important;
}

.page-hero p,
.dashboard-hero p,
.gather-page-hero p,
.gather-focus-hero p,
.forum-hero p,
.leaderboard-hero p,
.elo-hero p,
.how-hero p,
.panel p,
.news-card p,
.forum-card p,
.server-card p,
.profile-card p,
.dashboard-card p {
  font-size: 14px !important;
}

.panel h2,
.panel h3,
.dashboard-subpanel h2,
.dashboard-subpanel h3,
.server-card h2,
.server-card h3,
.news-card h2,
.news-card h3,
.forum-card h2,
.forum-card h3,
.home-four-boxes h2,
.mock-card h2,
.mock-server h2,
.admin-card h2,
.admin-card h3,
.user-dashboard-page .player-card h2,
.user-dashboard-page .steam-card h2,
.user-dashboard-page .game-card h2,
.user-dashboard-page .social-card h2,
.user-dashboard-page .invite-card h2,
.user-dashboard-page .account-info-card h2,
.user-dashboard-page .payment-card h2,
.user-dashboard-page .payments-history-panel h2,
.user-dashboard-page .rewards-panel h2,
.user-dashboard-page .clan-card h2,
.user-dashboard-page .inbox-panel h2,
.user-dashboard-page .friends-panel h2,
.user-dashboard-page .matches-history-panel h2,
.user-dashboard-page .notifications-panel h2 {
  font-size: clamp(18px, 1.9vw, 24px) !important;
}

.home-page .mock-stats strong,
.home-page .stats-grid strong,
.home-page .stat-tile strong,
.stat-tile strong,
.user-dashboard-page .stat-tile strong,
.user-dashboard-page .membership-countdown strong,
.admin-stat strong,
.metric-card strong {
  font-size: clamp(20px, 2.3vw, 26px) !important;
}

.home-page .mock-stats small,
.home-page .stats-grid span,
.server-meta,
.news-card-meta,
.forum-meta,
.dashboard-list-row small,
.user-dashboard-page .dashboard-tabs button,
.user-dashboard-page .dashboard-subtabs button,
.admin-tabs button,
.admin-subtabs button {
  font-size: 12px !important;
}

.home-page .home-priority-strip b,
.home-page .home-priority-strip a,
.home-page .home-gather-tab-panel p,
.home-page .server-status .my-gather-label,
.map-vote-option strong,
.team-player-name,
.copy-command,
.live-pill,
.badge,
.pill {
  font-size: 13px !important;
}

.home-page .home-gather-tab-panel h2,
.gather-live-score h2,
.gather-score-title,
.match-score,
.server-title,
.profile-title {
  font-size: clamp(18px, 2vw, 24px) !important;
}

.home-page .active-member-main b,
.public-chat-meta a,
.public-chat-meta strong,
.public-chat-form input,
.public-chat-form button {
  font-size: 13px !important;
}

.home-page .active-member-main em,
.home-page .active-list .active-member-row > small,
.public-chat-message p,
.public-chat-empty,
.public-chat-login,
.public-chat-status,
.public-chat-typing,
small,
.muted {
  font-size: 12px !important;
}

.public-chat-toggle {
  min-height: 44px !important;
  padding-inline: 14px !important;
  font-size: 13px !important;
}

.public-chat-header strong {
  font-size: 17px !important;
}

.public-chat-moderation-dialog h3 {
  font-size: 21px !important;
}

.user-dashboard-page .dashboard-hero-compact h1 {
  font-size: clamp(22px, 2.8vw, 34px) !important;
}

.user-dashboard-page .player-card h2,
.player-profile-hero h1 {
  font-size: clamp(24px, 3vw, 36px) !important;
}

.forum-hero-card strong,
.money-balance-card::after,
.player-card::after {
  font-size: clamp(34px, 6vw, 54px) !important;
}

@media (max-width: 760px) {
  body {
    font-size: 13px !important;
  }

  .site-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .main-nav,
  .home-page .main-nav {
    font-size: 13px !important;
  }

  h1,
  .page-hero h1,
  .dashboard-hero h1,
  .gather-page-hero h1,
  .gather-focus-hero h1,
  .forum-hero h1,
  .leaderboard-hero h1,
  .player-profile-hero h1,
  .elo-hero h1,
  .how-hero h1 {
    font-size: 28px !important;
  }

  h2,
  .panel h2,
  .dashboard-subpanel h2,
  .server-card h2,
  .news-card h2,
  .forum-card h2 {
    font-size: 20px !important;
  }
}

/* Requested compact news titles and responsive stats row under the slider. */
.news-card h2 {
  font-size: clamp(12px, 1.15vw, 17px) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

.home-news-card h3 {
  min-height: 0 !important;
  font-size: clamp(11px, 1vw, 13px) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  font-weight: 900 !important;
}

.home-latest-news-panel .mock-panel-title h2 {
  font-size: clamp(16px, 1.5vw, 20px) !important;
}

.news-full-post h2 {
  font-size: clamp(20px, 2.5vw, 32px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

.home-page .mock-stats {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
  gap: 8px !important;
  overflow: hidden !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}

.home-page .mock-stats article {
  min-width: 0 !important;
  min-height: 60px !important;
  grid-template-columns: 24px minmax(0, auto) minmax(0, 1fr) !important;
  grid-template-areas: "icon value label" !important;
  gap: 0 7px !important;
  padding: 9px 10px !important;
  overflow: hidden !important;
  border-right: 0 !important;
  border: 1px solid rgba(255, 255, 255, .055) !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
}

.home-page .stat-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 0 !important;
}

.home-page .mock-stats strong {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  font-size: clamp(17px, 1.65vw, 22px) !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .mock-stats small {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  font-size: 10px !important;
  line-height: 1.05 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (min-width: 1180px) {
  .home-page .mock-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .home-page .mock-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    padding: 7px !important;
  }

  .home-page .mock-stats article {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    grid-template-areas: "icon value" "icon label" !important;
    min-height: 58px !important;
  }
}

@media (max-width: 390px) {
  .home-page .mock-stats {
    grid-template-columns: 1fr !important;
  }
}

/* Header account actions: make Dashboard/Admin/Login/Logout 2px larger. */
.site-header .header-actions .btn.small,
.site-header .header-actions.guest-actions .btn.small,
.home-page .site-header .header-actions .btn.small,
.home-page .site-header .header-actions.guest-actions .btn.small {
  font-size: 14px !important;
}

.language-switcher {
  position: relative;
  z-index: 30;
  flex: 0 0 auto;
}

.language-switcher > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 46px;
  min-height: 34px;
  border: 1px solid rgba(45, 151, 255, .45);
  border-radius: 7px;
  background: rgba(4, 14, 28, .78);
  color: #eaf5ff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.language-switcher > button b {
  font: inherit;
}

.language-flag {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 14px;
  flex: 0 0 22px;
  overflow: hidden;
  border-radius: 3px;
  background-color: #13243b;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .2),
    0 0 0 1px rgba(0, 0, 0, .22);
  font-size: 0 !important;
  line-height: 0;
  letter-spacing: 0;
}

.language-flag::before,
.language-flag::after {
  display: none;
  content: none;
}

.language-flag-ba {
  background-image: url("../images/flags/ba.svg");
}

.language-flag-gb {
  background-image: url("../images/flags/gb.svg");
}

.language-flag-tr {
  background-image: url("../images/flags/tr.svg");
}

.language-flag-fr {
  background-image: url("../images/flags/fr.svg");
}

.language-flag-de {
  background-image: url("../images/flags/de.svg");
}

.language-switcher:hover > button,
.language-switcher:focus-within > button {
  border-color: rgba(255, 178, 43, .78);
  color: #ffcc61;
  background: rgba(10, 24, 45, .94);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 150px;
  padding: 7px;
  border: 1px solid rgba(45, 151, 255, .34);
  border-radius: 8px;
  background: rgba(4, 12, 25, .98);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu a {
  display: grid;
  grid-template-columns: 24px 28px 1fr;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 6px;
  color: #d8e7f8;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.language-menu a b {
  font-size: 13px;
  line-height: 1;
}

.language-menu a span {
  color: #8fa8c4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.language-menu a .language-flag {
  color: #fff;
  font-size: 0 !important;
}

.anticheat-token-box {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.anticheat-token-box label {
  display: grid;
  gap: 6px;
  color: #dceaff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.anticheat-token-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(39, 151, 255, .38);
  border-radius: 6px;
  background: rgba(0, 0, 0, .34);
  color: #fff;
  padding: 0 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: .02em;
}

.anticheat-warning {
  border-color: rgba(39, 151, 255, .36);
  background:
    linear-gradient(135deg, rgba(39, 151, 255, .13), rgba(255, 209, 102, .08)),
    rgba(4, 10, 22, .9);
}

.anticheat-status-card {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(255, 85, 85, .34);
  border-radius: 8px;
  background: rgba(255, 85, 85, .08);
}

.anticheat-status-card.is-ok {
  border-color: rgba(38, 214, 117, .38);
  background: rgba(38, 214, 117, .08);
}

.anticheat-status-card.is-waiting {
  border-color: rgba(255, 213, 79, .34);
  background: rgba(255, 213, 79, .08);
}

.anticheat-status-card span {
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.anticheat-status-card strong {
  color: #b9c8dd;
  font-size: 14px;
  line-height: 1.45;
}

.anticheat-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .74), rgba(2, 12, 31, .88)),
    radial-gradient(circle at 20% 20%, rgba(39, 151, 255, .24), transparent 36%),
    radial-gradient(circle at 78% 18%, rgba(255, 184, 47, .18), transparent 32%),
    #061020;
}

.anticheat-hero::after {
  content: "";
  position: absolute;
  inset: auto 24px 20px auto;
  width: min(330px, 42vw);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(39, 151, 255, .24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 151, 255, .2), rgba(255, 184, 47, .1)),
    linear-gradient(45deg, transparent 48%, rgba(39, 151, 255, .24) 50%, transparent 52%);
  opacity: .32;
  pointer-events: none;
}

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

.anticheat-download-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
}

.anticheat-download-card h2,
.anticheat-notes h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
}

.anticheat-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #d6e3f5;
  font-size: 14px;
  line-height: 1.45;
}

.anticheat-steps li::marker {
  color: #2797ff;
  font-weight: 950;
}

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

.anticheat-check-list span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: #b9c8dd;
  font-size: 14px;
  line-height: 1.35;
}

.anticheat-check-list b {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.anticheat-check-list.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.anticheat-notes {
  display: grid;
  gap: 14px;
}

.anticheat-admin-kpis {
  margin: 14px 0 18px;
}

.anticheat-admin-settings {
  margin-top: 16px;
}

.anticheat-admin-settings .admin-check-label {
  align-content: start;
}

.anticheat-admin-settings .admin-check-label span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(39, 151, 255, .22);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  padding: 0 12px;
  color: #dceaff;
  font-size: 14px;
  font-weight: 850;
}

.anticheat-admin-settings .admin-check-label input {
  width: auto;
  min-height: 0;
}

.anticheat-production-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.anticheat-production-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 178px;
  border: 1px solid rgba(39, 151, 255, .24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(39, 151, 255, .08), rgba(255, 184, 47, .04)),
    rgba(0, 0, 0, .2);
  padding: 12px;
}

.anticheat-production-card b {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}

.anticheat-production-card small {
  min-height: 58px;
  color: #aebdd1;
  font-size: 13px;
  line-height: 1.35;
}

.anticheat-production-card select,
.anticheat-row-actions select {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  padding: 0 10px;
  font-weight: 850;
}

.anticheat-session-row {
  align-items: start;
  gap: 14px;
}

.anticheat-row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.anticheat-screenshot-card {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(39, 151, 255, .24);
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
  padding: 10px;
  color: #fff;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.anticheat-screenshot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 151, 255, .55);
  background: rgba(39, 151, 255, .08);
}

.anticheat-screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
}

.anticheat-screenshot-card span {
  display: grid;
  gap: 3px;
}

.anticheat-screenshot-card b {
  font-size: 14px;
}

.anticheat-screenshot-card small {
  color: #9fb0c5;
  font-size: 12px;
}

.admin-inline-link {
  color: #8ec8ff;
  text-decoration: none;
}

.admin-inline-link:hover {
  color: #fff;
  text-decoration: underline;
}

.admin-match-player-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.admin-match-player-links a {
  display: inline-grid;
  gap: 2px;
  min-width: 94px;
  border: 1px solid rgba(39, 151, 255, .22);
  border-radius: 8px;
  background: rgba(39, 151, 255, .07);
  color: #eaf4ff;
  padding: 7px 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.admin-match-player-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(39, 151, 255, .55);
  background: rgba(39, 151, 255, .14);
}

.admin-match-player-links small {
  color: #9fb0c5;
  font-size: 11px;
  font-weight: 850;
}

.anticheat-user-page {
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 0;
}

@media (max-width: 980px) {
  .anticheat-grid,
  .anticheat-check-list.compact,
  .anticheat-production-grid,
  .anticheat-screenshot-grid {
    grid-template-columns: 1fr;
  }
}

.language-menu a:hover,
.language-menu a.active {
  background: rgba(17, 93, 225, .25);
  color: #fff;
}

@media (max-width: 760px) {
  .language-switcher {
    flex: 0 0 54px;
  }

  .language-switcher > button {
    width: 100%;
  }

  .language-menu {
    right: auto;
    left: 0;
  }
}

/* Compact forum titles/categories and gather headings. */
.forum-page .forum-hero h1 {
  font-size: clamp(20px, 2.6vw, 32px) !important;
  line-height: 1.05 !important;
}

.forum-page .forum-game-head h2,
.forum-page .forum-latest-card h2,
.forum-page .forum-rules-card h2,
.forum-page .forum-form-card h2 {
  font-size: 18px !important;
  line-height: 1.08 !important;
}

.forum-page .forum-focus-strip b,
.forum-page .forum-latest-list h3 {
  font-size: 14px !important;
}

.forum-page .forum-focus-strip small,
.forum-page .forum-section-row small,
.forum-page .forum-topic-row small {
  font-size: 11px !important;
}

.forum-page .forum-section-row h3,
.forum-page .forum-topic-row h3 {
  font-size: 15px !important;
  line-height: 1.15 !important;
}

.forum-page .forum-post-body h2 {
  font-size: 20px !important;
  line-height: 1.15 !important;
}

.forum-page .forum-section-row p,
.forum-page .forum-topic-row p {
  font-size: 13px !important;
}

.forum-page .forum-section-row strong,
.forum-page .forum-topic-row strong {
  font-size: 18px !important;
}

.gather-page-hero h1 {
  font-size: clamp(20px, 2.6vw, 32px) !important;
}

.gather-focus-hero h1 {
  font-size: clamp(18px, 2.3vw, 28px) !important;
}

.server-card header strong,
.server-card h3,
.server-title,
.home-page .server-main h3 {
  font-size: clamp(14px, 1.55vw, 18px) !important;
  line-height: 1.08 !important;
}

.home-page .home-gather-tab-panel h2 {
  font-size: clamp(16px, 1.7vw, 20px) !important;
}

.status-page .page-hero.compact {
  max-width: 1180px;
  margin: 28px auto 18px;
  padding: 28px;
}

.status-grid,
.status-server-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 18px;
}

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

.status-overview-card,
.status-list-card,
.status-server-card {
  border: 1px solid rgba(30, 41, 59, .95);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, .94), rgba(15, 23, 42, .88)),
    rgba(7, 17, 31, .92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.status-overview-card h2,
.status-list-card h2,
.status-server-section h2 {
  margin: 4px 0 14px;
  font-size: 22px;
}

.status-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.status-kpis span {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(30, 41, 59, .9);
  border-radius: 8px;
  background: rgba(2, 8, 23, .52);
}

.status-kpis b {
  color: #38bdf8;
  font-size: 26px;
}

.status-kpis small,
.status-overview-card small,
.status-server-section .section-head small {
  color: #94a3b8;
}

.status-server-section {
  padding: 20px;
  border: 1px solid rgba(30, 41, 59, .8);
  border-radius: 12px;
  background: rgba(2, 6, 23, .36);
}

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

.status-server-card {
  overflow: hidden;
  padding: 0;
}

.status-server-card header,
.status-server-card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.status-server-card header {
  align-items: flex-start;
}

.status-server-card header strong {
  display: block;
  color: #f8fafc;
  font-size: 16px;
}

.status-server-card header small,
.status-server-card footer {
  color: #94a3b8;
  font-size: 13px;
}

.status-server-card footer {
  flex-wrap: wrap;
  border-top: 1px solid rgba(30, 41, 59, .75);
}

.status-server-map {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  background: #020617;
}

.status-server-map img {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.status-server-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 23, .82));
}

.status-server-map b {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
}

.status-server-card.is-online {
  border-color: rgba(34, 197, 94, .38);
}

.status-server-card.is-offline {
  border-color: rgba(239, 68, 68, .38);
}

@media (max-width: 980px) {
  .status-grid,
  .status-server-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .status-page .page-hero.compact,
  .status-server-section {
    width: min(100% - 20px, 1180px);
    padding: 16px;
  }

  .status-grid {
    width: min(100% - 20px, 1180px);
  }

  .status-kpis {
    grid-template-columns: 1fr;
  }
}

.admin-worker-grid {
  margin-top: 16px;
}

.anticheat-version-line {
  margin: 14px 0 0;
  color: #9fb2c8;
  font-size: 13px;
}

.anticheat-version-line a {
  color: #38bdf8;
  font-weight: 800;
}

/* Header dropdown navigation */
.main-nav .nav-dropdown,
.home-page .main-nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: -12px;
  z-index: 120;
}

.main-nav .nav-dropdown-trigger,
.home-page .main-nav .nav-dropdown-trigger {
  gap: 6px;
}

.main-nav .nav-dropdown-trigger::before,
.home-page .main-nav .nav-dropdown-trigger::before {
  content: "";
  order: 2;
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .8;
}

.main-nav .nav-dropdown-menu,
.home-page .main-nav .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(32, 184, 255, .32);
  border-radius: 10px;
  background: rgba(3, 10, 24, .98);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .48), 0 0 22px rgba(32, 184, 255, .12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
}

.main-nav .nav-dropdown-menu::before,
.home-page .main-nav .nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.main-nav .nav-dropdown:hover .nav-dropdown-menu,
.main-nav .nav-dropdown:focus-within .nav-dropdown-menu,
.home-page .main-nav .nav-dropdown:hover .nav-dropdown-menu,
.home-page .main-nav .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.main-nav .nav-dropdown-menu a,
.home-page .main-nav .nav-dropdown-menu a {
  justify-content: flex-start;
  min-height: 34px !important;
  padding: 8px 10px !important;
  border-radius: 7px !important;
  color: #dcecff;
  font-size: 13px !important;
  text-align: left;
}

.main-nav .nav-dropdown.active > .nav-dropdown-trigger,
.home-page .main-nav .nav-dropdown.active > .nav-dropdown-trigger {
  color: #fff !important;
  border-color: rgba(32,184,255,.42);
  background: linear-gradient(180deg, rgba(32,184,255,.16), rgba(4,12,28,.44));
  box-shadow: inset 0 0 18px rgba(32,184,255,.08), 0 0 18px rgba(32,184,255,.12);
}

@media (max-width: 760px) {
  .main-nav .nav-dropdown,
  .home-page .main-nav .nav-dropdown {
    display: grid;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .main-nav .nav-dropdown-trigger,
  .home-page .main-nav .nav-dropdown-trigger {
    width: 100%;
    justify-content: center;
  }

  .main-nav .nav-dropdown-menu,
  .home-page .main-nav .nav-dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 5px;
    border-color: rgba(32, 184, 255, .18);
    background: rgba(2, 6, 18, .54);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .main-nav .nav-dropdown-menu a,
  .home-page .main-nav .nav-dropdown-menu a {
    justify-content: center;
    width: 100%;
    font-size: 13px !important;
  }
}

/* Anti-cheat public download page redesign */
.anticheat-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  min-height: 430px;
  border-color: rgba(56, 189, 248, .32);
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .9), rgba(2, 12, 31, .72)),
    radial-gradient(circle at 18% 20%, rgba(14, 165, 233, .32), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(245, 158, 11, .24), transparent 30%),
    linear-gradient(135deg, #020617, #07111f 55%, #050816);
}

.anticheat-landing-hero::after {
  width: min(520px, 46vw);
  opacity: .18;
}

.anticheat-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.anticheat-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 70px) !important;
}

.anticheat-hero-copy p {
  max-width: 760px;
  color: #bfd2ea;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
}

.anticheat-client-preview {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(56, 189, 248, .34);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .88), rgba(2, 6, 23, .94)),
    rgba(7, 17, 31, .9);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .44), 0 0 34px rgba(14, 165, 233, .14);
}

.ac-window-bar,
.ac-shot-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 8px;
  background: rgba(2, 6, 23, .62);
}

.ac-window-bar span,
.ac-shot-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
}

.ac-window-bar span:nth-child(2),
.ac-shot-top span:nth-child(2) {
  background: #f59e0b;
}

.ac-window-bar span:nth-child(3),
.ac-shot-top span:nth-child(3) {
  background: #22c55e;
}

.ac-window-bar b,
.ac-shot-top strong {
  min-width: 0;
  margin-left: 4px;
  overflow: hidden;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-client-status {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(245, 158, 11, .32);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, .22), transparent 50%),
    rgba(245, 158, 11, .08);
  text-align: center;
}

.ac-client-status.is-ready {
  border-color: rgba(34, 197, 94, .36);
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, .22), transparent 50%),
    rgba(34, 197, 94, .08);
}

.ac-client-status small,
.ac-ready-screen small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ac-client-status strong {
  color: #fbbf24;
  font-size: clamp(28px, 4vw, 48px);
  line-height: .9;
}

.ac-client-status.is-ready strong {
  color: #4ade80;
}

.ac-client-status em {
  color: #dbeafe;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.ac-client-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ac-client-metrics span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 8px;
  background: rgba(15, 23, 42, .65);
  text-align: center;
}

.ac-client-metrics b {
  color: #fff;
  font-size: 15px;
}

.ac-client-metrics small,
.ac-client-log span {
  color: #93a7c0;
  font-size: 12px;
  font-weight: 800;
}

.ac-client-log {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 8px;
  background: rgba(2, 6, 23, .46);
}

.anticheat-quick-start,
.anticheat-tutorial-panel {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
}

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

.ac-step-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 18px;
  border-color: rgba(56, 189, 248, .22);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ac-step-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -48% 28%;
  height: 90px;
  background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 62%);
  pointer-events: none;
}

.ac-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, .46);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .26);
}

.ac-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, .32);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 165, 233, .18), rgba(245, 158, 11, .09));
  color: #38bdf8;
  box-shadow: inset 0 0 18px rgba(56, 189, 248, .12);
}

.ac-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ac-step-card b {
  color: #fff;
  font-size: 18px;
  line-height: 1.05;
}

.ac-step-card small {
  color: #a9bbd2;
  font-size: 14px;
  line-height: 1.45;
}

.anticheat-tutorial-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.anticheat-tutorial-panel .section-head {
  align-items: end;
  margin: 0;
}

.anticheat-tutorial-panel h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 34px);
}

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

.ac-tutorial-shot {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.ac-tutorial-shot figcaption {
  display: grid;
  gap: 3px;
}

.ac-tutorial-shot figcaption b {
  color: #fff;
  font-size: 16px;
}

.ac-tutorial-shot figcaption small {
  color: #9fb0c5;
  font-size: 13px;
}

.ac-browser-shot,
.ac-app-shot {
  display: grid;
  gap: 10px;
  min-height: 304px;
  padding: 10px;
  border: 1px solid rgba(56, 189, 248, .24);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .78), rgba(2, 6, 23, .94)),
    #020617;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.ac-token-board,
.ac-form-lines,
.ac-ready-screen {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 10px;
  background: rgba(15, 23, 42, .48);
}

.ac-token-board label,
.ac-form-lines span,
.ac-ready-screen span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #93a7c0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ac-token-board code,
.ac-form-lines strong,
.ac-ready-screen div {
  min-width: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 8px;
  background: rgba(2, 6, 23, .72);
  color: #dbeafe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-token-board button,
.ac-form-lines button {
  min-height: 28px;
  border: 1px solid rgba(56, 189, 248, .38);
  border-radius: 6px;
  background: rgba(56, 189, 248, .12);
  color: #bae6fd;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.ac-form-lines button {
  min-height: 42px;
  margin-top: 4px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #03130d;
}

.ac-app-shot.is-live {
  border-color: rgba(34, 197, 94, .28);
}

.ac-ready-screen {
  align-content: center;
  min-height: 242px;
}

.ac-ready-screen > strong {
  color: #4ade80;
  font-size: 46px;
  line-height: .95;
  text-align: center;
}

.ac-ready-screen > small {
  text-align: center;
}

.ac-ready-screen div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ac-ready-screen div b {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
}

.ac-tutorial-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  min-height: 318px;
  padding: 12px;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, .28), transparent 34%),
    radial-gradient(circle at 82% 6%, rgba(245, 158, 11, .18), transparent 30%),
    linear-gradient(145deg, rgba(15, 23, 42, .9), rgba(2, 6, 23, .98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .035),
    0 16px 46px rgba(0, 0, 0, .24);
}

.ac-tutorial-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 76%);
  pointer-events: none;
}

.ac-tutorial-visual > * {
  position: relative;
  z-index: 1;
}

.ac-install-card,
.ac-pair-card,
.ac-ready-card {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 246px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .74), rgba(2, 6, 23, .84)),
    rgba(0, 0, 0, .24);
  box-shadow: inset 0 0 30px rgba(56, 189, 248, .055);
}

.ac-logo-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, .42);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, .28), rgba(37, 99, 235, .18));
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(14, 165, 233, .18);
}

.ac-install-card b {
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.ac-install-card small,
.ac-pair-card small,
.ac-ready-card small {
  color: #9fb0c5;
  font-size: 12px;
  font-weight: 850;
}

.ac-install-progress {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .86);
  border: 1px solid rgba(56, 189, 248, .16);
}

.ac-install-progress i {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  box-shadow: 0 0 20px rgba(34, 197, 94, .24);
}

.ac-install-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ac-install-options span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 197, 94, .18);
  border-radius: 8px;
  background: rgba(34, 197, 94, .07);
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.ac-pair-code {
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, .24);
  border-radius: 10px;
  background: rgba(245, 158, 11, .08);
}

.ac-pair-code strong {
  display: block;
  margin-top: 6px;
  color: #fbbf24;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 26px;
  letter-spacing: .08em;
}

.ac-pair-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 10px;
  background: rgba(2, 6, 23, .62);
}

.ac-pair-profile .mini-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, .34);
  background: radial-gradient(circle at 30% 25%, rgba(56, 189, 248, .42), rgba(37, 99, 235, .18));
  color: #fff;
  font-size: 17px;
}

.ac-pair-profile b {
  display: block;
  color: #fff;
  font-size: 15px;
}

.ac-pair-profile small {
  display: block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-pair-card button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.ac-ready-card {
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
}

.ac-ready-ring {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  justify-self: center;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, .42);
  background:
    radial-gradient(circle, rgba(34, 197, 94, .2), rgba(34, 197, 94, .05) 56%, rgba(2, 6, 23, .86) 57%),
    conic-gradient(from 20deg, #22c55e 0 82%, rgba(34, 197, 94, .16) 82% 100%);
  box-shadow: 0 0 34px rgba(34, 197, 94, .2);
}

.ac-ready-ring strong {
  color: #dcfce7;
  font-size: 26px;
  line-height: 1;
}

.ac-ready-ring small {
  color: #4ade80;
  font-size: 11px;
  letter-spacing: .08em;
}

.ac-ready-lines {
  display: grid;
  gap: 9px;
}

.ac-ready-lines span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 9px;
  background: rgba(2, 6, 23, .58);
}

.ac-ready-lines b {
  color: #b9c8dd;
  font-size: 12px;
}

.ac-ready-lines em {
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.ac-account-status {
  margin: 4px 0 2px;
}

@media (max-width: 1040px) {
  .anticheat-landing-hero,
  .anticheat-tutorial-grid {
    grid-template-columns: 1fr;
  }

  .anticheat-client-preview {
    max-width: 620px;
  }

  .anticheat-quick-start {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .anticheat-landing-hero {
    min-height: 0;
    padding: 22px 16px;
  }

  .anticheat-quick-start,
  .anticheat-tutorial-panel {
    width: min(100% - 20px, 1240px);
  }

  .anticheat-quick-start {
    grid-template-columns: 1fr;
  }

  .ac-client-metrics {
    grid-template-columns: 1fr;
  }

  .ac-browser-shot,
  .ac-app-shot,
  .ac-tutorial-visual {
    min-height: 0;
  }

  .ac-install-card,
  .ac-pair-card,
  .ac-ready-card {
    min-height: 0;
    padding: 14px;
  }

  .ac-install-options,
  .ac-ready-card {
    grid-template-columns: 1fr;
  }

  .ac-ready-ring {
    width: 132px;
    height: 132px;
  }

  .ac-pair-code strong {
    font-size: 22px;
  }
}

/* Cleaner top header notices */
.beta-notice {
  min-height: 42px !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
  padding: 9px clamp(14px, 3vw, 34px) !important;
  font-family: var(--font-ui) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
}

.beta-notice strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 155, 31, .38);
  border-radius: 999px;
  background: rgba(255, 155, 31, .1);
  color: #ffb341 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.beta-notice span {
  max-width: 760px;
  color: rgba(226, 238, 255, .88) !important;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.anticheat-notice {
  min-height: 42px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border-top: 1px solid rgba(60, 255, 176, .1);
}

.anticheat-notice strong {
  border-color: rgba(60, 255, 176, .42);
  background: rgba(60, 255, 176, .1);
  color: #4dffc0 !important;
}

.anticheat-notice span {
  color: rgba(218, 255, 239, .9) !important;
}

.anticheat-notice-link {
  min-height: 27px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .beta-notice {
    min-height: 0 !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    text-align: center;
  }

  .beta-notice strong {
    min-height: 23px;
    font-size: 11px !important;
  }

  .beta-notice span {
    max-width: 100%;
    font-size: 11px !important;
    line-height: 1.3;
  }

  .anticheat-notice-link {
    margin-top: 2px !important;
  }
}

.home-page .deathmatch-widget {
  position: relative;
  overflow: hidden;
  padding: 15px !important;
  border: 1px solid rgba(255, 190, 64, .36) !important;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 177, 45, .18), transparent 34%),
    linear-gradient(180deg, rgba(8, 23, 39, .95), rgba(3, 12, 24, .93)) !important;
}

.home-page .deathmatch-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 175, 41, .08), transparent 38%, rgba(0, 136, 255, .09));
}

.home-page .deathmatch-widget > * {
  position: relative;
  z-index: 1;
}

.home-page .deathmatch-title {
  margin-bottom: 11px !important;
}

.home-page .deathmatch-title h2 {
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
}

.home-page .deathmatch-cover {
  position: relative;
  min-height: 128px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.68)),
    linear-gradient(135deg, #17385e, #080d16 58%, #6b4317);
}

.home-page .deathmatch-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .deathmatch-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.62));
}

.home-page .deathmatch-map-info {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid rgba(255, 190, 64, .38);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(5, 12, 22, .88), rgba(5, 12, 22, .62));
  color: #fff;
  backdrop-filter: blur(4px);
}

.home-page .deathmatch-map-info span {
  color: rgba(220, 231, 246, .78);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-page .deathmatch-map-info strong {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

.home-page .deathmatch-body {
  display: grid;
  gap: 10px;
  padding-top: 13px;
}

.home-page .deathmatch-body h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.home-page .deathmatch-body p {
  margin: 0;
  color: rgba(220, 231, 246, .82);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.home-page .deathmatch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.home-page .deathmatch-meta span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  color: rgba(180, 195, 214, .9);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.home-page .deathmatch-meta b {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .deathmatch-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.home-page .deathmatch-connect code {
  min-height: 36px;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 0 10px;
  border: 1px solid rgba(26, 137, 255, .24);
  border-radius: 5px;
  background: rgba(0,0,0,.26);
  color: #dce9ff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .deathmatch-connect button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 190, 64, .45);
  border-radius: 5px;
  background: rgba(255, 176, 30, .14);
  color: #ffd273;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.home-page .deathmatch-widget .btn {
  min-height: 38px;
  border-radius: 5px;
  font-size: 13px !important;
}

.home-page .deathmatch-rank-widget {
  padding: 15px !important;
  border: 1px solid rgba(26, 137, 255, .24) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(26, 137, 255, .16), transparent 34%),
    linear-gradient(180deg, rgba(8, 23, 39, .94), rgba(3, 12, 24, .96)) !important;
}

.home-page .deathmatch-rank-widget .deathmatch-title a {
  color: #5db4ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .07em;
  text-decoration: none;
}

.home-page .deathmatch-rank-list {
  display: grid;
  gap: 8px;
}

.home-page .deathmatch-rank-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(255,255,255,.035);
  color: #fff;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.home-page .deathmatch-rank-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 190, 64, .38);
  background: rgba(255,255,255,.06);
}

.home-page .deathmatch-rank-row em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: rgba(26, 137, 255, .16);
  color: #8dccff;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.home-page .deathmatch-rank-row strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .deathmatch-rank-row small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: rgba(180, 195, 214, .82);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .deathmatch-rank-row b {
  color: #ffd273;
  font-size: 16px;
  font-weight: 950;
}

.home-page .deathmatch-rank-empty {
  margin: 0;
  padding: 12px;
  border: 1px dashed rgba(255,255,255,.13);
  border-radius: 6px;
  color: rgba(220, 231, 246, .78);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.deathmatch-rank-hero {
  background:
    linear-gradient(90deg, rgba(3, 9, 18, .94), rgba(3, 9, 18, .58)),
    url("../images/maps/de_nuke.jpg") center/cover no-repeat;
}

.deathmatch-page-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: rgba(255,255,255,.035);
}

.deathmatch-page-status span:not(.live-pill) {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: rgba(180, 195, 214, .88);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.deathmatch-page-status b {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deathmatch-rank-table .leaderboard-row {
  grid-template-columns: 58px minmax(180px, 1fr) 100px 96px 88px 82px 94px;
}

.deathmatch-rank-table .leaderboard-head {
  font-size: 12px;
}

.dm-online {
  color: #51f27a !important;
  font-weight: 950 !important;
}

.dm-offline {
  color: #ff6b6b !important;
  font-weight: 950 !important;
}

@media (max-width: 820px) {
  .deathmatch-page-status {
    grid-template-columns: 1fr;
  }

  .deathmatch-rank-table .leaderboard-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .deathmatch-rank-table .leaderboard-row > :nth-child(4),
  .deathmatch-rank-table .leaderboard-row > :nth-child(5),
  .deathmatch-rank-table .leaderboard-row > :nth-child(6) {
    display: none;
  }
}

/* Compact Deathmatch rank inside the server widget. */
.home-page .deathmatch-inline-rank {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.home-page .deathmatch-inline-rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-page .deathmatch-inline-rank-head strong {
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.home-page .deathmatch-inline-rank-head a {
  color: #ffd273;
  font-size: 11px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.home-page .deathmatch-rank-all {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 190, 64, .36);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 190, 64, .16), rgba(255, 190, 64, .06));
  color: #ffd273;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.home-page .deathmatch-rank-all:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 210, 115, .62);
  background: linear-gradient(180deg, rgba(255, 190, 64, .24), rgba(255, 190, 64, .1));
}

/* Restore the gather area to the old two-column desktop layout, but keep the
   right widgets narrower and more compact. */
@media (min-width: 1101px) {
  .home-page .mock-layout {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    align-items: start !important;
    gap: 14px !important;
  }

  .home-page .left-col {
    min-width: 0;
  }

  .home-page .right-col {
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 12px !important;
  }

  .home-page .right-col > .panel {
    min-width: 0;
  }

  .home-page .active-panel {
    min-height: 0 !important;
    padding: 14px !important;
  }

  .home-page .active-list {
    gap: 6px !important;
  }

  .home-page .active-member-row,
  .home-page .active-list span {
    min-height: 40px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .home-page .active-list i,
  .home-page .active-member-row .avatar {
    width: 32px !important;
    height: 32px !important;
  }

  .home-page .deathmatch-cover {
    min-height: 92px !important;
  }

  .home-page .deathmatch-body {
    gap: 8px !important;
    padding-top: 10px !important;
  }

  .home-page .deathmatch-widget {
    padding: 13px !important;
  }

  .home-page .deathmatch-body p {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .home-page .deathmatch-rank-row {
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  .home-page .deathmatch-rank-row em {
    width: 30px !important;
    height: 30px !important;
  }

  .home-page .deathmatch-rank-empty {
    padding: 10px !important;
    font-size: 12px !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .home-page .right-col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .right-col > .active-panel {
    grid-column: 1 / -1;
  }
}

.anticheat-link-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 16px 56px;
}

.anticheat-link-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(0, 140, 255, .32);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 112, 255, .18), transparent 36%),
    linear-gradient(145deg, rgba(7, 17, 31, .98), rgba(3, 9, 20, .98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

.anticheat-link-card h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.05 !important;
}

.anticheat-link-card p {
  max-width: 720px;
  margin: 0;
  color: #b8c7dd;
  font-size: 15px;
  line-height: 1.55;
}

.anticheat-link-card .steam-lock-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .anticheat-link-card .steam-lock-details {
    grid-template-columns: 1fr;
  }
}

.admin-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.anticheat-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.anticheat-review-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(0, 140, 255, .18);
  border-radius: 8px;
  background: rgba(6, 16, 30, .92);
  color: #e8f1ff;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.anticheat-review-card:hover,
.anticheat-review-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(0, 140, 255, .65);
  background: rgba(10, 28, 52, .96);
}

.anticheat-review-card b {
  font-size: 15px;
  line-height: 1.25;
}

.anticheat-review-card small {
  color: #aebed2;
  font-size: 13px;
  line-height: 1.45;
}

.admin-row-item.is-highlighted {
  border-color: rgba(255, 210, 115, .65) !important;
  background: rgba(255, 184, 77, .08) !important;
}

.anticheat-user-screens {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.anticheat-user-screens:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.anticheat-user-screens > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.anticheat-user-screens > header b {
  color: #fff;
  font-size: 16px;
}

.anticheat-user-screens > header small {
  color: #aebed2;
  font-size: 13px;
}

/* Deathmatch title fit */
.server-card.deathmatch-server-card header strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(9px, .68vw, 11px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

.home-page .deathmatch-body h3 {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(10px, .78vw, 12px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 640px) {
.server-card.deathmatch-server-card header strong,
  .home-page .deathmatch-body h3 {
    font-size: 10px !important;
  }
}

/* Public player profile presence below the avatar. */
.player-profile-avatar-wrap {
  --profile-avatar-size: clamp(90px, 13.2vw, 150px);
}

.player-profile-avatar {
  width: var(--profile-avatar-size) !important;
}

.player-avatar-presence {
  width: var(--profile-avatar-size);
  max-width: var(--profile-avatar-size);
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 3px 7px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(2, 8, 18, .76);
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.player-avatar-presence .presence-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.player-avatar-presence strong,
.player-avatar-presence small {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.player-avatar-presence strong {
  font-size: 12px !important;
  font-weight: 950;
}

.player-avatar-presence small {
  grid-column: 2;
  color: rgba(218, 229, 244, .78);
  font-size: 11px !important;
  font-weight: 800;
}

.player-avatar-presence.is-online {
  border-color: rgba(58, 255, 135, .42);
  color: #52ff89;
  background: rgba(18, 86, 45, .22);
}

.player-avatar-presence.is-online .presence-dot {
  background: #52ff89;
  box-shadow: 0 0 16px rgba(82, 255, 137, .8);
}

.player-avatar-presence.is-offline {
  border-color: rgba(255, 73, 73, .42);
  color: #ff6b6b;
  background: rgba(88, 18, 26, .22);
}

.player-avatar-presence.is-offline .presence-dot {
  background: #ff4d4d;
  box-shadow: 0 0 16px rgba(255, 77, 77, .72);
}

@media (max-width: 640px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }
}

.home-page .home-gather-title {
  align-items: end;
}

.home-page .home-gather-title > div {
  min-width: 0;
}

.home-page .home-gather-title h2 {
  margin-bottom: 4px;
}

.home-page .home-gather-title > a {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(32,184,255,.34);
  border-radius: 6px;
  color: #fff !important;
  background: linear-gradient(180deg, rgba(17,109,255,.86), rgba(8,53,162,.86));
  font-size: 13px !important;
  font-weight: 950 !important;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .server-game-badge {
  display: inline-grid !important;
  place-items: center;
  margin-right: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(32,184,255,.34);
  border-radius: 5px;
  color: #8bddff !important;
  background: rgba(32,184,255,.1);
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  vertical-align: 2px;
}

.home-page .server-game-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 2px;
  padding: 12px 14px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(6, 22, 42, .92), rgba(2, 8, 18, .76)),
    radial-gradient(circle at 92% 50%, rgba(32,184,255,.16), transparent 34%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.home-page .server-game-heading:first-child {
  margin-top: 0;
}

.home-page .server-game-heading img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(32,184,255,.44));
}

.home-page .server-game-heading div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-page .server-game-heading strong {
  color: #fff;
  font-family: var(--font-ui) !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  text-transform: uppercase;
}

.home-page .server-game-heading span {
  color: rgba(213, 231, 248, .76);
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.home-page .server-game-heading.is-cs16 {
  border-color: rgba(255, 166, 66, .3);
  background:
    linear-gradient(90deg, rgba(39, 21, 7, .78), rgba(2, 8, 18, .76)),
    radial-gradient(circle at 92% 50%, rgba(255,132,0,.18), transparent 34%);
}

.home-page .server-game-heading.is-cs16 img {
  filter: drop-shadow(0 0 12px rgba(255,132,0,.44));
}

.home-page .home-recent-matches {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 18, 32, .88), rgba(2, 8, 18, .88)),
    radial-gradient(circle at 90% 20%, rgba(32,184,255,.16), transparent 34%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.home-page .home-recent-matches,
.home-page .home-recent-matches a,
.home-page .home-recent-matches h3,
.home-page .home-recent-matches p,
.home-page .home-recent-matches span,
.home-page .home-recent-matches small,
.home-page .home-recent-matches strong,
.home-page .home-recent-matches b {
  font-family: var(--font-ui) !important;
  letter-spacing: 0 !important;
}

.home-page .home-recent-matches-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.home-page .home-recent-matches-head div {
  display: grid;
  gap: 3px;
}

.home-page .home-recent-matches-head strong {
  color: #fff;
  font-family: var(--font-ui) !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.home-page .home-recent-matches-head span {
  color: rgba(213, 231, 248, .72);
  font-size: 12px !important;
  font-weight: 800 !important;
}

.home-page .home-recent-matches-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(32,184,255,.36);
  border-radius: 6px;
  color: #eaf6ff;
  background: rgba(32,184,255,.1);
  font-size: 12px !important;
  font-weight: 950 !important;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .home-recent-matches-head a:hover {
  border-color: rgba(32,184,255,.7);
  background: rgba(32,184,255,.18);
  transform: translateY(-1px);
}

.home-page .home-recent-match-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-page .home-recent-match {
  display: block;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .82), rgba(2, 8, 18, .82));
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  color: inherit;
  text-decoration: none;
}

.home-page .home-recent-match:hover {
  border-color: rgba(32,184,255,.38);
  transform: translateY(-1px);
}

.home-page .home-recent-match-meta,
.home-page .home-recent-score,
.home-page .home-recent-winner {
  display: flex;
  align-items: center;
}

.home-page .home-recent-match-meta {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.home-page .home-recent-match-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.home-page .home-recent-match-tags span,
.home-page .home-recent-match-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(32,184,255,.3);
  border-radius: 999px;
  color: #20b8ff;
  background: rgba(32,184,255,.1);
  font-size: 11px !important;
  font-weight: 950 !important;
}

.home-page .home-recent-match-meta small,
.home-page .home-recent-match p {
  color: rgba(213, 231, 248, .72);
  font-size: 12px !important;
  font-weight: 800 !important;
}

.home-page .home-recent-match h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .home-recent-match p {
  margin: 0 0 10px;
}

.home-page .home-recent-match p b {
  color: #fff;
  font-weight: 950 !important;
}

.home-page .home-recent-score {
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 8px;
  background: rgba(2, 8, 18, .42);
}

.home-page .home-recent-score span {
  color: rgba(213, 231, 248, .78);
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

.home-page .home-recent-score strong {
  color: #fff;
  font-size: 26px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(32,184,255,.35);
}

.home-page .home-recent-winner {
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(60,255,176,.08);
  color: #3cffb0;
}

.home-page .home-recent-winner.team-two {
  background: rgba(32,184,255,.1);
  color: #20b8ff;
}

.home-page .home-recent-winner small,
.home-page .home-recent-winner b {
  font-size: 12px !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

.home-page .home-recent-match.is-empty {
  grid-column: 1 / -1;
}

.newsletter-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 16px;
  margin-top: 16px;
}

.newsletter-admin-grid .admin-form,
.newsletter-campaign-form,
.newsletter-preview-panel {
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(7, 17, 31, .88), rgba(2, 8, 18, .76)),
    radial-gradient(circle at 92% 12%, rgba(32,184,255,.11), transparent 32%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 16px 34px rgba(0,0,0,.18);
}

.newsletter-admin-grid .admin-form h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 17px !important;
  font-weight: 950 !important;
}

.newsletter-list-picker {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(32,184,255,.18);
  border-radius: 10px;
  background: rgba(2, 8, 18, .48);
}

.newsletter-list-picker.inline {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.newsletter-list-picker label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  margin: 0 !important;
  background: rgba(255,255,255,.035);
  color: rgba(234,246,255,.88);
  font-size: 14px !important;
  font-weight: 850 !important;
}

.newsletter-list-picker label:hover {
  border-color: rgba(32,184,255,.28);
  background: rgba(32,184,255,.08);
}

.newsletter-list-picker input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #20b8ff;
}

.newsletter-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.newsletter-list-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(32,184,255,.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(4,18,32,.88), rgba(2,8,18,.82));
}

.newsletter-list-card strong {
  color: #fff;
  font-size: 15px !important;
  font-weight: 950 !important;
}

.newsletter-list-card span {
  color: #3cffb0;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.newsletter-list-card small {
  color: rgba(213, 231, 248, .72);
  font-size: 12px !important;
}

.newsletter-campaign-form {
  margin-top: 16px;
  padding: 14px;
}

.newsletter-campaign-form textarea[name="newsletter_body_html"] {
  min-height: 360px;
  border-color: rgba(32,184,255,.22);
  background: rgba(1, 8, 18, .72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  tab-size: 2;
}

.newsletter-preview-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
}

.newsletter-preview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.newsletter-preview-actions .muted {
  margin: 0;
  font-size: 13px !important;
}

.newsletter-preview-send-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.newsletter-preview-send-actions .btn {
  min-width: 126px;
}

.newsletter-preview-panel h3 {
  margin: 0;
  color: #fff;
  font-size: 18px !important;
}

.newsletter-preview-frame {
  width: 100%;
  min-height: 460px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 8px;
  background: #fff;
}

.newsletter-preview-dialog {
  width: min(1120px, 100%);
  height: min(92dvh, 880px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.newsletter-preview-dialog .admin-modal-head {
  flex: 0 0 auto;
}

.newsletter-preview-modal-body {
  flex: 1;
  min-height: 0;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(2, 8, 18, .95), rgba(7, 17, 31, .95)),
    radial-gradient(circle at 90% 10%, rgba(32,184,255,.14), transparent 32%);
}

.newsletter-preview-frame-modal {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(32,184,255,.22);
  border-radius: 10px;
  background: #fff;
}

.newsletter-campaign-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.newsletter-campaign-actions form {
  margin: 0;
}

@media (max-width: 720px) {
  .home-page .home-gather-title {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .home-gather-title > a {
    width: 100%;
  }

  .home-page .home-recent-match-list {
    grid-template-columns: 1fr;
  }

  .home-page .home-recent-matches-head {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .home-recent-matches-head a {
    width: 100%;
  }

  .newsletter-admin-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-campaign-actions {
    justify-content: flex-start;
  }
}
