/* =============================================================================
   VENOM THEME CSS

   Canonical component order for the ongoing cleanup:
   01. Profile & Account
   02. Users, Leaderboards & Statistics
   03. Shared module heroes, legal pages & forms
   04. Home, Servers, Header & Footer
   05. News, Requests, Messages & Notifications

   Each cleanup phase consolidates one component into a single final rule set.
   Do not add another override layer for an existing component.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Profile & Account — legacy foundation, being consolidated component by
   component. The final Profile rules remain together at the end of this file
   until this section is fully migrated.
   -------------------------------------------------------------------------- */
.profile-page {
  display: grid;
  gap: 24px;
  margin: 34px auto 70px;
  width: min(100% - 32px, var(--container));
}

.status-badge.status-active,
.status-badge.status-open,
.status-badge.status-accepted {
  background: rgba(34, 197, 94, 0.11);
  border-color: rgba(34, 197, 94, 0.24);
  color: #15803d;
}

.status-badge.status-pending {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.24);
  color: #b45309;
}

.status-badge.status-suspended,
.status-badge.status-closed,
.status-badge.status-banned {
  background: rgba(239, 68, 68, 0.11);
  border-color: rgba(239, 68, 68, 0.22);
  color: #b91c1c;
}

.compact-heading {
  margin-bottom: 18px;
}

@media (max-width: 760px) {
  .profile-page {
    width: min(100% - 22px, var(--container));
  }

  .profile-action-btn {
    width: 100%;
  }

}

/* Profile edit page */
.profile-edit-page {
  display: grid;
  gap: 22px;
  margin: 34px auto 76px;
  width: min(100% - 48px, 1560px);
}

