/* EASY-RUST.RU — pixel match reference */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #040807;
  --bg-deep: #020504;
  --surface: #101816;
  --surface-2: #151f1c;
  --border: rgba(255,255,255,.08);
  --text: #eef3f7;
  --muted: #7d8a98;
  --dim: #4f5c6a;
  --teal: #00c896;
  --teal-glow: rgba(0,200,150,.35);
  --teal-soft: rgba(0,200,150,.12);
  --purple: #5865f2;
  --tg: #29a9eb;
  --vk: #0077ff;
  --gold: #e8b84a;
  --orange: #d4843a;
  --online: #3ddc84;
  --max: 1220px;
  --r: 10px;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-base {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, #020504 0%, #061210 28%, #0a1814 52%, #050a08 78%, #030605 100%);
}

.bg-mesh {
  position: absolute;
  inset: 0;
  opacity: .55;
  background:
    radial-gradient(ellipse 90% 70% at 15% -5%, rgba(0,200,150,.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 95% 15%, rgba(205,65,43,.07) 0%, transparent 50%),
    radial-gradient(ellipse 70% 55% at 50% 110%, rgba(0,120,90,.12) 0%, transparent 58%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.bg-glow--tl {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: rgba(0,200,150,.11);
}

.bg-glow--br {
  width: 420px;
  height: 420px;
  right: -100px;
  bottom: -140px;
  background: rgba(180,70,40,.06);
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image:
    radial-gradient(circle at center, rgba(0,200,150,.55) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 20%, transparent 100%);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 90% at 50% 45%, transparent 35%, rgba(0,0,0,.55) 100%);
}

.site-bg-scene .site-bg-video,
.site-bg-video {
  position: absolute;
  inset: -4%;
  z-index: 0;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) brightness(0.8);
}

.site-bg-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.36);
}

.site-bg-particles {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.bg.site-bg-scene .bg-base {
  opacity: 0.15;
}

.bg.site-bg-scene .bg-mesh {
  opacity: 0.35;
}

.bg.site-bg-scene .bg-glow {
  opacity: 0.6;
}

.bg.site-bg-scene .bg-grid {
  opacity: 0.05;
}

.page { position: relative; z-index: 1; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

svg { display: block; flex-shrink: 0; }

/* ═══ HEADER ═══ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4,8,7,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,200,150,.08);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  align-self: center;
  margin-right: 20px;
}

.logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(42vw, 190px);
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  padding-left: 4px;
}

.nav a {
  padding: 7px 11px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}

.nav a:hover { color: var(--text); }

.nav a.active {
  background: var(--teal);
  color: #022018;
}

.nav-more {
  position: relative;
  display: inline-flex;
}

.nav-more__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.nav-more__toggle:hover,
.nav-more.is-open .nav-more__toggle,
.nav-more__toggle.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.nav-more__caret {
  width: 12px;
  height: 12px;
  opacity: .75;
  transition: transform .15s ease;
}

.nav-more.is-open .nav-more__caret {
  transform: rotate(180deg);
}

.nav-more__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 168px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(18, 22, 21, .96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  backdrop-filter: blur(14px);
}

.nav-more__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #e8ece9;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}

.nav-more__item:hover,
.nav-more__item.is-active {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.nav-more__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, .82);
}

.nav-more__icon svg {
  width: 18px;
  height: 18px;
}

.map-page-hero,
.bans-page-hero {
  margin-bottom: 24px;
}

.map-page-title,
.bans-page-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
}

.map-page-lead,
.bans-page-lead {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.5;
}

.map-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.map-page-card {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
}

.map-page-card__img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.map-page-card__body {
  padding: 16px;
}

.map-page-card__body h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.map-page-card__map {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--teal);
  font-weight: 700;
}

.map-page-card__meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.map-page-card__link {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.map-page-actions,
.bans-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.map-page-loading,
.map-page-empty {
  color: var(--muted);
}

.bans-page-wrap {
  max-width: 720px;
}

.bans-page-panel {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
}

.bans-page-panel__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #f87171;
}

.bans-page-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.stats-page-hero {
  margin-bottom: 28px;
}

.stats-page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.stats-page-lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
  line-height: 1.55;
}

.stats-page-updated {
  margin: 12px 0 0;
  color: var(--teal);
  font-size: 14px;
}

.stats-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.stats-server-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stats-server-tab {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.stats-server-tab:hover,
.stats-server-tab.is-active {
  border-color: rgba(0, 200, 150, .45);
  background: rgba(0, 200, 150, .12);
  color: var(--teal);
}

.stats-server-tab--pending {
  opacity: .82;
}

.stats-server-tab-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: #fbbf24;
  vertical-align: middle;
}

.stats-search {
  min-width: min(100%, 260px);
  flex: 1 1 220px;
  max-width: 320px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.stats-page-panel {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: rgba(8, 12, 16, .72);
  overflow: hidden;
}

.stats-page-loading {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.stats-page-loading--error {
  color: #f87171;
}

.stats-empty {
  padding: 36px 28px;
  text-align: center;
}

.stats-empty strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.stats-empty p {
  color: var(--muted);
  margin: 0;
}

.stats-table-wrap {
  overflow-x: auto;
}

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

.stats-table th,
.stats-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.stats-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stats-table tbody tr:hover {
  background: rgba(0, 200, 150, .04);
}

.stats-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  font-weight: 800;
  background: rgba(255, 255, 255, .06);
}

.stats-rank--gold { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.stats-rank--silver { color: #cbd5e1; background: rgba(203, 213, 225, .12); }
.stats-rank--bronze { color: #f59e0b; background: rgba(245, 158, 11, .12); }

.stats-player {
  display: block;
}

.stats-steam {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.stats-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.stats-pager-info {
  font-size: 12px;
  color: var(--muted);
}

.stats-pager-btns {
  display: flex;
  gap: 8px;
}

.stats-pager-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.stats-pager-btn:hover:not(:disabled) {
  border-color: rgba(0, 200, 150, .28);
  background: rgba(0, 200, 150, .08);
}

.stats-pager-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.stats-value {
  font-weight: 800;
  color: var(--teal);
}

.map-vote-hero {
  margin-bottom: 22px;
}

.map-vote-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
}

.map-vote-lead {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.5;
}

.map-vote-servers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.map-vote-server-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}

.map-vote-server-card:hover,
.map-vote-server-card.is-selected {
  border-color: rgba(0, 200, 150, .45);
  transform: translateY(-1px);
}

.map-vote-server-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.map-vote-server-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 7, .2), rgba(4, 8, 7, .92));
}

.map-vote-server-card__mode,
.map-vote-server-card__badge,
.map-vote-server-card__body {
  position: relative;
  z-index: 1;
}

.map-vote-server-card__mode {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.map-vote-server-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.map-vote-server-card__badge.is-active { background: rgba(0, 200, 150, .18); color: var(--teal); }
.map-vote-server-card__badge.is-finished { background: rgba(251, 191, 36, .16); color: #fbbf24; }
.map-vote-server-card__badge.is-pending,
.map-vote-server-card__badge.is-muted { background: rgba(255, 255, 255, .08); color: var(--muted); }

.map-vote-server-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 16px;
}

.map-vote-server-card__body h2 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.3;
}

.map-vote-server-card__body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.map-vote-server-card__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-bottom: 10px;
}

.map-vote-server-card__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #34d399);
}

.map-vote-server-card__body footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.map-vote-detail {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
}

.map-vote-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.map-vote-detail__head h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.map-vote-detail__head p {
  margin: 0;
  color: var(--muted);
}

.map-vote-detail__status {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.map-vote-detail__status.is-active { background: rgba(0, 200, 150, .14); color: var(--teal); }
.map-vote-detail__status.is-finished { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.map-vote-detail__status.is-pending,
.map-vote-detail__status.is-muted { background: rgba(255, 255, 255, .06); color: var(--muted); }

.map-vote-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.map-vote-option {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .22);
}

.map-vote-option.is-winner {
  border-color: rgba(251, 191, 36, .45);
}

.map-vote-option.is-chosen {
  box-shadow: inset 0 0 0 1px rgba(0, 200, 150, .35);
}

.map-vote-option__winner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, .18);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
}

.map-vote-option__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #0b1412;
}

.map-vote-option__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.map-vote-option__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-weight: 700;
}

.map-vote-option__map-actions {
  display: flex;
  gap: 8px;
  padding: 10px 14px 0;
}

.map-vote-option__rustmaps,
.map-vote-option__download {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity .15s ease;
}

.map-vote-option__rustmaps {
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}

.map-vote-option__download {
  color: #022018;
  background: linear-gradient(180deg, #34d399, var(--teal));
}

.map-vote-option__rustmaps:hover,
.map-vote-option__download:hover {
  opacity: .9;
}

.map-vote-option__body {
  padding: 14px;
}

.map-vote-option__links {
  display: flex;
  gap: 10px;
  margin: 8px 0 10px;
  font-size: 12px;
}

.map-vote-option__links a {
  color: var(--teal);
  text-decoration: none;
}

.map-vote-option__dl {
  color: #86efac !important;
}

.map-vote-option__stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}

.map-vote-option__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-bottom: 12px;
}

.map-vote-option__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #34d399);
}

.map-vote-option__btn {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: #022018;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.map-vote-option__btn.is-muted,
.map-vote-option__btn:disabled {
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  cursor: default;
}

.adm-mapvote-layout {
  display: grid;
  gap: 16px;
}

.adm-mapvote-servers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.adm-mapvote-maps {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.adm-mapvote-maps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.adm-mapvote-map {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
}

.adm-mapvote-map__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.adm-mapvote-map__status {
  margin: 8px 0 0;
  font-size: 12px;
}

.adm-mapvote-map.is-loading .adm-mapvote-map__status {
  opacity: .55;
}

.adm-mapvote-voter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-mapvote-voter img {
  border-radius: 50%;
  object-fit: cover;
}

.adm-mapvote-voter small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.adm-mapvote-voters-table td,
.adm-mapvote-voters-table th {
  vertical-align: middle;
}

.adm-mapvote-voters-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.adm-mapvote-voters-summary__item {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.adm-mapvote-servers--voters {
  margin-top: 0;
}

.adm-mapvote-voter-server {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.adm-mapvote-tabs {
  margin-top: 12px;
}

.adm-mapvote-voters-pager {
  margin: 0 0 12px;
}

.adm-mapvote-voters-meta {
  margin: 0 0 12px;
}

.adm-mapvote-head .adm-card-head {
  margin-bottom: 0;
}

.map-vote-login-hint {
  margin: 8px 0 0;
  color: #fbbf24;
  font-size: 13px;
}

.map-vote-option__btn--login {
  background: linear-gradient(180deg, #66b3ff, #1b8fff);
  color: #041018;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-self: center;
}

body.user-logged-in .header-right > .pill--cart {
  display: none !important;
}

.pill--balance-btn {
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.pill--balance-btn:hover {
  border-color: rgba(45, 212, 191, .4);
  background: rgba(45, 212, 191, .07);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, .08);
}

.pill--balance-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.pill-balance-amount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.pill--balance-btn [data-balance] {
  font-variant-numeric: tabular-nums;
}

.pill-balance-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  flex-shrink: 0;
}

.pill-balance-topup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.pill-balance-plus {
  width: 13px;
  height: 13px;
  color: var(--teal);
  flex-shrink: 0;
}

.pill-balance-label {
  color: var(--teal);
}

@media (max-width: 1320px) {
  .nav a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .pill {
    padding: 6px 10px;
    font-size: 12px;
  }

  .user-name {
    max-width: 88px;
  }
}

@media (max-width: 1180px) {
  .pill-balance-label {
    display: none;
  }

  .nav a {
    padding: 6px 7px;
    font-size: 11px;
  }
}

.topup-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.topup-modal[hidden] {
  display: none;
}

.topup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 4, .78);
  backdrop-filter: blur(8px);
}

.topup-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  max-height: 96vh;
  border-radius: 18px;
  border: 1px solid rgba(0, 200, 150, .14);
  background: linear-gradient(180deg, #141c19 0%, #0a100e 100%);
  box-shadow:
    0 0 0 1px rgba(0, 200, 150, .06) inset,
    0 28px 80px rgba(0, 0, 0, .65);
  overflow: hidden;
}

.topup-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(0, 200, 150, .08), transparent 55%),
    transparent;
}

.topup-modal-head__text {
  min-width: 0;
}

.topup-modal-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.topup-modal-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topup-modal-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}

.topup-modal-close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.topup-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 24px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .12) transparent;
}

.topup-modal-body::-webkit-scrollbar {
  width: 5px;
}

.topup-modal-body::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(255, 255, 255, .14);
}

.topup-modal-foot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 24px 22px;
  border-top: 1px solid var(--border);
  background: #0a100e;
  box-shadow: 0 -12px 24px rgba(0, 0, 0, .35);
}

.topup-block {
  margin-bottom: 20px;
}

.topup-block--last {
  margin-bottom: 0;
}

.topup-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.topup-label {
  margin: 0 0 10px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topup-label em {
  font-style: normal;
  color: #3d4a56;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
}

.topup-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.topup-methods[data-count="1"] {
  grid-template-columns: minmax(0, 220px);
  justify-content: center;
}

.topup-methods[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topup-method[hidden] {
  display: none !important;
}

.topup-method {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 102px;
  padding: 14px 12px;
  border: 1.5px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}

.topup-method:hover {
  border-color: rgba(255, 255, 255, .16);
  transform: translateY(-1px);
}

.topup-method.is-active {
  transform: translateY(-2px);
}

.topup-method--sbp.is-active {
  border-color: rgba(0, 200, 150, .65);
  background: linear-gradient(160deg, rgba(0, 200, 150, .28) 0%, rgba(0, 200, 150, .08) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 200, 150, .2) inset,
    0 8px 28px rgba(0, 200, 150, .22);
}

.topup-method--card.is-active {
  border-color: rgba(147, 197, 253, .65);
  background: linear-gradient(160deg, rgba(147, 197, 253, .18) 0%, rgba(147, 197, 253, .05) 100%);
  box-shadow:
    0 0 0 1px rgba(147, 197, 253, .18) inset,
    0 8px 28px rgba(147, 197, 253, .16);
}

.topup-method--funpay.is-active {
  border-color: rgba(232, 165, 90, .65);
  background: linear-gradient(160deg, rgba(212, 132, 58, .24) 0%, rgba(212, 132, 58, .07) 100%);
  box-shadow:
    0 0 0 1px rgba(212, 132, 58, .2) inset,
    0 8px 28px rgba(212, 132, 58, .18);
}

.topup-method.is-active .topup-method__ico {
  opacity: 1;
}

.topup-method.is-active .topup-method__title {
  color: #fff;
}

.topup-method__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
}

.topup-method__tag {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}

.topup-method__tag--muted {
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
}

.topup-method__tag--funpay {
  background: rgba(212, 132, 58, .2);
  color: #e8a55a;
}

.topup-method__ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: .55;
  color: currentColor;
}

.topup-method__title {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.topup-method__chip {
  margin-top: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .14);
  color: #6eecc8;
  font-size: 9px;
  font-weight: 700;
}

.topup-method__cta {
  margin-top: auto;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(212, 132, 58, .18);
  color: #e8a55a;
  font-size: 9px;
  font-weight: 700;
}

.topup-method--sbp {
  background: linear-gradient(160deg, rgba(0, 200, 150, .1) 0%, rgba(0, 200, 150, .02) 100%);
}

.topup-method--sbp .topup-method__ico {
  color: var(--teal);
  opacity: .7;
}

.topup-method--card {
  background: linear-gradient(160deg, rgba(147, 197, 253, .06) 0%, rgba(255, 255, 255, .02) 100%);
}

.topup-method--card .topup-method__ico {
  color: #93c5fd;
  opacity: .65;
}

.topup-method--card.is-active .topup-method__ico {
  color: #bfdbfe;
}

.topup-method--funpay {
  background: linear-gradient(160deg, rgba(212, 132, 58, .1) 0%, rgba(212, 132, 58, .02) 100%);
}

.topup-block--methods {
  margin-bottom: 18px;
}

.topup-block--checkout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.topup-checkout-field .topup-label {
  margin-bottom: 8px;
}

.topup-commission-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s, transform .2s;
}

.topup-commission-card:hover {
  border-color: rgba(255, 255, 255, .14);
}

.topup-commission-card.is-active {
  border-color: rgba(0, 200, 150, .55);
  background: linear-gradient(160deg, rgba(0, 200, 150, .14) 0%, rgba(0, 200, 150, .04) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 200, 150, .16) inset,
    0 6px 20px rgba(0, 200, 150, .12);
}

.topup-commission-card__title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.topup-commission-card__note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.topup-commission-card.is-active .topup-commission-card__title {
  color: #6eecc8;
}

.topup-commission-card.is-active .topup-commission-card__note {
  color: #8fdcc8;
}

.topup-amount-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.topup-amount-header .topup-label {
  margin: 0;
}

.topup-bonus-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .16);
  border: 1px solid rgba(0, 200, 150, .28);
  color: #6eecc8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.topup-tier-hint {
  margin: 10px 0 0;
  color: #8a9aa8;
  font-size: 12px;
  line-height: 1.4;
}

.topup-details-grid {
  display: none;
}

.topup-funpay-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(212, 132, 58, .22);
  background: linear-gradient(160deg, rgba(212, 132, 58, .12), rgba(212, 132, 58, .04));
}

.topup-funpay-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 132, 58, .2);
  color: #e8a55a;
  font-size: 13px;
  font-weight: 900;
}

.topup-funpay-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.topup-funpay-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.topup-amount {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .28);
  transition: border-color .18s, box-shadow .18s;
}

.topup-amount:focus-within {
  border-color: rgba(0, 200, 150, .35);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, .08);
}

.topup-amount input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
  outline: none;
}

.topup-amount input::placeholder {
  color: #3a464f;
}

.topup-amount__cur {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.topup-tiers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.topup-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 54px;
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s, transform .15s;
}

.topup-tier:hover {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-1px);
}

.topup-tier.is-active {
  border-color: rgba(0, 200, 150, .55);
  background: rgba(0, 200, 150, .12);
  box-shadow: 0 0 0 1px rgba(0, 200, 150, .15) inset;
}

.topup-tier.is-active .topup-tier__amount {
  color: #6eecc8;
}

.topup-tier__amount {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.topup-tier__pct {
  color: #8a9aa8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.topup-tier.is-active .topup-tier__pct {
  color: #6eecc8;
}

.topup-check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
  cursor: pointer;
}

.topup-check-card__input,
.topup-agree__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.topup-check-card__box,
.topup-agree__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 5px;
  background: rgba(0, 0, 0, .25);
  transition: border-color .15s, background .15s;
}

.topup-check-card__input:checked + .topup-check-card__box,
.topup-agree__input:checked + .topup-agree__box {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: inset 0 0 0 2px #0a100e;
}

.topup-check-card__text strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}

.topup-check-card__text small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.topup-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.topup-input:focus {
  border-color: rgba(0, 200, 150, .35);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, .08);
}

.topup-input::placeholder {
  color: #4a5662;
}

.topup-summary {
  margin-bottom: 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 200, 150, .14);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(0, 200, 150, .1), transparent 55%),
    rgba(0, 0, 0, .28);
  overflow: hidden;
}

.topup-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topup-summary__method {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .12);
  color: #6eecc8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: none;
}

.topup-summary__method[data-method="card"] {
  background: rgba(147, 197, 253, .12);
  color: #93c5fd;
}

.topup-summary__method[data-method="funpay"] {
  background: rgba(212, 132, 58, .16);
  color: #e8a55a;
}

.topup-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topup-summary__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.topup-summary__cell:last-child {
  border-right: none;
}

.topup-summary__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.topup-summary__cell strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.topup-summary__receive {
  color: #6eecc8;
}

.topup-summary__cell--pay {
  background: rgba(0, 200, 150, .08);
}

.topup-summary__cell--pay strong {
  font-size: 17px;
  color: #6eecc8;
}

.topup-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 13px;
}

.topup-summary__row:last-child {
  border-bottom: none;
}

.topup-summary__row strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.topup-summary__row--pay {
  background: rgba(0, 200, 150, .06);
}

.topup-summary__row--pay strong {
  font-size: 17px;
  font-weight: 800;
  color: #6eecc8;
}

.topup-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.topup-agree a {
  color: var(--teal);
  text-decoration: none;
}

.topup-agree a:hover {
  text-decoration: underline;
}

.topup-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #00d4a3 0%, #00b887 100%);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 200, 150, .28);
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

.topup-submit__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: .9;
  transition: transform .15s;
}

.topup-submit:not(:disabled):hover .topup-submit__arrow {
  transform: translateX(2px);
}

.topup-submit:disabled .topup-submit__arrow {
  opacity: .35;
}

.topup-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 200, 150, .36);
}

.topup-submit:disabled {
  background: #1a2220;
  color: #5c6874;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .topup-modal {
    padding: 0;
    place-items: end center;
  }

  .topup-modal-card {
    width: 100%;
    max-height: 94vh;
    border-radius: 18px 18px 0 0;
  }

  .topup-modal-body {
    padding: 0 18px 16px;
  }

  .topup-modal-foot {
    padding: 16px 18px 20px;
  }

  .topup-block--checkout {
    gap: 10px;
  }

  .topup-summary__grid {
    grid-template-columns: 1fr;
  }

  .topup-summary__cell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .topup-summary__cell:last-child {
    border-bottom: none;
  }

  .topup-methods {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .topup-methods::-webkit-scrollbar {
    display: none;
  }

  .topup-method {
    flex: 0 0 140px;
    min-height: 92px;
  }

  .topup-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topup-amount input {
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  .topup-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pill svg { width: 15px; height: 15px; color: var(--teal); }

.pill--cart { position: relative; }

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--teal);
  color: #022018;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ═══ HERO / SOCIALS ═══ */
.block--hero {
  padding-top: 20px;
}

.block--socials {
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px solid var(--border);
}

.site-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.promo {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 22px 18px 16px;
  min-height: 0;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(0,200,150,.08) 0%, transparent 42%),
    linear-gradient(180deg, #0c1412 0%, #0a100e 100%);
  border: 1px solid rgba(0,200,150,.28);
  box-shadow:
    0 0 0 1px rgba(0,200,150,.05),
    0 18px 40px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image:
    linear-gradient(rgba(0,200,150,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,150,.7) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.promo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.04) 50%, transparent 70%);
  transform: skewX(-18deg);
  animation: promo-shine 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes promo-shine {
  0%, 78% { left: -120%; }
  100% { left: 140%; }
}

.promo-visual {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.promo-crate {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  object-fit: contain;
  animation: promo-crate-float 4s ease-in-out infinite;
}

@keyframes promo-crate-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.promo-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,200,150,.1);
  border: 1px solid rgba(0,200,150,.22);
  color: #7fd4b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.promo-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.promo-socials-panel {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-left: auto;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.promo-socials-label {
  display: block;
  margin-bottom: 10px;
  color: #6f8a80;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}

.promo-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.promo-social {
  --social-accent: var(--teal);
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #c8d4d0;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s, color .22s;
}

.promo-social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--social-accent);
  opacity: 0;
  transition: opacity .22s;
}

.promo-social svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  transition: transform .22s, filter .22s;
}

.promo-social:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: color-mix(in srgb, var(--social-accent) 55%, transparent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--social-accent) 28%, transparent);
  color: #fff;
}

.promo-social:hover::before {
  opacity: 1;
}

