.sv-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #1e2029;
  margin-bottom: 0.75rem;
}

.sv-hero__bg {
  position: relative;
  height: 12rem;
}

@media (min-width: 768px) {
  .sv-hero__bg {
    height: 14rem;
  }
}

.sv-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sv-hero__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.25) 100%);
}

/* Covers only .sv-hero__bg (map) so IP row / tabs stay clickable (Nuxt ServerHeader-style). */
.sv-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  text-align: center;
  pointer-events: none;
}

.sv-hero__overlay .sv-hero__title,
.sv-hero__overlay .sv-hero__chips {
  pointer-events: auto;
}

.sv-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 800;
  color: #fff;
}

.sv-hero__chips {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.sv-hero__chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sv-hero__chips-row:first-child {
  margin-bottom: 0.35rem;
}

.sv-hero__chips-row--second {
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

.sv-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  color: #fff;
}

.sv-chip__ico {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #ff4655;
}

.sv-chip__ico--community {
  color: #5865f2;
}

.sv-chip__bots {
  font-weight: 400;
}

.sv-chip__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--accent);
}

.sv-chip__people {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 40%, #4b5563 0 100%);
}

.sv-chip__flag {
  width: 1rem !important;
  height: 0.75rem !important;
  margin-right: 0.15rem !important;
  border-radius: 2px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.sv-hero__top-right {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: min(100% - 1.5rem, 320px);
}

.sv-fav-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.45rem;
  background: #272a36;
  border: 1px solid var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
}

.sv-fav-count__ico {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
}

.sv-fav-count__num {
  color: var(--accent);
  font-weight: 700;
}

.sv-fav-count__txt {
  color: #ffffff;
  font-size: 0.76rem;
}

.sv-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.sv-social-links__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.5rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sv-social-links__btn:hover {
  color: #fff;
}

.sv-social-links__btn--discord {
  background: #5865f2;
}

.sv-social-links__btn--discord:hover {
  background: #4752c4;
}

.sv-social-links__btn--facebook {
  background: #1877f2;
}

.sv-social-links__btn--facebook:hover {
  background: #0d6ae4;
}

.sv-social-links__btn--steam {
  background: #171a21;
}

.sv-social-links__btn--steam:hover {
  background: #2a3f5a;
}

.sv-social-links__btn--web {
  background: #272a36;
}

.sv-social-links__btn--web:hover {
  background: #3c3f4e;
}

/* IP + favorite/community/connect (Nuxt ServerHeader row). */
.sv-hero__bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #1e2029;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .sv-hero__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sv-hero__bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.sv-hero__bar-meta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.sv-hero__bar-meta .cs2-rank-container {
  transform: scale(0.92);
  transform-origin: left center;
}

.sv-hero__bar-sep {
  user-select: none;
}

.sv-hero__bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}

@media (min-width: 640px) {
  .sv-hero__bar-right {
    justify-content: flex-end;
    margin-left: auto;
  }
}

.sv-hero__copygroup {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}

.sv-hero__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0 1rem;
  background: #1e2029;
  border-top: 1px solid var(--border);
}

.sv-hero__tab {
  display: inline-block;
  padding: 0.75rem 1rem;
  margin-bottom: -1px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.sv-hero__tab:hover {
  color: #e5e7eb;
}

.sv-hero__copygroup .sl-addr {
  font-size: 0.85rem;
  overflow-x: auto;
  max-width: min(100%, 22rem);
  white-space: nowrap;
}

.sv-hero__copy-btn {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.sv-hero__copy-btn.sl-iconact {
  color: #ff4655;
  transition: color 0.15s ease;
}

.sv-hero__copy-btn.sl-iconact:hover {
  color: #ff675f;
  background: none;
}

.sv-hero__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: #fff;
  word-break: break-all;
}

.sv-sb-item__mobip {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.35rem 0.75rem 0.6rem 0.75rem;
  border-top: 1px solid rgba(42, 46, 58, 0.6);
}

.sl-copygroup--sb {
  align-items: center;
  max-width: 100%;
}

.sv-sb-item__mobip-addr {
  font-size: 0.72rem;
  color: #8f9cb1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.sv-sb-item__copy {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .sv-sb-item__mobip {
    display: none !important;
  }
}

.sv-chip--community {
  border: none;
}