.profile-edit-head {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.profile-edit-head .lead {
  margin: 8px 0 0;
  max-width: 780px;
  text-align: left;
}

.profile-edit-head-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-edit-form {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-edit-card,
.profile-edit-notice {
  background: #162338;
  border: 1px solid #344152;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  padding: 24px;
}

.profile-edit-notice,
.profile-edit-general,
.profile-edit-actions {
  grid-column: 1 / -1;
}

.profile-edit-card-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.profile-edit-card-head h2 {
  align-items: center;
  color: #f7f9fc;
  display: flex;
  font-size: 1rem;
  gap: 12px;
  margin: 0;
  text-transform: uppercase;
}

.profile-edit-card-head h2 i {
  color: #a2eb4b;
  font-size: 1.08rem;
  width: 20px;
}

.profile-edit-card-head p {
  color: #a9b7ca;
  font-size: 0.84rem;
  margin: 6px 0 0 32px;
}

.profile-edit-hint,
.profile-edit-note {
  color: #a9b7ca;
  font-size: 0.78rem;
  font-weight: var(--fw-item-title);
}

.profile-edit-identity-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.profile-edit-avatar-panel {
  align-content: start;
  display: grid;
  gap: 10px;
}

.profile-edit-avatar {
  border: 1px solid #344152;
  border-radius: 10px;
  box-shadow: none;
  height: 210px;
  object-fit: cover;
  width: 100%;
}

.profile-edit-avatar-fallback {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), #4d94ff);
  color: #fff;
  display: flex;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: var(--fw-title);
  justify-content: center;
  text-transform: uppercase;
}

.profile-edit-fields-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-edit-fields-grid .full-field {
  grid-column: 1 / -1;
}

.profile-edit-fields-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-edit-card label:not(.profile-connected-field):not(.profile-upload-button):not(.profile-toggle-line) > span {
  color: #f7f9fc;
  display: block;
  font-size: 0.72rem;
  font-weight: var(--fw-title);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.profile-edit-card input {
  background: #101b2a;
  border-color: #344152;
  border-radius: 8px;
  color: #f7f9fc;
  min-height: 48px;
}

.profile-edit-card input::placeholder,
.profile-edit-card textarea::placeholder {
  color: #7f91a9;
}

.profile-edit-card input:focus,
.profile-edit-card textarea:focus {
  border-color: #a2eb4b;
  box-shadow: 0 0 0 3px rgba(162, 235, 75, 0.12);
  outline: 0;
}

.profile-edit-card textarea {
  background: #101b2a;
  border: 1px solid #344152;
  border-radius: 8px;
  color: #f7f9fc;
  font: inherit;
  line-height: 1.55;
  min-height: 132px;
  padding: 14px 16px;
  resize: vertical;
  width: 100%;
}

.profile-about-field {
  position: relative;
}

.profile-about-field small {
  bottom: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  position: absolute;
  right: 12px;
}

.profile-edit-note {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

.profile-edit-note i {
  color: #a2eb4b;
}

.profile-upload-button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  font-size: 0.78rem;
  font-weight: var(--fw-title);
  gap: 9px;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  position: relative;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-upload-button:hover {
  box-shadow: none;
}

.profile-upload-button > span {
  color: inherit !important;
  display: inline !important;
  font: inherit !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.profile-upload-button input[type="file"] {
  height: 1px;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.profile-edit-avatar-panel > small {
  color: #a9b7ca;
  font-size: 0.7rem;
  text-align: center;
}

.profile-connected-list,
.profile-security-fields {
  display: grid;
  gap: 14px;
}

.profile-connected-field {
  align-items: center;
  border-radius: 9px;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 10px 12px;
}

.profile-connected-field > i {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-size: 1.15rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.profile-connected-field strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.profile-notification-options {
  display: grid;
  gap: 12px;
}

.profile-toggle-line {
  align-items: center;
  background: linear-gradient(180deg, #f9fbff 0%, #f4f8fd 100%);
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding: 14px;
}

.profile-toggle-line input {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid rgba(8, 20, 38, 0.24);
  border-radius: 5px;
  box-shadow: none;
  height: 18px;
  min-height: 0;
  position: relative;
  width: 18px;
}

.profile-toggle-line input[type="hidden"] {
  display: none;
}

.profile-toggle-line input[type="checkbox"]:checked {
  background: var(--blue);
  border-color: var(--blue);
}

.profile-toggle-line input[type="checkbox"]:checked::after {
  color: #fff;
  content: "✓";
  font-size: 12px;
  font-weight: var(--fw-title);
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -52%);
}

.profile-toggle-line input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(7, 93, 242, 0.14);
}

.profile-toggle-line strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.profile-toggle-line small {
  display: block;
  line-height: 1.5;
}

.profile-edit-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.profile-edit-actions .button {
  min-height: 44px;
}

.profile-danger-card {
  margin-top: 2px;
}

.profile-danger-card .profile-edit-card-head h2,
.profile-danger-card .profile-edit-card-head h2 i {
  color: #ef4444;
}

.profile-danger-actions {
  display: grid;
  gap: 14px;
}

.profile-danger-action {
  align-items: center;
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 14px;
  grid-template-columns: 30px 1fr auto;
  min-height: 76px;
  padding: 14px 16px;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.profile-danger-action:hover {
  transform: translateY(-1px);
}

.profile-danger-action > i:first-child {
  font-size: 1.1rem;
  text-align: center;
}

.profile-danger-action strong,
.profile-danger-action small {
  display: block;
}

.profile-danger-action strong {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.profile-danger-action small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin-top: 4px;
}

.profile-account-modal[hidden],
.profile-save-overlay[hidden] {
  display: none;
}

.profile-account-modal {
  align-items: center;
  background: rgba(4, 12, 25, 0.78);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1200;
}

.profile-modal-backdrop {
  background: rgba(5, 14, 29, 0.66);
  border: 0;
  cursor: default;
  inset: 0;
  position: absolute;
}

.profile-modal-panel {
  background: #162338;
  border: 1px solid #3b526f;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 48px);
  overflow: auto;
  position: relative;
  width: min(100%, 580px);
  z-index: 1;
}

.profile-modal-panel-danger {
  border-color: rgba(239, 68, 68, 0.28);
}

.profile-modal-head {
  align-items: flex-start;
  border-bottom: 1px solid #344152;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px 1fr auto;
  padding: 20px 22px;
}

.profile-modal-head .eyebrow {
  margin: 0 0 4px;
}

.profile-modal-head h2,
.profile-modal-head p {
  color: #f7f9fc;
  margin: 0;
}

.profile-modal-head h2 {
  color: #f7f9fc;
  font-size: 1.2rem;
}

.profile-modal-head div > p:last-child {
  color: #a9b7ca;
  font-size: 0.8rem;
  margin-top: 5px;
}

.profile-modal-icon,
.profile-modal-close {
  align-items: center;
  display: flex;
  justify-content: center;
}

.profile-modal-icon {
  background: rgba(7, 93, 242, 0.09);
  border-radius: 10px;
  color: var(--blue);
  font-size: 1.05rem;
  height: 44px;
  width: 44px;
}

.profile-modal-icon.danger {
  background: rgba(239, 68, 68, 0.09);
  color: #ef4444;
}

.profile-modal-close {
  background: #1b293b;
  border: 1px solid #3b526f;
  border-radius: 8px;
  color: #f7f9fc;
  cursor: pointer;
  height: 34px;
  transition: 0.18s ease;
  width: 34px;
}

.profile-modal-close:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.profile-modal-body {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.profile-modal-body label > span {
  color: #f7f9fc;
  display: block;
  font-size: 0.72rem;
  font-weight: var(--fw-title);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.profile-modal-body input,
.profile-modal-body select {
  background: #101b2a;
  border-color: #344152;
  color: #f7f9fc;
  min-height: 48px;
}

.profile-modal-note {
  align-items: flex-start;
  background: rgba(162, 235, 75, 0.08);
  border: 1px solid rgba(162, 235, 75, 0.35);
  border-radius: 9px;
  color: #a9b7ca;
  display: flex;
  font-size: 0.8rem;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
}

.profile-modal-note i {
  color: var(--blue);
  margin-top: 2px;
}

.profile-modal-actions {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 22px;
}

.profile-modal-open {
  overflow: hidden;
}

.profile-save-overlay {
  align-items: center;
  background: rgba(5, 14, 29, 0.72);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  inset: 0;
  justify-content: center;
  position: fixed;
  text-align: center;
  z-index: 1300;
}

.profile-save-overlay strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.profile-save-overlay small {
  color: rgba(255, 255, 255, 0.76);
  max-width: 360px;
}

.profile-save-spinner {
  animation: profile-save-spin 0.8s linear infinite;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  border-top-color: #fff;
  height: 38px;
  width: 38px;
}

@keyframes profile-save-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .profile-edit-form {
    grid-template-columns: 1fr;
  }

  .profile-edit-identity-grid {
    grid-template-columns: 1fr;
  }

  .profile-edit-fields-grid,
  .profile-edit-fields-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .profile-edit-page {
    width: min(100% - 28px, 1560px);
  }

  .profile-edit-head,
  .profile-edit-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-edit-card,
  .profile-edit-notice {
    padding: 20px;
  }

  .profile-edit-fields-grid,
  .profile-edit-fields-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .profile-edit-avatar {
    height: 180px;
    width: 180px;
  }

  .profile-edit-head-actions {
    display: grid;
    width: 100%;
  }

  .profile-edit-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .profile-edit-actions .button,
  .profile-edit-head .button {
    justify-content: center;
    width: 100%;
  }
}

.profile-account-action-page {
  display: grid;
  gap: 22px;
  margin: 34px auto 76px;
  width: min(100% - 32px, var(--container));
}

.profile-account-action-form {
  max-width: 980px;
}

.profile-account-action-card {
  overflow: hidden;
  position: relative;
}

.profile-account-action-card::before {
  background: radial-gradient(circle at top right, rgba(7, 93, 242, 0.08), transparent 36%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.profile-account-action-card > * {
  position: relative;
  z-index: 1;
}

.profile-select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%) calc(100% - 20px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--blue) 50%, transparent 50%) calc(100% - 15px) 50% / 7px 7px no-repeat,
    #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  min-height: 50px;
  padding: 0 44px 0 14px;
  width: 100%;
}

.profile-select:focus {
  border-color: rgba(7, 93, 242, 0.42);
  box-shadow: 0 0 0 4px rgba(7, 93, 242, 0.10);
  outline: 0;
}

.profile-custom-period {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}

.profile-action-warning,
.profile-delete-warning {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(7, 93, 242, 0.08), rgba(7, 93, 242, 0.03));
  border: 1px solid rgba(7, 93, 242, 0.14);
  border-radius: 14px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
}

.profile-action-warning i {
  color: var(--blue);
  margin-top: 2px;
}

.profile-action-warning p,
.profile-delete-warning p {
  margin: 0;
}

.profile-delete-card {
  border-color: rgba(239, 68, 68, 0.20);
}

.profile-delete-warning {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.10), rgba(245, 158, 11, 0.05));
  border-color: rgba(239, 68, 68, 0.18);
  margin-bottom: 20px;
  margin-top: 0;
}

.profile-delete-warning i {
  color: #ef4444;
  font-size: 1.15rem;
  margin-top: 2px;
}

.profile-delete-warning strong {
  color: var(--ink);
  display: block;
  font-size: 0.96rem;
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .profile-account-action-page {
    width: min(100% - 22px, var(--container));
  }

  .profile-account-action-form {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .profile-account-modal {
    padding: 12px;
  }

  .profile-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .profile-modal-actions .button {
    justify-content: center;
    width: 100%;
  }
}

/* Users directory */
.users-directory-page {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

/* Game Statistics */
.game-statistics-page {
  display: grid;
  gap: 22px;
  margin: 34px auto 72px;
  width: min(100% - 48px, 1180px);
}

.game-statistics-hero {
  border-bottom: 1px solid #344152;
  padding-bottom: 22px;
}

.game-statistics-hero h1,
.game-statistics-panel h2 {
  color: #f7f9fc;
}

.game-statistics-hero .lead,
.game-statistics-panel-head p {
  color: #a9b7ca;
}

.game-statistics-panel {
  background: #162338;
  border: 1px solid #344152;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  overflow: hidden;
}

.game-statistics-panel-head {
  align-items: center;
  border-bottom: 1px solid #344152;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 24px;
}

.game-statistics-server-title {
  display: flex;
}

.game-statistics-panel-head h2 {
  font-size: 1.4rem;
  margin: 0 0 7px;
}

.game-statistics-panel-head p:last-child {
  margin: 0;
}

.game-statistics-table-wrap {
  overflow-x: auto;
}

.game-statistics-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.game-statistics-table th {
  background: #101b2a;
  color: #a9b7ca;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 14px 18px;
  text-align: left;
  text-transform: uppercase;
}

.game-statistics-table th i {
  color: #a2eb4b;
  margin-right: 5px;
}

.game-statistics-table th .game-statistics-sort { align-items: center; color: inherit; display: inline-flex; gap: 5px; text-decoration: none; }
.game-statistics-table th .game-statistics-sort > i { margin-right: 0; }
.game-statistics-table th .game-statistics-sort > i:last-child { color: #7188a4; font-size: .68rem; transition: color .16s ease; }
.game-statistics-table th .game-statistics-sort:hover, .game-statistics-table th .game-statistics-sort.is-active { color: #f8fbff; }
.game-statistics-table th .game-statistics-sort:hover > i:last-child, .game-statistics-table th .game-statistics-sort.is-active > i:last-child { color: #92e331; }

.banlist-row { cursor: pointer; }
.banlist-status { font-weight: 800; }
.banlist-status.is-active { color: #92e331; }
.banlist-status.is-expired { color: #a9b7ca; }
.banlist-detail-grid { margin: 0; padding: 18px 20px 22px; }
.banlist-detail-grid dd { overflow-wrap: anywhere; }

.game-statistics-table td {
  border-top: 1px solid #2a3a50;
  color: #f7f9fc;
  font-size: .86rem;
  font-weight: 700;
  padding: 15px 18px;
}

.game-statistics-table tbody tr:hover {
  background: #1b293b;
}

.game-statistics-player-row {
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease;
}

.game-statistics-player-row:focus-visible {
  outline: 2px solid #a2eb4b;
  outline-offset: -2px;
}

.game-statistics-player-row.is-selected {
  background: linear-gradient(90deg, rgba(87, 142, 43, .22), rgba(27, 41, 59, .4));
  box-shadow: inset 3px 0 #a2eb4b;
}

.game-statistics-table .rank {
  color: #a2eb4b;
  width: 54px;
}

.game-statistics-table .player strong,
.game-statistics-table .player small {
  display: block;
}

.game-statistics-table .player button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.game-statistics-table .player button:hover strong,
.game-statistics-table .player button:focus-visible strong,
.game-statistics-table .kd {
  color: #a2eb4b;
}

.game-statistics-compact-table th { padding-block: 11px; }

.game-statistics-compact-table td {
  padding-block: 10px;
}

.game-statistics-compact-table .player strong {
  line-height: 1.15;
}

.game-statistics-table .player small {
  color: #7f91a9;
  font-size: .7rem;
  font-weight: 600;
  margin-top: 3px;
}

.game-statistics-panel > .empty-state,
.game-statistics-panel > .notice {
  border-radius: 0;
  margin: 0;
}

.game-statistics-search {
  align-items: center;
  background: #101b2a;
  border-bottom: 1px solid #344152;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
}

.game-statistics-search > i { color: #a2eb4b; margin-left: 3px; }

.game-statistics-search input {
  background: #162338;
  border-color: #344152;
  color: #f7f9fc;
  flex: 1;
  min-width: 0;
}

.game-statistics-panel .cms-pagination {
  border-top: 1px solid #344152;
  margin: 0;
  padding: 15px 18px;
}

@media (max-width: 600px) {
  .game-statistics-search { flex-direction: column; }
  .game-statistics-search > i { display: none; }
  .game-statistics-search input, .game-statistics-search .button { width: 100%; }
}

@media (max-width: 760px) {
  .game-statistics-page { width: min(100% - 28px, 1180px); }
  .game-statistics-panel-head { align-items: stretch; flex-direction: column; }
}

/* Full-width Venom leaderboard with expandable player records. */
.game-statistics-page.content-container {
  width: min(100% - 48px, 1560px) !important;
}

.game-statistics-panel .button {
  background: #1b293b;
  border-color: #3b526f;
  color: #f7f9fc;
}

.game-statistics-panel .button:hover {
  background: #263a55;
  border-color: #a2eb4b;
  color: #a2eb4b;
}

.game-statistics-search .button,
.game-statistics-panel .cms-pagination .button.primary {
  background: #8ddb3a;
  border-color: #8ddb3a;
  color: #0e1928;
}

.game-statistics-search .button:hover,
.game-statistics-panel .cms-pagination .button.primary:hover {
  background: #a2eb4b;
  border-color: #a2eb4b;
  color: #0e1928;
}

@media (max-width: 760px) {
  .game-statistics-page.content-container { width: min(100% - 28px, 1560px) !important; }
}

/* Player popup: deliberately closed until a leaderboard row is selected. */
.stats-player-modal[hidden] { display: none; }

.stats-player-modal {
  align-items: flex-start;
  display: flex;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  padding: 72px 24px 32px;
  position: fixed;
  z-index: 1300;
}

.stats-player-modal-backdrop {
  background: rgba(4, 12, 25, .78);
  border: 0;
  inset: 0;
  position: fixed;
}

.stats-player-modal-panel {
  animation: stats-player-modal-in .2s ease-out both;
  background: #162338;
  border: 1px solid #3a516d;
  border-radius: 10px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .52);
  max-width: 860px;
  position: relative;
  width: 100%;
  z-index: 1;
}

@keyframes stats-player-modal-in {
  from { opacity: 0; transform: translateY(-22px); }
  to { opacity: 1; transform: translateY(0); }
}

.stats-player-modal-close {
  align-items: center;
  background: #101b2a;
  border: 1px solid #3a516d;
  border-radius: 7px;
  color: #dce5f1;
  cursor: pointer;
  display: flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  z-index: 2;
}

.stats-player-modal-close:hover { border-color: #8ddb3a; color: #8ddb3a; }
.stats-player-modal-open { overflow: hidden; }

.stats-player-modal-card > header {
  border-bottom: 1px solid #344152;
  padding: 18px 54px 16px 20px;
}

.stats-player-modal-card > header p {
  color: #8ddb3a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0;
  text-transform: uppercase;
}

.stats-player-modal-card > header h3 {
  color: #f7f9fc;
  font-size: 1.2rem;
  margin: 6px 0 0;
}

.stats-player-modal-card > header > span {
  color: #95a8bf;
  display: block;
  font-size: .75rem;
  margin-top: 4px;
}

.stats-player-detail-summary,
.stats-player-detail-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px 20px 0;
}

.stats-player-category h4 {
  color: #8ddb3a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin: 18px 20px 0;
  text-transform: uppercase;
}

.stats-player-category h4 i { margin-right: 5px; }

.stats-player-category .stats-player-detail-grid {
  padding-top: 9px;
}

.game-statistics-panel-head {
  background:
    linear-gradient(90deg, rgba(18, 31, 50, .86) 0%, rgba(18, 31, 50, .74) 100%),
    url('../images/hero-counterstrike.webp') center / cover no-repeat,
    #162338;
}

.stats-server-switcher {
  position: relative;
  z-index: 5;
}

.stats-server-switcher summary {
  align-items: center;
  background: #1b293b;
  border: 1px solid #3b526f;
  border-radius: var(--radius);
  color: #f7f9fc;
  cursor: pointer;
  display: inline-flex;
  font-size: var(--button-font-size);
  font-weight: var(--fw-label);
  gap: 8px;
  min-height: var(--button-height);
  min-width: var(--button-min-width);
  padding: 0 18px;
  text-transform: uppercase;
  list-style: none;
}

.stats-server-switcher summary::-webkit-details-marker { display: none; }
.stats-server-switcher summary:hover { border-color: #8ddb3a; color: #8ddb3a; }
.stats-server-switcher summary > i:last-child { font-size: .7rem; margin-left: 2px; transition: transform .18s ease; }
.stats-server-switcher[open] summary > i:last-child { transform: rotate(180deg); }

.stats-server-switcher nav {
  background: #162338;
  border: 1px solid #3b526f;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .34);
  display: grid;
  gap: 4px;
  left: 0;
  margin-top: 7px;
  min-width: 220px;
  padding: 6px;
  position: absolute;
  top: 100%;
}

.stats-server-switcher nav a {
  border-radius: 6px;
  color: #dce5f1;
  font-size: .76rem;
  font-weight: 800;
  padding: 9px 10px;
  white-space: nowrap;
}

.stats-server-switcher nav a:hover,
.stats-server-switcher nav a.active { background: #22344c; color: #8ddb3a; }

.game-statistics-server-title {
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.game-statistics-server-title > p {
  color: #d0dbea;
  font-size: .82rem;
  margin: 0;
}

.stats-server-switcher-intro { margin-top: 20px; }
.stats-server-switcher-intro nav { min-width: 270px; }

.game-statistics-panel > .cms-pagination { border-radius: 0 0 12px 12px; }

.game-statistics-intro {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 27, 42, .93) 0%, rgba(16, 27, 42, .72) 100%),
    url('../images/hero-counterstrike.webp') center / cover no-repeat,
    #162338;
  border: 1px solid #344152;
  border-radius: 12px;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  min-height: 260px;
  overflow: visible;
  padding: 36px 42px;
}

.game-statistics-intro h2 { color: #f7f9fc; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 6px 0 10px; }
.game-statistics-intro p:not(.eyebrow) { color: #c0cee0; margin: 0; max-width: 570px; }

@media (max-width: 760px) {
  .game-statistics-intro { align-items: stretch; flex-direction: column; min-height: 0; padding: 28px; }
  .game-statistics-intro nav { min-width: 0; }
}

.stats-search-reset {
  align-items: center;
  border-left: 1px solid #344152;
  color: #aebed1;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.stats-search-reset:hover { color: #8ddb3a; }
.stats-search-reset i { color: #8ddb3a; }

@media (max-width: 600px) {
  .stats-search-reset { border-left: 0; min-height: 38px; }
}

.stats-player-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 20px;
}

.stats-player-detail-summary > div,
.stats-player-detail-grid > div {
  background: #101b2a;
  border: 1px solid #2e415b;
  border-radius: 6px;
  min-width: 0;
  padding: 9px 10px;
}

.stats-player-detail-grid > .stats-player-detail-item {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 25px minmax(0, 1fr);
}

.stats-player-detail-icon {
  color: #8ddb3a;
  font-size: 1.05rem;
  justify-self: center;
}

.stats-player-detail-summary span,
.stats-player-detail-grid dt {
  color: #9aacc3;
  display: block;
  font-size: .63rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.stats-player-detail-summary span i { color: #8ddb3a; margin-right: 4px; }

.stats-player-detail-summary strong,
.stats-player-detail-grid dd {
  color: #f7f9fc;
  display: block;
  font-size: .88rem;
  font-weight: 800;
  margin: 3px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .stats-player-modal { padding: 36px 14px 18px; }
  .stats-player-detail-summary,
  .stats-player-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 14px; padding-right: 14px; }
}

.users-directory-toolbar {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 1fr) 190px 190px;
  margin: 4px 0 8px;
}

.users-search-wrap,
.users-filter-wrap {
  background: #fff;
  border: 1px solid rgba(219, 228, 238, 0.96);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(12, 24, 43, 0.045);
  height: var(--control-height);
  min-height: var(--control-height);
}

.users-search-wrap {
  align-items: center;
  display: flex;
  gap: 12px;
  min-height: var(--control-height);
  padding: 0 16px;
}

.users-filter-wrap {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: center;
  padding: 0 14px;
}

.users-search-wrap:focus-within,
.users-filter-wrap:focus-within {
  border-color: rgba(7, 93, 242, 0.28);
  box-shadow: 0 0 0 3px rgba(7, 93, 242, 0.07), 0 10px 24px rgba(12, 24, 43, 0.045);
}

.users-filter-wrap span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: var(--fw-title);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.users-filter-wrap span::after {
  content: ":";
}

.users-filter-wrap select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%) right 8px center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--blue) 50%, transparent 50%) right 4px center / 6px 6px no-repeat;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: var(--fw-item-title);
  height: 42px;
  line-height: 42px;
  outline: 0;
  padding-right: 24px;
  width: 100%;
}

.users-search-wrap input {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 34px;
  padding: 0;
}

.users-search-wrap input:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

.users-filter-wrap select:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

.users-directory-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.users-table-panel,
.users-side-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(219, 228, 238, 0.96);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(12, 24, 43, 0.07);
  overflow: hidden;
}

.users-table-head,
.users-table-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(230px, 1.14fr) minmax(95px, 0.52fr) minmax(130px, 0.68fr) minmax(130px, 0.68fr) minmax(96px, 0.52fr) 82px;
}

.users-table-head {
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
  color: #738299;
  font-size: 0.68rem;
  font-weight: var(--fw-title);
  letter-spacing: 0.02em;
  padding: 14px 18px;
  text-transform: uppercase;
}

.users-table-head button,
.users-table-head a {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 7px;
  justify-content: flex-start;
  padding: 0;
  text-align: left;
  text-transform: inherit;
  text-decoration: none;
}

.users-table-head button i,
.users-table-head a i {
  color: #9aa8bd;
  font-size: 0.66rem;
  transition: 0.16s ease;
}

.users-table-head button:hover,
.users-table-head button.is-active,
.users-table-head a:hover,
.users-table-head a.is-active {
  color: var(--blue);
}

.users-table-head button.is-active i,
.users-table-head a.is-active i {
  color: var(--blue);
}

.users-table-row {
  align-items: center;
  border-bottom: 1px solid rgba(219, 228, 238, 0.88);
  min-height: 72px;
  padding: 12px 18px;
  transition: 0.18s ease;
}

.users-table-row:last-child {
  border-bottom: 0;
}

.users-table-row:hover {
  background: #f8fbff;
}

.users-table-row.is-hidden {
  display: none;
}

.users-member-cell {
  align-items: center;
  color: var(--ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  min-width: 0;
  text-decoration: none;
}

.users-member-avatar,
.users-side-avatar {
  align-items: center;
  background: #eef4ff;
  border-radius: 12px;
  color: var(--blue);
  display: inline-flex;
  font-weight: var(--fw-title);
  height: 44px;
  justify-content: center;
  overflow: visible;
  position: relative;
  width: 44px;
}

.users-member-avatar img,
.users-side-avatar img {
  border-radius: inherit;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.users-member-avatar i {
  background: #94a3b8;
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -1px;
  height: 12px;
  position: absolute;
  right: -1px;
  width: 12px;
}

.users-member-avatar i.is-online {
  background: #22c55e;
}

.users-member-cell strong,
.users-recent-list strong {
  color: var(--ink);
  display: block;
  font-size: 0.88rem;
  font-weight: var(--fw-title);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-member-cell small,
.users-muted,
.users-recent-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: var(--fw-label);
}

.users-role-pill,
.users-status-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: var(--fw-title);
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  width: max-content;
}

.users-role-pill {
  background: #eef4ff;
  color: var(--blue);
}

.users-role-pill.role-owner,
.users-role-pill.role-admin {
  background: #eaf2ff;
  color: #075df2;
}

.users-role-pill.role-moderator {
  background: #f0ecff;
  color: #6d4dff;
}

.users-status-pill.online,
.users-status-pill.active {
  background: #e9f9ef;
  color: #16a34a;
}

.users-status-pill.suspended {
  background: #fff4df;
  color: #d97706;
}

.users-status-pill.banned,
.users-status-pill.deleted {
  background: #feecec;
  color: #dc2626;
}

.users-view-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: var(--fw-title);
  gap: 7px;
  justify-content: center;
  min-height: 34px;
  text-decoration: none;
  transition: 0.18s ease;
}

.users-view-button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.users-directory-sidebar {
  display: grid;
  gap: 14px;
}

.users-side-card {
  padding: 18px;
}

.users-side-card h2 {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 0.82rem;
  font-weight: var(--fw-title);
  gap: 9px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.users-side-card h2 i {
  color: var(--blue);
}

.users-side-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.users-side-card dl div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.users-side-card dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: var(--fw-label);
}

.users-side-card dd {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: var(--fw-title);
  margin: 0;
}

.users-side-card dd.is-green {
  color: #16a34a;
}

.users-side-card dd.is-orange {
  color: #f59e0b;
}

.users-recent-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.users-recent-list a {
  align-items: center;
  color: var(--ink);
  display: grid;
  gap: 10px;
  text-decoration: none;
}

.users-recent-list a {
  grid-template-columns: 34px minmax(0, 1fr);
}

.users-side-avatar {
  border-radius: 10px;
  height: 34px;
  width: 34px;
}

@media (max-width: 1360px) {
  .users-directory-layout {
    grid-template-columns: 1fr;
  }

  .users-directory-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .users-table-panel {
    overflow-x: auto;
  }

  .users-table-head,
  .users-table-row {
    min-width: 1120px;
  }
}

@media (max-width: 820px) {
  .users-directory-toolbar,
  .users-directory-sidebar {
    grid-template-columns: 1fr;
  }
}

.news-index-page,
.servers-page {
  max-width: var(--container);
  padding-top: 28px;
}

/* Legal and contact pages */
.legal-page {
  display: grid;
  gap: 22px;
  margin: 28px auto 72px;
  width: min(100% - 32px, var(--container));
}

.legal-page-heading {
  margin: 0;
}

.legal-page-heading small {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  margin-top: 16px;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 280px minmax(0, 1fr);
}

.legal-summary,
.legal-document,
.contact-options article,
.contact-guidance {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(12, 24, 43, 0.06);
}

.legal-summary {
  padding: 22px;
  position: sticky;
  top: 92px;
}

.legal-summary > span,
.contact-options article > span {
  align-items: center;
  background: rgba(7, 93, 242, 0.08);
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  font-size: 1.1rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.legal-summary h2,
.contact-options h2 {
  font-size: 1rem;
  margin: 16px 0 8px;
}

.legal-summary p,
.contact-options p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0 0 18px;
}

.legal-document {
  overflow: hidden;
}

.legal-document section {
  padding: 24px 28px;
}

.legal-document section + section {
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 10px;
}

.legal-document p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
  margin: 0;
}

.legal-document p + p {
  margin-top: 10px;
}

.legal-document a {
  color: var(--blue);
  font-weight: var(--fw-item-title);
}

.contact-options {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-options article {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
}

.contact-options article .button,
.contact-options article .footer-social {
  margin-top: auto;
}

.contact-options .footer-social {
  justify-content: flex-start;
}

.contact-notice {
  margin: 0;
}

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

.contact-form-grid .full-field {
  grid-column: 1 / -1;
}

.contact-form-grid textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  line-height: 1.55;
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
}

.contact-form-grid textarea:focus {
  border-color: rgba(7, 93, 242, 0.55);
  box-shadow: 0 0 0 4px rgba(7, 93, 242, 0.08);
  outline: 0;
}

.contact-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.contact-guidance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.contact-guidance > div {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  padding: 20px 22px;
}

.contact-guidance > div + div {
  border-left: 1px solid var(--line);
}

.contact-guidance i {
  color: var(--blue);
  margin-top: 3px;
}

.contact-guidance strong,
.contact-guidance small {
  display: block;
}

.contact-guidance strong {
  color: var(--ink);
  font-size: 0.82rem;
  margin-bottom: 5px;
}

.contact-guidance small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

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

  .legal-summary {
    position: static;
  }

  .contact-guidance {
    grid-template-columns: 1fr;
  }

  .contact-guidance > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .legal-page {
    margin-top: 18px;
    width: min(100% - 22px, var(--container));
  }

  .legal-document section {
    padding: 20px;
  }

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

.requests-center-stats {
  margin-top: 0;
}

/* Header / Homepage foundation */
.topbar-v2 {
  margin: 0;
  position: sticky;
  top: 0;
  width: 100%;
}

.topbar-v2 .topbar-inner {
  background: rgba(22, 34, 53, 0.96);
  border: 0;
  border-bottom: 1px solid #26364a;
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  min-height: 76px;
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  padding-right: max(24px, calc((100vw - var(--container)) / 2));
}

.topbar-v2 .brand {
  min-width: 136px;
}

.topbar-v2 .brand-logo {
  height: 58px;
  width: 132px;
}

.topbar-v2 .nav {
  gap: clamp(2px, 0.55vw, 9px);
}

.topbar-v2 .nav a {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 76px;
  padding: 0 12px;
}

.topbar-v2 .nav a.active,
.topbar-v2 .nav a:hover {
  background: transparent;
  border: 0;
}

.topbar-v2 .nav a.active::after {
  bottom: 0;
  content: "";
  display: block;
  height: 3px;
  left: 12px;
  position: absolute;
  right: 12px;
}

.topbar-v2 .nav-actions {
  gap: 8px;
}

.topbar-v2 .notification-toggle {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: 42px;
  width: 42px;
}

.topbar-v2 .user-menu-link {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-width: 0;
  padding: 0 8px;
}

.topbar-v2 .user-menu-link img,
.topbar-v2 .user-menu-link > span {
  height: 34px;
  width: 34px;
}

.topbar-v2 .admin-action-link {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  margin-left: 2px;
  min-width: 0;
  padding: 0 0 0 14px;
}

.topbar-v2 .admin-action-link i {
  height: 34px;
  width: 34px;
}

.topbar-v2 .admin-action-link:hover {
  background: transparent;
  box-shadow: none;
}

.home-v2 .home-hero-slider {
  overflow: hidden;
  position: relative;
}

.home-v2 .home-hero-slider::after {
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 5;
}

.home-v2 .home-hero-slides,
.home-v2 .home-hero-slide {
  inset: 0;
  position: absolute;
}

.home-v2 .home-hero-slide {
  align-items: center;
  display: flex;
  opacity: 0;
  pointer-events: none;
}

.home-v2 .home-hero-slide::before {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.home-v2 .home-hero-slide-main {
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 31%, rgba(244,248,255,0.71) 54%, rgba(229,239,255,0.18) 100%),
    url("../images/hero-counterstrike.webp") 70% center / cover no-repeat;
}

.home-v2 .home-hero-slide-news {
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.97) 32%, rgba(243,248,255,0.74) 55%, rgba(228,239,255,0.2) 100%),
    url("../images/news-bg.webp") right center / cover no-repeat;
}

.home-v2 .home-hero-slide-requests {
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.97) 32%, rgba(243,248,255,0.72) 56%, rgba(228,239,255,0.18) 100%),
    url("../images/requests-bg.webp") right center / cover no-repeat;
}

.home-v2 .home-hero-slide::before {
  background:
    radial-gradient(circle at 72% 46%, rgba(7, 93, 242, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(7,93,242,0.035));
}

.home-v2 .home-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.home-v2 .home-hero-content {
  position: relative;
  z-index: 2;
}

.home-v2 .home-hero-content .eyebrow {
  margin-bottom: 12px;
}

.home-v2 .home-hero-content h1 {
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.home-v2 .home-hero-content .hero-tagline {
  font-weight: var(--fw-title);
}

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

.home-v2 .home-dashboard {
  position: relative;
  width: min(100% - 48px, var(--container));
  z-index: 20;
}

.home-v2 .home-card-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
}

.home-v2 .home-dashboard-card {
  background: rgba(22, 34, 53, 0.96);
  border: 1px solid #26364a;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  min-width: 0;
}

.home-v2 .home-dashboard-card .section-heading {
  border-bottom-color: #26364a;
  margin: 0 0 14px;
  min-height: 34px;
  padding: 0 0 13px;
}

.home-v2 .home-dashboard-card .section-heading h2 {
  color: #f7f9fc;
  font-size: 0.92rem;
  margin: 0;
}

.home-v2 .home-dashboard-card .section-heading h2::first-letter {
  color: inherit;
}

.home-v2 .home-dashboard-card .link-more {
  color: #a6afbd;
  font-size: 0.62rem;
  min-height: 28px;
  padding: 0;
}

.home-v2 .home-card-empty {
  color: #a6afbd;
  font-size: 0.84rem;
  margin: 24px 0 0;
}

.home-v2 .is-servers .server-list {
  max-height: none;
  overflow: visible;
  padding: 0;
}

.home-v2 .is-servers .server-row:hover {
  transform: translateY(-1px);
}

.home-v2 .is-servers .server-row-map-image {
  display: none;
}

.home-v2 .is-news .home-news-list {
  gap: 0;
}

.home-v2 .is-news .home-news-item:first-child {
  padding-top: 0;
}

.home-v2 .is-news .home-news-item:last-child {
  padding-bottom: 0;
}

.home-v2 .is-news .home-news-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.home-v2 .home-discord-cta {
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 18px;
  min-height: 90px;
  padding: 18px 28px;
}

.home-v2 .home-discord-cta .discord-cta-icon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  font-size: 1.55rem;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.home-v2 .home-discord-cta h2 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.home-v2 .home-discord-cta p {
  font-size: 0.76rem;
}

.home-v2 .home-discord-cta .button {
  font-size: 0.72rem;
  min-height: 46px;
  min-width: 168px;
  padding: 0 20px;
}

.home-v2 .home-discord-cta .button i {
  font-size: 1rem;
}

.footer-v2 {
  border-radius: 8px;
  margin-top: 30px;
}

.footer-v2::after,
.footer-v2 .footer-glow {
  display: none;
}

.footer-v2 .footer-navigation-widget {
  display: block;
}

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

.footer-v2 .footer-stat-item {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-width: 0;
  position: relative;
}

.footer-v2 .footer-stat-item > i {
  color: var(--blue);
  font-size: 0.92rem;
  text-align: center;
}

.footer-v2 .footer-stat-item span,
.footer-v2 .footer-stat-item strong,
.footer-v2 .footer-stat-item small,
.footer-v2 .footer-stat-item a {
  display: block;
  margin: 0;
  min-width: 0;
}

.footer-v2 .footer-stat-item strong,
.footer-v2 .footer-stat-item a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: var(--fw-title);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-v2 .footer-stat-item small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: var(--fw-label);
  margin-top: 3px;
  text-transform: uppercase;
}

@media (max-width: 1320px) {
  .topbar-v2 .topbar-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar-v2 .nav a {
    font-size: 0.64rem;
    padding: 0 8px;
  }

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

  .home-v2 .home-dashboard-card.is-quick-access {
    grid-column: 1 / -1;
    min-height: 0;
  }

}

@media (max-width: 1180px) {
  .topbar-v2 .topbar-inner {
    min-height: 72px;
  }

  .topbar-v2 .site-navigation {
    background: #162235;
    border-top: 1px solid #26364a;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
    margin: 0 -20px;
    padding: 12px 20px;
  }

  .topbar-v2 .nav a {
    min-height: 44px;
  }

  .topbar-v2 .nav a.active::after {
    display: none;
  }

  .topbar-v2 .nav-actions {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .topbar-v2 .account-menu,
  .topbar-v2 .admin-action-link {
    grid-column: auto;
  }

  .topbar-v2 .user-menu-link {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .home-v2 .home-hero-slider {
    min-height: 500px;
  }

  .home-v2 .home-hero-slide-main,
  .home-v2 .home-hero-slide-news,
  .home-v2 .home-hero-slide-requests {
    background-position: 64% center;
  }

  .home-v2 .home-hero-content {
    padding-bottom: 96px;
  }

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

  .home-v2 .home-dashboard-card.is-quick-access {
    grid-column: auto;
  }

  .home-v2 .home-discord-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-v2 .home-discord-cta .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .home-v2 .home-hero-slider {
    min-height: 520px;
  }

  .home-v2 .home-hero-slide-main,
  .home-v2 .home-hero-slide-news,
  .home-v2 .home-hero-slide-requests {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.78)),
      var(--mobile-hero-image, url("../images/hero-counterstrike.webp")) 65% center / cover no-repeat;
  }

  .home-v2 .home-hero-slide-news {
    --mobile-hero-image: url("../images/news-bg.webp");
  }

  .home-v2 .home-hero-slide-requests {
    --mobile-hero-image: url("../images/requests-bg.webp");
  }

  .home-v2 .home-hero-content {
    padding: 48px 0 104px;
    width: min(100% - 28px, var(--container));
  }

  .home-v2 .home-hero-content h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  .home-v2 .home-dashboard {
    margin-top: -36px;
    width: min(100% - 28px, var(--container));
  }

  .home-v2 .home-dashboard-card {
    padding: 18px;
  }

  .home-v2 .home-discord-cta {
    grid-template-columns: 1fr;
    padding: 22px;
    text-align: center;
  }

  .home-v2 .home-discord-cta .discord-cta-icon {
    justify-self: center;
  }

  .footer-v2 {
    width: min(100% - 28px, var(--container));
  }

  .footer-v2 .footer-main {
    grid-template-columns: 1fr;
  }

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

/* Homepage / Slider, dashboard and content cards */
.home-v2 .home-hero-slider {
  border: 1px solid rgba(210, 222, 238, 0.96);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(17, 35, 63, 0.1);
  margin: 0 auto;
  min-height: 390px;
  width: min(100% - 48px, var(--container));
}

.home-v2 .home-hero-slider::after {
  height: 76px;
}

.home-v2 .home-hero-slide,
.home-v2 .home-hero-slide::before {
  border-radius: inherit;
}

.home-v2 .home-hero-content {
  margin: 0;
  padding: 42px 44px 82px;
  width: 100%;
}

.home-v2 .home-hero-content > * {
  max-width: 550px;
}

.home-v2 .home-hero-content h1 {
  font-size: clamp(3.4rem, 4.5vw, 5.2rem);
  line-height: 0.86;
}

.home-v2 .home-hero-content .hero-tagline {
  font-size: 1.12rem;
  margin-bottom: 16px;
}

.home-v2 .home-hero-content .lead {
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 520px;
}

.home-v2 .hero-actions {
  margin-top: 22px;
}

.home-v2 .hero-actions .button {
  min-height: 44px;
  min-width: 146px;
}

.home-v2 .home-overview-stats {
  margin: 12px auto 0;
  width: min(100% - 48px, var(--container));
}

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

.home-v2 .home-stat-card {
  align-items: center;
  background: rgba(22, 34, 53, 0.96);
  border: 1px solid #26364a;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 11px;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 78px;
  padding: 9px 13px;
}

.home-v2 .home-stat-card > i {
  align-items: center;
  background: #1b293b;
  border-color: #344152;
  border-radius: 8px;
  color: #a6afbd;
  display: inline-flex;
  font-size: 1rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.home-v2 .home-stat-card span,
.home-v2 .home-stat-card small,
.home-v2 .home-stat-card strong,
.home-v2 .home-stat-card em {
  display: block;
  min-width: 0;
}

.home-v2 .home-stat-card small {
  color: #a6afbd;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: var(--fw-label);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-v2 .home-stat-card strong {
  color: #f7f9fc;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  margin: 2px 0;
}

.home-v2 .home-stat-card em {
  color: #a6afbd;
  font-size: 0.64rem;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2 .home-dashboard {
  margin: 16px auto 0;
  padding-bottom: 18px;
}

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

.home-v2 .home-dashboard-card {
  min-height: 390px;
  padding: 22px;
}

.home-v2 .is-news .home-news-item {
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 112px;
  padding: 13px 0;
}

.home-v2 .is-news .home-news-thumb {
  height: 90px;
  width: 150px;
}

.home-v2 .is-news .home-news-content strong {
  font-size: 0.96rem;
  margin-bottom: 7px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.home-v2 .is-news .home-news-content p {
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 9px;
  -webkit-line-clamp: 2;
}

.home-v2 .is-news .home-news-date {
  font-size: 0.75rem;
}

.home-v2 .is-servers .server-list {
  display: grid;
  gap: 12px;
}

.home-v2 .is-servers .server-row {
  border: 1px solid rgba(214, 225, 239, 0.96);
  border-radius: 8px;
  gap: 12px;
}

.home-v2 .is-servers .server-row + .server-row {
  margin-top: 0;
}

.home-v2 .is-servers .server-row::after {
  display: none;
}

.home-v2 .is-servers .server-row-icon {
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 44px;
  width: 44px;
}

.home-v2 .is-servers .server-info-block strong {
  color: #fff;
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2 .is-servers .server-info-block span {
  color: rgba(222, 233, 247, 0.78);
  font-size: 0.73rem;
  margin-top: 6px;
}

.home-v2 .is-servers .server-status-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-v2 .is-servers .server-player-count,
.home-v2 .is-servers .server-map-name {
  display: flex;
  flex-direction: column;
  font-weight: var(--fw-title);
  justify-content: center;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
}

.home-v2 .is-servers .server-player-count::after,
.home-v2 .is-servers .server-map-name::after {
  font-size: 0.57rem;
  font-weight: var(--fw-label);
  letter-spacing: 0.04em;
  margin-top: 5px;
  text-transform: uppercase;
}

.home-v2 .is-servers .server-player-count::after {
  content: "Players";
}

.home-v2 .is-servers .server-map-name::after {
  content: "Map";
}

.home-v2 .is-servers .server-row-actions {
  display: flex;
  gap: 8px;
}

.home-v2 .is-servers .server-row-actions span {
  display: none;
}

.home-v2 .is-servers .server-copy,
.home-v2 .is-servers .server-connect {
  border-radius: 8px;
  padding: 0;
}

.home-v2 .is-servers .server-connect {
  background: var(--blue);
  color: #fff;
}

@media (max-width: 1100px) {
  .home-v2 .home-stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .home-v2 {
    padding-top: 14px;
  }

  .home-v2 .home-hero-slider,
  .home-v2 .home-overview-stats,
  .home-v2 .home-dashboard {
    width: min(100% - 28px, var(--container));
  }

  .home-v2 .home-hero-slider {
    min-height: 460px;
  }

  .home-v2 .home-hero-content {
    padding: 38px 24px 88px;
  }

  .home-v2 .is-servers .server-row {
    background:
      linear-gradient(90deg, rgba(5, 22, 48, 0.92), rgba(8, 28, 58, 0.8)),
      var(--map-image) center / cover no-repeat;
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .home-v2 .is-servers .server-status-block {
    grid-column: 1 / -1;
  }

}

@media (max-width: 560px) {
  .home-v2 .home-stat-cards {
    grid-template-columns: 1fr;
  }

  .home-v2 .is-news .home-news-item {
    gap: 12px;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .home-v2 .is-news .home-news-thumb {
    height: 72px;
    width: 96px;
  }
}

/* Homepage / Statistics, server cards and footer */
.home-v2 .home-stat-cards {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
  overflow: visible;
}

.home-v2 .is-servers .server-row {
  background:
    linear-gradient(90deg, rgba(5, 20, 45, 0.93) 0%, rgba(7, 27, 57, 0.78) 55%, rgba(8, 31, 64, 0.72) 100%),
    var(--map-image) center / cover no-repeat;
  border-color: rgba(22, 65, 112, 0.34);
  box-shadow: 0 12px 28px rgba(11, 27, 51, 0.14);
  grid-template-columns: 50px minmax(190px, 1.25fr) minmax(190px, 0.82fr) auto;
  min-height: 108px;
  padding: 15px 16px;
}

.home-v2 .is-servers .server-row:hover {
  border-color: rgba(7, 93, 242, 0.34);
  box-shadow: 0 16px 34px rgba(11, 27, 51, 0.2);
}

.home-v2 .is-servers .server-status-block {
  gap: 10px;
}

.home-v2 .is-servers .server-player-count,
.home-v2 .is-servers .server-map-name {
  color: #fff;
  font-size: 0.9rem;
}

.home-v2 .is-servers .server-player-count::after,
.home-v2 .is-servers .server-map-name::after {
  color: rgba(222, 233, 247, 0.72);
}

.home-v2 .is-servers .server-progress {
  background: rgba(255, 255, 255, 0.22);
  display: block;
  height: 5px;
  min-width: 150px;
}

.home-v2 .is-servers .server-progress i {
  background: #4f8ff7;
}

.home-v2 .is-servers .server-copy,
.home-v2 .is-servers .server-connect {
  font-size: 1rem;
  height: 50px;
  min-width: 50px;
  width: 50px;
}

.home-v2 .is-servers .server-copy {
  background: #fff;
  border-color: rgba(214, 225, 239, 0.96);
  box-shadow: 0 8px 20px rgba(10, 25, 48, 0.16);
  color: var(--ink);
}

.home-v2 .is-servers .server-connect {
  box-shadow: 0 10px 24px rgba(7, 93, 242, 0.34);
  font-size: 1.08rem;
}

.footer-v2 .footer-brand-col {
  border-right: 1px solid rgba(219, 228, 238, 0.95);
  padding-right: 38px;
}

.footer-v2 .footer-brand-col p {
  margin: 0;
}

.footer-v2 h3 {
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.footer-v2 .footer-navigation-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
}

.footer-v2 .footer-navigation-links a {
  display: grid;
  font-size: 0.82rem;
  gap: 10px;
  line-height: 1.4;
  margin: 0;
}

.footer-v2 .footer-navigation-links i {
  text-align: center;
}

.footer-v2 .footer-social {
  gap: 10px;
  margin-top: 0;
}

.footer-v2 .footer-social a {
  height: 46px;
  width: 46px;
}

.footer-v2 .footer-bottom {
  border-radius: 7px;
  width: auto;
}

.footer-v2 .footer-bottom,
.footer-v2 .footer-bottom a {
  font-size: 0.74rem;
}

.footer-v2 .footer-bottom-links {
  gap: 0;
}

.footer-v2 .footer-bottom-links a {
  align-items: center;
  display: inline-flex;
  margin: 0;
}

.footer-v2 .footer-bottom-links a + a::before {
  content: "|";
  margin: 0 14px;
}

@media (max-width: 1000px) {
  .footer-v2 .footer-brand-col {
    border-bottom: 1px solid rgba(219, 228, 238, 0.95);
    border-right: 0;
    grid-column: 1 / -1;
    padding-bottom: 20px;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .home-v2 {
    padding-top: 20px;
  }

  .home-v2 .is-servers .server-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .home-v2 .is-servers .server-status-block {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-v2 .is-servers .server-row-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .home-v2 .is-servers .server-progress {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .footer-v2 .footer-main {
    grid-template-columns: 1fr;
    padding: 24px 22px 18px;
  }

  .footer-v2 .footer-brand-col {
    grid-column: auto;
  }

  .footer-v2 .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
    padding-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-venom .home-v2 .home-hero-slide {
    transition: none;
  }
}

/* Venom / Global dark palette */
body.is-venom {
  background:
    linear-gradient(rgba(16, 27, 42, 0.14), rgba(16, 27, 42, 0.3)),
    url("../images/homepage-lime-bg.webp") center top / cover fixed no-repeat;
  color: #f7f9fc;
}

body.is-venom .site-shell,
body.is-venom .page {
  background: transparent;
}

body.is-venom .topbar-v2 .brand-logo,
body.is-venom .footer-v2 .footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

body.is-venom .topbar-v2 .nav a,
body.is-venom .topbar-v2 .nav a i {
  color: #a6afbd;
}

body.is-venom .topbar-v2 .nav a.active,
body.is-venom .topbar-v2 .nav a.active i,
body.is-venom .topbar-v2 .nav a:hover,
body.is-venom .topbar-v2 .nav a:hover i {
  color: #f7f9fc;
}

body.is-venom .topbar-v2 .nav a.active::after {
  background: #8ddb3a;
}

body.is-venom .topbar-v2 .user-menu-link,
body.is-venom .topbar-v2 .admin-action-link {
  color: #f7f9fc;
}

body.is-venom .topbar-v2 .user-menu-link:hover,
body.is-venom .topbar-v2 .admin-action-link:hover {
  background: #1b293b;
  color: #a2eb4b;
}

body.is-venom .topbar-v2 .admin-action-link {
  border-left-color: #26364a;
}

body.is-venom .topbar-v2 .admin-action-link i,
body.is-venom .topbar-v2 .user-menu-link > span {
  background: #1b293b;
  border-color: #26364a;
  color: #f7f9fc;
}

body.is-venom .topbar-v2 .auth-buttons .button,
body.is-venom .mobile-menu-toggle {
  background: #1b293b;
  border-color: #26364a;
  color: #f7f9fc;
}

body.is-venom .topbar-v2 .auth-buttons .button.primary {
  background: #8ddb3a;
  border-color: #8ddb3a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  color: #101b2a;
}

body.is-venom .account-dropdown {
  background: #162235;
  border-color: #26364a;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

body.is-venom .home-v2 .home-hero-slider {
  background: #162235;
  border-color: #26364a;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

body.is-venom .home-v2 .home-hero-slider::after {
  background: linear-gradient(180deg, rgba(16, 27, 42, 0) 48%, rgba(16, 27, 42, 0.5) 100%);
}

body.is-venom .home-v2 .home-hero-slide::before {
  background:
    radial-gradient(circle at 72% 45%, rgba(141, 219, 58, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(16, 27, 42, 0.02), rgba(16, 27, 42, 0.2));
}

body.is-venom .home-v2 .home-hero-content h1,
body.is-venom .home-v2 .home-hero-content .hero-tagline {
  color: #f7f9fc;
}

body.is-venom .home-v2 .home-hero-content h1 span,
body.is-venom .home-v2 .home-hero-content .eyebrow {
  color: #8ddb3a;
}

body.is-venom .home-v2 .home-hero-content .lead {
  color: #a6afbd;
}

body.is-venom .home-v2 .hero-actions .button {
  background: #1b293b;
  border-color: #26364a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  color: #f7f9fc;
}

body.is-venom .home-v2 .hero-actions .button:hover {
  background: #26364a;
  border-color: #8ddb3a;
  color: #a2eb4b;
}

body.is-venom .home-v2 .hero-actions .button.primary {
  background: #8ddb3a;
  border-color: #8ddb3a;
  color: #101b2a;
}

body.is-venom .home-v2 .hero-actions .button.primary:hover {
  background: #a2eb4b;
  border-color: #a2eb4b;
  color: #101b2a;
}

body.is-venom .home-v2 .home-stat-card:hover {
  border-color: #344152;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

body.is-venom .home-v2 .is-news .home-news-content strong {
  color: #f7f9fc;
}

body.is-venom .home-v2 .home-dashboard-card .link-more:hover {
  color: #f7f9fc;
}

body.is-venom .home-v2 .is-news .home-news-item {
  border-bottom-color: #26364a;
  border-radius: 7px;
  color: #f7f9fc;
  padding-left: 8px;
  padding-right: 8px;
}

body.is-venom .home-v2 .is-news .home-news-item:hover {
  background: #1b293b;
}

body.is-venom .home-v2 .is-news .home-news-thumb {
  background: #1b293b;
  border: 1px solid #26364a;
}

body.is-venom .home-v2 .is-news .home-news-content p,
body.is-venom .home-v2 .is-news .home-news-date {
  color: #a6afbd;
}

body.is-venom .home-v2 .is-news .home-news-date i {
  color: #a6afbd;
}

body.is-venom .home-v2 .is-servers .server-row {
  background:
    linear-gradient(90deg, rgba(16, 27, 42, 0.95) 0%, rgba(22, 34, 53, 0.88) 58%, rgba(22, 34, 53, 0.82) 100%),
    var(--map-image) center / cover no-repeat;
  border-color: #26364a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

body.is-venom .home-v2 .is-servers .server-row:hover {
  border-color: #344152;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

body.is-venom .home-v2 .is-servers .server-row-icon,
body.is-venom .home-v2 .is-servers .server-info-block strong,
body.is-venom .home-v2 .is-servers .server-player-count,
body.is-venom .home-v2 .is-servers .server-map-name {
  color: #f7f9fc;
}

body.is-venom .home-v2 .is-servers .server-info-block span,
body.is-venom .home-v2 .is-servers .server-player-count::after,
body.is-venom .home-v2 .is-servers .server-map-name::after {
  color: #a6afbd;
}

body.is-venom .home-v2 .is-servers .server-progress {
  background: #344152;
}

body.is-venom .home-v2 .is-servers .server-progress i,
body.is-venom .home-v2 .is-servers .server-row.is-medium .server-progress i,
body.is-venom .home-v2 .is-servers .server-row.is-full .server-progress i {
  background: #8ddb3a;
}

body.is-venom .home-v2 .home-discord-cta .discord-cta-icon {
  background: #1b293b;
  border: 1px solid #344152;
  color: #f7f9fc;
}

body.is-venom .footer-v2 {
  background:
    linear-gradient(90deg, rgba(22, 34, 53, 1) 0%, rgba(22, 34, 53, 0.99) 54%, rgba(22, 34, 53, 0.9) 78%, rgba(22, 34, 53, 0.76) 100%),
    url("../images/footer-map-bg.webp") right center / 52% auto no-repeat,
    #162235;
  border: 1px solid #26364a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* The base footer adds a light overlay pseudo-element; neutralize it in Venom. */
body.is-venom .footer-v2::before {
  background: transparent;
}

body.is-venom .footer-v2 .footer-brand-col {
  border-color: #26364a;
}

body.is-venom .footer-v2 h3,
body.is-venom .footer-v2 .footer-navigation-links a {
  color: #f7f9fc;
}

body.is-venom .footer-v2 .footer-brand-col p,
body.is-venom .footer-v2 .footer-bottom,
body.is-venom .footer-v2 .footer-bottom a {
  color: #a6afbd;
}

body.is-venom .footer-v2 .footer-navigation-links i {
  color: #a6afbd;
}

body.is-venom .footer-v2 .footer-navigation-links a:hover,
body.is-venom .footer-v2 .footer-bottom a:hover {
  color: #f7f9fc;
}

body.is-venom .footer-v2 .footer-bottom {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.is-venom .footer-v2 .footer-bottom-links a + a::before {
  color: #344152;
}

body.is-venom .button:focus-visible,
body.is-venom button:focus-visible,
body.is-venom a:focus-visible {
  outline-color: rgba(141, 219, 58, 0.38);
}

@media (max-width: 760px) {
  body.is-venom {
    background-attachment: scroll;
  }
}

/* Homepage / Server-card interactions */
body.is-venom .home-v2 .home-hero-content {
  padding: 68px 44px 94px;
}

/* Homepage slider: dot navigation under the left-side actions. */
body.is-venom .home-v2 .home-hero-controls {
  align-items: center;
  bottom: 18px;
  display: flex;
  left: 44px;
  position: absolute;
  right: auto;
  z-index: 10;
}

body.is-venom .home-v2 .home-hero-controls > button {
  display: none;
}

body.is-venom .home-v2 .home-hero-dots {
  align-items: center;
  display: flex;
  gap: 10px;
}

body.is-venom .home-v2 .home-hero-dots button {
  background: #344152;
  border-radius: 99px;
  height: 5px;
  opacity: 0.72;
  transition: width 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
  width: 22px;
}

body.is-venom .home-v2 .home-hero-dots button.is-active {
  background: #8ddb3a;
  opacity: 1;
  width: 48px;
}

body.is-venom .home-v2 .home-card-grid {
  align-items: stretch;
}
body.is-venom .home-v2 .home-card-grid.has-community-chat { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: stretch; }
.home-chat-column { min-width: 0; }
.home-chat-column .community-chat-widget { background: var(--surface); border-color: var(--line); }
.home-chat-column .community-chat-widget-messages { max-height: 300px; overflow-y: auto; min-width: 0; }
.home-chat-column .community-chat-widget-action, .home-chat-column .community-chat-widget > header > a, .home-chat-column .community-chat-widget-icon { color: var(--blue); }
@media (max-width: 920px) { body.is-venom .home-v2 .home-card-grid.has-community-chat { grid-template-columns: minmax(0, 1fr); } }

body.is-venom .home-v2 .home-dashboard-card.is-servers {
  min-height: 0;
}

body.is-venom .home-v2 .is-servers .server-row {
  gap: 10px;
  grid-template-columns: 30px minmax(230px, 1.3fr) minmax(160px, 0.78fr) 42px;
  min-height: 68px;
  padding: 7px 9px;
}

body.is-venom .home-v2 .is-servers .server-row-actions {
  gap: 4px;
}

body.is-venom .home-v2 .is-servers .server-copy,
body.is-venom .home-v2 .is-servers .server-connect {
  border-radius: 6px;
  box-shadow: none;
  font-size: 0.72rem;
  opacity: 0.58;
}

body.is-venom .home-v2 .is-servers .server-copy {
  background: rgba(27, 41, 59, 0.72);
  border-color: rgba(166, 175, 189, 0.24);
  color: #f7f9fc;
}

body.is-venom .home-v2 .is-servers .server-row:hover .server-copy {
  opacity: 0.88;
}

body.is-venom .home-v2 .is-servers .server-copy:hover {
  background: #26364a;
  border-color: #a6afbd;
  color: #f7f9fc;
  opacity: 1;
  transform: scale(1.04);
}

body.is-venom .footer-v2 .footer-navigation-links a,
body.is-venom .footer-v2 .footer-navigation-links i,
body.is-venom .footer-v2 .footer-bottom a {
  transition: color 0.2s ease, transform 0.2s ease;
}

body.is-venom .footer-v2 .footer-navigation-links a:hover {
  color: #a2eb4b;
  transform: translateX(3px);
}

body.is-venom .footer-v2 .footer-navigation-links a:hover i {
  color: #a2eb4b;
}

body.is-venom .footer-v2 .footer-bottom a:hover {
  color: #a2eb4b;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  body.is-venom .home-v2 .home-hero-content {
    padding: 58px 24px 98px;
  }

  body.is-venom .home-v2 .home-hero-controls {
    bottom: 16px;
    left: 24px;
  }

  body.is-venom .footer-v2 {
    background:
      linear-gradient(90deg, rgba(22, 34, 53, 0.99), rgba(22, 34, 53, 0.9)),
      url("../images/footer-map-bg.webp") right center / auto 100% no-repeat,
      #162235;
  }
}

/* Servers / Identity metadata */
.server-title-line {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.server-title-line strong {
  min-width: 0;
}

.server-info-block .server-address {
  color: var(--muted);
  display: block;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.66rem;
  font-weight: var(--fw-meta);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-action-icon {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 15px;
}

.server-action-icon.is-play {
  fill: currentColor;
  stroke: none;
}

body.is-venom .home-v2 .home-hero-slide {
  transition: opacity 0.45s ease;
  will-change: opacity;
}

body.is-venom .home-v2 .home-dashboard-card.is-servers {
  padding: 18px;
}

body.is-venom .home-v2 .is-servers .server-title-line {
  gap: 7px;
}

body.is-venom .home-v2 .is-servers .server-info-block .server-address {
  color: #a6afbd;
  font-size: 0.61rem;
  margin-top: 3px;
}

body.is-venom .home-v2 .is-servers .server-copy,
body.is-venom .home-v2 .is-servers .server-connect {
  height: 25px;
  min-width: 30px;
  width: 30px;
}

/* Header, Footer and Servers / Shared controls */

.footer-v2 .footer-navigation-links {
  gap: 14px 38px;
}

.footer-v2 .footer-navigation-links a {
  align-items: start;
  grid-template-columns: 20px minmax(0, 1fr);
  min-height: 46px;
}

.footer-v2 .footer-navigation-links i {
  font-size: 1rem;
  margin-top: 3px;
}

.footer-v2 .footer-nav-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.footer-v2 .footer-nav-copy strong {
  color: inherit;
  font-size: 0.82rem;
  font-weight: var(--fw-title);
  line-height: 1.25;
}

.footer-v2 .footer-nav-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: var(--fw-item-title);
  line-height: 1.35;
  transition: color 0.2s ease;
}

body.is-venom .footer-v2 .footer-nav-copy small {
  color: #8f9aab;
}

body.is-venom .footer-v2 .footer-navigation-links a:hover .footer-nav-copy small {
  color: #c7ced8;
}

.server-identity-meta {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 5px;
  min-width: 0;
}

.server-info-block .server-identity-meta .server-address {
  display: block;
  margin: 0;
  min-width: 0;
}

.server-row-actions {
  align-self: center;
  justify-self: center;
}

.server-row-actions .server-connect {
  height: 34px;
  min-width: 34px;
  padding: 0;
  width: 34px;
}

body.is-venom .home-v2 .is-servers .server-row-icon {
  color: #a6afbd;
  display: inline-flex;
  font-size: 1rem;
  height: 30px;
  width: 30px;
}

body.is-venom .home-v2 .is-servers .server-title-line {
  display: block;
}

body.is-venom .home-v2 .is-servers .server-identity-meta {
  margin-top: 5px;
}

body.is-venom .home-v2 .is-servers .server-row-actions {
  align-items: center;
  flex-direction: row;
  justify-self: center;
}

body.is-venom .home-v2 .is-servers .server-row-actions .server-connect {
  background: rgba(141, 219, 58, 0.1);
  border-color: rgba(141, 219, 58, 0.25);
  color: #a2eb4b;
}

body.is-venom .home-v2 .is-servers .server-row:hover .server-connect {
  opacity: 0.94;
}

body.is-venom .home-v2 .is-servers .server-row-actions .server-connect:hover {
  background: #8ddb3a;
  border-color: #8ddb3a;
  color: #101b2a;
  opacity: 1;
  transform: scale(1.05);
}

body.is-venom .home-v2 .home-dashboard-card .empty-state,
body.is-venom .home-v2 .home-dashboard-card .home-card-empty {
  align-items: center;
  background: rgba(27, 41, 59, 0.58);
  border: 1px dashed #344152;
  border-radius: 8px;
  color: #a6afbd;
  display: flex;
  margin: 12px 0 0;
  min-height: 68px;
  padding: 18px 20px;
}

body.is-venom .topbar-v2 .notification-toggle {
  color: #a6afbd;
}

body.is-venom .topbar-v2 .notification-toggle:hover {
  background: #1b293b;
  color: #f7f9fc;
}

body.is-venom .topbar-v2 .user-menu-link strong,
body.is-venom .topbar-v2 .account-menu:hover .user-menu-link,
body.is-venom .topbar-v2 .account-menu:focus-within .user-menu-link {
  color: #f7f9fc;
}

body.is-venom .account-dropdown a,
body.is-venom .account-dropdown button {
  background: transparent;
  border-color: transparent;
  color: #e7ebf1;
}

body.is-venom .account-dropdown i {
  background: #1b293b;
  color: #a6afbd;
}

body.is-venom .account-notification-preview {
  background: #162235;
  border-color: #26364a;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

body.is-venom .account-dropdown .account-notification-item,
body.is-venom .account-dropdown .account-notification-item.unread {
  background: transparent;
  border-color: transparent;
}

body.is-venom .account-dropdown .account-notification-item:hover,
body.is-venom .account-dropdown .account-notification-item.unread:hover {
  background: #1b293b;
  border-color: #344152;
}

body.is-venom .account-notification-item b {
  color: #f7f9fc;
}

body.is-venom .account-notification-item small {
  color: #a6afbd;
}

@media (max-width: 1320px) {
  .footer-v2 .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-v2 .footer-social-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-v2 .footer-navigation-links {
    grid-template-columns: 1fr;
  }

  body.is-venom .home-v2 .is-servers .server-row {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  body.is-venom .home-v2 .is-servers .server-row-icon {
    grid-column: 1;
    grid-row: 1;
  }

  body.is-venom .home-v2 .is-servers .server-info-block {
    grid-column: 2;
    grid-row: 1;
  }

  body.is-venom .home-v2 .is-servers .server-status-block {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  body.is-venom .home-v2 .is-servers .server-row-actions {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Header and Footer / Proportions */
body.is-venom .topbar-v2 .brand {
  height: 76px;
  min-width: 128px;
  overflow: hidden;
  width: 128px;
}

body.is-venom .topbar-v2 .brand-logo {
  flex: 0 0 110px;
  height: 110px;
  max-width: none;
  transform: none;
  width: 110px;
}

body.is-venom .topbar-v2 .nav-actions {
  justify-content: flex-end;
  margin-left: auto;
}

body.is-venom .topbar-v2 .notification-toggle i {
  color: #a6afbd;
}

body.is-venom .topbar-v2 .notification-toggle:hover i {
  color: #f7f9fc;
}

body.is-venom .topbar-v2 .admin-action-link:hover i {
  background: #26364a;
  border-color: #344152;
  color: #f7f9fc;
  transform: translateY(-1px);
}

body.is-venom .footer-v2 .footer-main {
  align-items: start;
  gap: clamp(28px, 3.2vw, 54px);
  grid-template-columns: minmax(310px, 0.92fr) minmax(500px, 1.46fr) minmax(210px, 0.62fr);
  padding: 28px 34px 22px;
}

body.is-venom .footer-v2 .footer-brand-col {
  align-self: stretch;
  padding-right: 34px;
}

body.is-venom .footer-v2 .footer-brand {
  height: 80px;
  margin-bottom: 2px;
  overflow: hidden;
  width: 150px;
}

body.is-venom .footer-v2 .footer-logo {
  flex: 0 0 150px;
  height: 150px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  width: 150px;
}

body.is-venom .footer-v2 .footer-brand-col p {
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: none;
  width: 100%;
}

body.is-venom .footer-v2 .footer-navigation-widget,
body.is-venom .footer-v2 .footer-social-col {
  align-self: start;
}

body.is-venom .footer-v2 .footer-social-col {
  border-left: 1px solid #26364a;
  min-height: 100%;
  padding-left: clamp(28px, 3vw, 46px);
}

body.is-venom .footer-v2 .footer-divider {
  border-top: 1px solid #26364a;
  display: block;
  margin: 0 34px;
}

body.is-venom .footer-v2 .footer-bottom {
  margin: 0 34px 12px;
  min-height: 42px;
  padding: 0 4px;
}

@media (max-width: 1320px) {
  body.is-venom .footer-v2 .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-venom .footer-v2 .footer-social-col {
    border-left: 0;
    border-top: 1px solid #26364a;
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 20px;
  }
}

@media (max-width: 760px) {
  body.is-venom .topbar-v2 .brand {
    height: 64px;
    min-width: 118px;
    width: 118px;
  }

  body.is-venom .topbar-v2 .brand-logo {
    flex-basis: 128px;
    height: 128px;
    width: 128px;
  }

  body.is-venom .footer-v2 .footer-main {
    grid-template-columns: 1fr;
  }

  body.is-venom .footer-v2 .footer-brand-col {
    border-bottom: 1px solid #26364a;
    border-right: 0;
    padding-bottom: 20px;
    padding-right: 0;
  }

  body.is-venom .footer-v2 .footer-social-col {
    grid-column: auto;
  }

  body.is-venom .footer-v2 .footer-divider {
    margin: 0 22px;
  }

  body.is-venom .footer-v2 .footer-bottom {
    margin-left: 22px;
    margin-right: 22px;
  }
}

/* Account menu and Servers / Actions */
.account-menu-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.account-menu-copy b {
  color: inherit;
  font-size: 0.78rem;
  font-weight: var(--fw-title);
  line-height: 1.15;
  text-transform: uppercase;
}

.account-menu-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: var(--fw-meta);
  line-height: 1.3;
  text-transform: none;
  transition: color 0.2s ease;
}

body.is-venom .topbar-v2 .account-menu {
  margin-left: 0;
}

body.is-venom .account-dropdown {
  border-radius: 12px;
  min-width: min(348px, calc(100vw - 24px));
  padding: 8px;
}

body.is-venom .account-dropdown > a,
body.is-venom .account-dropdown > .account-dropdown-item > a,
body.is-venom .account-dropdown > form > button {
  border-radius: 8px;
  box-shadow: inset 0 -1px 0 #26364a;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 60px;
  padding: 7px 9px;
}

body.is-venom .account-dropdown > form > button {
  box-shadow: none;
}

body.is-venom .account-dropdown i {
  border: 1px solid rgba(166, 175, 189, 0.08);
  border-radius: 9px;
  font-size: 1rem;
  height: 42px;
  width: 42px;
}

body.is-venom .account-dropdown a:hover,
body.is-venom .account-dropdown button:hover {
  background: rgba(27, 41, 59, 0.86);
  border-color: rgba(141, 219, 58, 0.28);
  color: #f7f9fc;
}

body.is-venom .account-dropdown a:hover i,
body.is-venom .account-dropdown button:hover i {
  background: rgba(141, 219, 58, 0.1);
  border-color: rgba(141, 219, 58, 0.18);
  color: #8ddb3a;
}

body.is-venom .account-dropdown a:hover .account-menu-copy small,
body.is-venom .account-dropdown button:hover .account-menu-copy small {
  color: #a6afbd;
}

body.is-venom .home-v2 .is-servers .server-identity-meta {
  flex-wrap: wrap;
  gap: 6px 8px;
}

body.is-venom .home-v2 .is-servers .server-row-actions .server-connect {
  height: 40px;
  min-width: 40px;
  opacity: 0.82;
  width: 40px;
}

body.is-venom .home-v2 .is-servers .server-action-icon {
  height: 17px;
  width: 17px;
}

@media (max-width: 760px) {
  body.is-venom .home-v2 .is-servers .server-row {
    grid-template-columns: 30px minmax(0, 1fr) 40px;
  }
}

/* Header / Notifications and server metadata */
body.is-venom .topbar-v2 .notification-toggle span,
body.is-venom .topbar-v2 .nav-badge,
body.is-venom .account-dropdown strong {
  background: rgba(141, 219, 58, 0.14);
  border: 1px solid rgba(141, 219, 58, 0.3);
  color: #a2eb4b;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

body.is-venom .topbar-v2 .notification-toggle span {
  font-size: 0.55rem;
  height: 17px;
  min-width: 17px;
  padding: 0 4px;
  right: -3px;
  top: -3px;
}

body.is-venom .topbar-v2 .nav-badge {
  font-size: 0.52rem;
  height: 16px;
  min-width: 16px;
  padding: 0 4px;
  right: -3px;
  top: -3px;
}

body.is-venom .account-dropdown strong {
  font-size: 0.58rem;
  height: 18px;
  min-width: 18px;
  padding: 0 5px;
}

body.is-venom .home-v2 .is-servers .server-identity-meta .server-game-label {
  color: #a6afbd;
  display: inline-block;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.61rem;
  font-weight: var(--fw-meta);
  line-height: 1.35;
  white-space: nowrap;
}

@media (min-width: 1181px) {
  body.is-venom .topbar-v2 .account-menu {
    border-left: 1px solid #26364a;
    margin-left: 4px;
    padding-left: 12px;
  }
}

/* Homepage / Community statistics */
@media (min-width: 1101px) {
  body.is-venom .home-v2 .home-stat-cards {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  body.is-venom .home-v2 .home-stat-card {
    min-width: 0;
    width: auto;
  }

  body.is-venom .home-v2 .home-stat-card > span {
    max-width: none;
    width: auto;
  }
}

body.is-venom .home-v2 .home-stat-avatar {
  border: 1px solid #344152;
  border-radius: 8px;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

body.is-venom .home-v2 .home-stat-card strong a {
  color: inherit;
  display: block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-venom .home-v2 .home-stat-card strong a:hover {
  color: #a2eb4b;
}

/* Header / Servers mega menu */
.topbar-v2 .nav-mega-item {
  align-items: stretch;
  display: flex;
}

.topbar-v2 .servers-mega-menu {
  background: rgba(8, 17, 29, 0.98);
  border: 1px solid #26364a;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
  left: 50%;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 1px);
  transform: translate(-50%, -16px) scale(0.99);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.24s ease, visibility 0.24s ease;
  visibility: hidden;
  width: min(1180px, calc(100vw - 32px));
  z-index: 190;
}

.topbar-v2 .nav-mega-item:hover .servers-mega-menu,
.topbar-v2 .nav-mega-item:focus-within .servers-mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  visibility: visible;
}

.topbar-v2 .nav-mega-item:hover > a,
.topbar-v2 .nav-mega-item:focus-within > a,
.topbar-v2 .nav-mega-item:hover > a i,
.topbar-v2 .nav-mega-item:focus-within > a i {
  color: #f7f9fc;
}

.servers-mega-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(600px, 1.42fr);
  min-height: 446px;
}

.servers-mega-intro {
  align-content: center;
  border-right: 1px solid #26364a;
  display: grid;
  justify-items: center;
  padding: 34px 32px;
  position: relative;
  text-align: center;
}

.servers-mega-intro::after {
  background: radial-gradient(circle at center, rgba(141, 219, 58, 0.12), transparent 56%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.servers-mega-intro > * {
  position: relative;
  z-index: 1;
}

.servers-mega-intro h2 {
  color: #f7f9fc;
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
}

.servers-mega-intro h2 span {
  color: #8ddb3a;
}

.servers-mega-copy {
  color: #a6afbd;
  font-size: 0.72rem;
  line-height: 1.55;
  margin: 16px auto 22px;
  max-width: 330px;
}

.servers-mega-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.servers-mega-features span {
  align-items: center;
  color: #a6afbd;
  display: grid;
  justify-items: center;
  text-transform: uppercase;
}

.servers-mega-features i {
  color: #8ddb3a;
}

.servers-mega-features b {
  color: #f7f9fc;
  font-weight: var(--fw-title);
}

.servers-mega-live {
  background: linear-gradient(145deg, #101b2a, #0c1624);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 24px;
}

.servers-mega-heading {
  align-items: center;
  border-bottom: 1px solid #26364a;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 14px;
}

.servers-mega-heading h2 {
  align-items: center;
  color: #f7f9fc;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.98rem;
  gap: 9px;
  margin: 0;
  text-transform: uppercase;
}

.servers-mega-heading h2 i {
  align-items: center;
  background: rgba(141, 219, 58, 0.1);
  border-radius: 7px;
  color: #8ddb3a;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.topbar-v2 .servers-mega-heading > a {
  align-items: center;
  background: #1b293b;
  border: 1px solid #26364a;
  border-radius: 7px;
  color: #f7f9fc;
  display: inline-flex;
  font-size: 0.62rem;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  text-transform: uppercase;
}

.topbar-v2 .servers-mega-heading > a:hover {
  background: rgba(141, 219, 58, 0.08);
  border-color: rgba(141, 219, 58, 0.4);
  color: #a2eb4b;
}

.topbar-v2 .servers-mega-heading > a i {
  color: inherit;
}

.servers-mega-live .server-list {
  align-content: start;
  gap: 8px;
}

.servers-mega-live .server-row {
  background: rgba(16, 27, 42, 0.76);
  border-color: #26364a;
  box-shadow: none;
  gap: 12px;
  min-height: 68px;
  padding: 7px 9px;
}

.servers-mega-live .server-row:hover {
  background: rgba(27, 41, 59, 0.9);
  border-color: rgba(141, 219, 58, 0.3);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.servers-mega-live .server-row::after {
  background: linear-gradient(90deg, transparent, rgba(141, 219, 58, 0.018));
}

.servers-mega-live .server-row-map-image {
  border: 1px solid #26364a;
  border-radius: 6px;
  display: block;
  height: 52px;
  object-fit: cover;
  opacity: 0.86;
  width: 72px;
}

.servers-mega-live .server-row-icon {
  display: none;
}

.servers-mega-live .server-info-block strong {
  color: #f7f9fc;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.servers-mega-live .server-identity-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-top: 5px;
}

.servers-mega-live .server-info-block .server-game-label,
.servers-mega-live .server-info-block .server-address {
  color: #8f9aab;
  display: inline-block;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.56rem;
  font-weight: var(--fw-meta);
  margin: 0;
  max-width: 100%;
}

.servers-mega-live .server-status-block {
  gap: 7px;
}

.servers-mega-live .server-status-meta {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.servers-mega-live .server-player-count,
.servers-mega-live .server-map-name {
  color: #f7f9fc;
  display: grid;
  font-size: 0.7rem;
  gap: 3px;
}

.servers-mega-live .server-player-count::before,
.servers-mega-live .server-map-name::before {
  color: #8f9aab;
  font-size: 0.5rem;
  font-weight: var(--fw-meta);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.servers-mega-live .server-player-count::before {
  content: "Players";
}

.servers-mega-live .server-map-name::before {
  content: "Map";
}

.servers-mega-live .server-progress {
  background: #344152;
  height: 4px;
  min-width: 0;
}

.servers-mega-live .server-progress i,
.servers-mega-live .server-row.is-medium .server-progress i,
.servers-mega-live .server-row.is-full .server-progress i {
  background: #8ddb3a;
}

.topbar-v2 .servers-mega-live .server-row-actions .server-connect {
  background: rgba(141, 219, 58, 0.1);
  border: 1px solid rgba(141, 219, 58, 0.25);
  color: #a2eb4b;
  opacity: 0.78;
  padding: 0;
}

.topbar-v2 .servers-mega-live .server-row-actions .server-connect:hover {
  background: #8ddb3a;
  border-color: #8ddb3a;
  color: #101b2a;
  opacity: 1;
}

.servers-mega-live .empty-state {
  align-items: center;
  background: rgba(27, 41, 59, 0.62);
  border: 1px dashed #344152;
  border-radius: 8px;
  color: #a6afbd;
  display: flex;
  min-height: 80px;
  padding: 18px;
}

.servers-mega-summary {
  border-top: 1px solid #26364a;
  margin: 12px -24px -24px;
  padding: 13px 24px;
}

.servers-mega-summary .server-summary-widget {
  background: transparent;
  border: 0;
  margin: 0;
  min-height: 0;
  padding: 0;
}

.servers-mega-summary .server-summary-widget i {
  color: #8ddb3a;
  font-size: 0.85rem;
}

.servers-mega-summary .server-summary-widget span {
  color: #8f9aab;
  font-size: 0.55rem;
}

.servers-mega-summary .server-summary-widget strong {
  color: #f7f9fc;
  font-size: 0.88rem;
}

@media (max-width: 1180px) {
  .topbar-v2 .nav-mega-item {
    display: contents;
  }

  .topbar-v2 .servers-mega-menu {
    display: none;
  }
}

/* Header / Servers mega-menu refinement */
.topbar-v2 .servers-mega-menu {
  top: 100%;
}

.servers-mega-intro {
  background:
    linear-gradient(90deg, rgba(6, 14, 25, 0.64), rgba(6, 14, 25, 0.34)),
    linear-gradient(180deg, rgba(6, 14, 25, 0.1), rgba(6, 14, 25, 0.94)),
    url("../images/homepage-hero-lime.webp") 62% center / cover no-repeat;
}

.servers-mega-intro h2 {
  font-size: 1.28rem;
}

.servers-mega-copy {
  margin-top: 18px;
}

.servers-mega-live .server-row {
  grid-template-columns: 72px minmax(190px, 1fr) minmax(180px, 0.76fr) 46px;
}

.topbar-v2 .servers-mega-live .server-row-actions .server-connect {
  border-radius: 7px;
  height: 36px;
  min-height: 36px;
  min-width: 46px;
  width: 46px;
}

.servers-mega-live .server-action-icon {
  height: 18px;
  width: 18px;
}

/* Homepage and Servers / Visual refinements */
body.is-venom .home-v2 .home-hero-slide-news {
  background:
    linear-gradient(90deg, #162235 0%, #162235 48%, rgba(22, 34, 53, 0.98) 56%, rgba(22, 34, 53, 0.72) 70%, rgba(22, 34, 53, 0.16) 100%),
    url("../images/homepage-news-lime.webp") right center / auto 108% no-repeat,
    #162235;
}

.topbar-v2 .servers-mega-live .server-row-actions .server-connect,
.topbar-v2 .servers-mega-live .server-row-actions .server-connect:hover {
  box-shadow: none;
  filter: none;
}

.servers-mega-live .server-list {
  max-height: 296px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: rgba(141, 219, 58, 0.38) transparent;
  scrollbar-width: thin;
}

.servers-mega-live .server-list::-webkit-scrollbar {
  width: 5px;
}

.servers-mega-live .server-list::-webkit-scrollbar-thumb {
  background: rgba(141, 219, 58, 0.32);
  border-radius: 999px;
}

body.is-venom .home-v2 .home-overview-stats,
body.is-venom .home-v2 .home-stat-cards {
  overflow: visible;
  position: relative;
  z-index: 35;
}

body.is-venom .home-v2 .has-active-members-menu {
  cursor: default;
  overflow: visible;
  position: relative;
}

.active-members-mega-menu {
  background:
    linear-gradient(145deg, rgba(16, 27, 42, 0.98), rgba(11, 21, 34, 0.96)),
    url("../images/footer-map-bg.webp") right center / cover no-repeat;
  border: 1px solid #26364a;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.42);
  opacity: 0;
  padding: 16px;
  pointer-events: none;
  position: absolute;
  right: -1px;
  top: calc(100% + 1px);
  transform: translateY(-12px) scale(0.985);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.24s ease, visibility 0.24s ease;
  visibility: hidden;
  width: min(350px, calc(100vw - 32px));
  z-index: 90;
}

.has-active-members-menu:hover .active-members-mega-menu,
.has-active-members-menu:focus-within .active-members-mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.active-members-mega-heading {
  align-items: end;
  border-bottom: 1px solid #26364a;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 2px 2px 12px;
}

body.is-venom .home-v2 .active-members-mega-heading > span {
  display: grid;
  gap: 4px;
}

body.is-venom .home-v2 .active-members-mega-heading small {
  color: #8ddb3a;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.is-venom .home-v2 .active-members-mega-heading b {
  color: #f7f9fc;
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
}

body.is-venom .home-v2 .active-members-mega-heading > strong {
  align-items: center;
  background: rgba(141, 219, 58, 0.1);
  border: 1px solid rgba(141, 219, 58, 0.2);
  border-radius: 999px;
  color: #a2eb4b;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.78rem;
  height: 26px;
  justify-content: center;
  margin: 0;
  min-width: 26px;
  padding: 0 7px;
}

.active-members-mega-menu .presence-widget {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  padding: 0;
}

.active-members-mega-menu .presence-widget-head {
  display: none;
}

.active-members-mega-menu .presence-user-list {
  max-height: 326px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(141, 219, 58, 0.38) transparent;
  scrollbar-width: thin;
}

.active-members-mega-menu .presence-user-list::-webkit-scrollbar {
  width: 4px;
}

.active-members-mega-menu .presence-user-list::-webkit-scrollbar-thumb {
  background: rgba(141, 219, 58, 0.32);
  border-radius: 999px;
}

.active-members-mega-menu .presence-user-row {
  background: transparent;
  border-bottom: 1px solid rgba(38, 54, 74, 0.72);
  box-shadow: none;
  color: #f7f9fc;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr) 8px;
  min-height: 48px;
  padding: 7px 3px;
}

.active-members-mega-menu .presence-user-row:hover {
  background: rgba(141, 219, 58, 0.055);
  border-color: rgba(141, 219, 58, 0.16);
  box-shadow: none;
  transform: none;
}

.active-members-mega-menu .presence-user-row::after {
  background: #8ddb3a;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(141, 219, 58, 0.28);
  content: "";
  height: 7px;
  width: 7px;
}

.active-members-mega-menu .presence-user-row img,
body.is-venom .home-v2 .active-members-mega-menu .presence-user-row > span {
  border: 1px solid #344152;
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  margin: 0;
  width: 34px;
}

body.is-venom .home-v2 .active-members-mega-menu .presence-user-row > span {
  align-items: center;
  background: #1b293b;
  color: #f7f9fc;
  justify-content: center;
}

.active-members-mega-menu .presence-user-row strong {
  color: #f7f9fc;
  font-size: 0.75rem;
  margin: 0;
}

.active-members-mega-menu .presence-user-row small {
  color: #8f9aab;
  display: block;
  font-size: 0.58rem;
  margin-top: 2px;
  text-transform: none;
}

.active-members-mega-menu .presence-widget > p {
  color: #a6afbd;
  font-size: 0.7rem;
  padding: 16px 4px;
}

@media (max-width: 760px) {
  .active-members-mega-menu {
    display: none;
  }
}

/* Layout / Desktop framing */
@media (min-width: 901px) {
  body.is-venom .home-v2 .home-hero-slide-main {
    background:
      linear-gradient(90deg, #162235 0%, #162235 38%, rgba(22, 34, 53, 0.94) 45%, rgba(22, 34, 53, 0.42) 59%, rgba(22, 34, 53, 0.1) 74%, rgba(22, 34, 53, 0.02) 100%),
      url("../images/homepage-hero-lime.webp") right center / auto 135% no-repeat,
      #162235;
  }

  body.is-venom .home-v2 .home-hero-slide-news {
    background:
      linear-gradient(90deg, #162235 0%, #162235 38%, rgba(22, 34, 53, 0.94) 45%, rgba(22, 34, 53, 0.42) 59%, rgba(22, 34, 53, 0.1) 74%, rgba(22, 34, 53, 0.02) 100%),
      url("../images/homepage-news-lime.webp") right center / auto 135% no-repeat,
      #162235;
  }

  body.is-venom .home-v2 .home-hero-slide::before {
    background: linear-gradient(180deg, transparent 72%, rgba(16, 27, 42, 0.07) 100%);
  }
}

@media (min-width: 1181px) {
  body.is-venom .topbar-v2 .topbar-inner {
    padding-left: max(24px, calc((100vw - 1560px) / 2));
    padding-right: max(24px, calc((100vw - 1560px) / 2));
  }

  body.is-venom .home-v2 .home-hero-slider,
  body.is-venom .home-v2 .home-overview-stats,
  body.is-venom .home-v2 .home-dashboard,
  body.is-venom .footer-v2 {
    width: min(100% - 48px, 1560px);
  }
}

/* Shared interactions / Social actions */
body.is-venom .footer-v2 .footer-social {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  width: 100%;
}

body.is-venom .footer-v2 .footer-social a {
  align-items: center;
  background: rgba(27, 41, 59, 0.58);
  border: 1px solid rgba(52, 65, 82, 0.82);
  border-radius: 7px;
  box-shadow: none;
  color: #a6afbd;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: var(--fw-title);
  gap: 9px;
  justify-content: flex-start;
  min-height: 40px;
  opacity: 0.76;
  padding: 0 12px;
  text-transform: uppercase;
  width: 100%;
}

body.is-venom .footer-v2 .footer-social a i {
  color: #f7f9fc;
  font-size: 0.92rem;
  text-align: center;
  width: 18px;
}

body.is-venom .footer-v2 .footer-social a:hover {
  background: rgba(141, 219, 58, 0.1);
  border-color: rgba(141, 219, 58, 0.55);
  color: #a2eb4b;
  opacity: 1;
  transform: translateY(-1px);
}

body.is-venom .footer-v2 .footer-social a:hover i {
  color: #a2eb4b;
}

.active-members-mega-menu .presence-user-row {
  border: 1px solid transparent;
  border-bottom-color: rgba(38, 54, 74, 0.72);
  padding-left: 7px;
  padding-right: 7px;
}

.active-members-mega-menu .presence-user-row:last-child {
  border-bottom: 1px solid transparent;
}

.active-members-mega-menu .presence-user-row:hover {
  border: 1px solid rgba(141, 219, 58, 0.2);
}

.servers-mega-features {
  gap: 14px;
  margin-top: 6px;
}

.servers-mega-features span {
  font-size: 0.62rem;
  gap: 10px;
}

.servers-mega-features i {
  align-items: center;
  background: rgba(141, 219, 58, 0.08);
  border: 1px solid rgba(141, 219, 58, 0.2);
  border-radius: 10px;
  display: inline-flex;
  font-size: 1.5rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

@media (max-width: 760px) {
  body.is-venom .footer-v2 .footer-social {
    grid-template-columns: 1fr;
  }
}

/* Servers / Summary cards and artwork */

.servers-mega-live .server-row:hover {
  transform: none;
}

.servers-mega-summary {
  padding-bottom: 12px;
  padding-top: 12px;
}

.servers-mega-summary .server-summary-widget {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.servers-mega-summary .server-summary-widget > div {
  background: rgba(27, 41, 59, 0.66);
  border: 1px solid rgba(52, 65, 82, 0.78);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 8px 9px;
}

.servers-mega-summary .server-summary-widget span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-venom .home-v2 .home-hero-slide-requests {
  background:
    linear-gradient(90deg, #162235 0%, #162235 48%, rgba(22, 34, 53, 0.98) 56%, rgba(22, 34, 53, 0.74) 70%, rgba(22, 34, 53, 0.18) 100%),
    url("../images/requests-hero-agent.webp") right center / auto 108% no-repeat,
    #162235;
}

@media (min-width: 901px) {
  body.is-venom .home-v2 .home-hero-slide-requests {
    background:
      linear-gradient(90deg, #162235 0%, #162235 38%, rgba(22, 34, 53, 0.94) 45%, rgba(22, 34, 53, 0.44) 59%, rgba(22, 34, 53, 0.12) 74%, rgba(22, 34, 53, 0.03) 100%),
      url("../images/requests-hero-agent.webp") right center / auto 135% no-repeat,
      #162235;
  }
}

/* Servers / Fallback states */
.server-row-map-image.is-map-fallback {
  transform-origin: center;
}

.home-news-thumb img.is-news-fallback,
.related-news-image img.is-news-fallback,
.news-list-image img.is-news-fallback,
.article-title-thumb img.is-news-fallback {
  filter: contrast(1.04) saturate(1.03);
  transform: scale(1.1);
  transform-origin: center;
}

.home-news-item:hover .home-news-thumb img.is-news-fallback,
.news-list-card:hover .news-list-image img.is-news-fallback {
  transform: scale(1.14);
}

.related-news-image,
.news-list-image,
.article-title-thumb {
  overflow: hidden;
}

body.is-venom .home-v2 .is-news .home-news-item,
.active-members-mega-menu .presence-user-row {
  border-radius: 0;
}

body.is-venom .home-v2 .is-news .home-news-item:hover {
  border-radius: 7px;
}

.active-members-mega-menu .presence-user-row:hover {
  border-radius: 8px;
}

body.is-venom .home-v2 .home-dashboard-card .link-more.link-button:hover {
  background: transparent;
  box-shadow: none;
  color: #a2eb4b;
  transform: none;
}

/* Homepage and Servers / Hover states */
body.is-venom .home-v2 .is-news .home-news-list,
.active-members-mega-menu .presence-user-list {
  gap: 4px;
}

body.is-venom .account-dropdown {
  gap: 4px;
}

.servers-mega-features {
  transform: translateY(18px);
}

.server-row-map-image.is-map-fallback {
  filter: contrast(1.06) saturate(1.04);
  transform: scale(1.02);
}

/* Homepage / Community updates */
body.is-venom .home-v2 .home-hero-slide-main {
  background:
    linear-gradient(90deg, #162235 0%, #162235 45%, rgba(22, 34, 53, 0.97) 55%, rgba(22, 34, 53, 0.68) 72%, rgba(22, 34, 53, 0.13) 100%),
    url("../images/homepage-welcome-operators.webp") right center / auto 108% no-repeat,
    #162235;
}

.venom-news-index {
  display: grid;
  gap: 16px;
}

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

.venom-news-index .news-list-card {
  background: rgba(24, 38, 59, .96);
  border: 1px solid rgba(94, 123, 158, .3);
  border-radius: 6px;
  box-shadow: none;
}

.venom-news-index .news-list-card:hover {
  border-color: rgba(151, 235, 61, .55);
  box-shadow: none;
  transform: none;
}

.venom-news-featured {
  align-items: center;
  display: grid;
  gap: 17px;
  grid-template-columns: 29% minmax(0, 1fr) auto;
  min-height: 150px;
  padding: 10px;
}

.venom-news-index .news-list-image {
  background: #0d1a29;
  border: 1px solid rgba(98, 127, 160, .25);
  border-radius: 5px;
  display: block;
  height: 100%;
  min-height: 126px;
  overflow: hidden;
  position: relative;
}

.venom-news-index .news-list-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
  width: 100%;
}

.venom-news-index .news-list-card:hover .news-list-image img {
  transform: scale(1.025);
}

.venom-news-index .news-badge {
  background: var(--lime);
  border-radius: 3px;
  color: #102018;
  font-size: 9px;
  font-weight: 900;
  left: 9px;
  letter-spacing: .05em;
  padding: 4px 7px;
  position: absolute;
  text-transform: uppercase;
  top: 9px;
}

.venom-news-index .news-list-content {
  min-width: 0;
}

.venom-news-index .news-list-content .eyebrow {
  color: var(--lime);
  font-size: 9px;
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.venom-news-index .news-list-content .eyebrow span {
  color: #aebbd0;
  font-weight: 600;
  margin-left: 14px;
}

.venom-news-index .news-list-content h2 {
  font-size: clamp(18px, 1.75vw, 25px);
  margin: 0 0 7px;
}

.venom-news-index .news-list-content h2 a {
  color: #f5f7fb;
}

.venom-news-index .news-list-content h2 a:hover {
  color: var(--lime);
}

.venom-news-index .news-list-content > p:not(.eyebrow) {
  color: #afbdd0;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.venom-news-index .news-read-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(151, 235, 61, .8);
  border-radius: 4px;
  color: var(--lime);
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  gap: 9px;
  padding: 9px 14px;
  text-transform: uppercase;
}

.venom-news-index .news-read-button:hover {
  background: rgba(151, 235, 61, .1);
  box-shadow: none;
  color: #c4ff76;
  transform: none;
}

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

.venom-news-compact {
  align-items: stretch;
  display: grid;
  gap: 13px;
  grid-template-columns: 35% minmax(0, 1fr);
  min-height: 146px;
  padding: 9px;
}

.venom-news-compact .news-list-image {
  min-height: 126px;
}

.venom-news-compact .news-list-content {
  align-self: center;
}

.venom-news-compact .news-list-content .eyebrow {
  margin-bottom: 7px;
}

.venom-news-compact .news-list-content .eyebrow span {
  display: block;
  margin: 4px 0 0;
}

.venom-news-compact .news-list-content h2 {
  font-size: 17px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.venom-news-compact .news-list-content > p:not(.eyebrow) {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: 11px;
  line-height: 1.45;
  overflow: hidden;
}

.venom-news-compact .news-read-button {
  margin-top: 10px;
  padding: 7px 10px;
}

@media (max-width: 680px) {
  .venom-news-grid {
    grid-template-columns: 1fr;
  }

  .venom-news-featured,
  .venom-news-compact {
    grid-template-columns: 1fr;
  }

  .venom-news-featured .news-list-image,
  .venom-news-compact .news-list-image {
    height: 150px;
  }

}

/* News / Compact cards and article CTA */

body.is-venom .venom-news-grid .venom-news-featured .news-list-content,
body.is-venom .venom-news-grid .venom-news-compact .news-list-content {
  align-items: center;
  display: grid;
  gap: 5px 14px;
  grid-template-areas:
    "meta meta"
    "title title"
    "excerpt action";
  grid-template-columns: minmax(0, 1fr) auto;
}

body.is-venom .venom-news-grid .news-list-content .eyebrow {
  grid-area: meta;
  margin-bottom: 0;
}

body.is-venom .venom-news-grid .news-list-content h2 {
  grid-area: title;
  margin-bottom: 0;
}

body.is-venom .venom-news-grid .news-list-content > p:not(.eyebrow) {
  -webkit-line-clamp: 1;
  grid-area: excerpt;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-venom .venom-news-grid .news-read-button {
  grid-area: action;
  margin-top: 0;
  white-space: nowrap;
}

body.is-venom .venom-article-page .article-news-cta {
  background: linear-gradient(100deg, rgba(22, 34, 53, .99), rgba(27, 41, 59, .98));
  border-color: #26364a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

body.is-venom .venom-article-page .article-news-cta .button {
  background: #1b293b;
  border-color: #344152;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  color: #f7f9fc;
}

body.is-venom .venom-article-page .article-news-cta .button:hover {
  background: #8ddb3a;
  border-color: #8ddb3a;
  color: #101b2a;
}

@media (max-width: 680px) {
  body.is-venom .venom-news-grid .venom-news-featured .news-list-content,
  body.is-venom .venom-news-grid .venom-news-compact .news-list-content {
    display: block;
  }

  body.is-venom .venom-news-grid .news-read-button {
    margin-top: 10px;
  }
}

/* News / Article view */
.venom-article-page.page-inner {
  width: min(100% - 48px, 1560px);
}

.venom-article-page {
  display: grid;
  gap: 20px;
  padding-top: 32px;
}

.venom-article-view {
  background: rgba(22, 34, 53, .97);
  border: 1px solid #26364a;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
  color: #dce5f1;
  overflow: hidden;
}

.venom-article-view .article-header {
  align-items: center;
  border-bottom: 1px solid #26364a;
  display: grid;
  gap: 28px;
  grid-template-columns: 220px minmax(0, 1fr);
  padding: 26px;
}

.venom-article-view .article-title-thumb {
  border: 1px solid #26364a;
  border-radius: 6px;
  display: block;
  height: 164px;
}

.venom-article-view .article-title-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.venom-article-view .eyebrow,
.venom-article-view .tag-list span {
  color: var(--lime);
}

.venom-article-view h1 {
  color: #f7f9fc;
  font-size: clamp(30px, 3.2vw, 50px);
  margin: 4px 0 12px;
}

.venom-article-view .lead,
.venom-article-view .article-meta {
  color: #aebbd0;
}

.venom-article-view .article-meta {
  border-top: 1px solid #26364a;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  padding-top: 15px;
}

.venom-article-view .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.venom-article-view .tag-list span {
  background: rgba(141, 219, 58, .08);
  border: 1px solid rgba(141, 219, 58, .26);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  text-transform: uppercase;
}

.venom-article-view .article-content {
  color: #dce5f1;
  font-size: 15px;
  line-height: 1.75;
  padding: 30px;
}

.venom-article-view .article-content :is(h2, h3, h4) {
  color: #f7f9fc;
}

.venom-article-view .article-content a {
  color: var(--lime);
}

.venom-article-page .article-news-cta {
  background: linear-gradient(90deg, rgba(22, 34, 53, .98), rgba(22, 34, 53, .7)), url("../images/news-hero-x.webp") right center / cover no-repeat;
  border: 1px solid #26364a;
  color: #f7f9fc;
}

.venom-article-page .article-news-cta h2,
.venom-article-page .article-news-cta p {
  color: inherit;
}

@media (max-width: 680px) {
  .venom-article-page.page-inner {
    width: min(100% - 28px, 1560px);
  }

  .venom-article-view .article-header {
    grid-template-columns: 1fr;
  }

  .venom-article-view .article-title-thumb {
    height: 180px;
  }
}

/* News / List layout */
.venom-news-list {
  grid-template-columns: 1fr;
}

/* Servers / Directory page */
.venom-servers-page.content-container {
  display: grid;
  gap: 16px;
  max-width: 1560px;
  padding-top: 22px;
  width: min(100% - 48px, 1560px);
}

.venom-servers-page .server-list {
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
  padding: 0;
}

.venom-servers-page .server-row {
  grid-template-columns: 82px minmax(0, 1fr) minmax(142px, .72fr) 42px;
  min-height: 88px;
  padding: 10px;
}

.venom-servers-page .server-row-map-image {
  height: 66px;
  width: 82px;
}

.venom-servers-page .server-info-block strong {
  font-size: .78rem;
}

.venom-servers-page .server-info-block .server-game-label,
.venom-servers-page .server-info-block .server-address {
  font-size: .6rem;
}

.venom-servers-page .server-row-actions .server-connect {
  align-items: center;
  border: 1px solid rgba(141, 219, 58, .25);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  padding: 0;
  width: 38px;
}

@media (max-width: 980px) {
  .venom-servers-page .server-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .venom-servers-page.content-container {
    width: min(100% - 28px, 1560px);
  }

  .venom-servers-page .server-row {
    grid-template-columns: 72px minmax(0, 1fr) 38px;
  }

  .venom-servers-page .server-row-map-image {
    height: 58px;
    width: 72px;
  }

  .venom-servers-page .server-status-block {
    grid-column: 2 / -1;
  }
}

/* Requests and Members / Shared page frame */
.venom-requests-page.content-container,
.venom-members-page.content-container {
  display: grid;
  gap: 16px;
  max-width: 1560px;
  padding-top: 22px;
  width: min(100% - 48px, 1560px);
}

.venom-requests-page :is(.requests-center-stat, .requests-list-card, .requests-side-card),
.venom-members-page :is(.users-table-panel, .users-side-card) {
  background: rgba(22, 34, 53, .96);
  border-color: #26364a;
  box-shadow: none;
}

.venom-requests-page :is(.requests-center-stat strong, .requests-list-card h2, .requests-side-card h2),
.venom-members-page .users-table-panel strong {
  color: #f7f9fc;
}

.venom-requests-page :is(.requests-center-stat small, .requests-center-stat em, .requests-list-card p, .requests-side-card small) {
  color: #a6afbd;
}

.venom-requests-page :is(.requests-toolbar, .requests-table-head, .requests-table-row) {
  background-color: rgba(16, 27, 42, .68);
  border-color: #26364a;
}

.venom-requests-page :is(input, select),
.venom-members-page :is(input, select) {
  background: #101b2a;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-requests-page :is(.requests-action-link, .requests-view-button) {
  background: #1b293b;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-requests-page :is(.requests-action-link:hover, .requests-view-button:hover) {
  border-color: #8ddb3a;
  color: #a2eb4b;
}

@media (max-width: 680px) {
  .venom-requests-page.content-container,
  .venom-members-page.content-container {
    width: min(100% - 28px, 1560px);
  }

}

/* Public pages and Authentication / Shared surfaces */
.venom-news-index.content-container {
  padding-top: 22px;
}

.venom-news-index .venom-news-list {
  margin-top: 0;
}

.venom-servers-page .server-list {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.venom-requests-page .requests-center-stats {
  margin: 0;
}

.venom-requests-page :is(.requests-center-stat, .requests-list-card, .requests-side-card, .requests-toolbar, .requests-table-head, .requests-table-row) {
  background: #162235;
  border-color: #26364a;
  box-shadow: none;
}

.venom-requests-page .requests-toolbar :is(.requests-search, .requests-filter) {
  background: #101b2a;
  border-color: #344152;
}

.venom-requests-page .requests-toolbar :is(input, select) {
  background: transparent;
  color: #f7f9fc;
}

.venom-requests-page .requests-toolbar :is(input, select)::placeholder {
  color: #8f9aab;
}

.venom-requests-page :is(.requests-table-head, .requests-table-row, .requests-side-card h2) {
  border-color: #26364a;
}

.venom-requests-page :is(.requests-table-row:hover, .requests-action-link:hover) {
  background: #1b293b;
}

.venom-requests-page :is(.requests-title-cell strong, .requests-side-card h2, .requests-center-stat strong) {
  color: #f7f9fc;
}

.venom-requests-page :is(.requests-title-cell small, .requests-side-card small, .requests-center-stat small, .requests-center-stat em) {
  color: #a6afbd;
}

.venom-requests-page .requests-action-link {
  background: #101b2a;
  border-color: #26364a;
}

.venom-requests-page .requests-view-button {
  background: #1b293b;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-requests-page .requests-view-button:hover {
  border-color: #8ddb3a;
  color: #a2eb4b;
}

.venom-request-view-page {
  color: #dce5f1;
  max-width: 1560px;
  padding-bottom: 70px;
  padding-top: 30px;
  width: min(100% - 48px, 1560px);
}

.venom-request-view-page h1 {
  color: #f7f9fc;
}

.venom-request-view-page :is(.request-state-card, .request-view-panel, .request-thread .message, .request-reply-panel) {
  background: #162235;
  border-color: #26364a;
  box-shadow: none;
}

.venom-request-view-page :is(.request-field-card, .request-state-item) {
  background: #101b2a;
  border-color: #344152;
}

.venom-request-view-page :is(.request-field-card strong, .message-meta strong, .request-reply-panel h2) {
  color: #f7f9fc;
}

.venom-request-view-page :is(.request-field-card span, .message-meta span, .request-thread .message p, .request-reply-panel label span) {
  color: #a6afbd;
}

.venom-request-view-page textarea,
.venom-request-view-page input[type="file"] {
  background: #101b2a;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-members-page .users-directory-toolbar,
.venom-members-page :is(.users-table-panel, .users-side-card, .users-table-head, .users-table-row) {
  background: #162235;
  border-color: #26364a;
  box-shadow: none;
}

.venom-members-page .users-directory-toolbar :is(input, select) {
  background: transparent;
  color: #f7f9fc;
}

.venom-members-page :is(.users-table-head, .users-table-row, .users-side-card h2, .users-side-card dl div) {
  border-color: #26364a;
}

.venom-members-page .users-table-row:hover {
  background: #1b293b;
}

.venom-members-page :is(.users-member-cell strong, .users-side-card h2, .users-recent-list strong) {
  color: #f7f9fc;
}

.venom-members-page :is(.users-member-cell small, .users-muted, .users-side-card dt, .users-side-card small) {
  color: #a6afbd;
}

.venom-members-page .users-view-button {
  background: #1b293b;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-members-page .users-view-button:hover {
  border-color: #8ddb3a;
  color: #a2eb4b;
}

.venom-auth-page {
  align-items: start;
  background: transparent;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 240px);
  padding: 28px 24px 90px;
}

.venom-auth-page .auth-card,
.venom-auth-panel {
  background: #162235;
  border: 1px solid #26364a;
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .35);
  color: #dce5f1;
}

.venom-auth-page .auth-card {
  animation: venom-auth-drop-card .24s ease-out;
  margin: 0;
  max-width: 520px;
  padding: 30px;
  width: min(100%, 520px);
}

.venom-auth-page :is(h1, h2, label > span) {
  color: #f7f9fc;
}

.venom-auth-page :is(.lead, .auth-options, .auth-switch) {
  color: #a6afbd;
}

.venom-auth-page input,
.venom-auth-panel input {
  background: #101b2a;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-auth-dropdown[hidden] {
  display: none;
}

.venom-auth-dropdown {
  inset: 0;
  position: fixed;
  z-index: 100;
}

.venom-auth-backdrop {
  background: rgba(3, 9, 17, .58);
  border: 0;
  cursor: default;
  inset: 0;
  position: absolute;
  width: 100%;
}

.venom-auth-panel {
  animation: venom-auth-drop-panel .24s ease-out;
  left: 50%;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  padding: 28px;
  position: absolute;
  top: 78px;
  transform: translateX(-50%);
  width: min(100% - 32px, 500px);
}

.venom-auth-panel h2,
.venom-auth-panel label > span {
  color: #f7f9fc;
}

.venom-auth-panel .lead,
.venom-auth-panel .auth-options,
.venom-auth-panel .auth-switch {
  color: #a6afbd;
}

.venom-auth-panel .auth-switch button {
  background: transparent;
  border: 0;
  color: #a2eb4b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.venom-auth-close {
  align-items: center;
  background: #1b293b;
  border: 1px solid #344152;
  border-radius: 6px;
  color: #f7f9fc;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 32px;
}

@keyframes venom-auth-drop-card {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes venom-auth-drop-panel {
  from { opacity: 0; transform: translate(-50%, -18px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 680px) {
  .venom-request-view-page {
    width: min(100% - 28px, 1560px);
  }

  .venom-auth-panel {
    top: 66px;
  }
}

/* News / Final page frame */
.venom-news-index.content-container {
  max-width: 1560px;
  width: min(100% - 48px, 1560px);
}

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

.venom-news-grid .venom-news-featured,
.venom-news-grid .venom-news-compact {
  grid-template-columns: 38% minmax(0, 1fr);
  min-height: 152px;
}

.venom-news-grid .venom-news-featured .news-list-image,
.venom-news-grid .venom-news-compact .news-list-image {
  min-height: 132px;
}

.venom-news-grid .venom-news-featured .news-list-content,
.venom-news-grid .venom-news-compact .news-list-content {
  padding: 18px;
}

.venom-news-grid .news-badge {
  background: #8ddb3a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .34);
  color: #122018;
  font-size: 10px;
  font-weight: 800;
  left: 10px;
  letter-spacing: .06em;
  padding: 5px 9px;
  top: 10px;
}

.venom-article-page .article-news-cta {
  background:
    linear-gradient(90deg, rgba(15, 28, 47, .98) 0%, rgba(15, 28, 47, .88) 53%, rgba(15, 28, 47, .55) 100%),
    url("../images/news-hero-x.webp") right center / auto 125% no-repeat,
    #162235;
  box-shadow: none;
}

.venom-article-page .article-news-cta .button {
  background: #162235;
  border-color: #344152;
  box-shadow: none;
  color: #a2eb4b;
}

.venom-article-page .article-news-cta .button:hover {
  background: #1d2c40;
  border-color: #8ddb3a;
  color: #b4f46c;
}

@media (max-width: 680px) {
  .venom-news-index.content-container {
    width: min(100% - 28px, 1560px);
  }

  .venom-news-grid {
    grid-template-columns: 1fr;
  }
}

/* Servers and Requests / Controls */
.venom-servers-page.servers-mega-live {
  background: transparent;
  display: block;
  min-height: 0;
  padding: 22px 0 0;
}

.venom-servers-page .server-list {
  margin: 0;
}

.venom-servers-page .server-row-actions .server-connect,
.venom-servers-page .server-row-actions .server-connect:hover {
  box-shadow: none;
  filter: none;
}

.venom-servers-page .server-row-actions .server-connect {
  background: rgba(141, 219, 58, .1);
  border-color: rgba(141, 219, 58, .25);
  color: #a2eb4b;
}

.venom-servers-page .server-row-actions .server-connect:hover {
  background: #8ddb3a;
  border-color: #8ddb3a;
  color: #101b2a;
}

.venom-requests-page .requests-empty,
.venom-requests-page .empty-state {
  background: #101b2a;
  border-color: #344152;
  color: #a6afbd;
}

.venom-requests-page :is(.requests-search, .requests-filter) {
  box-shadow: none;
}

.venom-requests-page .requests-toolbar :is(select, option) {
  background: #101b2a;
  color: #f7f9fc;
}

.venom-requests-page :is(.requests-search i, .requests-filter i) {
  color: #a2eb4b;
}

.venom-requests-page :is(.requests-title-cell > i, .requests-category-cell > i, .requests-action-link > span) {
  background: #1b293b;
  color: #a2eb4b;
}

.venom-requests-page .requests-action-link {
  border-radius: 7px;
  padding: 9px;
}

.venom-requests-page .requests-category-cell,
.venom-requests-page .request-list-date,
.venom-requests-page .requests-table-head {
  color: #8f9aab;
}

.venom-requests-page .request-modal-panel {
  background: #162235;
  border-color: #26364a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .46);
  color: #dce5f1;
}

.venom-requests-page .request-modal-panel :is(h2, h3, label > span, strong) {
  color: #f7f9fc;
}

.venom-requests-page .request-modal-panel :is(.lead, .request-modal-note, p) {
  color: #a6afbd;
}

.venom-requests-page .request-modal-panel :is(input, select, textarea) {
  background: #101b2a;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-requests-page .request-modal-panel option {
  background: #101b2a;
  color: #f7f9fc;
}

.venom-auth-page .auth-actions .button:not(.primary) {
  background: #1b293b;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-auth-page .auth-actions .button:not(.primary):hover {
  border-color: #8ddb3a;
  color: #a2eb4b;
}

/* Forms and Modals / Shared surfaces */
html {
  scrollbar-color: rgba(141, 219, 58, .38) transparent;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(141, 219, 58, .32);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(162, 235, 75, .56);
}

body.is-venom :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  background: #101b2a;
  border-color: #344152;
  color: #f7f9fc;
}

body.is-venom :is(input, textarea)::placeholder {
  color: #8f9aab;
  opacity: 1;
}

body.is-venom select option {
  background: #101b2a;
  color: #f7f9fc;
}

.venom-auth-page .notice {
  background: #13251f;
  border-color: rgba(79, 205, 133, .48);
  color: #cdebd9;
}

.venom-auth-page .notice :is(h2, p, li, a) {
  color: inherit;
}

.venom-requests-page .request-modal {
  animation: none;
}

.venom-requests-page .request-modal-panel {
  animation: venom-modal-in .18s ease-out;
}

.venom-requests-page .request-modal-close {
  background: #1b293b;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-requests-page .request-knowledge-list article {
  background: #101b2a;
  border-color: #344152;
}

.venom-requests-page .request-knowledge-list article > span {
  background: #1b293b;
  color: #a2eb4b;
}

.venom-requests-page .request-knowledge-list :is(strong, p) {
  color: #dce5f1;
}

.venom-members-page .users-directory-toolbar {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.venom-members-page .users-directory-toolbar :is(.users-search-wrap, .users-filter-wrap) {
  box-shadow: none;
}

.venom-members-page .users-directory-toolbar :is(.users-search-wrap:focus-within, .users-filter-wrap:focus-within) {
  border-color: rgba(141, 219, 58, .5);
  box-shadow: none;
}

.venom-members-page .users-filter-wrap select {
  color: #f7f9fc;
}

body.is-venom :is(button, input, select, textarea):focus {
  box-shadow: none;
  outline: 0;
}

body.is-venom :is(button, input, select, textarea):focus-visible {
  outline: 1px solid rgba(141, 219, 58, .6);
  outline-offset: 1px;
}

@keyframes venom-modal-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shared controls / Focus and select menus */
body.is-venom :is(input, select, textarea):focus {
  border-color: #344152;
  box-shadow: none;
  outline: 0;
}

body.is-venom :is(.button, button, a, input, select, textarea):focus-visible {
  box-shadow: none;
  outline: 0;
}

.venom-requests-page .request-modal-panel .form-section {
  background: #101b2a;
  border-color: #344152;
  box-shadow: none;
}

.venom-requests-page .request-modal-panel .form-section :is(h2, h3, label, label > span) {
  color: #dce5f1;
}

.venom-requests-page .request-modal-panel input[type="file"] {
  background: #101b2a;
  color: #dce5f1;
}

.venom-requests-page .request-modal-panel input[type="file"]::file-selector-button {
  background: #8ddb3a;
  border: 0;
  border-radius: 6px;
  color: #101b2a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  margin-right: 12px;
  padding: 8px 12px;
}

.venom-requests-page .request-create-actions .button:not(.primary) {
  background: #1b293b;
  border-color: #344152;
  box-shadow: none;
  color: #f7f9fc;
}

.venom-requests-page .request-create-actions .button:not(.primary):hover {
  background: #26364a;
  border-color: #344152;
  color: #f7f9fc;
}

.venom-select {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.venom-select-native {
  height: 1px !important;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute !important;
  top: 0;
  width: 1px !important;
}

.venom-select-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  color: #f7f9fc;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: .82rem;
  font-weight: var(--fw-item-title);
  height: 42px;
  justify-content: space-between;
  text-align: left;
  width: 100%;
}

.venom-select-trigger::after {
  border: solid #a2eb4b;
  border-width: 0 1px 1px 0;
  content: "";
  height: 6px;
  margin-left: 12px;
  transform: rotate(45deg) translateY(-2px);
  width: 6px;
}

.venom-select-menu {
  border: 1px solid #26364a;
  border-radius: 7px;
  display: none;
  left: -14px;
  margin-top: 7px;
  min-width: calc(100% + 28px);
  overflow: hidden;
  position: absolute;
  top: 100%;
  z-index: 110;
}

.venom-select.is-open .venom-select-menu {
  display: grid;
}

.venom-select-option {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
}

/* Requests / Control refinements */
body.is-venom :is(.button, button, .requests-action-link, .requests-view-button, .server-connect) {
  box-shadow: none !important;
}

.venom-requests-page .requests-toolbar :is(.requests-search, .requests-filter),
.venom-requests-page .requests-action-link {
  background: #1b293b;
  border-color: #26364a;
}

.venom-requests-page .requests-toolbar :is(.requests-search, .requests-filter):focus-within {
  border-color: #26364a;
  box-shadow: none;
}

.venom-requests-page .request-modal-panel .venom-select {
  background: #162235;
  border: 1px solid #344152;
  border-radius: 8px;
  padding: 0 13px;
}

.venom-requests-page .request-modal-panel .venom-select.is-open {
  border-color: #344152;
}

.venom-requests-page .request-modal-panel .venom-select-menu {
  left: -1px;
  min-width: calc(100% + 2px);
}

/* Requests / Empty states and confirmation */
.venom-news-index .venom-news-list > .empty-state {
  background: #162235;
  border-color: #26364a;
  box-shadow: none;
  color: #a6afbd;
}

.venom-request-view-page .request-view-notice {
  background: #13251f;
  border-color: rgba(79, 205, 133, .48);
  box-shadow: none;
  color: #cdebd9;
}

.venom-request-view-page .request-view-notice :is(h2, p) {
  color: inherit;
}

.venom-request-view-page .request-view-back {
  background: #1b293b;
  border-color: #344152;
  box-shadow: none;
  color: #f7f9fc;
  margin-top: 14px;
  text-decoration: none;
}

.venom-request-view-page .request-view-back:hover {
  background: #26364a;
  border-color: #344152;
  color: #f7f9fc;
}

/* Requests / Notices and reply navigation */
.venom-request-view-page .request-view-notice.notice.success {
  background: #162235;
  border: 1px solid #26364a;
  box-shadow: none;
  color: #dce5f1;
}

/* Requests and Members / Search controls */
.venom-members-page .users-directory-toolbar :is(.users-search-wrap, .users-filter-wrap) {
  background: #1b293b;
  border-color: #26364a;
}

.venom-requests-page .requests-toolbar .requests-search input,
.venom-requests-page .requests-toolbar .requests-search input:focus,
.venom-members-page .users-directory-toolbar .users-search-wrap input,
.venom-members-page .users-directory-toolbar .users-search-wrap input:focus {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none !important;
  color: #f7f9fc;
  -webkit-text-fill-color: #f7f9fc;
}

.venom-requests-page .requests-toolbar .requests-search input:-webkit-autofill,
.venom-requests-page .requests-toolbar .requests-search input:-webkit-autofill:hover,
.venom-requests-page .requests-toolbar .requests-search input:-webkit-autofill:focus,
.venom-members-page .users-directory-toolbar .users-search-wrap input:-webkit-autofill,
.venom-members-page .users-directory-toolbar .users-search-wrap input:-webkit-autofill:hover,
.venom-members-page .users-directory-toolbar .users-search-wrap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1b293b inset !important;
  -webkit-text-fill-color: #f7f9fc !important;
  caret-color: #f7f9fc;
}

.venom-members-page .users-directory-toolbar .users-filter-wrap select {
  background-color: transparent;
  color: #f7f9fc;
}

.venom-members-page :is(.users-member-avatar, .users-side-avatar) {
  background: #1b293b;
  border: 1px solid #344152;
  color: #a2eb4b;
}

.venom-members-page .users-member-avatar i {
  border-color: #1b293b;
}

.venom-members-page :is(.users-role-pill, .users-status-pill) {
  background: #1b293b;
  border: 1px solid #344152;
  color: #a2eb4b;
}

.venom-members-page :is(.users-role-pill.role-owner, .users-role-pill.role-admin, .users-role-pill.role-moderator,
.users-status-pill.online, .users-status-pill.active, .users-status-pill.suspended,
.users-status-pill.banned, .users-status-pill.deleted) {
  background: #1b293b;
  color: #a2eb4b;
}

.venom-members-page .users-table-body > .empty-state {
  background: #162235;
  border: 1px dashed #344152;
  box-shadow: none;
  color: #a6afbd;
}

/* Requests / Actions and shared select menus */
.venom-requests-page .requests-side-card .requests-action-link {
  align-items: center;
  border-radius: 4px;
  display: flex;
  gap: 11px;
  min-height: 28px;
  padding: 7px 12px;
}

.venom-requests-page .requests-side-card .requests-action-link > span {
  background: transparent;
  display: inline-grid;
  font-size: .75rem;
  height: auto;
  place-items: center;
  width: auto;
}

.venom-requests-page .requests-side-card .requests-action-link strong {
  font-size: .63rem;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.venom-requests-page .requests-side-card .requests-action-link small {
  display: none;
}

.venom-requests-page .requests-side-card [data-request-modal-open] {
  background: #8ddb3a;
  border-color: #8ddb3a;
  color: #101b2a;
}

.venom-requests-page .requests-side-card [data-request-modal-open] :is(strong, span) {
  color: inherit;
}

.venom-requests-page .requests-side-card [data-knowledge-modal-open] {
  background: #101b2a;
  border-color: #8ddb3a;
  color: #f7f9fc;
}

.venom-requests-page .requests-side-card [data-knowledge-modal-open]:hover {
  background: #1b293b;
  border-color: #a2eb4b;
  color: #f7f9fc;
}

.venom-select {
  background: #1b293b;
  border: 1px solid #26364a;
  border-radius: 7px;
}

.venom-select.is-open {
  border-color: #8ddb3a;
}

.venom-select-trigger {
  min-width: 0;
  padding: 0 12px;
}

.venom-select-menu {
  background: #101b2a;
  border-color: #344152;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}

.venom-select-option {
  color: #f7f9fc;
}

.venom-select-option:hover,
.venom-select-option.is-selected {
  background: #1b293b;
  color: #a2eb4b;
}

.venom-members-page .users-directory-toolbar .venom-select {
  background: transparent;
  border: 0;
}

.venom-requests-page .requests-filter .venom-select {
  background: transparent;
  border: 0;
}

.venom-requests-page .requests-filter .venom-select-trigger {
  padding: 0 2px;
}

.venom-request-view-page .request-view-notice.notice.success h2 {
  color: #a2eb4b;
}

.venom-request-view-page .request-reply-back {
  background: #1b293b;
  border-color: #344152;
  box-shadow: none;
  color: #f7f9fc;
  text-decoration: none;
}

.venom-request-view-page .request-reply-back:hover {
  background: #26364a;
  border-color: #344152;
  color: #f7f9fc;
}

/* Account / Shared Venom surfaces */
.private-message-bubble,
.empty-state {
  background: #162338;
  border-color: #344152;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}

.profile-connected-field strong,
.profile-toggle-line strong,
.private-message-meta strong,
.private-message-bubble p {
  color: #f7f9fc;
}

.profile-connected-field > i,
.message-partner-status i {
  color: #a2eb4b;
}

.profile-toggle-line,
.profile-toggle-line small,
.private-message-meta small,
.message-partner-status,
.message-recipient-option small {
  color: #a9b7ca;
}

.profile-connected-field,
.profile-toggle-line {
  border-color: #344152;
  box-shadow: none;
}

.message-compose-form textarea,
.message-compose-form input[type="search"],
.private-message-report textarea {
  background: #101b2a;
  border-color: #344152;
  color: #f7f9fc;
}

.message-compose-form textarea::placeholder,
.message-compose-form input[type="search"]::placeholder,
.private-message-report textarea::placeholder {
  color: #7f91a9;
}

.message-compose-form textarea:focus,
.message-compose-form input[type="search"]:focus,
.private-message-report textarea:focus {
  border-color: #a2eb4b;
  box-shadow: 0 0 0 3px rgba(162, 235, 75, .12);
  outline: 0;
}

.private-message.mine .private-message-bubble {
  background: rgba(162, 235, 75, .1);
  border-color: rgba(162, 235, 75, .38);
}

.private-message-report {
  border-color: #344152;
}

.private-message-report summary,
.private-message-read-state {
  color: #a2eb4b;
}

.message-recipient-results {
  background: #101b2a;
  border-color: #344152;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
}

.message-recipient-option {
  background: #162338;
  color: #f7f9fc;
}

.message-recipient-option:hover {
  background: #1b293b;
  border-color: rgba(162, 235, 75, .52);
}

.profile-danger-card {
  border-color: rgba(248, 113, 113, .58);
}

@media (max-width: 760px) {
  .messages-page {
    width: min(100% - 28px, 1180px);
  }
}

/* Account / Buttons and controls */
.notification-center-actions .button,
.notification-center-buttons .button,
.message-thread-toolbar .button,
.message-thread-actions .button,
.profile-edit-head-actions .button,
.profile-edit-actions .button,
.profile-modal-actions .button { background: #1b293b; border: 1px solid #3b526f; box-shadow: none; color: #f7f9fc; }
.notification-center-actions .button:hover,
.notification-center-buttons .button:hover,
.message-thread-toolbar .button:hover,
.message-thread-actions .button:hover,
.profile-edit-head-actions .button:hover,
.profile-edit-actions .button:hover,
.profile-modal-actions .button:hover { background: #263a55; border-color: #8ddb3a; color: #f7f9fc; }
.notification-center-actions .button.primary,
.message-thread-actions .button.primary,
.profile-edit-head-actions .button.primary,
.profile-edit-actions .button.primary,
.profile-modal-actions .button.primary { background: #8ddb3a; border-color: #8ddb3a; color: #0b1725; }
.notification-center-actions .button.danger,
.notification-center-buttons .button.danger,
.message-thread-toolbar .button.danger,
.message-thread-actions .button.danger,
.profile-modal-actions .button.danger { background: rgba(239, 68, 68, .1); border-color: #f87171; color: #fca5a5; }
.notification-center-actions .button.danger:hover,
.notification-center-buttons .button.danger:hover,
.message-thread-toolbar .button.danger:hover,
.message-thread-actions .button.danger:hover,
.profile-modal-actions .button.danger:hover { background: rgba(239, 68, 68, .2); border-color: #fca5a5; color: #fee2e2; }
.notification-center-actions .button:disabled,
.notification-center-buttons .button:disabled,
.message-thread-toolbar .button:disabled,
.message-thread-actions .button:disabled,
.profile-edit-head-actions .button:disabled,
.profile-edit-actions .button:disabled,
.profile-modal-actions .button:disabled { background: #1b293b; border-color: #344152; color: #70839a; opacity: .58; }

.notification-center-buttons { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.notification-center-buttons form { margin: 0; }
.message-thread-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.message-thread-toolbar form, .message-thread-actions form { margin: 0; }
.message-thread-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }

.profile-edit-page .profile-upload-button { background: #1b293b; border-color: #3b526f; color: #f7f9fc; }
.profile-edit-page .profile-upload-button:hover { background: #263a55; border-color: #8ddb3a; color: #a2eb4b; }
.profile-edit-page .profile-connected-field { background: #1b293b; border-color: #344152; }
.profile-edit-page .profile-connected-field > i { background: #101b2a; border-color: #344152; color: #a2eb4b; }
.profile-edit-page .profile-connected-field input { background: transparent; border: 0; box-shadow: none; color: #f7f9fc; min-height: 24px; padding: 0; }
.profile-edit-page .profile-connected-field input:focus { background: transparent; box-shadow: none; }
.profile-edit-page .profile-toggle-line { background: #1b293b; border-color: #344152; }
.profile-edit-page .profile-danger-card { background: #162338; border-color: rgba(248, 113, 113, .62); }
.profile-edit-page .profile-danger-action { background: #101b2a; border-color: rgba(248, 113, 113, .45); color: #f87171; }
.profile-edit-page .profile-danger-action:hover { background: rgba(127, 29, 29, .18); border-color: #f87171; }
.profile-edit-page .profile-danger-action small { color: #a9b7ca; }

/* System feedback / Notices */
.page .notice.success { background: rgba(18, 65, 47, .82); border: 1px solid #34d399; color: #d1fae5; }
.page .notice.success h1, .page .notice.success h2, .page .notice.success h3, .page .notice.success p, .page .notice.success li, .page .notice.success strong { color: inherit; }
.page .notice.success h1, .page .notice.success h2, .page .notice.success h3 { color: #a2eb4b; }
.page .notice.danger { background: rgba(78, 23, 32, .84); border: 1px solid #f87171; color: #fee2e2; }
.page .notice.danger h1, .page .notice.danger h2, .page .notice.danger h3, .page .notice.danger p, .page .notice.danger li, .page .notice.danger strong { color: inherit; }
.page .notice.danger h1, .page .notice.danger h2, .page .notice.danger h3 { color: #fca5a5; }

/* Shared / Avatars */
.profile-edit-avatar,
.users-member-avatar,
.users-side-avatar,
.message-thread-avatar,
.private-message-avatar { border-radius: 9px; }
/* Profile / Layout & Hero */
.profile-pro-page { display: grid; gap: 22px; margin: 28px auto 72px; width: min(100% - 48px, 1560px); }
.profile-pro-hero { background: linear-gradient(90deg, rgba(3, 12, 28, .92) 0%, rgba(3, 13, 34, .66) 38%, rgba(7, 93, 242, .13) 100%), var(--profile-bg) center right / cover no-repeat; border: 1px solid #344152; border-radius: 12px; box-shadow: 0 22px 54px rgba(0, 0, 0, .3); min-height: 260px; overflow: hidden; padding: 26px 34px; position: relative; }
.profile-pro-hero > * { position: relative; z-index: 1; }
.profile-pro-identity { align-items: center; display: flex; gap: 34px; max-width: 940px; }
.profile-pro-avatar-wrap { display: grid; flex: 0 0 auto; gap: 10px; justify-items: center; }
.profile-pro-avatar-visual { position: relative; }
.profile-pro-avatar-wrap .profile-action-btn { box-shadow: 0 12px 28px rgba(7, 93, 242, .24); margin-top: 4px; min-height: 38px; width: 100%; }
.profile-pro-avatar { background: linear-gradient(135deg, var(--blue), #61a0ff); border: 4px solid #101b2a; border-radius: 9px; box-shadow: 0 22px 52px rgba(0, 0, 0, .28); color: #fff; display: grid; font-family: var(--font-display); font-size: 3.25rem; font-weight: var(--fw-title); height: 142px; object-fit: cover; place-items: center; text-transform: uppercase; transform: none; transition: none; width: 142px; }
.profile-pro-presence { background: #94a3b8; border: 5px solid #101b2a; border-radius: 50%; bottom: 8px; box-shadow: 0 10px 22px rgba(12, 24, 43, .18); height: 27px; position: absolute; right: 9px; width: 27px; }
.profile-pro-presence.is-online { background: #22c55e; }
.profile-pro-title h1 { display: none; }
.profile-pro-title p { color: rgba(255, 255, 255, .9); font-size: .9rem; line-height: 1.55; margin: 0; max-width: 590px; }
.profile-pro-layout { align-items: start; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.profile-pro-main { display: grid; gap: 16px; min-width: 0; }
.profile-pro-sidebar { display: grid; gap: 16px; }
.profile-pro-card { background: #162338; border: 1px solid #344152; border-radius: 12px; box-shadow: 0 16px 38px rgba(0, 0, 0, .22); overflow: hidden; padding: 0; }
.profile-pro-sidebar .presence-widget { background: #162338; border: 1px solid #344152; border-radius: 12px; box-shadow: 0 16px 38px rgba(0, 0, 0, .22); overflow: visible; padding: 0; }
.profile-pro-card-head, .profile-pro-sidebar .presence-widget-head { align-items: center; border-bottom: 1px solid #344152; display: flex; gap: 10px; justify-content: flex-start; min-height: 58px; padding: 0 20px; }
.profile-pro-card-head h2, .profile-pro-sidebar .presence-widget-head strong { align-items: center; color: #f7f9fc; display: inline-flex; font-size: .95rem; font-weight: var(--fw-title); gap: 10px; margin: 0; text-transform: uppercase; }
.profile-pro-card-head i, .profile-pro-sidebar .presence-widget-head i { color: #a2eb4b; }
.profile-pro-card-head > span { background: #1b293b; border: 1px solid #344152; border-radius: 7px; color: #a2eb4b; font-size: .66rem; font-weight: var(--fw-title); padding: 6px 10px; text-transform: uppercase; }
.profile-pro-sidebar .presence-widget > p { color: #a9b7ca; margin: 0; padding: 18px 20px 20px; }
.profile-pro-overview { background: #162338; border: 1px solid #344152; border-radius: 9px; overflow: hidden; }
.profile-pro-overview > .profile-pro-card-head { min-height: 42px; padding: 0 14px; }
.profile-pro-overview > .profile-pro-card-head h2 { font-size: .8rem; }
.profile-pro-sidebar .profile-pro-card, .profile-pro-sidebar .presence-widget { border-radius: 9px; }
.profile-pro-sidebar .profile-pro-card-head, .profile-pro-sidebar .presence-widget-head { min-height: 42px; padding: 0 14px; }
.profile-pro-sidebar .profile-pro-card-head h2, .profile-pro-sidebar .presence-widget-head strong { font-size: .8rem; }

/* Profile / Overview */
.profile-overview-details { border: 0; }
.profile-overview-details .profile-pro-details { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 12px 14px 14px; }
.profile-overview-details .profile-pro-details > div { align-items: center; background: #101b2a; border: 1px solid #344152; border-radius: 7px; display: grid; gap: 7px; grid-template-columns: 23px minmax(0, 1fr); min-height: 47px; padding: 7px 9px; }
.profile-overview-details .profile-pro-details > div > span { min-width: 0; }
.profile-overview-details .profile-pro-details > div > i { align-items: center; background: transparent; border-radius: 50%; color: #a2eb4b; display: inline-flex; font-size: .82rem; height: 22px; justify-content: center; width: 22px; }
.profile-overview-details .profile-pro-details dt { color: #dce5f1; display: inline; font-size: .72rem; font-weight: 500; margin-right: 10px; }
.profile-overview-details .profile-pro-details dd { color: #dce5f1; display: inline; font-size: .72rem; font-weight: 500; margin: 0; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.profile-overview-details .profile-pro-details dt::after { content: ' :'; }
.profile-overview-details .profile-warning-count { background: rgba(162, 235, 75, .1); border: 1px solid rgba(162, 235, 75, .42); border-radius: 999px; color: #a2eb4b; display: inline-block; font-weight: 600; line-height: 1; padding: 3px 7px; }
.profile-overview-details .profile-warning-count.has-warnings { background: rgba(251, 146, 60, .12); border-color: rgba(251, 146, 60, .42); color: #fdba74; }
.profile-overview-details .profile-about-history { display: none; }

/* Profile / Visitors */
.profile-pro-sidebar .profile-visitors-widget { gap: 0; min-width: 0; order: 1; padding: 0; }
.profile-pro-sidebar .profile-visitors-widget > p { color: #a9b7ca; font-size: .78rem; margin: 0; padding: 20px 14px; text-align: center; }
.profile-visitors-widget .presence-widget-head > span { background: transparent; border: 0; color: #a2eb4b; height: auto; padding: 0; width: auto; }
.profile-visitors-widget .presence-widget-head > span i { color: #a2eb4b; }
.profile-visitors-widget .presence-widget-head > small { background: rgba(162, 235, 75, .1); border: 1px solid rgba(162, 235, 75, .42); border-radius: 999px; color: #a2eb4b; font-size: .62rem; font-weight: 800; padding: 4px 7px; text-transform: uppercase; }
.profile-visitor-carousel { align-items: center; display: grid; gap: 8px; grid-template-columns: 28px minmax(0, 1fr) 28px; min-height: 64px; padding: 9px 12px 11px; }
.profile-carousel-button { align-items: center; background: #1b293b; border: 1px solid #344152; border-radius: 7px; color: #dce5f1; cursor: pointer; display: inline-flex; font-size: .68rem; height: 30px; justify-content: center; justify-self: center; padding: 0; transition: .16s ease; width: 30px; }
.profile-carousel-button:hover { border-color: #a2eb4b; color: #a2eb4b; }
.profile-pro-sidebar .profile-visitor-stack { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; scroll-behavior: smooth; }
.profile-pro-sidebar .profile-visitor-stack::-webkit-scrollbar { display: none; }
.profile-visitor-badge { border: 0; color: inherit; display: block; flex: 0 0 42px; min-height: 42px; padding: 0; position: relative; transform: none; }
.profile-visitor-badge:hover { color: inherit; transform: none; }
.profile-visitor-badge .profile-visitor-avatar { border: 0; border-radius: 8px; box-shadow: none; display: block; height: 42px; overflow: hidden; transform: none; transition: none; width: 42px; }
.profile-visitor-badge .profile-visitor-avatar :is(img, span) { height: 100%; transform: none; transition: none; width: 100%; }
.profile-visitor-badge .profile-visitor-avatar > span { align-items: center; background: #263a55; color: #a2eb4b; display: flex; font-size: .76rem; font-weight: 800; justify-content: center; }

/* Profile / Community Wall */
.profile-pro-wall { background: #162338; border: 1px solid #344152; border-radius: 9px; box-shadow: 0 16px 38px rgba(0, 0, 0, .22); overflow: hidden; padding: 0; }
.profile-pro-wall > .profile-pro-card-head { min-height: 42px; padding: 0 14px; }
.profile-pro-wall > .profile-pro-card-head h2 { font-size: .8rem; }
.profile-pro-wall .profile-wall-form { align-items: stretch; background: transparent; border: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; margin: 12px 14px; padding: 0; }
.profile-pro-wall .profile-wall-editor { display: block; min-width: 0; }
.profile-pro-wall .profile-wall-editor > span { color: #f7f9fc; display: block; font-size: .78rem; font-weight: var(--fw-title); margin-bottom: 10px; text-transform: uppercase; }
.profile-pro-wall > .profile-wall-form .profile-wall-editor > span { display: none; }
.profile-pro-wall .profile-wall-textarea { background: #101b2a; border: 1px solid #344152; border-radius: 12px; color: #f7f9fc; display: block; font: inherit; font-size: .78rem; height: 46px; min-height: 46px; padding: 10px; resize: vertical; width: 100%; }
.profile-pro-wall .profile-wall-textarea::placeholder { color: #7f91a9; }
.profile-pro-wall .profile-wall-textarea:focus { border-color: #a2eb4b; box-shadow: 0 0 0 3px rgba(162, 235, 75, .12); outline: none; }
.profile-pro-wall .profile-wall-actions { align-items: center; display: flex; justify-content: flex-end; margin: 0; padding: 0; }
.profile-pro-wall .profile-wall-actions .button { font-size: .68rem; min-height: 43px; padding-inline: 11px; white-space: nowrap; }
.profile-pro-wall .profile-wall-thread { clear: both; display: grid; gap: 14px; margin: 12px 14px 14px; }
.profile-pro-wall .profile-wall-message { background: #1b293b; border: 1px solid #344152; border-radius: 10px; box-shadow: none; padding: 12px 14px; }
.profile-pro-wall .profile-comment-head { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.profile-pro-wall .profile-comment-main { align-items: center; display: flex; flex: 1 1 auto; gap: 12px; min-width: 0; }
.profile-pro-wall .profile-comment-author { align-items: center; color: var(--ink); display: inline-flex; flex: 0 0 auto; gap: 8px; min-width: 0; text-decoration: none; }
.profile-pro-wall .profile-comment-author :is(img, span) { border: 2px solid #fff; border-radius: 8px; box-shadow: 0 6px 16px rgba(7, 93, 242, .12); height: 32px; width: 32px; }
.profile-pro-wall .profile-comment-author img { object-fit: cover; }
.profile-pro-wall .profile-comment-author span { align-items: center; background: linear-gradient(135deg, var(--blue), #4d94ff); color: #fff; display: inline-flex; font-weight: var(--fw-title); justify-content: center; }
.profile-pro-wall .profile-comment-author strong { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-pro-wall .profile-comment-author:hover strong { color: var(--blue); }
.profile-pro-wall .profile-comment-head time { color: var(--muted); flex: 0 0 auto; font-size: .78rem; font-weight: var(--fw-item-title); }
.profile-pro-wall .profile-comment-meta { align-items: center; display: inline-flex; flex: 0 0 auto; gap: 10px; }
.profile-pro-wall .profile-comment-actions { align-items: center; display: inline-flex; gap: 7px; }
.profile-pro-wall .profile-comment-actions form { margin: 0; }
.profile-pro-wall .profile-comment-action { align-items: center; background: #101b2a; border: 1px solid #344152; border-radius: 10px; color: var(--muted); cursor: pointer; display: inline-flex; height: 34px; justify-content: center; transition: .18s ease; width: 34px; }
.profile-pro-wall .profile-comment-action:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.profile-pro-wall .profile-comment-action.danger:hover { background: #ef4444; border-color: #ef4444; }
.profile-pro-wall .profile-comment-content { background: transparent; border: 0; border-radius: 0; box-shadow: none; flex: 1 1 auto; font-size: .84rem; line-height: 1.45; margin: 0; min-width: 0; overflow-wrap: anywhere; padding: 0; }
.profile-pro-wall .profile-comment-content p { display: inline; margin: 0; }
.profile-pro-wall .profile-wall-edit-form { background: #101b2a; border: 1px solid #344152; border-radius: 12px; margin-top: 14px; padding: 14px; }
.profile-pro-wall .profile-wall-edit-form[hidden] { display: none; }
.profile-pro-wall .profile-wall-edit-form .profile-wall-actions { gap: 10px; margin-top: 10px; }
.profile-pro-wall .cms-pagination { align-items: center; border-top: 1px solid #344152; display: flex; justify-content: space-between; margin: 0; padding: 11px 14px 13px; }
.profile-pro-wall .cms-pagination > span { color: #a9b7ca; font-size: .66rem; font-weight: 700; }
.profile-pro-wall .cms-pagination > div { align-items: center; display: flex; gap: 6px; }
.profile-pro-wall .cms-pagination .button { align-items: center; background: #1b293b; border: 1px solid #3b526f; border-radius: 6px; color: #dce5f1; display: inline-flex; font-size: .66rem; height: 29px; justify-content: center; min-width: 29px; padding: 0 8px; }
.profile-pro-wall .cms-pagination .button:hover { background: #263a55; border-color: #a2eb4b; color: #a2eb4b; }
.profile-pro-wall .cms-pagination .button.primary { background: #8ddb3a; border-color: #8ddb3a; color: #0b1725; }
.profile-pro-wall .cms-pagination .pagination-ellipsis { color: #a9b7ca; font-size: .8rem; padding: 0 2px; }

/* Profile / Game Statistics */
.profile-game-statistics { background: #162338; border: 1px solid #344152; border-radius: 9px; min-width: 0; order: 0; }
.profile-game-statistics .profile-pro-card-head { align-items: center; display: flex; justify-content: space-between; }
.profile-game-steam { align-items: center; color: #a2eb4b; display: inline-flex; font-size: .75rem; font-weight: 700; gap: 6px; }
.profile-game-statistics-body { background: transparent; padding: 12px 14px 14px; }
.profile-game-statistics-empty { align-items: center; color: #a9bad2; display: grid; gap: 10px; justify-items: start; }
.profile-game-statistics-empty > i { color: #a2eb4b; font-size: 1.5rem; }
.profile-game-tabs { border-bottom: 1px solid #344152; display: flex; gap: 6px; margin: 0 0 8px; overflow-x: auto; padding-bottom: 7px; }
.profile-game-tabs button { background: transparent; border: 1px solid transparent; border-radius: 7px; color: #a9b7ca; cursor: pointer; flex: 0 0 auto; font: inherit; font-size: .68rem; font-weight: 800; padding: 5px 8px; }
.profile-game-tabs button:hover, .profile-game-tabs button.is-active { background: rgba(162, 235, 75, .12); border-color: rgba(162, 235, 75, .42); color: #f7f9fc; }
.profile-game-statistics :is(.profile-game-summary, .profile-game-extra-grid) { background: transparent; border: 0; border-radius: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
.profile-game-statistics .profile-game-summary { gap: 8px; }
.profile-game-statistics .profile-game-extra-grid { gap: 6px; margin-top: 9px; }
.profile-game-statistics :is(.profile-game-summary, .profile-game-extra-grid) > div { background: #101b2a; border: 1px solid #344152; border-radius: 7px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); display: grid; gap: 2px 7px; grid-template-columns: 19px minmax(0, 1fr); min-height: 50px; min-width: 0; padding: 8px 9px; }
.profile-game-statistics :is(.profile-game-summary, .profile-game-extra-grid) > div > i,
.profile-game-statistics .profile-game-details summary i,
.profile-game-statistics .profile-pro-card-head h2 i,
.profile-game-stat-category h3 i { align-self: center; color: #a9b7ca; font-size: 1rem; grid-row: 1 / span 2; text-align: center; }
.profile-game-statistics :is(.profile-game-summary, .profile-game-extra-grid) span { color: #dce5f1; display: block; font-size: .72rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.profile-game-statistics :is(.profile-game-summary, .profile-game-extra-grid) strong { color: #dce5f1; display: block; font-size: .72rem; font-weight: 500; line-height: 1.2; margin-top: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-game-statistics :is(.profile-game-summary, .profile-game-extra-grid) span::after { content: ' :'; }
.profile-game-details { border: 0; margin-top: 9px; padding: 0; }
.profile-game-details summary { align-items: center; background: #101b2a; border: 1px solid #344152; border-radius: 7px; color: #a9b7ca; cursor: pointer; display: flex; font-size: .66rem; font-weight: 500; gap: 7px; justify-content: flex-start; list-style: none; min-height: 36px; padding: 0 10px; text-transform: none; }
.profile-game-details summary::-webkit-details-marker { display: none; }
.profile-game-stat-categories { display: grid; gap: 10px; margin-top: 9px; }
.profile-game-stat-category { border-top: 1px solid #2b3d55; padding-top: 9px; }
.profile-game-stat-category h3 { color: #a9b7ca; font-size: .62rem; font-weight: 800; gap: 6px; margin: 0 0 7px; }

@media (max-width: 850px) {
  .profile-pro-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .profile-pro-page { gap: 14px; margin-bottom: 42px; margin-top: 18px; width: min(100% - 22px, 1560px); }
  .profile-pro-hero { min-height: auto; padding: 22px; }
  .profile-pro-identity { align-items: flex-start; flex-direction: column; gap: 22px; }
  .profile-pro-avatar { height: 138px; width: 138px; }
  .profile-pro-wall .profile-comment-head { align-items: stretch; flex-direction: column; gap: 10px; }
  .profile-pro-wall .profile-comment-meta { justify-content: space-between; width: 100%; }
}

@media (max-width: 720px) {
  .profile-pro-page { width: min(100% - 28px, 1560px); }
  .profile-game-statistics .profile-game-extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .profile-game-statistics :is(.profile-game-summary, .profile-game-extra-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-overview-details .profile-pro-details { grid-template-columns: 1fr; }
  .profile-pro-wall .profile-wall-form { grid-template-columns: 1fr; }
  .profile-pro-wall .profile-wall-actions .button { width: 100%; }
  .profile-pro-wall .cms-pagination { align-items: flex-start; flex-direction: column; gap: 9px; }
}