.promo-social:hover svg {
  transform: scale(1.08);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

.promo-social--dc { --social-accent: #5865f2; color: #8b94ff; }
.promo-social--tg { --social-accent: #2aabee; color: #5bc4f5; }
.promo-social--vk { --social-accent: #0077ff; color: #4da3ff; }
.promo-social--yt { --social-accent: #ff0000; color: #ff6666; }
.promo-social--tw { --social-accent: #9146ff; color: #b688ff; }
.promo-social--tt { --social-accent: #fe2c55; color: #fff; }

.promo h1 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.promo h1 span {
  color: var(--teal);
  text-shadow: 0 0 24px rgba(0,200,150,.25);
}

.promo p {
  margin: 0 0 14px;
  color: #8aa89c;
  font-size: 13px;
  line-height: 1.55;
  max-width: 460px;
}

.btn-teal--promo {
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: .01em;
  box-shadow:
    0 4px 16px rgba(0,200,150,.28),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #00d4a3 0%, #00b887 100%);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,200,150,.28);
  transition: transform .2s, box-shadow .2s;
}

.btn-teal:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,200,150,.38);
}

.btn-teal span {
  font-size: 14px;
  opacity: .9;
}

@media (prefers-reduced-motion: reduce) {
  .promo::after,
  .promo-crate {
    animation: none;
  }

  .case-promo-crate,
  .case-promo-chip {
    animation: none;
  }
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 14px 10px 12px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  min-height: 0;
  min-width: 0;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.social:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.social-brand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.social-logo {
  width: 100%;
  height: 100%;
}

.social--dc .social-logo {
  width: 38px;
  height: 38px;
  color: #5865f2;
}

.social--tg .social-brand {
  border-radius: 50%;
  background: #2aabee;
}

.social--tg .social-logo {
  width: 24px;
  height: 24px;
  color: #fff;
}

.social--vk .social-brand {
  border-radius: 12px;
  background: #0077ff;
}

.social--vk .social-logo {
  width: 24px;
  height: 24px;
  color: #fff;
}

.social--yt .social-brand {
  border-radius: 12px;
  background: #ff0000;
}

.social--yt .social-logo {
  width: 24px;
  height: 24px;
  color: #fff;
}

.social--tw .social-brand {
  border-radius: 12px;
  background: #9146ff;
}

.social--tw .social-logo {
  width: 22px;
  height: 22px;
  color: #fff;
}

.social--tt .social-brand {
  border-radius: 12px;
  background: #010101;
}

.social--tt .social-logo {
  width: 22px;
  height: 22px;
  color: #fff;
}

.social b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 5px;
}

.social small {
  display: block;
  font-size: 10px;
  color: #8a9691;
  line-height: 1.4;
  margin-bottom: auto;
  padding-bottom: 10px;
  max-width: 22ch;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}

.social-btn svg {
  width: 12px;
  height: 12px;
  opacity: .92;
  flex-shrink: 0;
}

.social:hover .social-btn {
  filter: brightness(1.08);
}

.social--dc .social-btn { background: #5865f2; }
.social--tg .social-btn { background: #2aabee; }
.social--vk .social-btn { background: #0077ff; }
.social--yt .social-btn { background: #ff0000; }
.social--tw .social-btn { background: #9146ff; }
.social--tt .social-btn { background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%); }

/* ═══ SECTIONS ═══ */
.block { padding: 18px 0; }

.block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.block-title svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

/* ═══ SERVERS ═══ */
.servers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.srv {
  position: relative;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.srv.selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px rgba(0,200,150,.5), 0 0 24px rgba(0,200,150,.12);
}

.srv-tag-selected {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0,200,150,.18);
  border: 1px solid rgba(0,200,150,.45);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  display: none;
}

.srv.selected .srv-tag-selected { display: block; }

.srv-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  position: relative;
  background: #0d1218;
}

.srv-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.srv-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface) 0%, rgba(18,24,32,.15) 45%, transparent 100%);
  pointer-events: none;
}

.srv-map-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  color: #c8d4dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}

.srv-status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.srv-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.srv-status--on {
  background: rgba(61,220,132,.12);
  border: 1px solid rgba(61,220,132,.35);
  color: var(--online);
}

.srv-status--off {
  background: rgba(255, 107, 107, .12);
  border: 1px solid rgba(255, 107, 107, .35);
  color: #ff8a8a;
}

.srv-status--maint {
  background: rgba(255, 193, 7, .12);
  border: 1px solid rgba(255, 193, 7, .35);
  color: #ffc107;
}

.srv--disabled {
  opacity: .55;
  filter: grayscale(.25);
}

.srv-body { padding: 12px 14px 14px; }

.srv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.srv-name {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.srv-mode {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.srv-online { margin-bottom: 10px; }

.srv-online-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.srv-online-top em {
  font-style: normal;
  color: var(--online);
  font-weight: 700;
}

.srv-online-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}

.srv-online-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00c896, #3ddc84);
  transition: width .3s;
}

.srv-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.srv-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.srv-stat {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.srv-stat svg {
  width: 13px;
  height: 13px;
  color: var(--dim);
  flex-shrink: 0;
  margin-top: 1px;
}

.srv-stat em {
  font-style: normal;
  color: var(--online);
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.srv-tags span {
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0,200,150,.08);
  border: 1px solid rgba(0,200,150,.18);
  color: #7fd4b8;
  font-size: 10px;
  font-weight: 700;
}

.srv.selected .srv-tags span {
  background: rgba(0,200,150,.12);
  border-color: rgba(0,200,150,.28);
}

.srv-connect {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.srv-connect-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.srv-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid rgba(0,200,150,.22);
  background: rgba(0,200,150,.06);
  color: #8fdcc4;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}

.srv-details-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: .85;
}

.srv-details-btn:hover {
  border-color: rgba(0,200,150,.45);
  background: rgba(0,200,150,.14);
  color: var(--teal);
  box-shadow: 0 0 16px rgba(0,200,150,.12);
}

.srv-modal .srv-modal-card {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 0;
  display: block;
}

.srv-modal-hero {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.srv-modal-hero .srv-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.srv-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  margin: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.srv-modal-close:hover {
  background: rgba(0, 0, 0, .65);
  border-color: rgba(255, 255, 255, .35);
}

.srv-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.srv-modal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface) 0%, rgba(16,24,22,.2) 55%, transparent 100%);
}

.srv-modal-hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  z-index: 1;
}

.srv-modal-hero-text h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
}

.srv-modal-hero-text p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.srv-modal-body {
  padding: 18px 20px 22px;
}

.srv-modal-desc {
  margin: 0 0 16px;
  color: rgba(220,225,232,.9);
  font-size: 14px;
  line-height: 1.65;
}

.srv-modal-subtitle {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}

.srv-modal-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.srv-modal-list li + li {
  margin-top: 6px;
}

.srv-modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.srv-modal-stats div {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}

.srv-modal-stats small {
  display: block;
  margin-bottom: 4px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.srv-modal-stats strong {
  font-size: 12px;
  line-height: 1.35;
}

.srv-modal-tags {
  margin-bottom: 14px;
}

.srv-modal-connect {
  margin-bottom: 14px;
  border-top: none;
  padding-top: 0;
}

.srv-modal-select {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.srv-connect code {
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 7px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 10px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid rgba(0,200,150,.4);
  background: var(--teal-soft);
  color: var(--teal);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}

.srv-copy:hover { background: rgba(0,200,150,.2); }

.srv-copy.copied {
  background: var(--teal);
  color: #022018;
  border-color: var(--teal);
}

.servers-page {
  padding-top: 28px;
  padding-bottom: 40px;
}

.servers-page-hero {
  text-align: center;
  margin-bottom: 28px;
}

.servers-page-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: .04em;
}

.servers-page-lead {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.servers-page-selected {
  display: inline-block;
  margin: 16px 0 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,200,150,.1);
  border: 1px solid rgba(0,200,150,.25);
  color: var(--muted);
  font-size: 13px;
}

.servers-page-selected strong {
  color: var(--teal);
}

.servers--page {
  gap: 16px;
}

.servers--page .srv-img {
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 168px;
}

.servers-page-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ——— Support page ——— */
.support-page {
  padding-top: 28px;
  padding-bottom: 48px;
}

.support-hero {
  text-align: center;
  margin-bottom: 32px;
}

.support-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .1);
  border: 1px solid rgba(0, 200, 150, .25);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.support-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: .04em;
}

.support-lead {
  margin: 0 auto 22px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.support-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.support-hero-actions .btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.support-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.support-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(8, 14, 18, .72);
  border: 1px solid rgba(255, 255, 255, .06);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, background .2s;
  position: relative;
}

.support-channel:hover {
  border-color: rgba(0, 200, 150, .28);
  background: rgba(10, 18, 22, .88);
  transform: translateY(-1px);
}

.support-channel__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.support-channel__icon svg {
  width: 22px;
  height: 22px;
}

.support-channel__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.support-channel__body strong {
  font-size: 15px;
  font-weight: 700;
}

.support-channel__body small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.support-channel__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .14);
  border: 1px solid rgba(0, 200, 150, .28);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.support-channel--discord .support-channel__icon {
  background: rgba(88, 101, 242, .18);
  color: #8ea1ff;
}

.support-channel--telegram .support-channel__icon {
  background: rgba(42, 171, 238, .16);
  color: #5ec8ff;
}

.support-channel--email .support-channel__icon {
  background: rgba(0, 200, 150, .12);
  color: var(--teal);
}

.support-channel--profile .support-channel__icon {
  background: rgba(255, 255, 255, .06);
  color: #c8d4dc;
}

.support-section {
  margin-bottom: 36px;
}

.support-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-faq__item {
  border-radius: 12px;
  background: rgba(8, 14, 18, .65);
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden;
}

.support-faq__item[open] {
  border-color: rgba(0, 200, 150, .22);
}

.support-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
}

.support-faq__q::-webkit-details-marker {
  display: none;
}

.support-faq__q::after {
  content: '+';
  color: var(--teal);
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
}

.support-faq__item[open] .support-faq__q::after {
  content: '−';
}

.support-faq__a {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.support-tip {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(8, 14, 18, .65);
  border: 1px solid rgba(255, 255, 255, .06);
}

.support-tip__num {
  font-size: 22px;
  font-weight: 800;
  color: rgba(0, 200, 150, .35);
  line-height: 1;
  flex-shrink: 0;
}

.support-tip h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.support-tip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.support-cta {
  margin-top: 8px;
}

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

  .support-tips {
    grid-template-columns: 1fr;
  }
}

.block-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.block-title-row .block-title {
  margin-bottom: 0;
}

.block-title-link {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.block-title-link:hover {
  text-decoration: underline;
}

/* ═══ CATALOG ═══ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tab {
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.tab:hover { color: var(--text); background: rgba(255,255,255,.04); }

.tab.on {
  background: var(--teal);
  color: #022018;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.products-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px dashed var(--border);
}

.shop-pick-server {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 40px 24px;
  text-align: center;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px dashed rgba(0, 200, 150, 0.28);
}

.shop-pick-server svg {
  width: 42px;
  height: 42px;
  color: var(--teal);
}

.shop-pick-server strong {
  font-size: 18px;
  font-weight: 800;
}

.shop-pick-server p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.btn-outline--sm {
  margin-top: 6px;
  padding: 8px 16px;
  font-size: 13px;
}

.prod {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(0,0,0,.12) 100%), var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.prod:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.prod--vip { --prod-accent: var(--teal); }
.prod--premium { --prod-accent: #b87aff; }
.prod--starter { --prod-accent: var(--orange); }
.prod--elite { --prod-accent: var(--gold); }

.prod--privilege {
  border-color: rgba(0, 200, 150, 0.2);
}

.prod--privilege:hover {
  border-color: rgba(0, 200, 150, 0.45);
  box-shadow: 0 16px 44px rgba(0, 200, 150, 0.1);
}

.prod-cover {
  position: relative;
  overflow: hidden;
}

.prod-cover .prod-visual {
  height: 168px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-cover .prod-visual--custom .prod-visual__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.prod-visual-glow {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  pointer-events: none;
}

.prod-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.prod-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.18);
  border: 1px solid rgba(0, 200, 150, 0.35);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.prod--premium .prod-badge {
  background: rgba(184, 122, 255, 0.18);
  border-color: rgba(184, 122, 255, 0.35);
  color: #d4a8ff;
}

.prod--elite .prod-badge {
  background: rgba(232, 184, 74, 0.18);
  border-color: rgba(232, 184, 74, 0.35);
  color: var(--gold);
}

.prod--starter .prod-badge {
  background: rgba(212, 132, 58, 0.18);
  border-color: rgba(212, 132, 58, 0.35);
  color: var(--orange);
}

.prod-head {
  padding: 12px 14px 0;
}

.prod-name {
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.prod-prefix {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--prod-accent, var(--teal));
  text-transform: uppercase;
  letter-spacing: .04em;
}

.prod-visual {
  height: 130px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.prod-visual--vip {
  background: radial-gradient(circle at 50% 60%, rgba(0,200,150,.25) 0%, transparent 65%), #0f1612;
}

.prod-visual--premium {
  background: radial-gradient(circle at 50% 60%, rgba(168,85,247,.22) 0%, transparent 65%), #12101a;
}

.prod-visual--starter {
  background: radial-gradient(circle at 50% 60%, rgba(212,132,58,.2) 0%, transparent 65%), #16120e;
}

.prod-visual--elite {
  background: radial-gradient(circle at 50% 60%, rgba(232,184,74,.22) 0%, transparent 65%), #161410;
}

.prod-visual--custom {
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 200, 150, .14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(0, 0, 0, .18) 100%),
    #0f1612;
}

.prod-visual__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .45));
}

.prod-visual__img--lg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.product-visual--lg.prod-visual--custom {
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 200, 150, .16) 0%, transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(0, 0, 0, .22) 100%),
    #0f1612;
}

.crown {
  position: relative;
  width: 64px;
  height: 54px;
}

.crown::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 52px;
  height: 28px;
  background: currentColor;
  clip-path: polygon(0 100%, 8% 35%, 20% 70%, 35% 20%, 50% 55%, 65% 15%, 80% 65%, 92% 30%, 100% 100%);
  filter: drop-shadow(0 0 14px currentColor);
}

.crown::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--text);
  text-shadow: 0 0 12px currentColor;
}

.crown--vip { color: var(--teal); }
.crown--premium { color: #b87aff; }
.crown--elite { color: var(--gold); }

.starter-box {
  width: 70px;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(145deg, #8b6914, #5c4510);
  border: 2px solid #a07820;
  box-shadow: 0 8px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
}

.starter-box::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 8px;
  width: 54px;
  height: 14px;
  background: linear-gradient(145deg, #9a7420, #6b5012);
  border: 2px solid #a07820;
  border-radius: 3px 3px 0 0;
}

.prod-list {
  list-style: none;
  margin: 10px 12px 0;
  padding: 10px 12px;
  flex: 1;
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.04);
}

.prod-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.prod-list li:last-child { margin-bottom: 0; }

.prod-more {
  color: var(--dim) !important;
  font-size: 11px !important;
  font-style: italic;
  padding-left: 19px;
}

.prod-list li svg {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}

.prod-list--vip li svg { color: var(--teal); }
.prod-list--premium li svg { color: #b87aff; }
.prod-list--starter li svg { color: var(--orange); }
.prod-list--elite li svg { color: var(--gold); }

.prod-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px 14px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.18);
}

.prod-price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.prod-price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
}

.prod-price-from {
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
}

.prod-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--prod-accent, var(--teal));
  line-height: 1;
}

.prod--sale .prod-price {
  color: #ff7aa2;
}

.prod-price-old {
  font-size: 14px;
  font-weight: 700;
  color: var(--dim);
  text-decoration: line-through;
  opacity: 0.75;
}

.prod-sale-badge {
  flex-shrink: 0;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 92, 138, 0.18);
  border: 1px solid rgba(255, 92, 138, 0.4);
  color: #ff9ebb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.prod-duration {
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: var(--teal);
  color: #022018;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}

.btn-buy svg { width: 14px; height: 14px; }

.btn-buy:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.prod-link {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.prod-link:hover .prod-name { color: var(--prod-accent, var(--teal)); }

.prod-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.btn-details:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
}

.btn-buy--link {
  text-decoration: none;
  justify-content: center;
}

.prod--compact .prod-visual { height: 110px; }

.products--related {
  grid-template-columns: repeat(3, 1fr);
}

.footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  text-align: left;
  color: var(--dim);
  font-size: 12px;
}

.footer-hud {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 1100px;
}

.footer-disclaimer {
  margin: 0;
  max-width: 920px;
  color: rgba(200, 208, 214, 0.72);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
}

.footer-legal-links a {
  color: rgba(220, 228, 234, 0.92);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* ═══ HOME PAGE ═══ */
.home-hero {
  padding: 36px 0 28px;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.home-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid rgba(0,200,150,.25);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-hero-text h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.home-hero-text h1 span { color: var(--teal); }

.home-hero-text p {
  margin: 0 0 22px;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.btn-outline:hover {
  border-color: rgba(0,200,150,.35);
  background: rgba(0,200,150,.06);
}

.btn-outline--dc:hover {
  border-color: rgba(88,101,242,.45);
  background: rgba(88,101,242,.1);
}

.home-hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-stat {
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.home-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}

.home-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.block-lead {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 14px;
  max-width: 640px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.step-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.step-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.step-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 32px;
  font-weight: 800;
  color: rgba(255,255,255,.04);
  line-height: 1;
}

.step-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.step-icon svg { width: 22px; height: 22px; }

.step-icon--steam {
  background: rgba(23,26,33,.8);
  color: #66c0f4;
}

.step-icon--play {
  background: var(--teal-soft);
  color: var(--teal);
}

.step-icon--server {
  background: rgba(88,101,242,.12);
  color: #8892ff;
}

.step-icon--connect {
  background: rgba(232,184,74,.12);
  color: var(--gold);
}

.step-icon--shop {
  background: rgba(212,132,58,.12);
  color: var(--orange);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.step-card p strong { color: var(--text); font-weight: 700; }

.step-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.step-link:hover { text-decoration: underline; }

.step-wide-body { min-width: 0; }

.step-wide-body h3 { margin-bottom: 6px; }

.step-wide-body p { margin-bottom: 14px; }

.step-card kbd {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.step-card code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,.35);
  color: var(--teal);
  font-size: 12px;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.connect-card {
  padding: 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.connect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.connect-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.connect-mode {
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.connect-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.connect-cmd {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy {
  flex-shrink: 0;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,200,150,.45);
  background: var(--teal-soft);
  color: var(--teal);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-copy:hover { background: rgba(0,200,150,.2); }

.btn-copy.copied {
  background: var(--teal);
  color: #022018;
  border-color: var(--teal);
}

.connect-online {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.connect-online em {
  font-style: normal;
  color: var(--online);
}

.connect-loading,
.connect-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.connect-card--offline .connect-online {
  color: #f87171;
}

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

.tip-card {
  padding: 18px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.tip-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.tip-icon svg { width: 22px; height: 22px; }

.tip-icon--tools {
  background: rgba(212,132,58,.14);
  color: var(--orange);
}

.tip-icon--base {
  background: var(--teal-soft);
  color: var(--teal);
}

.tip-icon--team {
  background: rgba(88,101,242,.12);
  color: #8892ff;
}

.tip-icon--chat {
  background: rgba(232,184,74,.12);
  color: var(--gold);
}

.tip-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,200,150,.1) 0%, rgba(8,14,12,.95) 45%, rgba(8,14,12,.95) 100%);
  border: 1px solid rgba(0,200,150,.25);
}

.home-cta-text h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.home-cta-text p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 480px;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .promo {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
  }

  .promo-socials-panel {
    width: 100%;
    margin-left: 0;
  }

  .promo-socials {
    grid-template-columns: repeat(6, 44px);
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .site-socials,
  .servers {
    grid-template-columns: 1fr;
  }

  .products { grid-template-columns: repeat(2, 1fr); }
  .srv-meta { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .header-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .logo {
    margin-right: 0;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 4px;
    padding-left: 0;
  }

  .header-right {
    justify-self: start;
    flex-wrap: wrap;
  }
  .site-socials { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card--wide { flex-direction: column; align-items: flex-start; }
  .tips-grid { grid-template-columns: 1fr; }
  .home-hero-stats { grid-template-columns: 1fr; }
  .home-cta { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .promo-socials {
    grid-template-columns: repeat(3, 44px);
    justify-content: center;
  }
  .connect-row { flex-direction: column; }
  .user-name { display: none; }
  .pill--steam { font-size: 12px; padding: 7px 10px; }
}

/* ═══ STEAM AUTH ═══ */
.pill--steam {
  background: linear-gradient(180deg, #1b2838 0%, #171a21 100%);
  border-color: rgba(102,192,244,.35);
  color: #c7d5e0;
}

.pill--steam svg {
  width: 16px;
  height: 16px;
  color: #66c0f4;
}

.pill--steam:hover {
  border-color: rgba(102,192,244,.55);
  color: #fff;
}

.pill--user {
  padding: 5px 10px 5px 5px;
  cursor: pointer;
  border: none;
  font: inherit;
}

.user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chevron {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.user-menu {
  position: relative;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  min-width: 300px;
  width: max-content;
  max-width: min(320px, calc(100vw - 24px));
  padding: 8px;
  border-radius: 10px;
  background: #121816;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.user-cart-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--teal);
  color: #022018;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.user-cart-badge[hidden] {
  display: none;
}

.user-dropdown-cart {
  margin: 4px 0 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .06);
}

.user-dropdown-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.user-dropdown-cart-head strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.user-dropdown-cart-head span {
  color: var(--teal);
  font-weight: 700;
}

.user-dropdown-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 140px;
  overflow: auto;
}

.user-dropdown-cart-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  line-height: 1.35;
}

.user-dropdown-cart-list li span {
  color: var(--text);
}

.user-dropdown-cart-list li em {
  color: var(--muted);
  font-style: normal;
  white-space: nowrap;
}

.user-dropdown-cart-more {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.user-dropdown-cart-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.user-dropdown-cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.user-dropdown-cart-foot small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.user-dropdown-cart-price {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.user-dropdown-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #00d4a3 0%, #00b887 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 3px 14px rgba(0, 200, 150, .28);
  transition: transform .15s, box-shadow .15s, filter .15s;
}

.user-dropdown-cart-empty {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
}

.user-dropdown-cart-shop {
  display: inline-flex;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.user-dropdown-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 4px;
}

.user-dropdown-head img {
  border-radius: 50%;
  flex-shrink: 0;
}

.user-dropdown-head strong {
  display: block;
  font-size: 13px;
}

.user-dropdown-head small {
  display: block;
  color: var(--dim);
  font-size: 11px;
}

.user-dropdown-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 8px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 150, .28);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.user-dropdown-admin:hover {
  background: rgba(0, 200, 150, .18);
  border-color: rgba(0, 200, 150, .45);
}

.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.user-dropdown .user-dropdown-cart-btn,
.user-dropdown .user-dropdown-cart-shop,
.user-dropdown .user-dropdown-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.user-dropdown .user-dropdown-admin {
  min-height: 0;
  margin: 0 0 8px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 200, 150, .28);
  background: var(--teal-soft);
  color: var(--teal);
  box-shadow: none;
}

.user-dropdown .user-dropdown-cart-btn {
  min-height: 38px;
  background: linear-gradient(180deg, #00d4a3 0%, #00b887 100%);
  color: #fff;
  box-shadow: 0 3px 14px rgba(0, 200, 150, .28);
  transition: transform .15s, box-shadow .15s, filter .15s;
}

.user-dropdown .user-dropdown-cart-shop {
  width: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: var(--teal);
  box-shadow: none;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: rgba(255,255,255,.05);
}

.user-dropdown .user-dropdown-cart-btn:hover {
  background: linear-gradient(180deg, #00d4a3 0%, #00b887 100%);
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0, 200, 150, .34);
}

.user-dropdown .user-dropdown-cart-shop:hover {
  background: transparent;
  transform: none;
  filter: none;
  text-decoration: underline;
}

.user-dropdown .user-dropdown-admin:hover {
  background: rgba(0, 200, 150, .18);
  border-color: rgba(0, 200, 150, .45);
  transform: none;
  filter: none;
  box-shadow: none;
}

.user-dropdown button {
  color: #ff8a8a;
}

.page--auth .auth-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 140px);
  padding: 40px 0;
}

.auth-card {
  width: min(440px, calc(100% - 32px));
  padding: 32px 28px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.auth-card--compact { padding: 36px 28px; }

.auth-steam-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1b2838, #171a21);
  border: 1px solid rgba(102,192,244,.3);
  display: grid;
  place-items: center;
  color: #66c0f4;
}

.auth-steam-logo svg { width: 30px; height: 30px; }

.auth-card h1 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
}

.auth-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-benefits {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  text-align: left;
}

.auth-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.auth-benefits li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #00adee 0%, #1b9ad6 100%);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(27,154,214,.35);
  transition: transform .2s, box-shadow .2s;
}

.btn-steam svg { width: 20px; height: 20px; }

.btn-steam:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(27,154,214,.45);
}

.auth-note {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.45;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-outline--full { width: 100%; justify-content: center; }

.auth-demo-hint {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--dim);
}

.auth-back {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.auth-back:hover { color: var(--teal); }

.auth-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 3px solid rgba(0,200,150,.15);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: auth-spin .8s linear infinite;
}

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

/* ═══ CART ═══ */
.badge[hidden] { display: none !important; }

.pill--cart-active {
  border-color: rgba(0,200,150,.35);
  background: var(--teal-soft);
}

.cart-page { padding-top: 8px; }

.cart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 800;
}

.cart-title svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

.cart-items-block {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.cart-server-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.2);
}

.cart-server-picker-slot {
  flex: 1;
  min-width: 0;
}

.cart-server-picker-slot .privilege-server-pick {
  margin-bottom: 0;
}

.cart-server-bar svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 4px;
}