.sv-addr {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
}

/* Server page: SSR layout + CSS-only main/player tabs (:has); stats/favorite/edit stay in server-page.js */
.sv-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 1024px) {
  .sv-layout {
    grid-template-columns: 1fr 350px;
    align-items: start;
  }

  .sv-layout.sv-layout--no-aside {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1060px;
  }
}

.sv-layout__aside {
  min-width: 0;
}

.sv-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
}

.sv-hero__admin {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sv-view-ssr__panel[data-view] {
  display: none;
}

.sv-view-ssr:has(#sv-tab-overview:checked) .sv-view-ssr__panel[data-view="overview"],
.sv-view-ssr:has(#sv-tab-widget:checked) .sv-view-ssr__panel[data-view="widget"],
.sv-view-ssr:has(#sv-tab-banners:checked) .sv-view-ssr__panel[data-view="banners"] {
  display: block;
}

.sv-view-ssr:has(#sv-tab-overview:checked) .sv-hero__tab[for="sv-tab-overview"],
.sv-view-ssr:has(#sv-tab-widget:checked) .sv-hero__tab[for="sv-tab-widget"],
.sv-view-ssr:has(#sv-tab-banners:checked) .sv-hero__tab[for="sv-tab-banners"] {
  color: #ff4655;
  border-bottom-color: #ff4655;
}

.sv-panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #1e2029;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.sv-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #272a36;
  border-bottom: 1px solid var(--border);
}

.sv-panel__head--split {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sv-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.sv-panel__empty {
  padding: 1rem;
  margin: 0;
  color: var(--muted);
}

.sv-tabs-ssr {
  display: flex;
  gap: 0.35rem;
  padding: 0 1rem;
  background: #252830;
  border-bottom: 1px solid var(--border);
}

.sv-tabs-ssr__btn {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.sv-players-ssr__panel[data-panel] {
  display: none;
}

.sv-players-ssr:has(#sv-pt-c:checked) .sv-players-ssr__panel[data-panel="current"],
.sv-players-ssr:has(#sv-pt-s:checked) .sv-players-ssr__panel[data-panel="stats"] {
  display: block;
}

.sv-players-ssr:not(:has(#sv-pt-c)) .sv-players-ssr__panel[data-panel="current"] {
  display: block;
}

.sv-players-ssr:has(#sv-pt-c:checked) .sv-tabs-ssr label[for="sv-pt-c"],
.sv-players-ssr:has(#sv-pt-s:checked) .sv-tabs-ssr label[for="sv-pt-s"] {
  color: #fff;
  border-bottom-color: var(--accent);
}

.sv-players-table-wrap {
  overflow-x: auto;
}

.sv-players-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sv-players-table th,
.sv-players-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.sv-only-lg {
  display: none;
}

@media (min-width: 1024px) {
  .sv-only-lg {
    display: table-cell;
  }
}

.sv-subhead {
  margin: 1rem 1rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.sv-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.sv-top-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  background: #252830;
}

.sv-top-card__head {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sv-top-card__avatar {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
}

.sv-top-card__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.sv-top-card__rank {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-top-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.8rem;
}

.sv-top-card__stats dt {
  margin: 0;
  color: var(--muted);
}

.sv-top-card__stats dd {
  margin: 0;
  font-weight: 600;
}

.sv-top-card__stats--grid > div {
  background: rgba(30, 32, 41, 0.85);
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  border: 1px solid transparent;
}

.sv-players__count-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: #1e2029;
  border: 1px solid var(--border);
  color: #fff;
}

.sv-players__bots {
  font-weight: 400;
  color: var(--muted);
}

.sv-players__head-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  text-align: right;
}

.sv-panel__foot {
  padding: 0.55rem 1rem;
  background: #252830;
  border-top: 1px solid var(--border);
}

.sv-players__foot {
  text-align: right;
}

.sv-players__foot-updated {
  font-size: 0.72rem;
  line-height: 1.35;
}

.sv-player-alert {
  position: relative;
  background: rgba(120, 53, 15, 0.35);
  border-bottom: 1px solid rgba(245, 158, 11, 0.45);
  padding: 1rem 2.25rem 1rem 1rem;
}

.sv-player-alert__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.sv-player-alert__close:hover {
  color: #fff;
}

.sv-player-alert__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #fbbf24;
}

.sv-player-alert__text {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.sv-player-alert__link {
  color: #fcd34d;
  text-decoration: underline;
}

.sv-players-table-wrap--scroll {
  max-height: 500px;
  overflow-y: auto;
}

.sv-players-table--desktop {
  display: none;
}

@media (min-width: 640px) {
  .sv-players-table--desktop {
    display: table;
  }
}

.sv-players-mobile {
  display: block;
}

@media (min-width: 640px) {
  .sv-players-mobile {
    display: none;
  }
}

.sv-players-mobile__row {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.sv-players-mobile__body {
  flex: 1;
  min-width: 0;
}

.sv-players-mobile__name {
  font-weight: 600;
}

.sv-players-mobile__meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.sv-players__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #272a36;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.sv-players-plugin {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 768px) {
  .sv-players-plugin {
    grid-template-columns: 1fr 1fr;
  }
}

.sv-players-plugin__col {
  background: #1e2029;
  min-width: 0;
}

.sv-players-plugin__col--ct {
  border-right: 2px solid #1d2a4f;
}

.sv-players-plugin__col--t {
  border-left: 2px solid #4f271d;
}

@media (max-width: 767px) {
  .sv-players-plugin__col--ct {
    border-right: none;
  }

  .sv-players-plugin__col--t {
    border-left: none;
  }
}

.sv-players-plugin__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
}

.sv-players-plugin__head--ct {
  background: #1d2a4f;
}

.sv-players-plugin__head--t {
  background: #4f271d;
}

.sv-players-plugin__head-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.85rem;
}

.sv-players-plugin__count {
  font-size: 0.8rem;
  font-weight: 600;
}

.sv-players-plugin__count--ct {
  color: #3498db;
}

.sv-players-plugin__count--t {
  color: #f39c12;
}

.sv-players-table--compact th,
.sv-players-table--compact td {
  padding: 0.4rem 0.45rem;
  font-size: 0.8rem;
}

.sv-pl-cell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.sv-pl-cell a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.sv-pl-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.sv-pl-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-pl-avatar--ct {
  border: 1px solid rgba(52, 152, 219, 0.5);
  color: #3498db;
}

.sv-pl-avatar--t {
  border: 1px solid rgba(243, 156, 18, 0.5);
  color: #f39c12;
}

.sv-pl-avatar--spec {
  background: #2c2c2c;
  color: #9ca3af;
}

.sv-players-spec {
  margin-top: 2px;
  background: #1e2029;
}

.sv-players-spec__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: #2c2c2c;
  color: #fff;
  font-size: 0.85rem;
}

.sv-players-spec__badge {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 4px;
  background: #7f8c8d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.sv-players-spec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
}

.sv-players-spec__card {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  background: #252830;
  font-size: 0.8rem;
  min-width: 0;
}

.sv-players-spec__card a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-embed-textarea {
  display: block;
  width: calc(100% - 2rem);
  margin: 0 1rem 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #1e2029;
  color: #d1d5db;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  resize: none;
}

.sv-embed-label {
  margin: 0.75rem 1rem 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.sv-embed-panel__lead {
  margin: 0 1rem 0.75rem;
}

.sv-stats__period {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sv-stats__period-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.sv-stats__period-btn.is-active {
  color: #fff;
  border-color: var(--accent);
}

.sv-stats__main-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 1rem;
  border-bottom: 1px solid #2a2e3a;
}

.sv-stats__tab {
  position: relative;
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.sv-stats__tab:hover {
  color: #e5e7eb;
}

.sv-stats__tab.is-active {
  color: #ff4655;
  border-bottom-color: #ff4655;
}

.sv-stats__tab.is-muted {
  color: #6b7280;
}

.sv-stats__tab.is-muted:hover {
  color: #9ca3af;
}

/* Server statistics card (Nuxt ServerStats shell) */
.sv-stats--nuxt {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  background: #1e2029;
  border: 1px solid #2a2e3a;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.22);
}

.sv-stats--nuxt__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #272a36;
  border-bottom: 1px solid #2a2e3a;
}

.sv-stats--nuxt__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.sv-stats--nuxt__updated {
  font-size: 0.875rem;
  white-space: nowrap;
}

.sv-desc-card {
  margin-top: 1.5rem;
  background: #1e2029;
  border: 1px solid #2a2e3a;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.22);
}

.sv-desc-card__inner {
  padding: 1rem;
}

.sv-desc-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.sv-desc-card__text {
  margin: 0;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.55;
}

.sv-act-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.25rem;
  min-width: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: #1e2029;
  color: #fff;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.sv-act-btn:hover {
  color: #fff;
}

.sv-act-btn__ico {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.sv-act-btn__txt--short {
  display: inline;
}

.sv-act-btn__txt--full {
  display: none;
}

@media (min-width: 640px) {
  .sv-act-btn__txt--short {
    display: none;
  }
  .sv-act-btn__txt--full {
    display: inline;
  }
}

.sv-act-btn--fav {
  min-width: 6.25rem;
  border-color: #ff4655;
  color: #fff;
}

.sv-act-btn--fav.is-on {
  color: #ff4655;
}

.sv-act-btn--fav.is-on .sv-act-btn__ico {
  fill: #ff4655;
}

.sv-act-btn--fav:hover {
  background: #ff4655;
  color: #fff;
}

.sv-act-btn--fav.is-on:hover {
  color: #fff;
}

.sv-act-btn--fav.is-on:hover .sv-act-btn__ico {
  fill: #fff;
}

.sv-act-btn--community {
  min-width: 6.25rem;
  border-color: #5865f2;
  color: #fff;
}

.sv-act-btn--community:hover {
  background: #5865f2;
  color: #fff;
}

.sv-act-btn--connect {
  min-width: 6.25rem;
  border-color: #ff4655;
}

.sv-act-btn--connect:hover {
  background: #ff4655;
}

.sv-act-btn--ghost {
  border-color: #373a47;
  color: #e5e7eb;
}

.sv-act-btn--ghost:hover {
  border-color: #ff4655;
  color: #fff;
}

@media (max-width: 767px) {
  .sv-act-btn--connect-desktop {
    display: none;
  }
}

.sv-embed-page {
  background: #1e2029;
  border: 1px solid #2a2e3a;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.22);
}

.sv-embed-page__title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.sv-embed-page__sub {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

/* Server widget + banner embed (parity with Nuxt ServerWidget.vue) */
.sv-widget-page {
  background: #1e2029;
  border: 1px solid #2a2e3a;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.22);
}

.sv-widget-page__title {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.sv-widget-page__grid {
  display: grid;
  gap: 0.75rem;
}

.sv-widget-page__col--custom {
  order: 1;
  border: 1px solid #2a2e3a;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.sv-widget-page__col--preview {
  order: 2;
}

@media (min-width: 1024px) {
  .sv-widget-page__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sv-widget-page__col--preview {
    order: 1;
  }

  .sv-widget-page__col--custom {
    order: 2;
  }
}

.sv-widget-page__preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.sv-widget-page__refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border: none;
  background: #272a36;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sv-widget-page__refresh:hover {
  background: #323643;
}

.sv-widget-page__refresh svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.sv-widget-page__iframe-wrap {
  overflow: hidden;
  border-radius: 0.35rem;
}

.sv-widget-page__h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.sv-widget-page__h3--mb {
  margin-bottom: 1rem;
}

.sv-widget-page__h3--sm-mb {
  margin-bottom: 0.75rem;
}

.sv-widget-page__h3--embed {
  margin-bottom: 0.75rem;
}

.sv-widget-page__color-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .sv-widget-page__color-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sv-widget-page__advanced {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.sv-widget-page__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sv-widget-page__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
}

.sv-widget-page__field-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sv-widget-page__color {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

.sv-widget-page__hex {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #2a2e3a;
  background: #272a36;
  color: #fff;
  font-size: 0.875rem;
}

.sv-widget-page__reset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sv-widget-page__btn-reset {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  background: #272a36;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sv-widget-page__btn-reset:hover {
  background: #323643;
}

.sv-widget-page__options {
  margin-bottom: 1.5rem;
}

.sv-widget-page__opt-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sv-widget-page__cb {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  accent-color: #ff4655;
  cursor: pointer;
}

.sv-widget-page__cb-label {
  font-size: 0.875rem;
  color: #d1d5db;
  cursor: pointer;
}

.sv-widget-page__embed-block {
  margin-top: 0;
}

.sv-widget-page__embed-card {
  background: #272a36;
  border: 1px solid #2a2e3a;
  border-radius: 0.5rem;
  padding: 1rem;
}

.sv-widget-page__embed-lead {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: #d1d5db;
}

.sv-widget-page__embed-ta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 6rem;
  resize: none;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #2a2e3a;
  background: #1e2029;
  color: #d1d5db;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.4;
}

.sv-widget-page__embed-ta:focus {
  outline: none;
  box-shadow: 0 0 0 1px #ff4655;
}

.sv-widget-page__copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding: 0.375rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: #323643;
  color: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sv-widget-page__copy-btn:hover {
  background: #3a3f4f;
}

.sv-widget-page__copy-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.sv-banner-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sv-banner-page__img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 0.35rem;
}

.sv-banner-page__codes {
  min-width: 0;
}

.sv-banner-page__code {
  margin-bottom: 1rem;
}

.sv-banner-page__code--bb {
  margin-bottom: 0;
}

.sv-banner-page__code-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.sv-embed-textarea--wide {
  width: 100%;
  max-width: 100%;
}

.sv-embed-textarea--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
}

.sv-banner-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sv-banner-preview-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.sv-banner-codes {
  background: #272a36;
  border: 1px solid #2a2e3a;
  border-radius: 0.5rem;
  padding: 1rem;
}

.sv-banner-codes__lead {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}

.sv-banner-code-block {
  margin-bottom: 1rem;
}

.sv-banner-code-block:last-child {
  margin-bottom: 0;
}

.sv-banner-code-block__label {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
}

.sv-copy-line {
  margin-top: 0.35rem;
}

.sv-stats__body {
  padding: 1rem;
  position: relative;
}

.sv-stats__players-view {
  position: relative;
}

.sv-stats__period-updating {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
}

.sv-stats__spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 70, 85, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: sv-spin 0.7s linear infinite;
}

@keyframes sv-spin {
  to {
    transform: rotate(360deg);
  }
}

.sv-stats__chart-wrap {
  height: 288px;
  position: relative;
}

#sv-stats-chart-wrap {
  height: 288px;
}

.sv-stats__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8125rem;
}

.sv-stats__summary-card {
  background: #272a36;
  padding: 0.85rem 0.65rem;
  border-radius: 0.5rem;
}

.sv-stats__summary-card > span.text-muted {
  display: block;
  color: #9ca3af;
}

.sv-stats__summary strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.sv-stats__maps-view {
  margin-top: 0.25rem;
}

.sv-stats__map-subtabs,
.sv-stats__map-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.sv-stats__chip {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: none;
  background: #2a2e3a;
  color: #d1d5db;
  font-size: 0.8rem;
  cursor: pointer;
}

.sv-stats__chip:hover {
  background: #373a47;
}

.sv-stats__chip.is-active {
  background: var(--accent);
  color: #fff;
}

.sv-stats__chip-sm {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: none;
  background: #272a36;
  color: #d1d5db;
  font-size: 0.7rem;
  cursor: pointer;
}

.sv-stats__chip-sm:hover {
  background: #323642;
}

.sv-stats__chip-sm.is-active {
  background: var(--accent);
  color: #fff;
}

.sv-stats__map-lead {
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}

.sv-stats__map-loading {
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}

.sv-stats__map-panel {
  margin-top: 0.5rem;
}

.sv-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-height: 24rem;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-color: #373a47 #1e2029;
}

@media (min-width: 640px) {
  .sv-map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sv-map-card {
  background: #272a36;
  border-radius: 8px;
  overflow: hidden;
  border-left: 4px solid #2a2e3a;
}

.sv-map-card--0 {
  border-left-color: #ff4655;
}

.sv-map-card--1 {
  border-left-color: #ff7c39;
}

.sv-map-card--2 {
  border-left-color: #ff9800;
}

.sv-map-card__hero {
  position: relative;
  height: 7rem;
  overflow: hidden;
}

.sv-map-card__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-map-card__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #272a36, transparent);
}

.sv-map-card__rank {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.sv-map-card__rank--0 {
  background: #ff4655;
}

.sv-map-card__rank--1 {
  background: #ff7c39;
}

.sv-map-card__rank--2 {
  background: #ff9800;
}

.sv-map-card__body {
  padding: 0.65rem 0.75rem;
}

.sv-map-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.sv-map-card__name {
  font-weight: 600;
  color: #fff;
}

.sv-map-card__pct {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: #1e2029;
}

.sv-map-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.sv-map-card__bar {
  position: relative;
  height: 0.35rem;
  background: #1e2029;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.35rem;
}

.sv-map-card__bar > span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
}

.sv-map-card__bar--0 > span {
  background: #ff4655;
}

.sv-map-card__bar--1 > span {
  background: #ff7c39;
}

.sv-map-card__bar--2 > span {
  background: #ff9800;
}

.sv-map-card__bar--n > span {
  background: #4caf50;
}

.sv-map-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #9ca3af;
}