.cart-items { display: flex; flex-direction: column; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-visual {
  width: 56px;
  height: 48px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.cart-item-visual--vip {
  background: radial-gradient(circle at 50% 60%, rgba(0,200,150,.35) 0%, transparent 65%), #0f1612;
}

.cart-item-visual--premium {
  background: radial-gradient(circle at 50% 60%, rgba(168,85,247,.3) 0%, transparent 65%), #12101a;
}

.cart-item-visual--starter {
  background: radial-gradient(circle at 50% 60%, rgba(212,132,58,.28) 0%, transparent 65%), #16120e;
}

.cart-item-visual--elite {
  background: radial-gradient(circle at 50% 60%, rgba(232,184,74,.28) 0%, transparent 65%), #161410;
}

.cart-item-visual--battlepass {
  background:
    radial-gradient(circle at 50% 60%, rgba(120,140,60,.35) 0%, transparent 65%),
    linear-gradient(135deg, #1a1f12, #0f120c);
}

.cart-item-visual--battlepass-skip {
  background:
    radial-gradient(circle at 50% 60%, rgba(90,110,50,.3) 0%, transparent 65%),
    linear-gradient(135deg, #141810, #0c100a);
}

.cart-item-info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
}

.cart-item-server {
  font-size: 11px;
  color: var(--dim);
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover {
  border-color: rgba(0,200,150,.35);
  background: var(--teal-soft);
}

.cart-item-qty span {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.cart-item-price {
  min-width: 72px;
  text-align: right;
  font-size: 14px;
  font-weight: 800;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cart-item-remove svg { width: 16px; height: 16px; }

.cart-item-remove:hover {
  background: rgba(255,100,100,.1);
  color: #ff8a8a;
}

.cart-clear {
  display: block;
  width: calc(100% - 32px);
  margin: 12px 16px 16px;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cart-clear:hover {
  color: #ff8a8a;
  border-color: rgba(255,100,100,.25);
}

.cart-summary {
  position: sticky;
  top: 80px;
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.cart-summary h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.cart-summary-rows {
  margin: 0 0 16px;
  padding: 0;
}

.cart-summary-rows div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.cart-summary-rows dt {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.cart-summary-rows dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.cart-summary-rows dd.ok { color: var(--online); }
.cart-summary-rows dd.warn { color: #ffb347; }

.cart-summary-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.cart-summary-note.warn { color: #ffb347; }

.btn-teal--full {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.btn-steam--compact {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 13px;
  margin-bottom: 10px;
}

.btn-steam--compact svg { width: 18px; height: 18px; }

.cart-continue {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.cart-continue:hover { color: var(--teal); }

.cart-empty,
.cart-success {
  max-width: 480px;
  margin: 40px auto;
  padding: 40px 32px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.cart-empty-icon,
.cart-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.cart-empty-icon {
  background: rgba(255,255,255,.04);
  color: var(--dim);
}

.cart-empty-icon svg { width: 32px; height: 32px; }

.cart-success-icon {
  background: var(--teal-soft);
  border: 1px solid rgba(0,200,150,.3);
  color: var(--teal);
}

.cart-success-icon svg { width: 32px; height: 32px; }

.cart-empty h2,
.cart-success h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.cart-empty p,
.cart-success p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cart-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #121816;
  border: 1px solid rgba(0,200,150,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
}

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

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item {
    grid-template-columns: 48px 1fr auto;
    grid-template-rows: auto auto;
  }
  .cart-item-price { grid-column: 3; grid-row: 1; }
  .cart-item-qty { grid-column: 2; grid-row: 2; }
  .cart-item-remove { grid-column: 3; grid-row: 2; }
  .products--related { grid-template-columns: 1fr; }
}

/* ═══ PRODUCT PAGE ═══ */
.product-page { padding-top: 8px; }

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
}

.product-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.product-breadcrumb a:hover { color: var(--teal); }

.product-detail {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.product-detail-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.product-visual--lg {
  height: 320px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.crown--lg {
  width: 120px;
  height: 100px;
}

.crown--lg::before {
  width: 96px;
  height: 52px;
  bottom: 16px;
}

.crown--lg::after {
  font-size: 16px;
  bottom: 0;
}

.starter-box--lg {
  width: 110px;
  height: 88px;
}

.starter-box--lg::before {
  width: 86px;
  height: 22px;
  top: -22px;
  left: 12px;
}

.product-detail-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,200,150,.15);
  border: 1px solid rgba(0,200,150,.35);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

.product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.product-tag {
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--teal-soft);
  border: 1px solid rgba(0,200,150,.2);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

.product-tag--muted {
  background: rgba(255,255,255,.04);
  border-color: var(--border);
  color: var(--muted);
}

.product-detail-title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.product-detail-desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 560px;
}

.product-detail-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.product-detail-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--teal);
}

.product-detail-delivery {
  font-size: 12px;
  font-weight: 600;
  color: var(--online);
}

.product-server-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
}

.product-server-pick svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
}

.product-server-pick small {
  display: block;
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-server-pick strong { font-size: 14px; }

.product-server-pick a {
  margin-left: auto;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.product-server-pick a:hover { text-decoration: underline; }

.product-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-qty-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.product-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-qty span {
  min-width: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-actions .btn-teal {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

.product-actions .btn-teal svg {
  width: 16px;
  height: 16px;
}

.product-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.product-panel {
  padding: 18px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.product-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
}

.product-panel h2 svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.product-perks { padding: 0; }

.product-perks li { font-size: 13px; }

.product-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.product-commands code {
  padding: 6px 10px;
  border-radius: 7px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

.product-panel-note {
  margin: 0;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.45;
}

.product-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-steps li { margin-bottom: 6px; }

.product-related { margin-top: 8px; }

.product-not-found {
  max-width: 420px;
  margin: 60px auto;
  padding: 36px 28px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.product-not-found h1 {
  margin: 0 0 10px;
  font-size: 24px;
}

.product-not-found p {
  margin: 0 0 20px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-panels { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .privilege-product--modal .privilege-product-top { grid-template-columns: 1fr; }
  .privilege-duration-options--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .product-detail { padding: 16px; }
  .product-detail-title { font-size: 26px; }
  .product-actions { flex-direction: column; }
  .product-actions .btn-teal,
  .product-actions .btn-outline { width: 100%; justify-content: center; }
  .privilege-product-top { grid-template-columns: 1fr; }
  .privilege-items { grid-template-columns: repeat(2, 1fr); }
  .product-modal { padding: 12px; }
  .product-modal-card { width: 100%; border-radius: 14px; }
  .product-modal-head { padding: 16px 52px 14px 16px; }
  .product-modal-title { font-size: 13px; }
  .privilege-duration-options--grid { grid-template-columns: 1fr 1fr; }
}

/* ═══ PRIVILEGE PRODUCT ═══ */
.product-modal {
  z-index: 1100;
  padding: 24px;
}

.product-modal-backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.product-modal-card {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 48px));
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: linear-gradient(180deg, #141a18 0%, #0f1311 100%);
  border: 1px solid rgba(0, 200, 150, 0.28);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(0, 200, 150, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: scale(0.97) translateY(10px);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
  overflow: hidden;
}

.product-modal--open .product-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.product-modal-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 56px 16px;
  border-bottom: 1px solid rgba(0, 200, 150, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.product-modal-title {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.product-modal-close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 200, 150, 0.32);
  background: rgba(0, 0, 0, 0.35);
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.product-modal-close:hover {
  background: rgba(0, 200, 150, 0.14);
  border-color: rgba(0, 200, 150, 0.55);
  color: #fff;
}

.product-modal-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-gutter: stable;
}

.product-modal-body::-webkit-scrollbar {
  width: 8px;
}

.product-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.product-detail--modal {
  padding: 18px 20px 0;
  margin: 0;
  border: none;
  background: transparent;
}

.product-panels--modal {
  padding: 0 20px 20px;
  margin-top: 0;
}

.product-modal-standard .product-detail-title {
  display: none;
}

.product-modal-card.privilege-modal-card {
  overflow: hidden;
  padding: 0;
}

.privilege-modal-card {
  width: min(1040px, calc(100vw - 48px));
  max-height: min(92vh, 900px);
  padding: 0;
}

.privilege-modal-card .privilege-product {
  padding: 22px 28px 24px;
}

.privilege-product--modal {
  padding: 24px 28px 22px !important;
}

.privilege-product--modal .privilege-product-top {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 0;
  align-items: start;
}

.privilege-visual-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 150, 0.18);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 200, 150, 0.1) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 36px rgba(0, 0, 0, 0.35);
}

.privilege-product-visual .product-visual--lg,
.privilege-visual-frame .product-visual--lg {
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privilege-visual-frame .prod-visual__img,
.privilege-product-visual .prod-visual__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.privilege-product--modal .privilege-product-label {
  margin-top: 12px;
  font-size: 22px;
  letter-spacing: 0.1em;
}

.privilege-product--modal .privilege-meta {
  margin-bottom: 12px;
}

.privilege-chip--outline {
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.privilege-server-name {
  color: #6ec9ff;
}

.privilege-server-sep {
  color: rgba(110, 201, 255, 0.55);
}

.product-qty--boxed {
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.32);
}

.product-qty--boxed .qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.product-qty--boxed span {
  min-width: 28px;
  font-size: 15px;
}

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

.privilege-product--modal .privilege-duration-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.privilege-product--modal .privilege-server-pick {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 255, 255, 0.07);
}

.privilege-product--modal .privilege-buy-btn {
  margin: 0;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(0, 200, 150, 0.28);
}

.privilege-product--modal .privilege-buy-btn:hover {
  box-shadow: 0 10px 34px rgba(0, 200, 150, 0.38);
  transform: translateY(-1px);
}

.privilege-contents--modal {
  margin-top: 18px;
  padding-top: 0;
  border-top: none;
}

.privilege-contents-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.privilege-contents-summary::-webkit-details-marker {
  display: none;
}

.privilege-contents-summary svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  transition: transform 0.2s ease;
}

.privilege-contents--modal[open] .privilege-contents-summary {
  color: var(--text);
  border-color: rgba(0, 200, 150, 0.22);
  background: rgba(0, 200, 150, 0.06);
}

.privilege-contents--modal[open] .privilege-contents-summary svg {
  transform: rotate(180deg);
}

.privilege-contents-inner {
  padding: 14px 2px 4px;
}

.product-modal-standard {
  padding: 4px 2px 8px;
}

/* ═══ KIT / ITEM MODAL (не привилегии) ═══ */
.kit-modal-card {
  width: min(960px, calc(100vw - 48px));
}

.kit-modal-card .product-modal-body {
  padding: 0;
}

.kit-modal {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kit-modal__top {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.kit-modal__visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 150, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(0, 200, 150, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.35) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.45);
}

.kit-modal__visual .product-visual--lg {
  height: 100%;
  min-height: 240px;
  margin: 0;
}

.kit-modal__visual .prod-visual__img--lg {
  max-height: 220px;
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.kit-modal__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.16);
  border: 1px solid rgba(0, 200, 150, 0.4);
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kit-modal__contents {
  margin-top: 0;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.kit-modal__contents-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.kit-modal__contents-body {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.kit-modal__contents-body::-webkit-scrollbar {
  width: 6px;
}

.kit-modal__contents-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.kit-modal__contents--items .kit-modal__contents-body {
  max-height: 280px;
}

.kit-modal__contents--items .privilege-kit {
  margin-bottom: 0;
}

.kit-modal__contents--items .privilege-items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kit-modal__contents--items .priv-item {
  padding: 8px;
  gap: 8px;
}

.kit-modal__contents--items .priv-item-visual,
.kit-modal__contents--items .priv-item-icon {
  width: 40px;
  height: 40px;
}

.kit-modal__contents--items .priv-item-icon--img {
  padding: 3px;
}

.kit-modal__contents-empty {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.kit-modal__contents-single {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
}

.kit-modal__perks {
  margin: 0;
}

.kit-modal__perks li {
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.kit-modal__perks li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kit-modal__perks li svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.kit-modal__commands {
  margin-top: -8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kit-modal__commands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kit-modal__commands-list code {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 200, 150, 0.08);
  border: 1px solid rgba(0, 200, 150, 0.2);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.kit-modal__buy {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  padding: 20px 22px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(0, 200, 150, 0.07) 0%, rgba(0, 0, 0, 0.32) 55%),
    rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(0, 200, 150, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.kit-modal__buy-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.kit-modal__category {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.14);
  border: 1px solid rgba(0, 200, 150, 0.32);
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kit-modal__duration {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.kit-modal__price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.kit-modal__price {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.kit-modal__delivery {
  font-size: 12px;
  font-weight: 700;
  color: var(--online);
}

.kit-modal__desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.kit-modal__server {
  margin-bottom: 18px;
}

.kit-modal__server .privilege-server-pick,
.kit-modal__server.product-server-pick {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kit-modal__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.kit-modal__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.kit-modal__qty-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.kit-modal__qty-control {
  padding: 4px 6px;
}

.kit-modal__buy-btn {
  width: 100%;
  margin: 0;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 32px rgba(0, 200, 150, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kit-modal__buy-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 38px rgba(0, 200, 150, 0.38);
}

.kit-modal__buy-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 820px) {
  .kit-modal__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kit-modal {
    padding: 16px 16px 20px;
    gap: 16px;
  }

  .kit-modal__visual .product-visual--lg {
    min-height: 220px;
  }

  .kit-modal__contents--items .privilege-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kit-modal__contents-body {
    max-height: none;
  }

  .kit-modal__price {
    font-size: 32px;
  }
}

.product-modal-standard .product-detail--modal {
  padding: 16px 18px 0;
}

.product-modal-standard .product-detail-visual {
  border-radius: 14px;
  border: 1px solid rgba(0, 200, 150, 0.18);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.product-modal-standard .product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-modal-standard .product-detail-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.product-modal-standard .product-actions {
  margin-top: 4px;
}

.product-modal-standard .product-actions .btn-teal {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .product-modal-card {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.privilege-product-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.privilege-product-visual {
  text-align: center;
}

.privilege-product-visual .product-visual--lg {
  height: 260px;
  margin-bottom: 10px;
}

.privilege-product-label {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.privilege-product-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.privilege-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 14px;
}

.privilege-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.privilege-meta-label {
  color: var(--muted);
}

.privilege-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.12);
  border: 1px solid rgba(0, 200, 150, 0.28);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.privilege-servers-title {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted);
}

.privilege-servers-list {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #6ec9ff;
}

.privilege-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.privilege-qty-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.privilege-duration {
  margin-bottom: 16px;
}

.privilege-duration-head strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.privilege-duration-head p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.45;
}

.privilege-duration-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.privilege-duration-btn {
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.privilege-duration-btn:hover {
  border-color: rgba(0, 200, 150, 0.35);
}

.privilege-duration-btn.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #022018;
}

.privilege-duration-discount {
  position: absolute;
  top: -8px;
  right: -6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ff5c8a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.privilege-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 20px 0;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.privilege-back-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.privilege-back-btn svg {
  width: 16px;
  height: 16px;
}

.privilege-server-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  font-size: 13px;
}

.privilege-server-current {
  flex: 1;
  min-width: 0;
}

.privilege-server-current small {
  display: block;
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.privilege-server-current strong {
  display: block;
  font-size: 14px;
}

.privilege-server-toggle {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid rgba(0, 200, 150, 0.35);
  background: rgba(0, 200, 150, 0.1);
  color: var(--teal);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.privilege-server-toggle:hover {
  background: rgba(0, 200, 150, 0.18);
  border-color: rgba(0, 200, 150, 0.5);
}

.privilege-server-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 10px;
  background: #121816;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.privilege-server-list[hidden] {
  display: none;
}

.privilege-server-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.privilege-server-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.privilege-server-option.is-active {
  background: rgba(0, 200, 150, 0.15);
  color: var(--teal);
}

.product-server-pick .privilege-server-pick {
  margin-bottom: 0;
  width: 100%;
}

.product-breadcrumb a:first-child {
  color: var(--teal);
}

.privilege-buy-btn {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.privilege-contents {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.privilege-contents-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.privilege-kit {
  margin-bottom: 16px;
}

.privilege-kit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
}

.privilege-kit-bar code {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}

.privilege-kit-cooldown {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 92, 138, 0.15);
  border: 1px solid rgba(255, 92, 138, 0.35);
  color: #ff8fb0;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.privilege-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.priv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  min-width: 0;
}

.priv-item-visual {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.priv-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(0,0,0,.2));
  border: 1px solid rgba(255,255,255,.06);
}

.priv-item-icon--img {
  display: block;
  object-fit: contain;
  padding: 4px;
  background: rgba(0, 0, 0, 0.35);
}

.priv-item-icon--weapon { background: linear-gradient(145deg, #4a3020, #2a1810); }
.priv-item-icon--medical { background: linear-gradient(145deg, #2a4a30, #142818); }
.priv-item-icon--armor { background: linear-gradient(145deg, #3a3f4a, #1e2228); }
.priv-item-icon--ammo { background: linear-gradient(145deg, #4a4020, #282010); }
.priv-item-icon--explosive { background: linear-gradient(145deg, #4a2020, #281010); }
.priv-item-icon--resource { background: linear-gradient(145deg, #2a3a4a, #141c24); }

.priv-item-info {
  min-width: 0;
}

.priv-item-info strong {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  margin-bottom: 2px;
}

.priv-item-info span {
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
}

@media (max-width: 900px) {
  .privilege-items { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .privilege-items { grid-template-columns: repeat(2, 1fr); }
  .privilege-duration-options { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ═══ PROFILE ═══ */
.profile-page { padding-top: 8px; }

.profile-page-loading {
  margin: 48px auto;
  max-width: 420px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.profile-page-loading--error {
  color: #ff9ebb;
}

.profile-page-loading a {
  color: var(--teal);
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 80px;
}

.profile-card {
  padding: 22px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.profile-card--user {
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 200, 150, .06), transparent), var(--surface);
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid rgba(0,200,150,.25);
  box-shadow: 0 0 24px rgba(0,200,150,.15);
}

.profile-card--user h1 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.profile-steam-id {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--dim);
  word-break: break-all;
}

.profile-since {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--muted);
}

.profile-demo-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(232,184,74,.12);
  border: 1px solid rgba(232,184,74,.3);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
}

.profile-steam-link {
  margin-bottom: 10px;
  justify-content: center;
  gap: 8px;
}

.profile-steam-link svg { width: 16px; height: 16px; color: #66c0f4; }

.profile-logout {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #ff8a8a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.profile-logout:hover { background: rgba(255,100,100,.08); }

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.profile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}

.profile-nav-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--dim);
  flex-shrink: 0;
}

.profile-nav-link__icon svg {
  width: 15px;
  height: 15px;
}

.profile-nav-link__label {
  flex: 1;
}

.profile-nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.profile-nav-link--active {
  color: var(--teal);
  background: linear-gradient(90deg, rgba(0, 200, 150, .16), rgba(0, 200, 150, .06));
  box-shadow: inset 3px 0 0 var(--teal);
}

.profile-nav-link--active .profile-nav-link__icon {
  background: rgba(0, 200, 150, .18);
  color: var(--teal);
}

.profile-nav-link em {
  font-style: normal;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--teal);
  color: #022018;
  font-size: 10px;
  font-weight: 800;
}

.profile-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-main {
  min-width: 0;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.profile-stat {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}

.profile-stat::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 200, 150, .55), transparent);
  opacity: .7;
}

.profile-stat--spent::before {
  background: linear-gradient(90deg, rgba(232, 184, 74, .55), transparent);
}

.profile-stat--orders::before {
  background: linear-gradient(90deg, rgba(102, 192, 244, .55), transparent);
}

.profile-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 200, 150, .1);
  border: 1px solid rgba(0, 200, 150, .18);
  color: var(--teal);
  flex-shrink: 0;
}

.profile-stat__icon svg {
  width: 20px;
  height: 20px;
}

.profile-stat--spent .profile-stat__icon {
  background: rgba(232, 184, 74, .1);
  border-color: rgba(232, 184, 74, .2);
  color: var(--gold);
}

.profile-stat--orders .profile-stat__icon {
  background: rgba(102, 192, 244, .1);
  border-color: rgba(102, 192, 244, .2);
  color: #66c0f4;
}

.profile-stat__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.profile-stat-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.profile-stat-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
}

.profile-stat strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}

.profile-stat--spent strong {
  color: var(--gold);
}

.profile-stat--orders strong {
  color: #8fd4ff;
}

.profile-stat--balance {
  display: flex;
}

.profile-transfer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 200, 150, .35);
  background: rgba(0, 200, 150, .08);
  color: var(--teal);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.profile-transfer-btn:hover {
  background: rgba(0, 200, 150, .14);
  border-color: rgba(0, 200, 150, .5);
}

.profile-transfer-btn--head {
  flex-shrink: 0;
  margin-top: 0;
  padding: 10px 16px;
  border: none;
  background: linear-gradient(135deg, #00d4a0, #00b88a);
  color: #022018;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 200, 150, .22);
}

.profile-transfer-btn--head:hover {
  background: linear-gradient(135deg, #00e6ad, #00c896);
  border-color: transparent;
  color: #022018;
}

.profile-panel {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .2));
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.profile-section-head__main h2 {
  margin-bottom: 0;
}

.profile-section-head--solo {
  margin-bottom: 12px;
}

.profile-section-head--solo h2 {
  margin: 0;
}

.profile-section-sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.profile-transfer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.profile-summary-chip {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .06);
}

.profile-summary-chip span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.profile-summary-chip strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.profile-summary-chip--out strong {
  color: #ff9a9a;
}

.profile-summary-chip--in strong {
  color: var(--teal);
}

.profile-transfer-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-transfer-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .15s, transform .15s, background .15s;
}

.profile-transfer-card:hover {
  border-color: rgba(0, 200, 150, .22);
  background: rgba(0, 200, 150, .04);
  transform: translateY(-1px);
}

.profile-transfer-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 120, 120, .12);
  border: 1px solid rgba(255, 120, 120, .22);
  color: #ff9a9a;
  font-size: 16px;
  font-weight: 800;
}

.profile-transfer-card--in .profile-transfer-card__avatar {
  background: rgba(0, 200, 150, .12);
  border-color: rgba(0, 200, 150, .22);
  color: var(--teal);
}

.profile-transfer-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.profile-transfer-card__badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.profile-transfer-card--out .profile-transfer-card__badge {
  color: #ff9a9a;
  border-color: rgba(255, 120, 120, .2);
  background: rgba(255, 120, 120, .08);
}

.profile-transfer-card--in .profile-transfer-card__badge {
  color: var(--teal);
  border-color: rgba(0, 200, 150, .2);
  background: rgba(0, 200, 150, .08);
}

.profile-transfer-card__row time {
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
}

.profile-transfer-card__party {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.profile-transfer-card__party strong {
  color: var(--text);
  font-weight: 700;
}

.profile-transfer-card__amount {
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-transfer-card--out .profile-transfer-card__amount {
  color: #ff9a9a;
}

.profile-transfer-card--in .profile-transfer-card__amount {
  color: var(--teal);
}

.profile-transfer-list--page {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .18);
  padding: 4px 14px;
}

.profile-transfer-list--page .profile-transfer-item {
  padding: 12px 0;
}

.profile-section-head .profile-section-sub {
  margin: 4px 0 0;
}

.profile-section--compact {
  margin-bottom: 16px;
  padding: 16px 18px;
}

.profile-transfer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-transfer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
}

.profile-transfer-item:last-child {
  border-bottom: none;
}

.profile-transfer-item strong {
  display: block;
  font-size: 15px;
  color: var(--teal);
}

.profile-transfer-item--out strong {
  color: #ff8a8a;
}

.profile-transfer-item span {
  color: var(--muted);
  font-size: 12px;
}

.profile-transfer-item time {
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
}

.profile-transfer-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.profile-transfer-modal--open {
  display: flex;
}

.profile-transfer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
}

.profile-transfer-card {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 16px;
  background: #141a22;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.profile-transfer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-transfer-head h3 {
  margin: 0;
  font-size: 18px;
}

.profile-transfer-close {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.profile-transfer-note {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.profile-transfer-form label {
  display: block;
  margin-bottom: 12px;
}

.profile-transfer-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dim);
}

.profile-transfer-form input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.profile-transfer-balance {
  margin: 4px 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.profile-transfer-balance strong {
  color: var(--teal);
}

.profile-transfer-error {
  margin: 0 0 12px;
  font-size: 13px;
  color: #ff8a8a;
}

.profile-transfer-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
  margin-bottom: 0;
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.profile-page {
  animation: profile-page-in .2s ease;
}

@keyframes profile-page-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.profile-section h2 svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.profile-wallet {
  padding: 18px;
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--border);
}

.profile-wallet-balance small {
  display: block;
  margin-bottom: 4px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-wallet-balance strong {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
}

.profile-wallet-note {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

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

.profile-table-wrap { overflow-x: auto; }

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.profile-table th,
.profile-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.profile-table th {
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.profile-table tbody tr:last-child td { border-bottom: none; }

.profile-priv-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.profile-priv-badge--vip {
  background: var(--teal-soft);
  color: var(--teal);
}

.profile-priv-badge--premium {
  background: rgba(168,85,247,.15);
  color: #b87aff;
}

.profile-priv-badge--elite {
  background: rgba(232,184,74,.12);
  color: var(--gold);
}

.profile-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.profile-status--on {
  background: rgba(61,220,132,.12);
  color: var(--online);
}

.profile-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 36px 20px;
  text-align: center;
}

.profile-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: 16px;
  background: rgba(0, 200, 150, .08);
  border: 1px solid rgba(0, 200, 150, .16);
  color: var(--teal);
}

.profile-empty__icon svg {
  width: 26px;
  height: 26px;
}

.profile-empty p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.profile-empty span {
  margin: 0 0 8px;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.profile-empty .btn-teal,
.profile-empty button.btn-teal {
  margin-top: 4px;
}

.profile-orders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
}

.profile-orders--history {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-orders-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.profile-orders-pager-info {
  font-size: 12px;
  color: var(--muted);
}

.profile-orders-pager-btns {
  display: flex;
  gap: 8px;
}

.profile-pager-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.profile-pager-btn:hover:not(:disabled) {
  border-color: rgba(0, 200, 150, .28);
  background: rgba(0, 200, 150, .08);
}

.profile-pager-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.profile-order--compact {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.15s;
}

.profile-order--compact:hover {
  border-color: rgba(0, 200, 150, 0.2);
}

.profile-order-compact {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  min-height: 0;
}

.profile-order-thumb--compact {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-order-thumb--compact .profile-order-item__icon {
  width: 28px;
  height: 28px;
}

.profile-order-thumb--compact .profile-order-item__visual .prod-visual {
  transform: scale(0.72);
}

.profile-order-case-emoji {
  font-size: 16px;
  line-height: 1;
}

.profile-order-compact-main {
  min-width: 0;
}

.profile-order-compact-line1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.profile-order-compact-line1 .profile-order-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  flex: 0 1 auto;
}

.profile-order-compact-line2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 3px;
  min-width: 0;
}

.profile-order-compact-line2 .profile-order-sub {
  width: auto;
  margin: 0;
  font-size: 10px;
  color: var(--dim);
}

.profile-order-compact-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.profile-order-compact-side .profile-order-price {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.2;
}

.profile-order-delete--compact {
  width: 20px;
  height: 20px;
  font-size: 13px;
  opacity: 0.45;
  flex-shrink: 0;
}

.profile-order--compact:hover .profile-order-delete--compact {
  opacity: 1;
}

.profile-order-compact-actions {
  padding: 0 10px 8px;
}

.profile-order-compact-actions .profile-order-claim {
  padding: 6px 10px;
  font-size: 11px;
}

.profile-order-cat {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-order--bp .profile-order-cat {
  background: rgba(0, 200, 150, 0.1);
  border-color: rgba(0, 200, 150, 0.22);
  color: var(--teal);
}

.profile-order--case .profile-order-cat {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.22);
  color: #fbbf24;
}

.profile-order-status {
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-order-status--done {
  background: rgba(0, 200, 150, 0.12);
  border: 1px solid rgba(0, 200, 150, 0.3);
  color: var(--teal);
}

.profile-order-status--pending {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.profile-order-status--ready {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #60a5fa;
}

.profile-order-status--paid {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.profile-order-server {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-order-id {
  font-size: 9px;
  font-weight: 600;
  color: var(--dim);
  font-family: ui-monospace, monospace;
}

.profile-order-qty {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}

.profile-order-rebuy {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  opacity: 0.75;
}

.profile-order-rebuy:hover {
  opacity: 1;
  text-decoration: underline;
}

.profile-section-sub {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.profile-orders--history .profile-order--tile,
.profile-orders--history .profile-order--case {
  grid-column: span 1;
}

.profile-order--bp {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(0, 200, 150, 0.08), rgba(0, 0, 0, 0.28));
  border-color: rgba(0, 200, 150, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.profile-order-bp-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-order-bp-head .profile-order-delete {
  margin-left: auto;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.profile-order-bp-badge {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 200, 150, 0.16);
  border: 1px solid rgba(0, 200, 150, 0.35);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-order-bp-level {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.profile-order-bp-body {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile-order-thumb--bp {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-order-thumb--bp .profile-order-item__icon {
  width: 44px;
  height: 44px;
}

.profile-order-thumb--bp .profile-order-item__visual .prod-visual,
.profile-order-thumb--bp .profile-order-item__visual .easy-coins-icon {
  transform: scale(1.15);
}

.profile-order-bp-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.profile-order-bp-text .profile-order-title {
  font-size: 14px;
  -webkit-line-clamp: 2;
}

.profile-order-meta {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.profile-order-bp-text .profile-order-price {
  margin-top: 6px;
  font-size: 13px;
}

.profile-order-bp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-order-bp-foot .profile-order-sub {
  width: auto;
  font-size: 10px;
}

.profile-order-bp-actions {
  display: flex;
}

.profile-order-claim {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 150, 0.45);
  background: rgba(0, 200, 150, 0.14);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.profile-order-claim:hover:not(:disabled) {
  background: rgba(0, 200, 150, 0.24);
  border-color: rgba(0, 200, 150, 0.65);
}

.profile-order-claim:disabled {
  opacity: 0.65;
  cursor: wait;
}

.profile-order-claim--wait {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.profile-order-claim--done {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-case-claim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.profile-case-claim__server {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 180px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
}

.profile-case-claim__server select {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 12px;
}

.profile-case-claim .profile-order-claim {
  flex: 0 0 auto;
}

.profile-order {
  position: relative;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
}

.profile-order--tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 8px 6px 6px;
  aspect-ratio: 1;
  min-width: 0;
}

.profile-order-thumb {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.profile-order-thumb--case {
  font-size: 20px;
  line-height: 1;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.profile-order-title {
  margin: 0;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-order-price {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.2;
}

.profile-order-sub {
  margin: 2px 0 0;
  font-size: 9px;
  color: var(--dim);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.profile-order-delete {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.profile-order-delete--tile {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  font-size: 12px;
  border-radius: 5px;
  z-index: 1;
}

.profile-order-delete:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.profile-order-bp-badge,
.profile-order-case-badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-order-bp-badge {
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal);
}

.profile-order-bp-badge--tile,
.profile-order-case-badge--tile {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
}

.profile-order--battlepass {
  border-color: rgba(45, 212, 191, 0.18);
}

.profile-order-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: contain;
  flex-shrink: 0;
}

.profile-order-item__visual {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.profile-order-item__visual .prod-visual {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.profile-order-item__visual .crown {
  transform: scale(0.38);
  transform-origin: center center;
}

.adm-bp-reward-type-row {
  display: grid;
  gap: 6px;
  min-width: 220px;
}

.adm-bp-privilege-days {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.adm-bp-privilege-days--compact {
  margin-top: 4px;
}

.adm-bp-privilege-days__label {
  font-size: 11px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-bp-privilege-days select,
.adm-bp-privilege-days__custom {
  width: 100%;
}

.adm-bp-table__input--days {
  min-width: 120px;
}

.adm-bp-table__input--type {
  min-width: 130px;
}

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

.profile-section-head h2 { margin: 0; }

.profile-friends-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.profile-add-friend {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-add-friend input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.profile-add-friend input:focus {
  outline: none;
  border-color: rgba(0,200,150,.45);
}

.profile-add-friend-hint {
  margin: 0 0 16px;
  font-size: 12px;
  min-height: 18px;
}

.profile-add-friend-hint.ok { color: var(--online); }
.profile-add-friend-hint.err { color: #ff8a8a; }

.profile-friend-requests,
.profile-friend-outgoing,
.profile-friend-suggestions {
  margin-bottom: 18px;
}

.profile-friend-requests h3,
.profile-friend-outgoing h3,
.profile-friend-suggestions h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
}

.profile-requests-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

.profile-requests-badge--muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.profile-request-pending {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.profile-request--outgoing {
  opacity: 0.92;
}

.profile-requests-list,
.profile-suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-request,
.profile-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,.2);
  border: 1px solid var(--border);
}

.profile-request img,
.profile-suggestion img {
  border-radius: 50%;
  flex-shrink: 0;
}

.profile-request-info,
.profile-suggestion div {
  flex: 1;
  min-width: 0;
}

.profile-request-info strong,
.profile-suggestion strong {
  display: block;
  font-size: 13px;
}

.profile-request-info small,
.profile-suggestion small {
  display: block;
  font-size: 11px;
  color: var(--dim);
  word-break: break-all;
}

.profile-request-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-teal--sm,
.btn-outline--sm {
  padding: 6px 10px;
  font-size: 11px;
}

.profile-friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.profile-friend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--border);
  transition: border-color .2s;
}

.profile-friend-card:hover {
  border-color: rgba(0,200,150,.25);
}

.profile-friend-status {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dim);
}

.profile-friend-status--on {
  background: var(--online);
  box-shadow: 0 0 8px var(--online);
}

.profile-friend-card img {
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2px solid rgba(255,255,255,.08);
}

.profile-friend-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-friend-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.profile-friend-id {
  font-size: 10px;
  color: var(--dim);
  margin-bottom: 10px;
}

.profile-friend-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.profile-friend-link {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(102,192,244,.1);
  border: 1px solid rgba(102,192,244,.25);
  color: #66c0f4;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.profile-friend-remove {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: rgba(255,100,100,.1);
  color: #ff8a8a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.profile-friend-remove:hover {
  background: rgba(255,100,100,.2);
}

@media (max-width: 1000px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .profile-stats { grid-template-columns: repeat(3, 1fr); }
  .profile-transfer-summary { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-stat { padding: 14px; }
  .profile-stat strong { font-size: 20px; }
  .profile-section-head {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-transfer-btn--head { width: 100%; }
  .profile-transfer-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .profile-transfer-card__amount {
    grid-column: 2;
    justify-self: end;
    font-size: 16px;
  }
  .profile-topup { flex-direction: column; }
  .profile-topup .btn-outline { width: 100%; justify-content: center; }
  .profile-add-friend { flex-direction: column; }
  .profile-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .profile-order-compact {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 7px 8px;
  }
  .profile-order-delete--compact {
    position: absolute;
    top: 4px;
    right: 4px;
  }
  .profile-order--compact {
    position: relative;
    padding-right: 24px;
  }
  .profile-order-compact-side {
    align-items: flex-end;
  }
  .profile-request { flex-wrap: wrap; }
  .profile-request-actions { width: 100%; }
  .profile-request-actions button { flex: 1; }
}

/* ═══ CHAT & WALL ═══ */
.chat-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
  height: min(560px, calc(100dvh - 240px));
  min-height: 360px;
  max-height: 560px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.18);
}

.chat-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,.15);
  overflow-y: auto;
}

.chat-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.chat-list-item:hover { background: rgba(255,255,255,.03); }

.chat-list-item--active {
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
}

.chat-list-item img { border-radius: 50%; flex-shrink: 0; }

.chat-list-info {
  flex: 1;
  min-width: 0;
}

.chat-list-info strong {
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-list-info small {
  font-size: 11px;
  color: var(--dim);
}

.chat-unread {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--teal);
  color: #022018;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chat-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.12);
}

.chat-panel-head img { border-radius: 50%; }

.chat-panel-head strong { display: block; font-size: 14px; }
.chat-panel-head small { font-size: 11px; color: var(--muted); }

.chat-panel-head .profile-friend-btn { margin-left: auto; }

.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 200, 150, 0.35) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.35);
}

.chat-empty {
  margin: auto;
  color: var(--dim);
  font-size: 13px;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 85%;
}

.chat-msg--mine {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg img { border-radius: 50%; flex-shrink: 0; }

.chat-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.chat-msg--mine .chat-bubble {
  background: rgba(0,200,150,.12);
  border-color: rgba(0,200,150,.28);
}

.chat-bubble-name {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.chat-bubble p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.chat-bubble time {
  font-size: 10px;
  color: var(--dim);
}

.chat-compose {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.12);
}

.chat-compose input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.chat-compose input:focus {
  outline: none;
  border-color: rgba(0,200,150,.4);
}

.wall-compose {
  display: flex;
  gap: 12px;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(0,0,0,.2);
  border: 1px solid var(--border);
}

.wall-compose img {
  border-radius: 50%;
  flex-shrink: 0;
}

.wall-compose-input {
  flex: 1;
  min-width: 0;
}

.wall-compose textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  resize: vertical;
  min-height: 56px;
}

.wall-compose textarea:focus {
  outline: none;
  border-color: rgba(0,200,150,.4);
}

.wall-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wall-post {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid var(--border);
}

.wall-post-avatar { border-radius: 50%; flex-shrink: 0; }

.wall-post-body { flex: 1; min-width: 0; }

.wall-post-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wall-post-head strong { font-size: 13px; }

.wall-post-head time {
  font-size: 11px;
  color: var(--dim);
}

.wall-post-delete {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--dim);
  font-size: 16px;
  cursor: pointer;
}

.wall-post-delete:hover {
  background: rgba(255,100,100,.1);
  color: #ff8a8a;
}

.wall-post-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  word-break: break-word;
}

.profile-friend-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0,200,150,.35);
  background: var(--teal-soft);
  color: var(--teal);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.profile-friend-btn:hover {
  background: rgba(0,200,150,.2);
}

.profile-friend-actions--secondary {
  margin-top: 4px;
}

.profile-empty--compact {
  padding: 20px 16px;
}

.social-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.social-modal[hidden] { display: none; }

.social-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
}

.social-modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #121816;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  overflow: hidden;
}

.social-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.social-modal-head img { border-radius: 50%; }

.social-modal-head strong { display: block; font-size: 15px; }
.social-modal-head small { font-size: 11px; color: var(--dim); }

.social-modal-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.wall-feed--modal {
  overflow-y: auto;
  padding: 14px 18px 18px;
  flex: 1;
}

.wall-compose--modal {
  margin: 14px 18px 0;
}

body.modal-open { overflow: hidden; }

.discord-chat-card {
  width: min(560px, 100%);
  max-height: min(88vh, 720px);
}

.discord-chat-head .discord-chat-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.18);
  color: #8ea1ff;
  flex-shrink: 0;
}

.discord-chat-refresh {
  margin-left: auto;
  min-width: 34px;
  padding: 6px 10px;
}

.discord-chat-head .social-modal-close {
  margin-left: 0;
}

.discord-chat-widget {
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.discord-chat-widget iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.discord-chat-feed {
  flex: 1;
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discord-chat-status {
  margin: 0 0 4px;
  font-size: 11px;
  color: var(--dim);
  text-align: center;
}

.discord-chat-empty {
  margin: 0;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
}

.discord-chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
}

.discord-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.discord-chat-avatar--placeholder {
  display: block;
  background: rgba(88, 101, 242, 0.25);
}

.discord-chat-body {
  min-width: 0;
  flex: 1;
}

.discord-chat-msg strong {
  display: block;
  font-size: 12px;
  color: #8ea1ff;
  margin-bottom: 4px;
}

.discord-chat-msg p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.discord-chat-msg time {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--dim);
}

.discord-chat-msg--system {
  text-align: center;
  background: rgba(0, 200, 150, 0.08);
  border-color: rgba(0, 200, 150, 0.2);
  font-size: 12px;
  color: var(--muted);
}

.discord-chat-note {
  margin: 0;
  padding: 0 18px 10px;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.45;
}

.discord-chat-note code {
  font-size: 10px;
  color: var(--muted);
}

.discord-chat-note--warn {
  color: #f0c060;
}

.discord-chat-compose {
  padding: 0 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discord-chat-auth {
  padding: 0 18px 14px;
  text-align: center;
}

.discord-chat-auth p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.discord-chat-captcha {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discord-captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-captcha-box img {
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0a1210;
}

.discord-chat-captcha input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discord-chat-captcha input:focus {
  outline: none;
  border-color: rgba(0, 200, 150, 0.45);
}

.discord-chat-form-note {
  margin: 0;
  font-size: 11px;
  color: var(--dim);
  text-align: center;
  line-height: 1.4;
}

.discord-chat-guest {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.discord-chat-guest input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.discord-chat-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.discord-chat-row textarea {
  flex: 1;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  resize: vertical;
}

.discord-chat-row textarea:focus,
.discord-chat-guest input:focus {
  outline: none;
  border-color: rgba(88, 101, 242, 0.45);
}

.discord-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.nav a[data-open-discord-chat] {
  color: #aeb6ff;
}

.nav a[data-open-discord-chat]:hover {
  color: #d4d9ff;
}

@media (max-width: 900px) {
  .chat-layout {
    grid-template-columns: 1fr;
    height: min(520px, calc(100dvh - 200px));
    max-height: 520px;
  }
  .chat-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .chat-list-item {
    flex-shrink: 0;
    width: auto;
    min-width: 160px;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
}

/* —— Case opening —— */
.page--case {
  position: relative;
}

.page--case .case-main {
  position: relative;
  z-index: 1;
  padding: 18px 0 56px;
}

.case-wrap {
  max-width: 1040px;
}

.case-topbar {
  margin-bottom: 22px;
}

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(238,243,247,.72);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color .2s, transform .2s;
}

.case-back svg {
  width: 18px;
  height: 18px;
  opacity: .75;
}

.case-back:hover {
  color: var(--text);
  transform: translateX(-2px);
}

.case-rule {
  margin: 0;
  max-width: 760px;
  color: rgba(125,138,152,.92);
  font-size: 13px;
  line-height: 1.55;
}

.case-panel {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 26px;
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(8, 14, 18, .88) 0%, rgba(4, 8, 12, .94) 55%, rgba(6, 10, 14, .92) 100%);
  border: 1px solid rgba(0, 200, 150, .14);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}

.case-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 200, 150, .35), rgba(255, 255, 255, .04) 40%, rgba(232, 184, 74, .22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.case-panel__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.case-panel__glow--tl {
  width: 280px;
  height: 280px;
  top: -120px;
  left: -80px;
  background: rgba(0, 200, 150, .12);
}

.case-panel__glow--br {
  width: 240px;
  height: 240px;
  right: -60px;
  bottom: -100px;
  background: rgba(232, 184, 74, .08);
}

.case-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  text-align: left;
}

.case-hero__mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #f3cf63;
  background: linear-gradient(145deg, rgba(0, 200, 150, .14), rgba(232, 184, 74, .08));
  border: 1px solid rgba(0, 200, 150, .22);
  box-shadow: 0 10px 30px rgba(0, 200, 150, .1);
}

.case-hero__mark svg {
  width: 28px;
  height: 28px;
}

.case-hero__copy {
  min-width: 0;
}

.case-eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .08);
  border: 1px solid rgba(0, 200, 150, .2);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.case-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.05;
  background: linear-gradient(120deg, #fff 0%, #b8f5e4 45%, #f3cf63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-subtitle {
  margin: 0;
  max-width: 560px;
  color: rgba(170, 180, 192, .92);
  font-size: 14px;
  line-height: 1.6;
}

.case-subtitle strong {
  color: #f3cf63;
  font-weight: 800;
}

.case-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.case-stat-card {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: left;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
}

.case-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .1), transparent);
}

.case-stat-card--spins::before {
  background: linear-gradient(90deg, rgba(0, 200, 150, .65), rgba(0, 200, 150, .08));
}

.case-stat-card--pay::before {
  background: linear-gradient(90deg, rgba(232, 184, 74, .65), rgba(232, 184, 74, .08));
}

.case-stats-bar--ready .case-stat-card--spins {
  border-color: rgba(0, 200, 150, .28);
  box-shadow: 0 8px 28px rgba(0, 200, 150, .1);
}

.case-stat-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.case-stat-card__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  color: var(--muted);
  flex-shrink: 0;
}

.case-stat-card__icon svg {
  width: 15px;
  height: 15px;
}

.case-stat-card--spins .case-stat-card__icon {
  color: var(--teal);
  background: rgba(0, 200, 150, .1);
  border-color: rgba(0, 200, 150, .22);
}

.case-stat-card--pay .case-stat-card__icon {
  color: #f3cf63;
  background: rgba(232, 184, 74, .1);
  border-color: rgba(232, 184, 74, .22);
}

.case-stat-card__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-stat-card__body {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.case-stat-card__num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: rgba(238, 243, 247, .9);
  font-variant-numeric: tabular-nums;
}

.case-stat-card__num--gold {
  font-size: 24px;
  color: #f3cf63;
}

.case-stats-bar--ready .case-stat-card--spins .case-stat-card__num {
  color: var(--teal);
  text-shadow: 0 0 24px rgba(0, 200, 150, .35);
}

.case-stat-card__unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--dim);
}

.case-stats-bar--ready .case-stat-card--spins .case-stat-card__unit {
  color: rgba(0, 200, 150, .75);
}

.case-stage {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .32);
  border: 1px solid rgba(255, 255, 255, .06);
}

.case-roulette {
  position: relative;
  margin-bottom: 16px;
  transition: filter .3s;
}

.case-roulette--spinning {
  filter: saturate(1.12) brightness(1.04);
}

.case-roulette--spinning .case-laser__line {
  animation: case-laser-pulse .6s ease-in-out infinite alternate;
}

@keyframes case-laser-pulse {
  from { opacity: .75; box-shadow: 0 0 12px rgba(0, 200, 150, .5); }
  to { opacity: 1; box-shadow: 0 0 22px rgba(0, 200, 150, .85); }
}

.case-viewport-wrap {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}

.case-viewport {
  position: relative;
  overflow: hidden;
  height: 172px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0, rgba(255, 255, 255, .02) 1px, transparent 1px, transparent 48px);
  border: 1px solid rgba(0, 200, 150, .12);
  box-shadow:
    inset 0 0 50px rgba(0, 0, 0, .7),
    0 12px 36px rgba(0, 0, 0, .35);
}

.case-viewport::before,
.case-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 4;
  pointer-events: none;
}

.case-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 8, 10, .98), transparent);
}

.case-viewport::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(4, 8, 10, .98), transparent);
}

.case-laser {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 138px;
  z-index: 5;
  pointer-events: none;
}

.case-laser__line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--teal), transparent);
  box-shadow: 0 0 16px rgba(0, 200, 150, .65);
}

.case-laser__caret {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  filter: drop-shadow(0 0 6px rgba(0, 200, 150, .6));
}

.case-laser__caret--top {
  top: 2px;
  border-top: 9px solid var(--teal);
}

.case-laser__caret--bottom {
  bottom: 2px;
  border-bottom: 9px solid var(--teal);
}

.case-track {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  will-change: transform;
}

.case-card {
  position: relative;
  flex: 0 0 130px;
  width: 130px;
  height: 142px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(28, 34, 42, .96) 0%, rgba(12, 16, 22, .98) 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .2s, border-color .2s;
}

.case-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, .15);
}

.case-card--legendary .case-card__bar { background: linear-gradient(90deg, #ff6430, #ffb070); }
.case-card--epic .case-card__bar { background: linear-gradient(90deg, #aa5aff, #d8a0ff); }
.case-card--rare .case-card__bar { background: linear-gradient(90deg, #508cff, #90b8ff); }
.case-card--uncommon .case-card__bar { background: linear-gradient(90deg, var(--teal), #6eecc0); }
.case-card--common .case-card__bar { background: rgba(255, 255, 255, .2); }

.case-card-glow {
  position: absolute;
  inset: auto 14px 0;
  height: 44%;
  border-radius: 50%;
  filter: blur(18px);
  opacity: .55;
  pointer-events: none;
}

.case-card--legendary {
  border-color: rgba(255, 120, 60, .38);
  box-shadow: 0 0 24px rgba(255, 100, 40, .12), inset 0 1px 0 rgba(255, 120, 60, .12);
}
.case-card--legendary .case-card-glow { background: rgba(255, 100, 40, .45); }

.case-card--epic {
  border-color: rgba(170, 90, 255, .34);
  box-shadow: 0 0 22px rgba(170, 90, 255, .1);
}
.case-card--epic .case-card-glow { background: rgba(170, 90, 255, .4); }

.case-card--rare {
  border-color: rgba(80, 140, 255, .32);
}
.case-card--rare .case-card-glow { background: rgba(80, 140, 255, .35); }

.case-card--uncommon {
  border-color: rgba(0, 200, 150, .28);
}
.case-card--uncommon .case-card-glow { background: rgba(0, 200, 150, .28); }

.case-card--common .case-card-glow { background: rgba(255, 255, 255, .1); }

.case-card-name {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  color: rgba(238, 243, 247, .92);
  text-align: center;
  line-height: 1.25;
}

.case-prize-visual {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, .22);
  overflow: hidden;
  flex-shrink: 0;
}

.case-prize-visual--lg {
  width: 78px;
  height: 78px;
  border-radius: 12px;
}

.case-prize-visual__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.case-prize-visual--shop {
  padding: 0;
  background: transparent;
}

.case-prize-visual--shop .prod-visual,
.case-prize-visual--shop .product-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.case-prize-visual--shop .prod-visual__img,
.case-prize-visual--shop .prod-visual__img--lg {
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
}

.case-prize-visual--shop .crown {
  transform: scale(0.72);
}

.case-prize-visual--lg.case-prize-visual--shop .crown {
  transform: scale(0.88);
}

.case-prize-visual--balance {
  flex-direction: column;
  gap: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(232, 184, 74, .28) 0%, transparent 68%),
    linear-gradient(160deg, rgba(40, 32, 12, .9), rgba(12, 14, 18, .95));
  border: 1px solid rgba(232, 184, 74, .22);
  color: var(--gold);
  line-height: 1;
}

.case-prize-visual__balance {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.case-prize-visual--lg .case-prize-visual__balance {
  font-size: 15px;
}

.case-prize-visual--balance small {
  font-size: 10px;
  font-weight: 800;
  opacity: .85;
}

.case-prize-visual--empty {
  color: rgba(255, 255, 255, .35);
  font-size: 22px;
  font-weight: 700;
  border: 1px dashed rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .15);
}

.case-prize-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.case-prize-icon--lg {
  width: 78px;
  height: 78px;
  border-radius: 12px;
}

.case-prize-sub {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);
  letter-spacing: .04em;
}

.case-prize-icon--c4 {
  background:
    linear-gradient(145deg, #7a4020 0%, #c45c26 45%, #8f3a18 100%);
  border-radius: 8px;
}

.case-prize-icon--c4::before {
  content: "";
  position: absolute;
  inset: 10px 14px 18px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 3px;
}

.case-prize-icon--c4::after {
  content: "C4";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
  text-align: center;
}

.case-prize-icon--rocket {
  background: radial-gradient(circle at 50% 35%, #666, #1a1a1a);
  border-radius: 50%;
}

.case-prize-icon--rocket::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: 14px;
  height: 28px;
  border-radius: 50% 50% 20% 20%;
  background: linear-gradient(180deg, #ddd, #888);
}

.case-prize-icon--rocket::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #c94a2a;
}

.case-prize-icon--launcher {
  background: linear-gradient(180deg, #556b47, #2a3524);
}

.case-prize-icon--launcher::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 34%;
  width: 58%;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(180deg, #8a9580, #4f5a48);
}

.case-prize-icon--launcher::after {
  content: "";
  position: absolute;
  right: 16%;
  top: 31%;
  width: 18px;
  height: 16px;
  border-radius: 3px;
  background: #7a8472;
}

.case-prize-icon--bonus {
  background: radial-gradient(circle at 32% 28%, #ffe08a, #c8942a 55%, #8a5a12 100%);
  border-radius: 50%;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}

.case-prize-icon--bonus::after {
  content: "P";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 28px;
  color: #4a2f00;
}

.easy-coins-icon {
  position: relative;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe08a, #c8942a 55%, #8a5a12 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 220, 120, 0.35);
  overflow: hidden;
}

.easy-coins-icon__text {
  font-weight: 900;
  color: #4a2f00;
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.bp-reward-preview .easy-coins-icon,
.bp-level-card-icon .easy-coins-icon,
.profile-order-item__visual .easy-coins-icon {
  border-radius: 50%;
}

.case-prize-icon--master,
.case-prize-icon--vip,
.case-prize-icon--legend {
  border-radius: 50%;
  overflow: hidden;
}

.case-prize-icon--master {
  background: radial-gradient(circle at 50% 20%, #6b3fa0, #2a1840);
}

.case-prize-icon--master::before {
  content: "";
  position: absolute;
  inset: 18px 22px 24px;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(180deg, #c89bff, #7a4db8);
}

.case-prize-icon--master::after {
  content: "M";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}

.case-prize-icon--vip {
  background: radial-gradient(circle at 50% 20%, #2a6ea8, #12304a);
}

.case-prize-icon--vip::before {
  content: "";
  position: absolute;
  inset: 16px 20px 22px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, #8fd0ff, #4a8ec4);
}

.case-prize-icon--vip::after {
  content: "VIP";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 10px;
  color: #fff;
}

.case-prize-icon--legend {
  background: radial-gradient(circle at 50% 20%, #a83220, #401610);
}

.case-prize-icon--legend::before {
  content: "";
  position: absolute;
  inset: 16px 20px 22px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, #ff9a6a, #d44a28);
}

.case-prize-icon--legend::after {
  content: "L";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}

.case-prize-icon--empty {
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.05) 6px,
    rgba(255,255,255,.02) 6px,
    rgba(255,255,255,.02) 12px
  );
}

.case-prize-icon--empty::after {
  content: "—";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--dim);
}

.case-topup-hint {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 16px;
  max-width: none;
  padding: 0;
  border: none;
  background: none;
}

.case-topup-hint__icon {
  width: 40px;
  min-height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: #022018;
  background: linear-gradient(180deg, var(--teal), #00a070);
  box-shadow: 0 6px 18px rgba(0, 200, 150, .22);
}

.case-topup-hint p {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 200, 150, .06);
  border: 1px solid rgba(0, 200, 150, .16);
  color: rgba(220, 225, 232, .9);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  flex: 1;
}

.case-topup-hint a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: 0;
  min-height: auto;
  border-radius: 0;
  background: none;
  border: none;
}

.case-speed {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.case-speed:hover {
  border-color: rgba(0, 200, 150, .22);
  background: rgba(0, 200, 150, .06);
}

.case-speed-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.case-speed-value {
  font-size: 13px;
  color: var(--teal);
}

.case-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.case-demo-btn {
  min-width: 110px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.case-demo-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
}

.case-demo-btn:disabled,
.case-spin-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.case-spin-btn {
  position: relative;
  overflow: hidden;
  min-width: 200px;
  padding: 15px 38px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #00d4a0 0%, #00c896 40%, #f0c85a 100%);
  color: #04140f;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(0, 200, 150, .28),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s, filter .15s;
}

.case-spin-btn__shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  animation: case-shine 3.5s ease-in-out infinite;
}

@keyframes case-shine {
  0%, 70% { left: -120%; }
  100% { left: 180%; }
}

.case-spin-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.case-result {
  margin: 12px auto 0;
  max-width: 640px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  background: rgba(0,200,150,.1);
  border: 1px solid rgba(0,200,150,.25);
  color: var(--teal);
  animation: case-result-in .35s ease;
}

@keyframes case-result-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.case-result--legendary {
  background: rgba(255,120,60,.12);
  border-color: rgba(255,120,60,.32);
  color: #ff9a6a;
}

.case-result--epic {
  background: rgba(170,90,255,.12);
  border-color: rgba(170,90,255,.32);
  color: #c89bff;
}

.case-result--rare {
  background: rgba(80,140,255,.12);
  border-color: rgba(80,140,255,.28);
  color: #8fb8ff;
}

.case-footnote {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 12px;
}

.case-contents-section {
  margin-top: 28px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8, 14, 18, .82), rgba(4, 8, 12, .92));
  border: 1px solid rgba(0, 200, 150, .14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
}

.case-contents-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.case-contents-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 150, .3), transparent);
}

.case-contents-title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

.case-contents-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.case-content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .07);
  text-align: center;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.case-content-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 200, 150, .2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

.case-content-card__glow {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  border-radius: 50%;
  filter: blur(16px);
  opacity: .65;
}

.case-content-card strong {
  position: relative;
  z-index: 1;
  font-size: 12px;
  line-height: 1.35;
}

.case-content-card__rarity {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-content-card--legendary {
  border-color: rgba(255,120,60,.35);
  box-shadow: inset 0 -3px 0 rgba(255,120,60,.75);
}
.case-content-card--legendary .case-content-card__glow { background: rgba(255,100,40,.55); }
.case-content-card--legendary .case-content-card__rarity { color: #ff9a6a; }

.case-content-card--epic {
  border-color: rgba(170,90,255,.32);
  box-shadow: inset 0 -3px 0 rgba(170,90,255,.75);
}
.case-content-card--epic .case-content-card__glow { background: rgba(170,90,255,.5); }
.case-content-card--epic .case-content-card__rarity { color: #c89bff; }

.case-content-card--rare {
  border-color: rgba(80,140,255,.28);
  box-shadow: inset 0 -3px 0 rgba(80,140,255,.7);
}
.case-content-card--rare .case-content-card__glow { background: rgba(80,140,255,.45); }
.case-content-card--rare .case-content-card__rarity { color: #8fb8ff; }

.case-content-card--uncommon {
  border-color: rgba(0,200,150,.24);
  box-shadow: inset 0 -3px 0 rgba(0,200,150,.55);
}
.case-content-card--uncommon .case-content-card__glow { background: rgba(0,200,150,.35); }

.case-content-card--common {
  box-shadow: inset 0 -3px 0 rgba(255,255,255,.18);
}
.case-content-card--common .case-content-card__glow { background: rgba(255,255,255,.12); }

.case-promo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232,184,74,.1) 0%, transparent 38%),
    linear-gradient(180deg, rgba(16,24,22,.96) 0%, rgba(10,14,12,.98) 100%);
  border: 1px solid rgba(232,184,74,.28);
  box-shadow: 0 12px 32px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  transition: border-color .22s, transform .22s, box-shadow .22s;
}

.case-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image:
    linear-gradient(rgba(232,184,74,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,184,74,.8) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.case-promo:hover {
  border-color: rgba(232,184,74,.5);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.34), 0 0 0 1px rgba(232,184,74,.08);
}

.case-promo-visual {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.case-promo-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(232,184,74,.12) 0%, transparent 58%),
    linear-gradient(155deg, rgba(36,28,16,.95) 0%, rgba(10,9,8,.98) 100%);
  border: 1px solid rgba(232,184,74,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -8px 16px rgba(0,0,0,.35);
}

.case-promo-scene::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}

.case-promo-crate {
  width: 68px;
  height: 68px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: case-promo-float 3.5s ease-in-out infinite;
}

@keyframes case-promo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-1deg); }
}

.case-promo-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  border: 1px solid;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  animation: case-promo-chip-bob 3s ease-in-out infinite;
}

.case-promo-chip--star {
  top: -6px;
  left: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(170,90,255,.22);
  border-color: rgba(170,90,255,.55);
  color: #d4a8ff;
  font-size: 11px;
  animation-delay: 0s;
}

.case-promo-chip--vip {
  top: -5px;
  right: -10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(80,140,255,.18);
  border-color: rgba(80,140,255,.5);
  color: #9ec0ff;
  animation-delay: .6s;
}

.case-promo-chip--bonus {
  bottom: -4px;
  left: -6px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(232,184,74,.16);
  border-color: rgba(232,184,74,.5);
  color: #f3cf63;
  animation-delay: 1.2s;
}

@keyframes case-promo-chip-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.case-promo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.case-promo-text strong {
  font-size: 19px;
  color: var(--gold);
  letter-spacing: -.01em;
}

.case-promo-text span {
  color: #8a9691;
  font-size: 13px;
  line-height: 1.45;
}

.case-promo-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0c85a 0%, #c8942a 100%);
  color: #2a1a00;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(232,184,74,.28), inset 0 1px 0 rgba(255,255,255,.25);
  transition: filter .2s, transform .2s;
}

.case-promo:hover .case-promo-btn {
  filter: brightness(1.06);
}

.profile-wallet-case {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.profile-wallet-case strong { color: var(--gold); }
.profile-wallet-case a { color: var(--teal); font-weight: 700; }

.profile-order--case {
  border-left: 3px solid var(--gold);
}

.profile-order-case-badge {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.header--compact .nav { display: none; }

@media (max-width: 820px) {
  .case-hero {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .case-controls {
    flex-direction: column;
    padding-top: 52px;
    min-height: 0;
  }
  .case-speed {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
  }
  .case-actions { width: 100%; justify-content: center; }
  .case-topup-hint {
    flex-direction: column;
    text-align: center;
  }
  .case-topup-hint p { text-align: center; }
  .case-stats-bar {
    max-width: 100%;
  }
  .case-contents-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .case-stats-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .case-panel { padding: 20px 14px 18px; }
  .case-stage { padding: 14px 12px 12px; }
  .case-spin-btn { flex: 1; min-width: 0; }
  .case-contents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-promo {
    flex-direction: column;
    text-align: center;
  }

  .case-promo-visual {
    margin-inline: auto;
  }

  .case-promo-btn {
    width: 100%;
    text-align: center;
  }
}

/* —— Battle Pass —— */
.page--battlepass {
  position: relative;
}

.page--battlepass .bg {
  display: none;
}

.bp-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bp-scene-video {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  filter: saturate(.85) brightness(.42);
}

.bp-scene-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 25%, rgba(0, 200, 150, .08), transparent 55%),
    linear-gradient(180deg, rgba(2, 8, 10, .15) 0%, rgba(2, 8, 10, .78) 38%, rgba(2, 8, 10, .96) 100%);
}

.bp-scene-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .5;
}

.bp-scene-glow--olive {
  width: 520px;
  height: 320px;
  top: 12%;
  left: 8%;
  background: rgba(0, 200, 150, .12);
}

.page--battlepass .bp-main {
  position: relative;
  z-index: 1;
  padding: 20px 0 48px;
}

.bp-wrap {
  max-width: 1280px;
}

.bp-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bp-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 18px;
  align-items: stretch;
}

.bp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bp-season-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .08);
  border: 1px solid rgba(0, 200, 150, .18);
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.bp-season-kicker svg {
  width: 13px;
  height: 13px;
}

.bp-season-title {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  background: linear-gradient(120deg, #fff 0%, #b8f5e4 55%, #f3cf63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bp-block {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .06);
}

.bp-block-title {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(238, 243, 247, .48);
}

.bp-level-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.bp-level-num {
  min-width: 30px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.bp-level-num--current {
  background: rgba(0, 200, 150, .2);
  border: 1px solid rgba(0, 200, 150, .35);
  color: var(--teal);
}

.bp-level-track,
.bp-task-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}

.bp-level-fill,
.bp-task-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #3dd4a8);
  box-shadow: 0 0 12px rgba(0, 200, 150, .35);
}

.bp-value-row,
.bp-task-progress {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(238, 243, 247, .58);
}

.bp-value-row strong,
.bp-task-progress strong {
  color: #eef3f7;
  font-weight: 700;
}

.bp-task-locked {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(248, 113, 113, .08);
  border: 1px solid rgba(248, 113, 113, .22);
  color: #fca5a5;
  font-size: 12px;
  line-height: 1.45;
}

.bp-daily-limit {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 200, 150, .18);
  background: rgba(0, 200, 150, .06);
  font-size: 12px;
  color: var(--muted);
}

.bp-daily-limit strong {
  color: var(--teal);
}

.bp-daily-limit__hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--dim);
}

.bp-daily-limit--reached {
  border-color: rgba(251, 191, 36, .28);
  background: rgba(251, 191, 36, .08);
}

.bp-daily-limit__msg {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
}

.bp-task-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.bp-task-head img {
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .06);
}

.bp-task-text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.bp-reward-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-reward-preview img {
  border-radius: 10px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(232, 184, 74, .2);
}

.bp-reward-preview__icon img {
  border-radius: 10px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(232, 184, 74, .2);
}

.bp-reward-preview-copy,
.bp-reward-preview__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-reward-preview__copy strong {
  font-size: 14px;
  font-weight: 800;
  color: #f3cf63;
}

.bp-reward-preview__copy span {
  font-size: 11px;
  color: rgba(238, 243, 247, .45);
}

.bp-reward-preview-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-reward-preview-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(238, 243, 247, .45);
}

.bp-reward-preview-name {
  font-size: 14px;
  font-weight: 800;
  color: #f3cf63;
}

.bp-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 200, 150, .1);
  border: 1px solid rgba(0, 200, 150, .28);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.bp-premium-badge svg {
  width: 16px;
  height: 16px;
}

.bp-premium-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 200, 150, .08) 0%, rgba(0, 0, 0, .35) 55%);
  border: 1px solid rgba(0, 200, 150, .2);
  text-align: left;
}