.sv-tl-summary {
  background: #272a36;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.sv-tl-summary__label {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.sv-tl-summary__val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.sv-tl-list {
  max-height: 24rem;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-color: #373a47 #1e2029;
}

.sv-tl-row {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}

.sv-tl-time {
  width: 5.5rem;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: #9ca3af;
  padding-top: 0.5rem;
}

.sv-tl-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #272a36;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.sv-tl-card__bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, transparent 100%);
}

.sv-tl-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-tl-card__main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.sv-tl-card__map {
  font-weight: 600;
  color: #fff;
}

.sv-tl-card__dur {
  font-size: 0.65rem;
  color: #9ca3af;
  margin-top: 0.15rem;
}

.sv-tl-card__avg {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  flex-shrink: 0;
}

.sv-explore {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(26, 28, 35, 0.85);
}

.sv-explore__title {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.sv-explore__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.sv-explore__links a {
  color: #ff8a94;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sv-sidecard {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #1e2029;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.sv-sidecard--sticky {
  position: sticky;
  top: 5.5rem;
}

.sv-sidecard__head {
  padding: 0.85rem 1rem;
  background: #272a36;
  border-bottom: 1px solid var(--border);
}

.sv-sidecard__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.sv-sidecard__empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  margin: 0;
}

.sv-sidecard__list {
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4a4e5a #272a36;
}

.sv-sidecard__list::-webkit-scrollbar {
  width: 7px;
}

.sv-sidecard__list::-webkit-scrollbar-track {
  background: #272a36;
}

.sv-sidecard__list::-webkit-scrollbar-thumb {
  background: #4a4e5a;
  border-radius: 999px;
}

.sv-sidecard__list::-webkit-scrollbar-thumb:hover {
  background: #5d6171;
}

.sv-sidecard__footer {
  display: block;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 600;
  border-top: 1px solid var(--border);
  background: #272a36;
  color: #fff;
  text-decoration: none;
}

.sv-sidecard__footer:hover {
  background: #323643;
}

.sv-sb-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  color: inherit;
}

.sv-sb-item__top {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.sv-sb-item:last-child {
  border-bottom: none;
}

.sv-sb-item.is-active {
  background: #282c3b;
}

.sv-sb-item__main {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  color: inherit;
}

.sv-sb-item__connect {
  flex-shrink: 0;
  align-self: center;
  margin: 0 0.5rem 0 0;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: #1e2029;
  white-space: nowrap;
}

.sv-sb-item__connect:hover {
  background: var(--accent);
  color:white !important;
}

@media (max-width: 767px) {
  .sv-sb-item__connect {
    display: none;
  }
}

.sv-sb-item__thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1c23;
}