.bp-premium-cta--owned {
  flex-direction: row;
  align-items: center;
  background: linear-gradient(145deg, rgba(0, 200, 150, .12) 0%, rgba(0, 0, 0, .3) 100%);
}

.bp-premium-owned-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 200, 150, .12);
  border: 1px solid rgba(0, 200, 150, .28);
  color: #f3cf63;
}

.bp-premium-owned-mark svg {
  width: 26px;
  height: 26px;
}

.bp-premium-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}

.bp-premium-eyebrow svg {
  width: 14px;
  height: 14px;
}

.bp-premium-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.25;
}

.bp-premium-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 4px;
  color: #f3cf63;
}

.bp-premium-icon svg {
  width: 18px;
  height: 18px;
}

.bp-premium-pill {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f3cf63, #e8b84a);
  color: #111;
  font-size: .82em;
  font-weight: 900;
  vertical-align: middle;
}

.bp-premium-copy p {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(238, 243, 247, .68);
  line-height: 1.45;
}

.bp-premium-roi {
  color: rgba(238, 243, 247, .9) !important;
  font-weight: 700;
}

.bp-premium-perks {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bp-premium-perks li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  color: rgba(238, 243, 247, .62);
  line-height: 1.4;
}

.bp-premium-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.bp-premium-wipe {
  font-size: 11px !important;
  color: rgba(238, 243, 247, .42) !important;
}

.bp-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, #00a87a 100%);
  color: #04120e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 200, 150, .28);
  transition: transform .15s, filter .15s, box-shadow .15s;
}

.bp-buy-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 200, 150, .35);
}

.bp-buy-btn__label {
  flex: 1;
  text-align: left;
}

.bp-buy-btn__price {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .2);
  color: #fff;
  font-size: 12px;
}

.bp-track-section {
  position: relative;
  padding: 18px 18px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .05);
}

.bp-track-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bp-track-head h3,
.bp-track-title {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(238, 243, 247, .5);
}

.bp-track-meta {
  font-size: 12px;
  color: rgba(238, 243, 247, .45);
}

.bp-track-meta strong {
  color: var(--teal);
  font-weight: 800;
}

.bp-track-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.bp-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 38px 4px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 200, 150, .25) transparent;
}

.bp-track-arrow {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0, 200, 150, .2);
  background: rgba(0, 0, 0, .45);
  color: var(--teal);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, border-color .15s;
}

.bp-track-arrow:hover {
  background: rgba(0, 200, 150, .12);
  border-color: rgba(0, 200, 150, .4);
}

.bp-track-arrow svg {
  width: 18px;
  height: 18px;
}

.bp-level-card {
  position: relative;
  flex: 0 0 148px;
  scroll-snap-align: center;
  min-height: 196px;
  padding: 12px 10px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 24, 28, .9) 0%, rgba(8, 12, 14, .95) 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.bp-level-card:hover {
  transform: translateY(-2px);
}

.bp-level-card--active {
  border-color: rgba(0, 200, 150, .45);
  box-shadow: 0 0 0 1px rgba(0, 200, 150, .2), 0 14px 36px rgba(0, 0, 0, .4);
}

.bp-level-card--locked {
  opacity: .65;
}

.bp-level-card--done::after {
  content: '✓';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 200, 150, .25);
  border: 1px solid rgba(0, 200, 150, .4);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.bp-level-card-bar {
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}

.bp-level-card-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #3dd4a8);
}

.bp-skip-btn {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3cf63, #e8b84a);
  color: #111;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232, 184, 74, .25);
}

.bp-skip-btn:hover {
  filter: brightness(1.06);
}

.bp-level-card-num {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(238, 243, 247, .45);
}

.bp-level-lock {
  position: absolute;
  top: 9px;
  left: 9px;
  color: rgba(238, 243, 247, .35);
}

.bp-level-lock svg {
  width: 13px;
  height: 13px;
}

.bp-level-card-icon {
  display: grid;
  place-items: center;
  height: 68px;
  margin: 10px 0 8px;
}

.bp-level-card-reward-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 8px 0 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.bp-level-card-reward-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(243, 207, 99, .22);
}

.bp-level-card-reward-icon img {
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45));
}

.bp-level-card-reward-name {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  color: #f3cf63;
}

.bp-level-card-foot {
  margin-top: auto;
  padding-top: 8px;
}