.sv-sb-item__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-sb-item__map {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.55rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  padding: 0.1rem;
}

.sv-sb-item__body {
  flex: 1;
  min-width: 0;
}

.sv-sb-item__row1 {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.sv-sb-item__name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sv-sb-item__count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: var(--muted);
}

.sv-sb-item__row2 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.72rem;
}

.sv-sb-item__flag {
  width: 14px;
  height: 10px;
}

.sv-widget-frame {
  padding: 0 1rem 1rem;
}

.sv-banner-preview {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 1rem 1rem;
  border-radius: 6px;
}

.sv-edit-form__group {
  margin-bottom: 1rem;
}

.sv-edit-form__label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.sv-edit-form__input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #272a36;
  color: #fff;
  font-size: 0.9rem;
}

.sv-edit-form__input--hidden {
  display: none;
}

.sv-edit-country {
  position: relative;
}

.sv-edit-picker {
  position: relative;
}

.sv-edit-picker__input {
  padding-right: 7.5rem;
}

.sv-edit-picker__selected {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #9ba5bf;
  pointer-events: none;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-country-pick {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sv-country-pick img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.sv-edit-form__hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.sv-edit-form__error {
  margin-bottom: 0.75rem;
}

.sv-edit-form__panel {
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #272a36;
}

.sv-edit-form__row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sv-edit-form__h {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}

.sv-edit-form__sub.is-hidden {
  display: none;
}

.sv-edit-form__details {
  margin-top: 1rem;
}

.sv-edit-form__summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #272a36;
}

.sv-edit-form__details-body {
  padding-top: 0.5rem;
}

.sv-edit-form__details-body--settings {
  margin-top: 0.55rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #1a1c25;
}

.sv-edit-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.sv-edit-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.sv-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.sv-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sv-toggle__ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #373a47;
  position: relative;
  transition: background 0.2s;
}

.sv-toggle__ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.sv-toggle input:checked + .sv-toggle__ui {
  background: var(--accent);
}

.sv-toggle input:checked + .sv-toggle__ui::after {
  transform: translateX(20px);
}

.sv-edit-form__dropdown {
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #272a36;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sv-edit-country .sv-edit-form__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
}

.sv-edit-form__dropdown::-webkit-scrollbar {
  width: 8px;
}

.sv-edit-form__dropdown::-webkit-scrollbar-thumb {
  background: #4a5064;
  border-radius: 8px;
}

.sv-edit-form__dropdown::-webkit-scrollbar-track {
  background: #232734;
}

.sv-edit-form__dropdown.is-hidden {
  display: none;
}

.sv-owner-pick {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.sv-owner-pick:hover {
  background: #323643;
}

@media (max-width: 640px) {
  .sv-edit-form__grid {
    grid-template-columns: 1fr;
  }
}

.sv-pager {
  padding: 0.5rem 1rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sv-pager.is-hidden {
  display: none;
}

.sl-players-panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #1e2029;
}

.sl-players-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #272a36;
  border-bottom: 1px solid var(--border);
}

.sl-players-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.sl-players-panel__empty {
  padding: 1.25rem 1rem;
  margin: 0;
  color: var(--muted);
}