.bp-claim-btn {
  display: block;
  width: 100%;
  padding: 8px 6px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #3dd4a8);
  color: #041410;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}

.bp-claim-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.bp-claim-btn:disabled,
.bp-claim-btn--wait {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(238, 243, 247, .55);
  cursor: default;
}

.bp-claim-btn--done {
  display: block;
  width: 100%;
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(0, 200, 150, .12);
  border: 1px solid rgba(0, 200, 150, .28);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.bp-claim-btn--muted {
  display: block;
  width: 100%;
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  color: rgba(238, 243, 247, .35);
  font-size: 10px;
  font-weight: 800;
}

.bp-level-card-icon img {
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
}

.bp-level-card-task {
  margin: 0;
  flex: 1;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(238, 243, 247, .62);
}

.bp-level-card-reward {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(243, 207, 99, .75);
}

.bp-level-card-reward img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.bp-note {
  margin: 4px 0 0;
  font-size: 11px;
  color: rgba(238, 243, 247, .38);
  text-align: center;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .bp-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .bp-level-card {
    flex-basis: 128px;
    min-height: 168px;
  }

  .bp-track-wrap {
    grid-template-columns: 1fr;
  }

  .bp-track-arrow {
    display: none;
  }
}

/* —— Admin dashboard —— */
.admin-body {
  overflow-x: hidden;
  overflow-y: auto;
}

.admin-bg {
  opacity: .7;
}

.page--admin {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.profile-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 200, 150, .28);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.profile-admin-btn svg {
  width: 16px;
  height: 16px;
}

.profile-admin-btn:hover {
  background: rgba(0, 200, 150, .18);
  border-color: rgba(0, 200, 150, .45);
  box-shadow: 0 0 20px var(--teal-glow);
}

.adm-shell {
  display: grid;
  grid-template-columns: 292px 1fr;
  min-height: 100vh;
  align-items: start;
}

.adm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 16px;
  background: rgba(6, 10, 12, .88);
  border-right: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  overflow-y: auto;
}

.adm-logo {
  display: block;
  padding: 4px 6px 10px;
  text-decoration: none;
}

.adm-logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.adm-user-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}

.adm-user-card img {
  grid-row: span 2;
  border-radius: 50%;
  object-fit: cover;
}

.adm-user-meta strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-user-meta code {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--text-muted);
  word-break: break-all;
}

.adm-owner {
  display: inline-block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #ff8a8a;
}

.adm-steam-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}

.adm-steam-link svg {
  width: 14px;
  height: 14px;
}

.adm-steam-link:hover {
  color: var(--teal);
}

.adm-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.adm-search input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .25);
  color: #eef3f7;
  font-size: 13px;
}

.adm-search button {
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: var(--teal);
  color: #041510;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.adm-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.adm-nav-item,
.adm-nav-group-btn,
.adm-nav-child {
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(238, 243, 247, .72);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.adm-nav-item,
.adm-nav-group-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
}

.adm-nav-icon svg {
  width: 18px;
  height: 18px;
  opacity: .85;
}

.adm-nav-item:hover,
.adm-nav-group-btn:hover,
.adm-nav-child:hover {
  background: rgba(255, 255, 255, .04);
  color: #eef3f7;
}

.adm-nav-item--active,
.adm-nav-child--active {
  background: var(--teal-soft) !important;
  color: var(--teal) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 200, 150, .18);
}

.adm-nav-chevron {
  margin-left: auto;
  transition: transform .2s;
}

.adm-nav-chevron svg {
  width: 16px;
  height: 16px;
  opacity: .5;
}

.adm-nav-group--open .adm-nav-chevron {
  transform: rotate(180deg);
}

.adm-nav-children {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 4px 38px;
}

.adm-nav-group--open .adm-nav-children {
  display: flex;
}

.adm-nav-child {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.adm-nav-icon--child svg {
  width: 14px;
  height: 14px;
  opacity: .85;
}

.adm-transfer-arrow {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.adm-muted {
  color: var(--text-muted);
  font-size: 11px;
}

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

.adm-summary-grid em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: rgba(238, 243, 247, .55);
}

.adm-chart-wrap--tall {
  min-height: 260px;
}

.adm-chart-wrap--tall canvas {
  min-height: 240px;
}

.adm-back {
  margin-top: auto;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}

.adm-back:hover {
  color: var(--teal);
}

.adm-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.adm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.adm-topbar h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
}

.adm-topbar-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.adm-main {
  flex: 1;
  padding: 18px 28px 48px;
}

.adm-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.adm-stat {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(8, 14, 16, .72);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.adm-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.adm-stat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.adm-stat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  opacity: .75;
}

.adm-stat-value {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 6px;
}

.adm-stat-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.adm-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(8, 14, 16, .72);
  border: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 16px;
}

.adm-card--wide {
  padding-bottom: 20px;
}

.adm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.adm-card-head h3 {
  margin: 0;
  font-size: 1rem;
}

.adm-card-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

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

.adm-quick {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
}

.adm-quick-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 900;
}

.adm-quick h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.adm-quick p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.adm-link-btn {
  padding: 0;
  border: none;
  background: none;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.adm-link-btn:hover {
  text-decoration: underline;
}

.adm-done {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--online);
}

.adm-done--pending {
  color: #e8b84a;
}

.adm-orders {
  list-style: none;
  margin: 0;
  padding: 0;
}

.adm-order {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.adm-order-main {
  min-width: 0;
  flex: 1;
}

.adm-order-product {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.adm-order-meta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.adm-order-user {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--teal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.adm-order-user:hover {
  color: #5eecc8;
}

.adm-order-id {
  font-size: 11px;
  color: rgba(238, 243, 247, .45);
}

.adm-order-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.adm-orders-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.adm-orders-pager-info {
  font-size: 12px;
  color: var(--text-muted);
}

.adm-orders-pager-btns {
  display: flex;
  gap: 8px;
}

.adm-orders-pager-btns .adm-pill-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.adm-order:last-child {
  border-bottom: none;
}

.adm-order code {
  display: block;
  font-size: 12px;
  color: var(--teal);
  margin-bottom: 2px;
}

.adm-order span {
  font-size: 12px;
  color: var(--text-muted);
}

.adm-order time {
  font-size: 12px;
  color: rgba(238, 243, 247, .55);
  white-space: nowrap;
}

.adm-order--danger {
  border-left: 3px solid #ef4444;
  padding-left: 10px;
}

.adm-order--warn {
  border-left: 3px solid #f59e0b;
  padding-left: 10px;
}

.adm-activity-type--danger { color: #f87171 !important; }
.adm-activity-type--warn { color: #fbbf24 !important; }
.adm-activity-type--ok { color: var(--teal) !important; }
.adm-activity-type--muted { color: rgba(238, 243, 247, .45) !important; }

.adm-activity-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(238, 243, 247, .72);
}

.adm-card--activity-hero {
  background: linear-gradient(135deg, rgba(0, 200, 150, .12) 0%, rgba(15, 23, 20, .95) 55%);
  border: 1px solid rgba(0, 200, 150, .22);
}

.adm-activity-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 4px 0;
}

.adm-activity-hero h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.adm-activity-hero p {
  margin: 0;
  font-size: 13px;
  color: rgba(238, 243, 247, .65);
}

.adm-activity-stats {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.adm-activity-stats div {
  text-align: center;
  min-width: 64px;
}

.adm-activity-stats span {
  display: block;
  font-size: 11px;
  color: rgba(238, 243, 247, .5);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-activity-stats strong {
  font-size: 1.35rem;
  color: var(--teal);
}

.adm-card--activity-feed {
  padding-top: 8px;
}

.adm-activity-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.adm-activity-item {
  display: grid;
  grid-template-columns: 20px 44px 1fr;
  gap: 12px;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  position: relative;
}

.adm-activity-item:last-child {
  border-bottom: none;
}

.adm-activity-rail {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.adm-activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 200, 150, .55);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, .15);
}

.adm-activity-item--danger .adm-activity-dot {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .2);
}

.adm-activity-item--warn .adm-activity-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .2);
}

.adm-activity-item--muted .adm-activity-dot {
  background: rgba(238, 243, 247, .35);
  box-shadow: none;
}

.adm-activity-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 150, .12);
  color: var(--teal);
}

.adm-activity-icon svg {
  width: 22px;
  height: 22px;
}

.adm-activity-icon--danger {
  background: rgba(239, 68, 68, .15);
  color: #f87171;
}

.adm-activity-icon--warn {
  background: rgba(245, 158, 11, .15);
  color: #fbbf24;
}

.adm-activity-icon--muted {
  background: rgba(255, 255, 255, .06);
  color: rgba(238, 243, 247, .55);
}

.adm-activity-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.adm-activity-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--teal);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 200, 150, .12);
}

.adm-activity-item--danger .adm-activity-badge {
  color: #fca5a5;
  background: rgba(239, 68, 68, .15);
}

.adm-activity-top time {
  font-size: 12px;
  color: rgba(238, 243, 247, .45);
  white-space: nowrap;
}

.adm-activity-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.adm-activity-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .1);
}

.adm-activity-user {
  font-size: 15px;
  font-weight: 700;
  color: #eef3f7;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.adm-activity-user:hover {
  color: var(--teal);
}

.adm-activity-desc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(238, 243, 247, .72);
}

.adm-activity-amount {
  margin-left: auto;
  font-size: 15px;
  font-weight: 800;
  color: var(--teal);
  white-space: nowrap;
}

.adm-activity-amount.is-negative {
  color: #fbbf24;
}

.adm-ghost-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: rgba(238, 243, 247, .8);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.adm-ghost-btn:hover {
  border-color: rgba(0, 200, 150, .35);
  color: var(--teal);
}

.adm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.adm-table-wrap {
  overflow-x: auto;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.adm-table th,
.adm-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  text-align: left;
  vertical-align: middle;
}

.adm-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.adm-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-user img {
  border-radius: 50%;
  object-fit: cover;
}

.adm-user em.adm-owner {
  display: block;
  margin-top: 2px;
}

.adm-count {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 11px;
  font-weight: 800;
}

.adm-danger-btn {
  padding: 6px 10px;
  border: 1px solid rgba(255, 120, 120, .3);
  border-radius: 8px;
  background: rgba(255, 80, 80, .08);
  color: #ff9a9a;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.adm-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.adm-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.adm-feed-item strong {
  display: block;
}

.adm-feed-item span,
.adm-feed-item time {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.adm-kv {
  margin: 0;
}

.adm-kv div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.adm-kv dt {
  color: var(--text-muted);
}

.adm-kv dd {
  margin: 0;
  text-align: right;
}

.adm-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.adm-pill--ok {
  background: var(--teal-soft);
  color: var(--teal);
}

.adm-pill--bad {
  background: rgba(255, 100, 100, .12);
  color: #ff9a9a;
}

.adm-pill--warn {
  background: rgba(255, 193, 7, .12);
  color: #ffc107;
}

.adm-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-card--platega {
  border-color: rgba(45, 212, 191, .2);
}

.adm-platega-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.adm-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.adm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.adm-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.adm-form-grid label span {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-form-grid input,
.adm-form-grid select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.adm-form-grid small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.adm-form-span2 {
  grid-column: 1 / -1;
}

.adm-kv--compact {
  margin-top: 4px;
}

.adm-copy-line {
  word-break: break-all;
}

.adm-platega-recent {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.adm-platega-recent h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.adm-settings {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-settings-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-settings-block .adm-card-head h3 {
  color: #2dd4bf;
}

.adm-maint-countdown {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.16);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(45, 212, 191, 0.08), transparent 55%),
    rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-maint-countdown__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.adm-maint-countdown__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--teal);
}

.adm-maint-countdown__icon svg {
  width: 20px;
  height: 20px;
}

.adm-maint-countdown__head strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.adm-maint-countdown__head p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.adm-maint-countdown__preview {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.14);
  font-size: 12px;
  color: var(--muted);
}

.adm-maint-countdown__preview strong {
  color: var(--teal);
}

.adm-maint-countdown__preview strong {
  color: var(--teal);
}

.adm-topup-panel-settings {
  margin: 4px 0 8px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.16);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(45, 212, 191, 0.08), transparent 55%),
    rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-topup-panel-settings__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.adm-topup-panel-settings__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--teal);
}

.adm-topup-panel-settings__icon svg {
  width: 20px;
  height: 20px;
}

.adm-topup-panel-settings__head strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.adm-topup-panel-settings__head p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.adm-topup-panel-toggles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.adm-topup-panel-toggle-wrap {
  min-width: 0;
}

.adm-topup-panel-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.adm-topup-panel-toggle.is-on,
.adm-topup-panel-toggle[aria-pressed="true"] {
  border-color: rgba(45, 212, 191, 0.4);
  background: rgba(45, 212, 191, 0.08);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12) inset;
}

.adm-topup-panel-toggle__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.adm-topup-panel-toggle__icon--sbp {
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
}

.adm-topup-panel-toggle__icon--card {
  background: rgba(147, 197, 253, 0.12);
  color: #93c5fd;
  font-size: 18px;
}

.adm-topup-panel-toggle__icon--funpay {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
}

.adm-topup-panel-toggle__label {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  line-height: 1.35;
}

@media (max-width: 760px) {
  .adm-topup-panel-toggles {
    grid-template-columns: 1fr;
  }
}

.adm-settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.adm-settings-field span {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-settings-field input,
.adm-settings-field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  resize: vertical;
}

.adm-settings-field--full {
  width: 100%;
}

.adm-settings-note {
  padding: 14px 16px;
  border-color: rgba(45, 212, 191, .25);
  background: rgba(45, 212, 191, .06);
}

.adm-settings-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.adm-settings-note strong {
  color: #2dd4bf;
}

.adm-settings-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.adm-settings-save {
  min-width: 220px;
}

.adm-settings-updated {
  color: var(--muted);
  font-size: 12px;
}

.adm-widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.adm-servers-monitor .adm-settings-block {
  padding: 14px 16px;
  margin-bottom: 10px;
}

.adm-card-head--compact {
  margin-bottom: 10px;
}

.adm-card-head--compact h3 {
  font-size: .92rem;
}

.adm-card-head__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-form-grid--compact {
  gap: 8px 10px;
}

.adm-form-grid--compact label span {
  font-size: 11px;
}

.adm-form-grid--compact input,
.adm-form-grid--compact select,
.adm-form-grid--compact textarea {
  padding: 7px 10px;
  font-size: 13px;
}

.adm-form-grid--compact textarea {
  min-height: 52px;
}

.adm-widget-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 6px;
}

.adm-check--chip {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .15);
  font-size: 12px;
}

.adm-note--compact {
  margin: 0 0 10px;
  font-size: 11px;
}

.adm-settings-actions--compact {
  margin-top: 4px;
  gap: 10px;
}

.adm-settings-actions--compact .adm-settings-save {
  min-width: 160px;
}

.btn-outline--sm {
  padding: 5px 10px;
  font-size: 12px;
}

.adm-server-editors--compact {
  gap: 8px;
}

.adm-server-editor {
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
  overflow: hidden;
}

.adm-server-editor__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  list-style: none;
}

.adm-server-editor__summary::-webkit-details-marker {
  display: none;
}

.adm-server-editor__summary::before {
  content: "▸";
  color: var(--muted);
  font-size: 11px;
  transition: transform .15s;
}

.adm-server-editor[open] .adm-server-editor__summary::before {
  transform: rotate(90deg);
}

.adm-server-editor__thumb {
  width: 52px;
  height: 30px;
  object-fit: cover;
  border-radius: 6px;
  background: #0d1218;
  flex-shrink: 0;
}

.adm-server-editor__title {
  font-weight: 700;
  font-size: 13px;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-server-editor__pill {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

.adm-server-editor__pill--online {
  background: rgba(61, 220, 132, .12);
  color: var(--online);
}

.adm-server-editor__pill--offline {
  background: rgba(255, 107, 107, .12);
  color: #ff8a8a;
}

.adm-server-editor__pill--maintenance {
  background: rgba(255, 193, 7, .12);
  color: #ffc107;
}

.adm-server-editor__meta {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}

.adm-server-editor__ip {
  color: var(--muted);
  font-size: 11px;
  flex-shrink: 0;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-server-editor__toggle {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
}

.adm-server-editor__delete {
  flex-shrink: 0;
  margin-left: 4px;
}

.adm-server-editor__body {
  padding: 0 12px 12px;
  border-top: 1px solid var(--border);
}

.adm-server-editors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-bp-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-bp-ranges .is-active {
  border-color: var(--teal);
  color: var(--teal);
}

.adm-bp-editors {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: min(70vh, 720px);
  overflow: auto;
  padding-right: 4px;
}

.adm-bp-editor {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
}

.adm-bp-editor__summary {
  display: grid;
  grid-template-columns: 28px 24px minmax(100px, 1fr) auto minmax(80px, 1.1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
}

.adm-bp-editor__summary::-webkit-details-marker {
  display: none;
}

.adm-bp-editor__summary::before {
  content: '▸';
  color: var(--muted);
  font-size: 12px;
}

.adm-bp-editor[open] .adm-bp-editor__summary::before {
  content: '▾';
}

.adm-bp-editor__num {
  font-weight: 800;
  color: var(--teal);
}

.adm-bp-editor__thumb {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  border-radius: 4px;
  object-fit: contain;
  background: rgba(0, 0, 0, .35);
  flex-shrink: 0;
  display: block;
}

.adm-bp-editor__thumb--summary,
.adm-bp-editor__thumb-wrap {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.adm-bp-editor__thumb-wrap img,
.adm-bp-editor__thumb-wrap .easy-coins-icon {
  width: 22px;
  height: 22px;
}

.adm-bp-editor[open] .adm-bp-editor__thumb--summary,
.adm-bp-editor[open] .adm-bp-editor__thumb-wrap {
  display: none;
}

.adm-bp-editor__title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-bp-editor__pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.adm-bp-editor__pill--premium {
  background: rgba(255, 196, 77, .15);
  color: #ffc44d;
  border: 1px solid rgba(255, 196, 77, .35);
}

.adm-bp-editor__meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-bp-editor__value {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.adm-bp-editor__body {
  padding: 8px 10px 10px;
  border-top: 1px solid var(--border);
}

.adm-bp-item-field {
  margin: 0;
}

.adm-bp-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, .2);
}

.adm-bp-item-row--table {
  padding: 2px 4px;
  border: none;
  background: transparent;
  gap: 4px;
}

.adm-bp-item-row__fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adm-bp-item-row__fields input {
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.adm-bp-item-code {
  font-size: 11px;
  color: var(--muted);
}

.adm-bp-item-name {
  font-size: 13px;
  font-weight: 600;
}

.adm-bp-pick-btn {
  flex-shrink: 0;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(94, 234, 212, .08);
  color: var(--teal);
  font: inherit;
  cursor: pointer;
}

.adm-bp-pick-btn:hover {
  border-color: var(--teal);
}

.adm-bp-table__icon {
  width: 34px;
  padding: 4px !important;
}

.adm-bp-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.adm-bp-icon-btn:hover {
  border-color: var(--teal);
}

.adm-bp-icon-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.adm-bp-bonus-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adm-bp-table__input--item {
  min-width: 72px;
  max-width: 110px;
  font-size: 11px;
}

.adm-bp-table__input--amount {
  min-width: 52px;
  max-width: 72px;
  width: 64px;
  flex: 0 0 64px;
  font-size: 12px;
  text-align: center;
}

.adm-bp-table__input--xs {
  min-width: 48px;
  max-width: 64px;
}

.adm-bp-table__input--metric {
  min-width: 148px;
  max-width: 180px;
  font-size: 13px;
  padding: 8px 10px;
}

.adm-bp-filter--metric {
  flex: 0 1 240px;
  min-width: 220px;
  max-width: 280px;
  font-size: 14px;
  padding: 10px 14px;
}

.adm-bp-metric-filter-hint {
  margin: -4px 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--dim);
}

.adm-bp-metrics-help {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
}

.adm-bp-metrics-help summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.adm-bp-metrics-help__list {
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.adm-bp-metrics-help__item {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .2);
}

.adm-bp-metrics-help__item dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.adm-bp-metrics-help__item dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.adm-bp-metric-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--dim);
}

.adm-bp-metric-hint--table {
  font-size: 10px;
  line-height: 1.3;
}

.adm-bp-table__metric {
  min-width: 200px;
}

.adm-bp-metric-field select {
  width: 100%;
}

.adm-bp-table__hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.adm-bp-table th:nth-child(3),
.adm-bp-table td:nth-child(3) {
  min-width: 180px;
}

.adm-bp-table th:nth-child(5),
.adm-bp-table td:nth-child(5) {
  min-width: 220px;
}

.adm-bp-table__prem {
  width: 36px;
  text-align: center;
}

.adm-bp-total strong {
  display: block;
  font-size: 1.25rem;
  color: var(--teal);
}

.adm-note--inline {
  display: block;
  margin-top: 4px;
}

.adm-bp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.adm-bp-tabs__btn {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}

.adm-bp-tabs__btn.is-active {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(94, 234, 212, .08);
}

.adm-bp-panels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.adm-bp-panel {
  display: none;
}

.adm-bp-panel.is-active {
  display: block;
}

.adm-bp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}

.adm-bp-search,
.adm-bp-filter {
  flex: 1 1 180px;
  min-width: 140px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.adm-bp-premium-perks {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.adm-bp-premium-perks .adm-product-field__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.adm-bp-premium-perks .adm-product-field__head span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.adm-bp-premium-perks .adm-product-field__head em {
  font-size: 12px;
  color: var(--dim);
  font-style: normal;
}

.adm-bp-perk-lines {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-bp-perk-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.adm-bp-perk-line input {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
}

.adm-bp-perk-line input:focus {
  outline: none;
  border-color: rgba(0, 200, 150, .35);
  box-shadow: 0 0 0 2px rgba(0, 200, 150, .08);
}

.adm-bp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.adm-bp-stat {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
}

.adm-bp-stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.adm-bp-stat strong {
  font-size: 1.1rem;
  color: var(--teal);
}

.adm-bp-table-wrap {
  overflow: auto;
  max-height: min(70vh, 720px);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.adm-bp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.adm-bp-table th,
.adm-bp-table td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.adm-bp-table th {
  position: sticky;
  top: 0;
  background: rgba(10, 14, 18, .95);
  text-align: left;
  font-size: 11px;
  color: var(--muted);
}

.adm-bp-table__num {
  font-weight: 800;
  color: var(--teal);
  width: 36px;
}

.adm-bp-table__input {
  width: 100%;
  min-width: 60px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.adm-bp-table__input--sm {
  min-width: 48px;
}

.adm-check--compact {
  gap: 4px;
}

.adm-bp-version-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.adm-bp-version-pill--ok {
  color: var(--teal);
  border-color: rgba(0, 200, 150, .35);
}

.adm-topstats-snippet {
  width: 100%;
  min-height: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.adm-topstats-overview {
  display: grid;
  gap: 10px;
}

.adm-topstats-overview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.adm-note--ok {
  color: var(--teal);
}

.adm-bp-token-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.adm-bp-token-row input {
  flex: 1 1 240px;
}

.adm-bp-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.adm-bp-install-steps {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.adm-settings-actions--sticky {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 16, .92) 24%);
  padding-top: 12px;
}

.adm-check--tile {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
}

.adm-check--field {
  align-self: end;
  padding: 10px 0;
}

.adm-form-grid textarea {
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.footer-legal {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.legal-page {
  padding: 28px 0 48px;
}

.legal-page__inner {
  max-width: 760px;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.legal-page__lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.legal-page p,
.legal-page li {
  color: rgba(220, 228, 234, 0.88);
  line-height: 1.6;
}

.legal-page ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.legal-page__meta {
  margin-top: 28px;
  color: var(--muted);
}

.maintenance-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--text, #e8eef2);
  background: #000;
  overflow-x: hidden;
}

.maint-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.maint-scene__video {
  position: absolute;
  inset: -4%;
  z-index: 0;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) brightness(0.72);
}

.maint-scene__dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.42);
}

.maint-scene__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 72% at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .site-bg-video,
  .maint-scene__video {
    display: none;
  }

  .site-bg-particles {
    display: none;
  }
}

.maintenance-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.maintenance-card {
  position: relative;
  width: min(520px, 100%);
  padding: 40px 36px 32px;
  border-radius: 24px;
  border: 1px solid rgba(0, 200, 150, .22);
  background: linear-gradient(165deg, rgba(12, 20, 28, .88) 0%, rgba(8, 12, 18, .94) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .04) inset;
  animation: maint-card-in .7s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes maint-card-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.maintenance-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 200, 150, .35), transparent 40%, transparent 60%, rgba(0, 160, 220, .2));
  opacity: .35;
  z-index: -1;
  pointer-events: none;
}

.maintenance-status {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
}

.maintenance-status__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 150, .25);
  animation: maint-pulse 2.4s ease-in-out infinite;
}