.sl-players-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
}

.sl-players-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.sl-players-list__row:last-child {
  border-bottom: none;
}

/* =====================
   Profile page (phase 2)
   ===================== */

/* Claim server modal (public server page) */
.sv-claim-modal__body {
  padding-top: 0.5rem;
}

.sv-claim-modal__panel[hidden] {
  display: none !important;
}

.sv-claim-modal__panel:not([hidden]) {
  display: block;
}

.sv-claim-modal__spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border: 3px solid #373a47;
  border-top-color: #ff4655;
  border-radius: 50%;
  animation: sv-claim-spin 0.75s linear infinite;
}

@keyframes sv-claim-spin {
  to {
    transform: rotate(360deg);
  }
}

.sv-claim-modal__subhead {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #ff4655;
}

.sv-claim-modal__lead {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sv-claim-modal__mono {
  display: inline;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #4a4e5a;
  border-radius: 6px;
  padding: 3px 8px;
  cursor: pointer;
  vertical-align: baseline;
}

.sv-claim-modal__mono:hover {
  border-color: #ff4655;
  color: #fff;
}

.sv-claim-modal__mono--inline {
  margin-left: 2px;
}

.sv-claim-modal__steps {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.sv-claim-modal__steps li {
  margin-bottom: 6px;
}

.sv-claim-modal__note {
  padding: 10px 12px;
  background: rgba(113, 63, 18, 0.2);
  border: 1px solid rgba(180, 83, 9, 0.55);
  border-radius: 8px;
  font-size: 0.78rem;
  color: #fcd34d;
}

.sv-claim-modal__note-title {
  margin: 0 0 6px;
  font-weight: 600;
  color: #fde68a;
}

.sv-claim-modal__actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.sv-claim-modal__actions--split {
  justify-content: space-between;
}

.sv-act-btn--claim .sv-act-btn__ico {
  color: #ff4655;
}