.maintenance-status__ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 150, .12);
  animation: maint-pulse 2.4s ease-in-out infinite .4s;
}

@keyframes maint-pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.06); opacity: 1; }
}

.maintenance-status__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--teal, #00c896);
  animation: maint-wrench 4s ease-in-out infinite;
}

.maintenance-status__icon svg {
  width: 30px;
  height: 30px;
}

@keyframes maint-wrench {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

.maintenance-logo {
  margin-top: 2px;
  filter: drop-shadow(0 4px 20px rgba(0, 200, 150, .25));
}

.maintenance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal, #00c896);
  background: rgba(0, 200, 150, .1);
  border: 1px solid rgba(0, 200, 150, .28);
}

.maintenance-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal, #00c896);
  box-shadow: 0 0 10px var(--teal-glow, rgba(0, 200, 150, .5));
  animation: maint-blink 1.6s ease-in-out infinite;
}

@keyframes maint-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.maintenance-title {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.maintenance-message {
  margin: 0;
  max-width: 36ch;
  color: var(--muted, #8fa3b0);
  font-size: 1.05rem;
  line-height: 1.55;
}

.maintenance-countdown {
  width: 100%;
  margin: 2px 0 4px;
  padding: 16px 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.16);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 212, 191, 0.1), transparent 70%),
    rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: maint-countdown-in .55s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes maint-countdown-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.maintenance-countdown__label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(45, 212, 191, 0.88);
}

.maintenance-countdown__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.maintenance-countdown__unit {
  flex: 1 1 0;
  min-width: 0;
  max-width: 76px;
  padding: 12px 6px 10px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.18);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.09), rgba(0, 0, 0, 0.28));
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.maintenance-countdown__unit--sec {
  border-color: rgba(45, 212, 191, 0.38);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.14), rgba(0, 0, 0, 0.3));
}

.maintenance-countdown__value {
  display: block;
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 0 20px rgba(45, 212, 191, 0.35);
}

.maintenance-countdown__unit--sec .maintenance-countdown__value {
  color: var(--teal, #2dd4bf);
  animation: maint-sec-pulse 1s ease-in-out infinite;
}

@keyframes maint-sec-pulse {
  0%, 100% { text-shadow: 0 0 12px rgba(45, 212, 191, 0.25); }
  50% { text-shadow: 0 0 24px rgba(45, 212, 191, 0.55); }
}

.maintenance-countdown__name {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(143, 163, 176, 0.85);
}

.maintenance-countdown__sep {
  flex: 0 0 auto;
  margin-top: -14px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: rgba(45, 212, 191, 0.45);
}

.maintenance-countdown__sep--sec {
  color: rgba(45, 212, 191, 0.65);
}

.maintenance-countdown__until {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(143, 163, 176, 0.8);
}

.maintenance-loader {
  display: flex;
  gap: 8px;
  margin: 6px 0 4px;
}

.maintenance-loader span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal, #00c896);
  opacity: .45;
  animation: maint-dots 1.2s ease-in-out infinite;
}

.maintenance-loader span:nth-child(2) { animation-delay: .15s; }
.maintenance-loader span:nth-child(3) { animation-delay: .3s; }

@keyframes maint-dots {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.maintenance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 180px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.maintenance-btn:hover {
  transform: translateY(-2px);
}

.maintenance-btn.btn-teal {
  box-shadow: 0 8px 28px rgba(0, 200, 150, .28);
}

.maintenance-btn.btn-teal:hover {
  box-shadow: 0 12px 36px rgba(0, 200, 150, .38);
}

.maintenance-btn--discord svg {
  opacity: .9;
}

.maintenance-foot {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(143, 163, 176, .75);
}

.maintenance-admin {
  width: min(520px, 100%);
  margin-top: 16px;
  animation: maint-card-in .7s cubic-bezier(.22, 1, .36, 1) .15s both;
}

.maintenance-admin__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 12, 18, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.maintenance-admin__inner--staff {
  flex-direction: column;
  align-items: stretch;
}

.maintenance-admin__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(143, 163, 176, .9);
}

.maintenance-admin__label--ok {
  color: var(--teal, #00c896);
}

.maintenance-admin__label strong {
  font-weight: 700;
  color: var(--text, #e8eef2);
}

.maintenance-admin__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #e8eef2);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.maintenance-admin__login:hover {
  border-color: rgba(0, 200, 150, .45);
  background: rgba(0, 200, 150, .1);
  transform: translateY(-1px);
}

.maintenance-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.maintenance-admin__btn {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.maintenance-admin__btn--ghost {
  flex: 0 1 auto;
  min-width: 0;
  background: transparent;
  color: var(--muted, #8fa3b0);
  border-color: rgba(255, 255, 255, .1);
}

@media (max-width: 480px) {
  .maintenance-card {
    padding: 32px 22px 26px;
    border-radius: 20px;
  }

  .maintenance-countdown__grid {
    gap: 4px;
  }

  .maintenance-countdown__unit {
    max-width: 64px;
    padding: 10px 4px 8px;
  }

  .maintenance-countdown__sep {
    font-size: 16px;
    margin-top: -10px;
  }

  .maintenance-btn {
    width: 100%;
    min-width: 0;
  }
}

.adm-table--compact td,
.adm-table--compact th {
  padding: 8px 10px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .adm-form-grid {
    grid-template-columns: 1fr;
  }

  .adm-form-span2 {
    grid-column: auto;
  }
}

.adm-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.adm-code-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: rgba(238, 243, 247, .8);
}

.adm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.adm-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.adm-shop-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, .18);
  background: rgba(14, 116, 144, .12);
  color: #b9e6ff;
  font-size: 13px;
  line-height: 1.45;
}

.adm-shop-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.adm-shop-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.adm-shop-filter-label {
  min-width: 72px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.adm-shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adm-shop-chips--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.adm-shop-chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.adm-shop-chip.is-active {
  border-color: rgba(0, 200, 150, .45);
  background: var(--teal-soft);
  color: var(--teal);
}

.adm-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.adm-shop-search {
  flex: 1 1 220px;
  min-width: 180px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
}

.adm-shop-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.adm-shop-add {
  margin-left: auto;
}

.adm-shop-hint {
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 11px;
}

.adm-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.adm-shop-card {
  position: relative;
  display: grid;
  grid-template-columns: 28px 72px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  transition: border-color .15s, box-shadow .15s, opacity .15s;
}

.adm-shop-card.is-dragging {
  opacity: .55;
}

.adm-shop-card.is-drop-target {
  border-color: rgba(0, 200, 150, .45);
  box-shadow: 0 0 0 1px rgba(0, 200, 150, .15) inset;
}

.adm-shop-card--disabled {
  opacity: .55;
}

.adm-shop-drag {
  display: grid;
  place-items: center;
  align-self: start;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  border: none;
  background: transparent;
  color: var(--dim);
  cursor: grab;
}

.adm-shop-drag svg {
  width: 16px;
  height: 16px;
}

.adm-shop-card-visual {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .06);
}

.adm-shop-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  display: block;
}

.adm-shop-card-visual .prod-visual,
.adm-shop-card-visual .product-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.adm-shop-card-visual .prod-visual__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 4px;
  filter: none;
}

.adm-shop-card-visual-fallback {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
}

.adm-shop-card-body {
  min-width: 0;
}

.adm-shop-card-body h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.adm-shop-tag {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: lowercase;
}

.adm-shop-tag--privilege {
  background: rgba(240, 192, 64, .16);
  color: #f0c040;
}

.adm-shop-tag--kit {
  background: rgba(192, 132, 252, .16);
  color: #c084fc;
}

.adm-shop-tag--command,
.adm-shop-tag--item {
  background: rgba(56, 189, 248, .14);
  color: #38bdf8;
}

.adm-shop-servers {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-shop-card-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.adm-shop-card-foot strong {
  font-size: 18px;
  font-weight: 800;
}

.adm-shop-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-shop-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.adm-shop-icon-btn svg {
  width: 14px;
  height: 14px;
}

.adm-shop-icon-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .14);
}

.adm-shop-icon-btn--danger:hover {
  color: #ff9a9a;
  border-color: rgba(255, 120, 120, .25);
}

.adm-shop-side .adm-card {
  position: sticky;
  top: 16px;
}

.adm-shop-cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  margin-bottom: 12px;
}

.adm-shop-cat-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
}

.adm-shop-cat-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.adm-shop-cat-item code {
  color: var(--dim);
  font-size: 10px;
}

.adm-shop-cat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px auto;
  gap: 8px;
}

.adm-shop-cat-form input[type="text"] {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
}

.adm-shop-cat-form input[type="color"] {
  width: 42px;
  height: 38px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
}

.adm-shop-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adm-shop-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.adm-shop-form-grid input,
.adm-shop-form-grid select,
.adm-shop-form-grid textarea {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
}

.adm-shop-form-span {
  grid-column: 1 / -1;
}

.adm-shop-servers-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.adm-shop-server-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 12px;
}

.adm-shop-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
}

.adm-modal-card--product {
  width: min(760px, calc(100vw - 24px));
  max-height: min(92vh, 920px);
  overflow: auto;
}

.adm-modal-card--picker {
  width: min(920px, calc(100vw - 24px));
  max-height: min(90vh, 820px);
  display: flex;
  flex-direction: column;
}

.adm-product-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.adm-product-modal-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.adm-product-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.adm-product-form {
  padding: 16px 20px 20px;
}

.adm-product-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adm-product-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}

.adm-product-form-grid label small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}

.adm-product-form-grid input,
.adm-product-form-grid select,
.adm-product-form-grid textarea,
.adm-product-block textarea {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.adm-product-form-grid textarea,
.adm-product-block textarea {
  min-height: 88px;
  resize: vertical;
}

.adm-product-form-span {
  grid-column: 1 / -1;
}

.adm-product-form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adm-product-select-btn {
  width: 100%;
  min-height: 42px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #6b1d1d, #4a1414);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.adm-product-price-row,
.adm-product-meta-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adm-product-color-field {
  display: flex;
  gap: 8px;
}

.adm-product-color-field input[type="color"] {
  width: 42px;
  min-height: 40px;
  padding: 2px;
}

.adm-product-block {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}

.adm-product-block--privilege {
  border-color: rgba(0, 200, 150, .18);
}

.adm-product-field--oxide-group input {
  font-size: 15px;
  font-weight: 600;
  border-color: rgba(0, 200, 150, .4);
  background: rgba(0, 200, 150, .04);
}

.adm-product-field--oxide-group small {
  color: var(--muted);
  line-height: 1.45;
}

.adm-required {
  color: #ff6b6b;
  font-style: normal;
  font-weight: 800;
}

.adm-product-block__title {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.adm-product-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.adm-product-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.adm-product-pick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 1px dashed rgba(0, 200, 150, .35);
  border-radius: 10px;
  background: rgba(0, 200, 150, .05);
  color: var(--teal);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.adm-product-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-product-item-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 72px auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .22);
}

.adm-product-item-row img {
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.adm-product-item-row__meta strong {
  display: block;
  font-size: 13px;
}

.adm-product-item-row__meta code {
  color: var(--muted);
  font-size: 11px;
}

.adm-product-subblock {
  margin-top: 14px;
}

.adm-product-subblock--privilege-kit {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.adm-product-subblock--privilege-kit .adm-product-items {
  margin-top: 10px;
}

.adm-privilege-kits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-privilege-kit-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
}

.adm-privilege-kit-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.adm-privilege-kit-card__head strong {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.adm-product-quick-row--cooldown {
  margin: 0 0 10px;
  align-items: center;
}

.adm-product-quick-row__label {
  font-size: 11px;
  color: var(--muted);
  margin-right: 4px;
}

.adm-product-subblock--privilege-kit .adm-product-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.adm-product-subblock--privilege-kit .adm-product-block__head strong {
  font-size: 13px;
  letter-spacing: .06em;
}

.adm-product-pick-btn--wide {
  width: 100%;
  justify-content: center;
}

.adm-product-tariff-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.adm-product-tariff-row input {
  width: 72px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  font: inherit;
}

.adm-product-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.adm-shop-chip--gold {
  border-color: rgba(232, 184, 74, .35);
  color: #e8b84a;
}

.adm-product-radio-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.adm-product-icon-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.adm-product-icon-preview {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  object-fit: contain;
}

.adm-product-icon-preview--empty {
  display: block;
  border: 1px dashed rgba(255, 255, 255, .12);
}

.adm-product-note--tight {
  margin-top: 8px;
  font-size: 11px;
}

.adm-product-block--copy {
  margin-top: 4px;
}

.adm-product-block--icon {
  margin-top: 4px;
}

.adm-copy-template-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-copy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 16px;
  align-items: start;
}

.adm-copy-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-product-field__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-product-field__head span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.adm-product-field__head em,
.adm-copy-char-count {
  font-style: normal;
  font-size: 11px;
  color: var(--dim);
}

.adm-product-field__hint {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.45;
}

.adm-product-field {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.adm-product-field textarea,
.adm-copy-desc {
  min-height: 96px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 200, 150, .12);
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.adm-product-field textarea:focus,
.adm-copy-desc:focus {
  outline: none;
  border-color: rgba(0, 200, 150, .35);
  box-shadow: 0 0 0 2px rgba(0, 200, 150, .08);
}

.adm-perk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px;
  min-height: 52px;
  list-style: none;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .18);
}

.adm-perk-tags__empty {
  font-size: 12px;
  color: var(--dim);
}

.adm-perk-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 150, .12);
  border: 1px solid rgba(0, 200, 150, .22);
  font-size: 12px;
  color: var(--text);
}

.adm-perk-tag__remove {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--dim);
  cursor: pointer;
  line-height: 1;
}

.adm-perk-tag__remove:hover {
  color: #ff9a9a;
  background: rgba(255, 120, 120, .15);
}

.adm-perk-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 10px;
}

.adm-perk-add-row input {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
}

.adm-perk-suggest {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-perk-suggest__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

.adm-perk-suggest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-perk-suggest-btn.is-active,
.adm-perk-suggest-btn:disabled {
  opacity: .45;
  cursor: default;
}

.adm-copy-preview {
  position: sticky;
  top: 12px;
}

.adm-copy-preview__label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

.adm-copy-preview__card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 200, 150, .14);
  background: linear-gradient(165deg, rgba(8, 14, 18, .92), rgba(4, 8, 12, .96));
}

.adm-copy-preview__desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(238, 243, 247, .78);
}

.adm-copy-preview__empty {
  margin: 0;
  font-size: 12px;
  color: var(--dim);
}

.adm-copy-preview__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-copy-preview__perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(238, 243, 247, .82);
}

.adm-copy-preview__perks svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--teal);
}

.adm-product-icon-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.adm-product-icon-preview-wrap {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .24);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.adm-product-icon-preview-wrap.has-image,
.adm-product-icon-preview-wrap:has(img[src]) {
  border-style: solid;
  border-color: rgba(0, 200, 150, .2);
}

.adm-product-icon-preview {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, .04);
}

.adm-product-icon-preview--empty {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}

.adm-product-icon-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-product-icon-controls input[name="iconUrl"] {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: inherit;
}

.adm-product-icon-actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 860px) {
  .adm-copy-layout {
    grid-template-columns: 1fr;
  }

  .adm-copy-preview {
    position: static;
  }
}

.adm-product-more {
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}

.adm-product-more summary {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.adm-product-more-body {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
}

.btn-teal--full {
  width: 100%;
  justify-content: center;
}

.adm-picker-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
}

.adm-picker-search {
  margin: 0 18px 12px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  font: inherit;
}

.adm-picker-grid-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 18px;
}

.adm-picker-group h4 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}

.adm-picker-group h4 span {
  color: var(--muted);
}

.adm-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.adm-picker-item {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, .24);
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}

.adm-picker-item:hover {
  border-color: rgba(0, 200, 150, .45);
  transform: translateY(-1px);
}

.adm-picker-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.adm-picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .adm-product-form-grid,
  .adm-product-price-row,
  .adm-product-meta-row,
  .adm-product-form-grid--3 {
    grid-template-columns: 1fr;
  }

  .adm-product-actions {
    grid-template-columns: 1fr;
  }
}

.adm-modal-card--wide {
  width: min(720px, calc(100vw - 24px));
}

.adm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.adm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 18px 18px;
}

.adm-shop-form {
  padding: 16px 18px 0;
}

@media (max-width: 1100px) {
  .adm-shop-layout {
    grid-template-columns: 1fr;
  }

  .adm-shop-side .adm-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .adm-shop-card {
    grid-template-columns: 24px 60px minmax(0, 1fr);
  }

  .adm-shop-card-visual {
    width: 60px;
    height: 60px;
  }

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

  .adm-shop-cat-form {
    grid-template-columns: 1fr;
  }
}

.adm-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
}

.adm-product strong {
  display: block;
}

.adm-product span {
  font-size: 12px;
  color: var(--text-muted);
}

.adm-product em {
  font-style: normal;
  font-weight: 900;
  color: var(--teal);
}

.adm-empty,
.adm-loading,
.adm-error {
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
}

.adm-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.adm-loading span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 150, .2);
  border-top-color: var(--teal);
  animation: adm-spin .7s linear infinite;
}

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

.adm-error {
  color: #ff9a9a;
}

.adm-card-head--icon h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-head-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
}

.adm-head-icon svg {
  width: 16px;
  height: 16px;
}

.adm-head-icon--bolt {
  background: rgba(232, 184, 74, .12);
  color: #e8b84a;
}

.adm-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adm-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.adm-action-btn svg {
  width: 16px;
  height: 16px;
}

.adm-action-btn--outline {
  border: 1px solid rgba(0, 200, 150, .45);
  background: transparent;
  color: var(--teal);
}

.adm-action-btn--primary {
  border: none;
  background: var(--teal);
  color: #041510;
}

.adm-action-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: rgba(238, 243, 247, .85);
}

.adm-chart-wrap {
  position: relative;
  width: 100%;
  min-height: 240px;
  margin-bottom: 12px;
}

.adm-chart-wrap canvas {
  width: 100% !important;
  height: 240px !important;
  display: block;
}

.adm-chart-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.adm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.adm-dot--teal { background: var(--teal); }
.adm-dot--purple { background: #a855f7; }

.adm-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.adm-summary-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adm-summary-grid span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.adm-summary-grid strong {
  font-size: 1.35rem;
  color: var(--teal);
}

.adm-table--data td,
.adm-table--servers td {
  text-align: center;
}

.adm-table--data td:first-child,
.adm-table--servers td.adm-server-name {
  text-align: left;
}

.adm-table-total {
  font-weight: 800;
  background: rgba(255, 255, 255, .02);
}

.adm-empty-cell {
  text-align: center !important;
  color: var(--text-muted);
  padding: 24px !important;
}

.adm-money {
  color: var(--online) !important;
  font-weight: 700;
}

.adm-money--purple { color: #c084fc !important; }
.adm-money--blue { color: #60a5fa !important; }

.adm-server-name {
  font-weight: 700;
  max-width: 220px;
}

.adm-table-wrap--wide {
  overflow-x: auto;
}

.adm-table--servers th {
  font-size: 9px;
  padding: 8px 6px;
}

.adm-table--servers td {
  padding: 10px 6px;
  font-size: 12px;
}

.adm-period-badge {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.adm-range-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.adm-pill-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.adm-pill-btn--active {
  background: var(--teal-soft);
  border-color: rgba(0, 200, 150, .35);
  color: var(--teal);
}

.adm-order-sum {
  font-style: normal;
  font-weight: 900;
  color: var(--teal);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .adm-shell {
    grid-template-columns: 1fr;
  }

  .adm-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    max-height: none;
  }

  .adm-stats-row,
  .adm-quick-grid,
  .adm-two-col,
  .adm-summary-grid,
  .adm-summary-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .adm-topbar,
  .adm-main {
    padding-inline: 16px;
  }

  .adm-stats-row,
  .adm-quick-grid,
  .adm-two-col,
  .adm-summary-grid,
  .adm-summary-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* —— Admin: players & roles —— */
.adm-players-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-players-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.adm-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.adm-tab {
  padding: 10px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: -1px;
}

.adm-tab--active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.adm-toolbar-search {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.adm-toolbar-select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.adm-toolbar-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.adm-toolbar--payments {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  margin-bottom: 14px;
}

.adm-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.adm-export-btn:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.adm-card--payments {
  padding-top: 16px;
}

.adm-table-wrap--payments {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: auto;
}

.adm-table--payments {
  width: 100%;
  min-width: 980px;
}

.adm-table--payments th,
.adm-table--payments td {
  padding: 12px 14px;
  font-size: 13px;
  vertical-align: middle;
}

.adm-table--payments th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, .18);
}

.adm-table--payments tbody tr {
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.adm-pay-date {
  white-space: nowrap;
  color: rgba(238, 243, 247, .82);
}

.adm-pay-steam,
.adm-pay-tx {
  font-size: 12px;
  color: rgba(238, 243, 247, .72);
  word-break: break-all;
}

.adm-table--payments .adm-money {
  color: var(--teal);
  font-weight: 700;
}

.adm-table--payments .adm-pill--ok {
  background: rgba(34, 197, 94, .15);
  color: #4ade80;
}

.adm-table--payments .adm-pill--bad {
  background: rgba(239, 68, 68, .15);
  color: #f87171;
}

.adm-table--payments .adm-pill--warn {
  background: rgba(234, 179, 8, .15);
  color: #facc15;
}

.adm-table-wrap--players {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
}

.adm-table--players th,
.adm-table--players td {
  vertical-align: middle;
  font-size: 13px;
}

.adm-player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, .06);
}

.adm-player-avatar--empty {
  opacity: 0.2;
}

.adm-player-nick {
  white-space: nowrap;
}

.adm-player-nick strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.adm-online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 8px var(--online);
  font-style: normal;
}

.adm-steam-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.adm-steam-cell code {
  font-size: 12px;
  color: var(--muted);
}

.adm-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.adm-icon-btn:hover {
  color: var(--teal);
  border-color: rgba(0, 200, 150, .3);
}

.adm-role {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.adm-role--owner {
  background: rgba(255, 193, 7, .15);
  color: #ffc107;
}

.adm-role--admin {
  background: rgba(88, 130, 255, .15);
  color: #7aa2ff;
}

.adm-role--mod {
  background: rgba(0, 200, 150, .12);
  color: var(--teal);
}

.adm-role--player {
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
}

.adm-priv-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, .25);
  background: rgba(255, 193, 7, .08);
  color: #ffd866;
  font-size: 12px;
  font-weight: 600;
}

.adm-ban-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .15);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
}

.adm-ban-badge--sm {
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 10px;
  vertical-align: middle;
}

.adm-profile-ban-banner {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .3);
  color: #fecaca;
  font-size: 13px;
  line-height: 1.4;
}

.adm-unban-btn {
  border-color: rgba(0, 200, 150, .35) !important;
  color: var(--teal) !important;
}

.adm-profile-footer .adm-ban-btn,
.adm-profile-footer .adm-danger-btn {
  padding: 10px 14px;
  font-size: 13px;
}

.adm-money-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.adm-coin {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 193, 7, .2);
  color: #ffc107;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.adm-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(88, 130, 255, .35);
  background: rgba(88, 130, 255, .1);
  color: #9eb8ff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.adm-profile-btn svg {
  width: 16px;
  height: 16px;
}

.adm-profile-btn:hover {
  background: rgba(88, 130, 255, .18);
}

.adm-modal-card--profile {
  width: min(960px, calc(100vw - 40px));
  max-height: 94vh;
  overflow: auto;
  background: #0b1220;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
  scrollbar-width: thin;
}

.adm-modal-card--profile::-webkit-scrollbar {
  width: 8px;
}

.adm-modal-card--profile::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
}

.adm-profile-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}

.adm-profile-head-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-right: 48px;
}

.adm-profile-head-top .adm-modal-close {
  position: absolute;
  top: 0;
  right: 0;
}

.adm-profile-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-profile-avatar {
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}

.adm-profile-avatar--empty {
  opacity: .35;
}

.adm-profile-nick {
  display: block;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
}

.adm-profile-steam-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.adm-profile-steam-row code {
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  padding: 4px 8px;
  border-radius: 8px;
}

.adm-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.adm-profile-head-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.adm-profile-balance-box {
  flex: 1 1 320px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 193, 7, .28);
  background: rgba(255, 193, 7, .05);
}

.adm-profile-balance-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
}

.adm-profile-balance-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-profile-balance-item strong {
  color: #ffc107;
  font-size: 16px;
  white-space: nowrap;
}

.adm-profile-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 280px;
}

.adm-profile-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 120px;
  min-width: 120px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
}

.adm-profile-stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.adm-profile-stat strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.1;
}

.adm-profile-stat em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.adm-profile-stat-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(126, 184, 255, .1);
  color: #7eb8ff;
  flex-shrink: 0;
}

.adm-profile-stat-icon svg {
  width: 18px;
  height: 18px;
}

.adm-profile-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-profile-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
}

.adm-profile-charts,
.adm-profile-history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.adm-profile-panel {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
}

.adm-profile-panel h4 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.adm-profile-panel--priv h4 {
  color: #2dd4bf;
}

.adm-profile-panel h4 svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.adm-profile-panel canvas {
  width: 100%;
  height: 120px;
  display: block;
}

.adm-profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.adm-profile-panel--edit input[type="number"],
.adm-profile-panel--edit select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .3);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
}

.adm-delta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.adm-delta {
  flex: 1;
  min-width: 52px;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.adm-delta--plus {
  border-color: rgba(45, 212, 191, .35);
  color: #2dd4bf;
}

.adm-delta--minus {
  border-color: rgba(255, 107, 107, .35);
  color: #ff6b6b;
}

.adm-delta:hover {
  filter: brightness(1.1);
}

.adm-profile-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.adm-profile-date input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .3);
  color: var(--text);
  font: inherit;
}

.adm-profile-date small {
  color: var(--muted);
  font-size: 11px;
}

.adm-profile-role {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-profile-role select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .3);
  color: var(--text);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.adm-profile-history {
  grid-column: 1 / -1;
}

.adm-profile-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.adm-profile-log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 180px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-profile-log li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  font-size: 13px;
}

.adm-profile-log li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adm-profile-log li span {
  color: var(--muted);
  font-size: 11px;
}

.adm-profile-log time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.adm-profile-plus {
  color: #2dd4bf;
}

.adm-profile-footer {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: center;
}

.adm-profile-save {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .adm-profile-balance-box {
    grid-template-columns: 1fr;
  }

  .adm-profile-quick-stats {
    flex-direction: column;
  }

  .adm-profile-stat {
    min-width: 0;
  }

  .adm-profile-charts,
  .adm-profile-history,
  .adm-profile-form {
    grid-template-columns: 1fr;
  }
}

.adm-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.adm-roles-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.adm-roles-staff {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.adm-role-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(0, 0, 0, .22) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.adm-role-card--owner {
  border-color: rgba(255, 193, 7, .28);
  background: linear-gradient(180deg, rgba(255, 193, 7, .08) 0%, rgba(0, 0, 0, .24) 100%);
}

.adm-role-card--admin {
  border-color: rgba(122, 162, 255, .28);
  background: linear-gradient(180deg, rgba(88, 130, 255, .08) 0%, rgba(0, 0, 0, .24) 100%);
}

.adm-role-card--moderator {
  border-color: rgba(44, 217, 170, .28);
  background: linear-gradient(180deg, rgba(44, 217, 170, .08) 0%, rgba(0, 0, 0, .24) 100%);
}

.adm-role-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.adm-role-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: var(--teal);
  flex-shrink: 0;
}

.adm-role-card__icon svg {
  width: 20px;
  height: 20px;
}

.adm-role-card--owner .adm-role-card__icon {
  color: #ffc107;
  background: rgba(255, 193, 7, .12);
}

.adm-role-card--admin .adm-role-card__icon {
  color: #7aa2ff;
  background: rgba(88, 130, 255, .12);
}

.adm-role-card--moderator .adm-role-card__icon {
  color: var(--teal);
  background: rgba(44, 217, 170, .12);
}

.adm-role-card__titles {
  min-width: 0;
  flex: 1;
}

.adm-role-card__titles h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}

.adm-role-card__titles p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.adm-role-card__count {
  flex-shrink: 0;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 800;
}

.adm-role-card__body {
  padding: 12px 16px 16px;
}

.adm-role-card__members {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-role-member {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: rgba(0, 0, 0, .18);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.adm-role-member:hover {
  border-color: rgba(44, 217, 170, .28);
  background: rgba(44, 217, 170, .06);
  transform: translateY(-1px);
}

.adm-role-member__avatar,
.adm-role-player-chip__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  flex-shrink: 0;
}

.adm-role-player-chip__avatar {
  width: 32px;
  height: 32px;
}

.adm-role-member__avatar img,
.adm-role-player-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.adm-role-member__fallback,
.adm-role-player-chip__fallback {
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
}

.adm-role-member__meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adm-role-member__meta strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-role-member__meta code {
  font-size: 11px;
  color: var(--muted);
}

.adm-role-member__action {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
  opacity: 0;
  transition: opacity .15s ease;
}

.adm-role-member:hover .adm-role-member__action {
  opacity: 1;
}

.adm-role-card__empty,
.adm-roles-players__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, .08);
  color: var(--muted);
  text-align: center;
}

.adm-role-card__empty p,
.adm-roles-players__empty p {
  margin: 0;
  font-size: 13px;
}

.adm-role-card__empty-icon {
  font-size: 18px;
  opacity: .5;
}

.adm-roles-players {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(0, 0, 0, .22) 100%);
  overflow: hidden;
}

.adm-roles-players__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.adm-roles-players__intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.adm-roles-players__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  flex-shrink: 0;
}

.adm-roles-players__icon svg {
  width: 22px;
  height: 22px;
}

.adm-roles-players__intro h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.adm-roles-players__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.adm-roles-players__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.adm-roles-players__search {
  width: min(280px, 42vw);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font: inherit;
}

.adm-roles-players__search:focus {
  outline: none;
  border-color: rgba(44, 217, 170, .45);
  box-shadow: 0 0 0 3px rgba(44, 217, 170, .12);
}

.adm-roles-players__stat {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.adm-roles-players__body {
  max-height: 360px;
  overflow: auto;
  padding: 14px 18px 18px;
}

.adm-roles-players__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.adm-role-player-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: rgba(0, 0, 0, .18);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.adm-role-player-chip:hover {
  border-color: rgba(44, 217, 170, .24);
  background: rgba(44, 217, 170, .06);
  transform: translateY(-1px);
}

.adm-role-player-chip__name {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .adm-roles-staff {
    grid-template-columns: 1fr;
  }

  .adm-roles-players__head {
    flex-direction: column;
  }

  .adm-roles-players__tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .adm-roles-players__search {
    width: 100%;
    flex: 1;
  }
}

.adm-empty--compact {
  margin: 0;
  font-size: 13px;
}

.adm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.adm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
}

.adm-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0d1520;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

.adm-modal-card.adm-modal-card--profile {
  width: min(960px, calc(100vw - 40px));
  max-height: 94vh;
  background: #0b1220;
}

.adm-modal-card--wide {
  width: min(560px, 100%);
}

.adm-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.adm-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.adm-modal-body {
  padding: 20px;
}

.adm-user--lg img {
  border-radius: 50%;
}

.adm-kv--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.adm-player-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.adm-player-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.adm-player-form label span {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-player-form input,
.adm-player-form select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit;
}

.adm-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .adm-kv--grid,
  .adm-player-form {
    grid-template-columns: 1fr;
  }

  .adm-table-wrap--players {
    overflow-x: auto;
  }
}

/* Admin case editor */
.adm-case-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-case-chance-total {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--border);
}

.adm-case-chance-total span,
.adm-case-chance-total em {
  font-size: 11px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-style: normal;
}

.adm-case-chance-total strong {
  font-size: 22px;
}

.adm-case-chance-total.is-ok strong { color: var(--teal); }
.adm-case-chance-total.is-warn {
  border-color: rgba(255, 180, 80, .35);
  background: rgba(255, 180, 80, .06);
}
.adm-case-chance-total.is-warn strong { color: #ffb450; }

.adm-case-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adm-case-list__head,
.adm-case-row {
  display: grid;
  grid-template-columns: 84px minmax(130px, 160px) minmax(0, 1fr) 32px;
  gap: 10px 12px;
  align-items: center;
}

.adm-case-list__head {
  padding: 0 12px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--dim);
}

.adm-case-list__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-case-row {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
  transition: border-color .15s;
}

.adm-case-row:hover {
  border-color: rgba(0, 200, 150, .22);
}

.adm-case-row__chance {
  display: flex;
  align-items: center;
  gap: 4px;
}

.adm-case-chance-input {
  width: 100%;
  min-width: 0;
  padding: 8px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.adm-case-chance-suffix {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
}

.adm-case-type-select {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.adm-case-row__reward {
  min-width: 0;
}

.adm-case-row__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 100, 100, .25);
  border-radius: 8px;
  background: rgba(255, 80, 80, .08);
  color: #ff8a8a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.adm-case-row__remove:hover {
  background: rgba(255, 80, 80, .16);
  border-color: rgba(255, 100, 100, .45);
}

.adm-case-reward {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .22);
}

.adm-case-reward.is-empty {
  border-style: dashed;
  border-color: rgba(0, 200, 150, .22);
  background: rgba(0, 200, 150, .04);
}

.adm-case-reward--balance {
  gap: 8px;
  max-width: 280px;
}

.adm-case-reward--empty-slot {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 220px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .1);
}

.adm-case-reward__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adm-case-reward__info strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-case-reward__info span,
.adm-case-reward__hint {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-case-thumb,
.adm-case-thumb-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}

.adm-case-thumb {
  object-fit: contain;
}

.adm-case-thumb--placeholder {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.adm-case-thumb-wrap--sprite .case-prize-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.adm-case-pick-btn {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 150, .28);
  background: rgba(0, 200, 150, .08);
  color: var(--teal);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}

.adm-case-pick-btn:hover {
  border-color: var(--teal);
  background: rgba(0, 200, 150, .14);
}

.adm-case-balance-prefix {
  color: var(--teal);
  font-weight: 800;
  font-size: 16px;
}

.adm-case-balance-input {
  width: 88px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.adm-case-balance-suffix {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.adm-case-empty-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.adm-case-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding: 4px;
}

.adm-case-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
  color: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.adm-case-product-card:hover {
  border-color: var(--teal);
  background: rgba(0, 200, 150, .08);
}

.adm-case-product-card strong {
  font-size: 13px;
  line-height: 1.25;
}

.adm-case-product-card span {
  font-size: 12px;
  color: var(--teal);
}

.adm-case-product-card em {
  font-size: 11px;
  color: var(--dim);
  font-style: normal;
}

.adm-modal-card--case-products {
  width: min(920px, 96vw);
}

.adm-case-stats {
  margin-top: 4px;
}

.adm-case-stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
  margin-top: 14px;
}

.adm-case-stats-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.adm-case-stats-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-case-stats-block__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.adm-case-stats-table th,
.adm-case-stats-table td {
  font-size: 12px;
  vertical-align: middle;
}

.adm-case-stats-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
}

.adm-case-stats-bar-cell {
  width: 120px;
}

.adm-case-stats-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.adm-case-stats-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 200, 150, .5), var(--teal));
}

.adm-case-stats-recent-wrap {
  max-height: 360px;
  overflow: auto;
}

.adm-stat-value--sm {
  font-size: 15px;
  line-height: 1.25;
}

.adm-search--compact {
  max-width: 200px;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .adm-case-list__head {
    display: none;
  }

  .adm-case-row {
    grid-template-columns: 1fr 32px;
    grid-template-areas:
      "chance remove"
      "type type"
      "reward reward";
    gap: 8px;
  }

  .adm-case-row__chance { grid-area: chance; }
  .adm-case-row__type { grid-area: type; }
  .adm-case-row__reward { grid-area: reward; }
  .adm-case-row__remove { grid-area: remove; justify-self: end; }

  .adm-case-reward {
    flex-wrap: wrap;
  }

  .adm-case-pick-btn {
    width: 100%;
  }

  .adm-case-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin battle pass player stats */
.adm-bp-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.adm-bp-stats-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.adm-bp-stats-search {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  align-items: center;
}

.adm-bp-stats-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--dim);
  pointer-events: none;
}

.adm-bp-stats-search__input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .32);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.adm-bp-stats-search__input::placeholder {
  color: var(--dim);
}

.adm-bp-stats-search__input:hover {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .38);
}

.adm-bp-stats-search__input:focus {
  outline: none;
  border-color: rgba(0, 200, 150, .45);
  background: rgba(0, 0, 0, .42);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, .1);
}

.adm-bp-stats-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  margin-left: 4px;
  background:
    linear-gradient(45deg, transparent 45%, var(--dim) 45%, var(--dim) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--dim) 45%, var(--dim) 55%, transparent 55%);
  cursor: pointer;
  opacity: .75;
}

.adm-bp-stats-toolbar__count {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.adm-bp-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-bp-player__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 200, 150, .12);
  border: 1px solid rgba(0, 200, 150, .2);
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
}

.adm-bp-player__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adm-bp-player__id {
  display: block;
  font-size: 11px;
  color: var(--dim);
}

.adm-bp-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.adm-bp-progress__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.adm-bp-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #00e6ad);
}

.adm-bp-progress > span {
  font-size: 12px;
  color: var(--muted);
}

.adm-muted {
  color: var(--dim);
  font-weight: 600;
}

.adm-empty-cell {
  text-align: center;
  color: var(--muted);
  padding: 24px !important;
}

@media (max-width: 900px) {
  .adm-stats-grid--compact {
    grid-template-columns: 1fr;
  }
}

.page-dev-staff-banner {
  position: relative;
  z-index: 102;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 7px 14px;
  background: rgba(8, 12, 11, 0.94);
  border-bottom: 1px solid rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.page-dev-staff-banner__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  flex-shrink: 0;
}

.page-dev-staff-banner__text {
  color: rgba(255, 255, 255, 0.88);
}

.page-dev-staff-banner__link {
  color: #fbbf24;
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 191, 36, 0.45);
}

.page-dev-staff-banner__link:hover {
  color: #fde68a;
}

.page-dev-staff-banner__close {
  margin-left: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.page-dev-staff-banner__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page-dev-stub {
  position: relative;
  z-index: 5;
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 48px 16px 80px;
}

.page-dev-stub__card {
  width: min(560px, 100%);
  padding: 36px 28px;
  border-radius: 18px;
  background: rgba(10, 18, 16, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.page-dev-stub__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.page-dev-stub__icon svg {
  width: 32px;
  height: 32px;
}

.page-dev-stub__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-dev-stub__title {
  margin: 18px 0 10px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
}

.page-dev-stub__message {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.page-dev-stub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.adm-page-dev-block {
  border-color: rgba(245, 158, 11, 0.25);
}

.adm-page-dev-grid {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.adm-page-dev-item {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-page-dev-item h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.adm-page-dev-grid--compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.adm-page-dev-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.adm-page-dev-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.adm-page-dev-summary-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.adm-page-dev-enable {
  margin-bottom: 12px;
}

.adm-page-dev-details summary::-webkit-details-marker {
  display: none;
}

.adm-page-dev-details[open] summary {
  background: rgba(245, 158, 11, 0.08);
}

.adm-page-dev-summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.adm-page-dev-details-body {
  padding: 0 14px 14px;
}

/* —— Profile promo code —— */
.profile-promo {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(45, 212, 191, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(8, 18, 24, 0.95), rgba(6, 12, 16, 0.88));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.profile-promo::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), rgba(45, 212, 191, 0.15));
  border-radius: 18px 0 0 18px;
}

.profile-promo__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-promo__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 19px;
  color: #fff;
}

.profile-promo__head h2 svg {
  color: var(--teal);
}

.profile-promo__head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 520px;
}

.profile-promo__badge {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-promo__form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.profile-promo__input-wrap {
  position: relative;
}

.profile-promo__input-wrap::before {
  content: '#';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-weight: 800;
  opacity: 0.7;
  pointer-events: none;
}

.profile-promo__input {
  width: 100%;
  padding: 14px 14px 14px 30px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color .2s, box-shadow .2s;
}

.profile-promo__input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.profile-promo__input:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.profile-promo__btn {
  min-width: 156px;
  padding-inline: 22px;
  border-radius: 14px;
}

.profile-promo__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ffb4b4;
  font-size: 14px;
}

/* —— Admin promo codes —— */
.adm-promo-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.adm-promo-stat {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-promo-stat__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.adm-promo-stat__value {
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.adm-promo-stat--active {
  border-color: rgba(45, 212, 191, 0.22);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(255, 255, 255, 0.02));
}

.adm-promo-stat--active .adm-promo-stat__value { color: var(--teal); }

.adm-promo-stat--uses .adm-promo-stat__value { color: #93c5fd; }

.adm-promo-shell {
  border-color: rgba(45, 212, 191, 0.14);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(45, 212, 191, 0.08), transparent 50%),
    rgba(8, 14, 16, 0.82);
}

.adm-promo-head .adm-card-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adm-promo-tabs {
  margin-bottom: 18px;
}

.adm-promo-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.adm-tab--active .adm-promo-tab-count {
  background: rgba(45, 212, 191, 0.18);
  color: var(--teal);
}

.adm-promo-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.adm-promo-list-panel,
.adm-promo-editor-panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}

.adm-promo-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.adm-promo-list-head em {
  font-style: normal;
  color: var(--teal);
}

.adm-promo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding: 10px;
}

.adm-promo-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}

.adm-promo-row:hover {
  border-color: rgba(45, 212, 191, 0.24);
  background: rgba(45, 212, 191, 0.05);
}

.adm-promo-row--active {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(45, 212, 191, 0.1);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.12);
}

.adm-promo-row--off { opacity: 0.58; }

.adm-promo-row__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
}

.adm-promo-row__icon--balance { background: rgba(45, 212, 191, 0.14); color: var(--teal); }
.adm-promo-row__icon--bonus { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.adm-promo-row__icon--case { background: rgba(192, 132, 252, 0.14); color: #c084fc; }

.adm-promo-row__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.adm-promo-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.adm-promo-row__code {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.adm-promo-row__badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.adm-promo-row__badge--on {
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
}

.adm-promo-row__badge--off {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.adm-promo-row__reward {
  font-size: 12px;
  color: var(--muted);
}

.adm-promo-row__uses {
  font-size: 11px;
  color: var(--muted);
}

.adm-promo-row__bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.adm-promo-row__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #5eead4);
}

.adm-promo-editor-panel {
  padding: 16px;
}

.adm-promo-editor-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-promo-editor-head__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--teal);
}

.adm-promo-editor-head__icon svg {
  width: 24px;
  height: 24px;
}

.adm-promo-editor-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.adm-promo-editor-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.adm-promo-form-section + .adm-promo-form-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.adm-promo-form-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.adm-promo-code-input {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.adm-promo-reward {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.adm-promo-reward input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.adm-promo-reward--active {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(45, 212, 191, 0.08);
}

.adm-promo-reward__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
}

.adm-promo-reward__icon--balance { background: rgba(45, 212, 191, 0.14); color: var(--teal); }
.adm-promo-reward__icon--bonus { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.adm-promo-reward__icon--case { background: rgba(192, 132, 252, 0.14); color: #c084fc; }

.adm-promo-reward__label {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.adm-promo-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-promo-delete-btn {
  color: #fca5a5 !important;
}

.adm-promo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
}

.adm-promo-empty--wide {
  padding: 48px 20px;
}

.adm-promo-empty__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--teal);
  margin-bottom: 4px;
}

.adm-promo-empty__icon svg {
  width: 26px;
  height: 26px;
}

.adm-promo-empty p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.adm-promo-empty span {
  font-size: 13px;
}

.adm-promo-redemptions-wrap {
  padding-top: 4px;
}

.adm-promo-redemptions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
  padding: 10px;
}

.adm-promo-redemption {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) auto minmax(140px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.adm-promo-redemption__user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.adm-promo-redemption__user strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-promo-redemption__user code {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.adm-promo-redemption__avatar,
.adm-promo-redemption__avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
}

.adm-promo-redemption__avatar-fallback {
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
  font-weight: 800;
}

.adm-promo-redemption__pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.adm-promo-redemption__reward {
  font-size: 13px;
  font-weight: 700;
}

.adm-promo-redemption__reward--balance { color: var(--teal); }
.adm-promo-redemption__reward--bonus { color: #fbbf24; }
.adm-promo-redemption__reward--case { color: #c084fc; }

.adm-promo-redemption__time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .adm-promo-layout { grid-template-columns: 1fr; }
  .adm-promo-list { max-height: 280px; }
  .adm-promo-redemption {
    grid-template-columns: 1fr 1fr;
  }
  .adm-promo-redemption__time { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .adm-promo-stats { grid-template-columns: 1fr; }
  .adm-promo-rewards { grid-template-columns: 1fr; }
  .profile-promo__form { grid-template-columns: 1fr; }
  .profile-promo__head { flex-direction: column; }
}

@media (max-width: 640px) {
  .adm-promo-redemption { grid-template-columns: 1fr; }
}

.adm-discount-multiselect {
  width: 100%;
  min-height: 140px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
}

.adm-discount-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

.adm-discount-types legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dim);
}

/* Shop ban stub for banned players */
.shop-ban-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(239, 68, 68, .22), transparent 55%),
    rgba(6, 10, 8, .92);
  backdrop-filter: blur(10px);
}

.shop-ban-overlay__card {
  width: min(460px, 100%);
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, .35);
  background: linear-gradient(160deg, rgba(28, 14, 14, .95), rgba(12, 16, 14, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  text-align: center;
  color: #eef3f7;
}

.shop-ban-overlay__icon {
  display: inline-flex;
  color: #f87171;
  margin-bottom: 12px;
}

.shop-ban-overlay__card h1 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 800;
}

.shop-ban-overlay__card p {
  margin: 0 0 10px;
  color: rgba(238, 243, 247, .75);
  line-height: 1.5;
  font-size: 14px;
}

.shop-ban-overlay__reason {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .25);
  color: #fecaca !important;
  font-weight: 600;
}

.shop-ban-overlay__hint {
  font-size: 12px !important;
  color: rgba(238, 243, 247, .5) !important;
}

.shop-ban-overlay__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

html.shop-banned body > *:not(#easyrust-shop-ban-overlay):not(script):not(style) {
  pointer-events: none !important;
  user-select: none;
}

html.shop-banned #easyrust-shop-ban-overlay,
html.shop-banned #easyrust-shop-ban-overlay * {
  pointer-events: auto !important;
  user-select: auto;
}
