:root {
  --bg: #050713;
  --bg-soft: #090d1d;
  --panel: rgba(12, 16, 34, 0.88);
  --panel-2: rgba(18, 13, 40, 0.78);
  --line: rgba(155, 95, 255, 0.22);
  --text: #f5f7ff;
  --muted: #98a0ba;
  --cyan: #22c8ff;
  --green: #30ac00;
  --violet: #7c00ac;
  --pink: #ac0085;
  --blue: #2700ac;
  --grad: linear-gradient(135deg, #7c00ac, #ac0085 48%, #2700ac);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 65% 0%, rgba(39, 0, 172, 0.22), transparent 34rem),
    radial-gradient(circle at 18% 8%, rgba(172, 0, 133, 0.18), transparent 26rem),
    var(--bg);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 65% 0%, rgba(39, 0, 172, 0.22), transparent 34rem),
    radial-gradient(circle at 18% 8%, rgba(172, 0, 133, 0.18), transparent 26rem),
    var(--bg);
}
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
#networkCanvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: .95;
}
.shell { position: relative; z-index: 1; width: min(1500px, calc(100% - 32px)); margin: 0 auto; min-height: 100vh; min-height: 100dvh; }
.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(9, 12, 28, 0.72);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(155, 95, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.35;
  border-radius: 1px;
  pointer-events: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 22px;
  transition: opacity 0.2s;
}
.brand:hover { opacity: 0.9; }
.brand-mark {
  display: block;
  width: 45px;
  height: 45px;
  border: 0;
  object-fit: contain;
}
.nav { display: flex; gap: 4px; }
.nav-shell {
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-link {
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: #fff;
  background: rgba(124, 0, 172, 0.35);
  border-color: rgba(168, 59, 255, 0.25);
}
.top-actions { display: flex; gap: 10px; align-items: center; }
.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(134, 90, 255, 0.25);
  border-radius: 50%;
  background: rgba(8, 12, 27, 0.6);
  color: #2aabee;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.telegram-link:hover {
  border-color: rgba(168, 59, 255, 0.45);
  color: #4bc3ff;
}
.telegram-icon {
  display: block;
  width: 30px;
  height: 30px;
}
.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(134, 90, 255, 0.25);
  background: rgba(8, 12, 27, 0.6);
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.flag-icon {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.flag-icon-ru {
  background: linear-gradient(to bottom, #fff 33.33%, #0032a0 33.33%, #0032a0 66.66%, #d90012 66.66%);
}
.flag-icon-us {
  position: relative;
  background: repeating-linear-gradient(to bottom, #b22234 0 1.15px, #fff 1.15px 2.3px);
}
.flag-icon-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 8px;
  background: #3c3b6e;
}
.lang-flag:hover { border-color: rgba(168, 59, 255, 0.45); }
.lang-flag-active {
  border-color: rgba(34, 200, 255, 0.65);
  background: rgba(124, 0, 172, 0.22);
}
.product-tile--soon {
  position: relative;
  opacity: 0.88;
  pointer-events: none;
  min-height: auto;
  background: linear-gradient(160deg, rgba(12, 16, 34, 0.95), rgba(18, 13, 40, 0.9));
}
.product-tile--soon .tile-body--soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  padding: 36px 24px;
  gap: 14px;
  pointer-events: none;
}
.product-tile--soon .tile-body--soon h3 { margin: 0; font-size: 22px; }
.product-tile--soon .tile-body--soon p { margin: 0; max-width: 260px; }
.soon-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5f7ff;
  background: linear-gradient(135deg, rgba(34, 200, 255, 0.85), rgba(124, 0, 172, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.legal-top-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
.legal-lang-switch {
  display: inline-flex;
  gap: 6px;
}
.legal-lang-switch .legal-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(134, 90, 255, 0.25);
  text-decoration: none;
}
.legal-lang-switch .legal-lang.active {
  border-color: rgba(34, 200, 255, 0.65);
  background: rgba(124, 0, 172, 0.22);
}
.top-actions .ghost-button {
  transition: background 0.2s, border-color 0.2s;
}
.top-actions .ghost-button:hover {
  border-color: rgba(168, 59, 255, 0.45);
  background: rgba(124, 0, 172, 0.14);
}
.top-actions .balance-pill {
  min-height: 40px;
  color: var(--cyan);
  font-weight: 700;
}
.admin-pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #ffd27a; border: 1px solid rgba(255, 180, 60, .28); background: rgba(255, 140, 0, .1);
}
.ghost-button, .primary-button, .balance-pill {
  border: 1px solid var(--line); border-radius: 8px; min-height: 44px; padding: 0 22px;
  background: rgba(13, 16, 34, .72); box-shadow: inset 0 0 20px rgba(124,0,172,.08);
}
.primary-button { border: 0; background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 10px 34px rgba(124, 0, 172, 0.32); }
a.primary-button,
a.ghost-button {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.full { width: 100%; }
.hidden { display: none !important; }
.page { display: none; padding: 46px 0 80px; }
.page.active { display: block; }
.hero {
  min-height: 460px; display: flex; align-items: stretch; border-radius: 8px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(12, 16, 34, 0.96), rgba(18, 13, 40, 0.92));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 0 80px rgba(124, 0, 172, 0.08);
}
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center; gap: 28px; width: 100%; position: relative; z-index: 1;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-orbs::before,
.hero-orbs::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.55;
}
.hero-orbs::before {
  width: 320px; height: 320px; top: -80px; left: 10%;
  background: radial-gradient(circle, rgba(124, 0, 172, 0.4), transparent 70%);
}
.hero-orbs::after {
  width: 280px; height: 280px; bottom: -70px; right: 12%;
  background: radial-gradient(circle, rgba(34, 200, 255, 0.2), transparent 70%);
}
.hero-copy { width: 100%; padding: 56px 0 56px 52px; position: relative; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 32px 32px 32px 0; min-height: 100%;
}
.hero-visual img {
  width: 100%; max-width: 520px; height: auto; display: block;
  border-radius: 12px; border: 1px solid rgba(155, 95, 255, 0.28);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(124, 0, 172, 0.16);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #d8b8ff; border: 1px solid rgba(155, 95, 255, 0.28); background: rgba(124, 0, 172, 0.12);
}
.eyebrow { color: #c65bff; font-weight: 700; letter-spacing: .02em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: 58px; line-height: 1.06; margin-bottom: 20px; }
.hero h1 span { color: var(--cyan); text-shadow: 0 0 26px rgba(34,200,255,.42); }
.lead { color: #c1c6d8; font-size: 18px; line-height: 1.72; max-width: 560px; }
.hero-actions, .section-head, .result-bar, .filter-title, .price-row, menu { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-actions { justify-content: flex-start; margin-top: 28px; flex-wrap: wrap; }
.hero-actions .primary-button,
.hero-actions .ghost-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-height: 44px; height: auto; white-space: nowrap;
}
.section-sub { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 520px; }
.wide-products, .games-grid, .stats-grid, .subs-grid, .quick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px;
}
.product-card, .game-card, .panel, .filters, .buy-panel, .login-card, .result-bar {
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background: var(--panel);
  box-shadow: inset 0 0 44px rgba(39, 0, 172, 0.08);
}
.home-product { margin-top: 36px; }
.home-product-intro { margin-bottom: 22px; }
.home-product-intro h2 { font-size: 38px; margin: 8px 0 12px; }
.home-product-list { display: block; margin-top: 0; }
.product-card--featured {
  display: grid; grid-template-columns: 120px 1fr; align-items: start; gap: 28px;
  padding: 32px; min-height: auto;
}
.product-icon--featured { width: 96px; height: 96px; }
.product-card-body { min-width: 0; }
.product-badge {
  display: inline-flex; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #e055ff; border: 1px solid var(--line); background: rgba(124, 0, 172, 0.12);
}
.product-pitch { margin: 0 0 18px; color: #aeb6cf; line-height: 1.72; font-size: 16px; max-width: 720px; }
.product-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 22px; }
.product-tags { color: var(--muted); font-size: 14px; font-weight: 600; }
.product-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product-card-actions .primary-button,
.product-card-actions .ghost-button,
.product-card-actions a.primary-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-height: 44px; height: auto; white-space: nowrap;
}
.section-head { margin-top: 34px; }
.text-button { border: 0; background: transparent; color: #c65bff; font-weight: 700; }
.product-card { min-height: 150px; padding: 22px; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 18px; }
.product-icon { width: 72px; height: 72px; display: block; object-fit: contain; border: 0; }
.price { color: var(--cyan); font-size: 22px; font-weight: 800; }
.price-from { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.arrow-button, .product-card:not(.product-card--featured) > button:last-child,
.product-card:not(.product-card--featured) > a.arrow-button:last-child {
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: inherit; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.tile-buy-button {
  flex-shrink: 0; min-height: 44px; padding: 0 20px; border-radius: 8px;
  border: 1px solid rgba(134,90,255,.35); background: rgba(124,0,172,.15);
  color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  transition: background .2s, border-color .2s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.tile-buy-button:hover { background: rgba(124,0,172,.28); border-color: rgba(168,59,255,.5); }
.game-card { min-height: 110px; display: grid; place-items: end center; padding: 18px; font-weight: 800; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.game-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(5,7,19,.86)); }
.game-card span { position: relative; }
.catalog-hero { margin-bottom: 28px; }
.catalog-hero h1 { font-size: 46px; margin-bottom: 10px; }
.seasonal-promo--catalog { margin-bottom: 28px; }
.catalog-layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
.filters { padding: 22px; align-self: start; position: sticky; top: 92px; }
.filters label { display: grid; gap: 10px; margin: 20px 0; color: #d8dcf0; font-weight: 700; text-transform: uppercase; font-size: 13px; }
input, select {
  width: 100%; min-height: 46px; border: 1px solid rgba(134,90,255,.18); border-radius: 8px;
  color: var(--text); background: #070b19; padding: 0 14px; outline: none;
}
input:focus, select:focus { border-color: #a83bff; }
input[type="range"] { padding: 0; accent-color: #a939ff; }
.filter-title button { border: 0; background: transparent; color: var(--cyan); }
.catalog-results { min-width: 0; }
.result-bar { padding: 16px 20px; margin-bottom: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); gap: 18px; }
.product-tile {
  position: relative; min-height: 320px; border: 1px solid rgba(134,90,255,.2); border-radius: 8px;
  background: #080c1b; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.product-tile--interactive { cursor: pointer; }
.product-tile--interactive:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 59, 255, 0.48);
  box-shadow: 0 22px 52px rgba(124, 0, 172, 0.24), 0 0 32px rgba(34, 200, 255, 0.08);
}
.product-tile--interactive:hover .tile-buy-button {
  border-color: rgba(168, 59, 255, 0.55);
  background: rgba(124, 0, 172, 0.28);
  box-shadow: 0 0 24px rgba(124, 0, 172, 0.35);
}
.tile-image {
  height: 160px; overflow: hidden; position: relative;
  background-size: cover; background-position: center;
  transition: background-size 0.5s ease, background-position 0.5s ease, filter 0.35s ease;
}
.tile-image--crop {
  background-size: 138%; background-position: 22% 18%;
}
.tile-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 12, 27, 0.92) 100%);
  pointer-events: none;
}
.product-tile--interactive:hover .tile-image {
  filter: brightness(1.08) saturate(1.1);
}
.product-tile--interactive:hover .tile-image--crop {
  background-size: 155%; background-position: 16% 12%;
}
.tile-body { padding: 18px; display: grid; gap: 10px; flex: 1; position: relative; z-index: 1; }
.tile-body p { color: var(--muted); line-height: 1.5; }
.tile-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  grid-template-rows: auto auto auto;
  gap: 24px;
  align-items: start;
}
.product-info {
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
  padding: 0 0 8px;
}
.product-info .breadcrumbs { color: var(--muted); margin-bottom: 12px; }
.product-info h1 {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 12px; font-size: 46px; margin-bottom: 12px;
}
.product-info .mini-benefits { justify-content: center; margin-top: 0; }
.product-gallery {
  grid-column: 1; grid-row: 2; display: grid;
  grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; min-width: 0;
  align-items: stretch;
}
.gallery-main {
  position: relative;
  height: 520px; min-height: 520px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden;
  background: #12141c;
}
.gallery-main img,
.gallery-main-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; display: block;
}
.gallery-main img { pointer-events: none; }
.gallery-main-video {
  background: #080c1b; cursor: pointer;
}
.gallery-main-video:fullscreen {
  width: 100%; height: 100%; object-fit: contain; background: #000;
}
.gallery-media-controls {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
}
.gallery-media-btn {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(168, 59, 255, 0.45); background: rgba(9, 12, 28, 0.82);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color .2s, background .2s, transform .2s;
}
.gallery-media-btn:hover {
  border-color: rgba(168, 59, 255, 0.75);
  background: rgba(124, 0, 172, 0.28);
}
.gallery-sound-toggle[aria-pressed="true"] {
  border-color: rgba(34, 200, 255, 0.55);
  background: rgba(34, 200, 255, 0.14);
}
.gallery-sound-icon { font-size: 18px; line-height: 1; }
.gallery-thumb--video { position: relative; }
.gallery-thumb-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 18px; color: #fff; text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
  background: rgba(5, 7, 19, 0.28); pointer-events: none;
}
.gallery-edge {
  position: absolute; top: 0; bottom: 0; width: 20%; min-width: 56px; max-width: 140px;
  border: 0; padding: 0; cursor: pointer; z-index: 2; background: transparent;
  transition: background .2s;
}
.gallery-edge-prev { left: 0; }
.gallery-edge-next { right: 0; }
.gallery-edge:hover { background: linear-gradient(90deg, rgba(124,0,172,.28), transparent); }
.gallery-edge-next:hover { background: linear-gradient(270deg, rgba(124,0,172,.28), transparent); }
.gallery-edge::after {
  content: "‹"; position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 42px; line-height: 1; color: rgba(255,255,255,.0); transition: color .2s;
}
.gallery-edge-next::after { content: "›"; right: 16px; left: auto; }
.gallery-edge-prev::after { left: 16px; }
.gallery-edge:hover::after { color: rgba(255,255,255,.85); text-shadow: 0 0 18px rgba(168,59,255,.8); }
.gallery-rail {
  display: flex; flex-direction: column; gap: 8px;
  height: 520px; min-height: 520px; max-height: 520px;
  box-sizing: border-box;
}
.gallery-nav {
  flex: 0 0 44px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(124, 0, 172, 0.35);
}
.gallery-nav span {
  display: block; font-size: 18px; font-weight: 900; line-height: 1; letter-spacing: -3px;
  transform: rotate(-90deg);
}
#galleryPrev span { transform: rotate(90deg); }
.gallery-nav:hover { filter: brightness(1.08); }
.gallery-nav:disabled { opacity: .45; cursor: default; filter: none; }
.gallery-nav:active:not(:disabled) { transform: translateY(1px); }
.gallery-thumbs-viewport {
  flex: 1; overflow: hidden; min-height: 0;
  mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease; }
.gallery-thumbs button {
  flex: 0 0 auto; width: 100%; height: 64px; border: 2px solid transparent; border-radius: 8px;
  padding: 0; overflow: hidden; background: #1a1d28; cursor: pointer;
}
.gallery-thumbs button.active {
  border-color: #a83bff;
  box-shadow: 0 0 0 1px #a83bff, 0 0 16px rgba(168, 59, 255, 0.35);
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.buy-panel { grid-column: 2; grid-row: 2 / 4; }
.product-details {
  grid-column: 1; grid-row: 3;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start;
}
.product-desc-block, .product-feat-block, .product-req-block { min-width: 0; }
.product-req-block { grid-column: 1 / -1; }
.product-req-block .collapse-body { padding-right: 8px; }
.req-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.req-card {
  padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
}
.req-card--wide { grid-column: 1 / -1; }
.req-card h4 {
  margin: 0 0 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: #c65bff; font-weight: 700;
}
.req-card p { margin: 0; font-size: 14px; line-height: 1.5; color: #c6cadc; }
.req-card code { font-size: 12px; word-break: break-all; }
.req-tags-block { margin-top: 14px; }
.req-tags-label {
  display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: #c65bff; font-weight: 700;
}
.req-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.req-tag {
  padding: 5px 10px; border-radius: 999px; font-size: 12px; line-height: 1.2;
  color: #d8dcf0; background: rgba(124,0,172,.14); border: 1px solid rgba(168,59,255,.22);
}
.req-list { display: grid; gap: 18px; }
.req-row dt {
  margin: 0 0 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #c65bff; font-weight: 600;
}
.req-row dd { margin: 0; color: #c6cadc; }
.req-row dd p { margin: 0 0 10px; }
.req-row dd p:last-child { margin-bottom: 0; }
.product-feat-block .collapse-body { max-height: 520px; overflow-y: auto; padding-right: 16px; }
.product-feat-block .collapse-body::-webkit-scrollbar { width: 6px; }
.product-feat-block .collapse-body::-webkit-scrollbar-thumb { background: rgba(124,0,172,.45); border-radius: 8px; }
.collapse-block { padding: 0; overflow: hidden; }
.collapse-block summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; cursor: pointer; font-size: 20px; font-weight: 700; list-style: none;
  user-select: none;
}
.collapse-block summary::-webkit-details-marker { display: none; }
.collapse-block summary::after {
  content: "+"; color: var(--cyan); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s;
}
.collapse-block[open] summary::after { content: "−"; }
.collapse-block[open] summary { border-bottom: 1px solid rgba(255,255,255,.06); }
.collapse-body { padding: 20px 24px 24px; color: #c6cadc; line-height: 1.75; }
.collapse-body p { margin: 0 0 14px; }
.collapse-body p:last-child { margin-bottom: 0; }
.feat-list { display: grid; gap: 20px; }
.feat-group h3 {
  margin: 0 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #c65bff;
}
.feat-group h4 { margin: 14px 0 8px; font-size: 14px; color: #d8dcf0; font-weight: 600; }
.feat-group ul { margin: 0; padding-left: 20px; }
.feat-group li { margin-bottom: 6px; }
.product-info h1 { font-size: 42px; }
.tag { font-size: 13px; color: #e055ff; border: 1px solid var(--line); padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.rating { margin: 14px 0; color: var(--muted); }
.rating span, .review span { color: #ffc928; }
.mini-benefits { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.mini-benefits span { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.product-status-widget {
  width: min(620px, 100%);
  margin: 20px auto 0;
  padding: 18px;
  border: 1px solid rgba(134, 90, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 11, 25, 0.72);
  text-align: left;
  box-shadow: inset 0 0 32px rgba(39, 0, 172, 0.08);
}
.product-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.status-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-status-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}
.product-status-head strong::before,
.status-badge::before,
.status-option::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}
.status-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.status-option,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.status-option.active { color: #fff; border-color: currentColor; background: rgba(255,255,255,.06); }
.status-option--undetected,
.status-badge--undetected,
.product-status-widget--undetected .product-status-head strong { color: var(--green); }
.status-option--updating,
.status-badge--updating,
.product-status-widget--updating .product-status-head strong { color: #ffc928; }
.status-option--detected,
.status-badge--detected,
.product-status-widget--detected .product-status-head strong { color: #ff5d91; }
.product-status-widget p {
  margin: 0;
  color: #c6cadc;
  line-height: 1.6;
}
.status-badge { width: fit-content; justify-content: flex-start; }
.buy-panel, .panel, .login-card { padding: 24px; }
.tariff { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; margin-bottom: 10px; background: rgba(255,255,255,.02); }
.tariff.active { border-color: #a83bff; background: rgba(124,0,172,.16); }
.error { color: #ff5d91; min-height: 20px; }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.panel ul { padding-left: 20px; color: #c6cadc; line-height: 1.9; }
.compact { margin-top: 0; }
.review { border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 18px; }
.knowledge-hero {
  display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: 28px; align-items: stretch;
  margin-bottom: 24px;
}
.knowledge-hero h1 { font-size: 48px; margin-bottom: 14px; }
.knowledge-gate {
  text-align: center; padding: 40px 28px; display: grid; gap: 16px; justify-items: center;
  max-width: 560px; margin: 0 auto;
}
.knowledge-gate h2 { margin: 0; font-size: 28px; }
.knowledge-gate p { margin: 0; color: #c6cadc; line-height: 1.7; max-width: 42ch; }
.knowledge-gate-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.knowledge-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.knowledge-intro { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.knowledge-section.guide-article { grid-template-columns: 1fr; margin-bottom: 18px; }
.knowledge-fix-list { grid-column: auto; }
.knowledge-path { white-space: nowrap; }
.updates-hero { margin-bottom: 24px; }
.updates-hero h1 { font-size: 48px; margin-bottom: 14px; }
.support-strip {
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background:
    linear-gradient(135deg, rgba(124,0,172,.22), rgba(34,200,255,.08)),
    var(--panel);
  padding: 26px; display: grid; align-content: center; gap: 12px;
  box-shadow: inset 0 0 44px rgba(39, 0, 172, 0.08);
}
.support-strip span, .guide-kicker {
  color: #c65bff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.support-strip strong { font-size: 22px; line-height: 1.35; }
.guide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0;
}
.guide-card, .guide-article {
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background: var(--panel);
  box-shadow: inset 0 0 44px rgba(39, 0, 172, 0.08);
}
.guide-card { min-height: 210px; padding: 24px; display: grid; align-content: space-between; gap: 18px; }
.guide-card p, .guide-article p { color: #c6cadc; line-height: 1.7; }
.guide-number { color: var(--cyan); font-size: 14px; font-weight: 800; }
.guide-content { display: grid; gap: 18px; }
.guide-article { padding: 28px; display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.guide-steps { margin: 0; padding-left: 22px; color: #d9dded; line-height: 1.9; }
.guide-note {
  grid-column: 2; margin: 0; padding: 16px 18px; border: 1px solid rgba(34,200,255,.22);
  border-radius: 8px; background: rgba(34,200,255,.07);
}
.guide-note.warning { border-color: rgba(255,93,145,.34); background: rgba(255,93,145,.08); }
.error-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.error-list div { border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 18px; background: rgba(7,11,25,.72); }
.error-list h3 { margin-bottom: 8px; }
.community-hero {
  display: grid; grid-template-columns: 1fr minmax(320px, 430px); gap: 28px; align-items: stretch;
  margin-bottom: 24px;
}
.community-hero h1 { font-size: 48px; margin-bottom: 14px; }
.community-rules {
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background: var(--panel);
  padding: 26px; display: grid; align-content: center; gap: 10px;
  box-shadow: inset 0 0 44px rgba(39, 0, 172, 0.08);
}
.community-rules span {
  color: #c65bff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.community-rules p { margin: 0; color: #c6cadc; line-height: 1.7; }
.community-layout { display: grid; grid-template-columns: minmax(300px, 390px) 1fr; gap: 20px; align-items: start; }
.community-compose { position: sticky; top: 104px; }
.community-compose h2 { margin-bottom: 12px; }
.community-compose p { color: #c6cadc; line-height: 1.7; }
.community-compose form { display: grid; gap: 14px; }
.community-compose label { display: grid; gap: 8px; color: var(--muted); font-weight: 700; }
input[type="file"] {
  width: 100%; border: 1px solid rgba(134,90,255,.18); border-radius: 8px;
  color: var(--text); background: #070b19; padding: 12px 14px; outline: none;
}
textarea {
  width: 100%; min-height: 110px; border: 1px solid rgba(134,90,255,.18); border-radius: 8px;
  color: var(--text); background: #070b19; padding: 12px 14px; outline: none; resize: vertical;
}
textarea:focus { border-color: #a83bff; }
.config-textarea { min-height: 190px; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.5; }
.community-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px;
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background: var(--panel); padding: 18px;
}
.community-toolbar h2 { margin-bottom: 4px; }
.community-toolbar p { margin: 0; color: var(--muted); }
.community-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.community-filters button {
  min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03);
  padding: 0 14px; color: var(--muted); font-weight: 700;
}
.community-filters button.active { color: #fff; background: rgba(124,0,172,.25); border-color: rgba(168,59,255,.55); }
.community-posts { display: grid; gap: 14px; }
.community-post {
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background: var(--panel);
  padding: 20px; box-shadow: inset 0 0 44px rgba(39, 0, 172, 0.08);
}
.community-post-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.community-post h3 { margin-bottom: 6px; }
.community-meta { color: var(--muted); font-size: 13px; }
.community-type {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--cyan); font-size: 12px; font-weight: 800; white-space: nowrap;
}
.community-description { color: #c6cadc; line-height: 1.7; }
.community-config-file {
  margin: 14px 0; padding: 12px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
  color: var(--muted); font-size: 13px; font-weight: 700;
}
.community-config {
  max-height: 240px; overflow: auto; margin: 14px 0; padding: 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08); background: #050814; color: #d9dded;
  font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.55; white-space: pre-wrap;
}
.community-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.like-button {
  min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03);
  padding: 0 14px; color: var(--text); font-weight: 800;
}
.like-button.active { color: #ff7adf; border-color: rgba(255,122,223,.5); background: rgba(172,0,133,.15); }
.login-card { width: min(460px, 100%); margin: 40px auto; }
.login-card form, .modal { display: grid; gap: 16px; }
.login-card label, .modal label { display: grid; gap: 9px; color: var(--muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.auth-tab {
  min-height: 44px; border: 1px solid rgba(134,90,255,.25); border-radius: 8px;
  background: rgba(255,255,255,.03); color: var(--muted); font-weight: 700; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.auth-tab:hover { border-color: rgba(168,59,255,.45); color: #fff; }
.auth-tab.auth-tab-active {
  background: rgba(124,0,172,.22); border-color: rgba(168,59,255,.5); color: #fff;
}
.auth-panel { display: none; }
.auth-panel.auth-panel-active { display: grid; }
.telegram-auth-block {
  display: flex;
  justify-content: center;
  min-height: 44px;
}
.settings-telegram-panel { display: grid; gap: 12px; }
.telegram-bind-result {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.telegram-bind-result code {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(124,0,172,.18);
  color: #e8c8ff;
  letter-spacing: .08em;
}
.field-hint { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.dashboard { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.profile-side { min-height: 720px; padding: 34px 28px; border-right: 1px solid rgba(255,255,255,.08); }
.avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  padding: 0;
  border: 2px solid #9635ff;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(124,0,172,.7);
  overflow: hidden;
  cursor: pointer;
  background: center / cover no-repeat;
  transition: opacity .2s, transform .2s;
}
.avatar--letter {
  background-image: linear-gradient(135deg, hsl(var(--avatar-hue, 280) 70% 42%), hsl(calc(var(--avatar-hue, 280) + 40) 75% 32%));
}
.avatar--image { background-color: #121729; }
.avatar-letter {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  pointer-events: none;
}
.avatar-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7,10,23,.72);
  color: #f2e8ff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.avatar:hover .avatar-hint,
.avatar:focus-visible .avatar-hint { opacity: 1; }
.avatar.is-uploading { opacity: .55; pointer-events: none; }
.profile-side h2, .profile-side p { text-align: center; }
.profile-side > span:not(.avatar-letter):not(.avatar-hint) { display: block; text-align: center; padding: 10px; border-radius: 8px; background: rgba(124,0,172,.22); color: #e2b9ff; margin-bottom: 34px; }
.profile-side button.side-tab { width: 100%; min-height: 52px; margin: 8px 0; border: 0; border-radius: 8px; background: transparent; text-align: left; padding: 0 20px; color: #c3c8d8; }
.profile-side .side-tab.side-active { background: rgba(124,0,172,.25); border-left: 4px solid #d342ff; color: #fff; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.dash-head p { color: var(--muted); margin-bottom: 0; }
.stats-grid { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.stats-grid strong { display: block; font-size: 32px; color: var(--cyan); margin: 10px 0; }
.referral-layout { display: grid; gap: 18px; }
.referral-inline-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.referral-inline-form input { flex: 1 1 180px; min-width: 0; }
.referral-code-display { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.referral-code-display code {
  padding: 12px 18px; border-radius: 10px; background: rgba(124,0,172,.18);
  color: #e8c8ff; font-size: 20px; letter-spacing: .06em;
}
.referral-progress {
  height: 8px; margin: 14px 0 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden;
}
.referral-progress span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #7c00ac, #d342ff);
}
.referral-stats-grid { margin: 12px 0 20px; }
.referral-rewards-list { display: grid; gap: 10px; }
.referral-reward-row {
  padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06); font-size: 14px;
}
.referral-reward-row small { display: block; margin-top: 4px; color: var(--muted); }
.referral-bound { margin: 0; font-weight: 700; color: #e2b9ff; }
.referral-first-hint { margin: 10px 0 0; color: var(--cyan); font-size: 14px; }
.referral-pricing { margin: 12px 0 4px; padding: 12px 14px; border-radius: 10px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2); }
.referral-price-line { margin: 0; }
.referral-price-line s { color: var(--muted); margin-right: 8px; }
.referral-price-line strong { color: #6ee7b7; }
.referral-bonus { margin: 6px 0 0; color: var(--cyan); font-size: 14px; }
.promo-form-wrap { margin: 12px 0 4px; }
.promo-form { display: grid; gap: 8px; }
.gift-form-wrap { margin: 12px 0 4px; }
.gift-mode-toggle {
  display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px;
}
.gift-mode-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--cyan); }
.gift-recipient-wrap { margin-top: 12px; }
.gift-recipient-status { margin: 6px 0 0; font-size: 13px; }
.gift-recipient-status.is-found { color: #6ee7b7; }
.gift-recipient-status.is-not-found,
.gift-recipient-status.is-self { color: #f87171; }
.gift-recipient-status.is-checking { color: var(--muted); }
.promo-inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-inline-form input { flex: 1 1 140px; min-width: 0; }
.discount-breakdown {
  margin: 12px 0 4px; padding: 12px 14px; border-radius: 10px;
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2);
}
.discount-line { margin: 0 0 6px; font-size: 14px; }
.discount-line s { color: var(--muted); margin-right: 6px; }
.discount-line strong { color: #6ee7b7; }
.discount-hint { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.admin-promo-panel { margin-top: 18px; }
.promo-admin-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px; margin-bottom: 20px;
}
.promo-admin-form label { display: grid; gap: 6px; font-size: 14px; }
.promo-admin-table { overflow-x: auto; }
.admin-config-table { display: grid; gap: 14px; }
.admin-config-card {
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background: rgba(255,255,255,.02);
  padding: 16px; display: grid; gap: 12px;
}
.admin-config-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.admin-config-head strong { display: block; margin-bottom: 4px; }
.admin-config-head span, .admin-config-file { color: var(--muted); font-size: 13px; }
.admin-config-card p { margin: 0; color: #c6cadc; line-height: 1.6; }
.changelog-panel { margin-top: 28px; }
.changelog-feed, .changelog-admin-table, .support-admin-table, .support-tickets-list { display: grid; gap: 14px; }
.changelog-card, .support-ticket-card {
  border: 1px solid rgba(134, 90, 255, 0.2); border-radius: 8px; background: rgba(255,255,255,.02);
  padding: 16px; display: grid; gap: 10px;
}
.changelog-head, .support-ticket-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.changelog-meta, .support-ticket-meta { color: var(--muted); font-size: 13px; }
.changelog-body { margin: 0; color: #c6cadc; line-height: 1.6; white-space: pre-line; }
.changelog-fixes { margin: 0; padding-left: 18px; color: #c6cadc; line-height: 1.6; }
.support-layout { display: grid; gap: 20px; }
.support-form, .changelog-admin-form, .support-reply-form { display: grid; gap: 12px; }
.support-form label, .changelog-admin-form label, .support-reply-form textarea { display: grid; gap: 6px; font-size: 14px; }
.changelog-admin-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.changelog-admin-form label.wide { grid-column: 1 / -1; }
.support-form textarea, .changelog-admin-form textarea, .support-reply-form textarea {
  width: 100%; min-height: 132px; max-height: 168px; resize: vertical; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.2); color: inherit; padding: 12px;
}
.support-attachments-field { display: grid; gap: 8px; }
.support-attachments-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 14px; font-weight: 700; }
.support-attachments-hint { color: var(--muted); font-size: 12px; font-weight: 500; }
.support-attachments-preview { display: flex; flex-wrap: wrap; gap: 10px; }
.support-attachments-preview.hidden { display: none; }
.support-attachment-chip {
  position: relative; width: 92px; display: grid; gap: 4px;
}
.support-attachment-chip img {
  width: 92px; height: 68px; object-fit: cover; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.25);
}
.support-attachment-chip span {
  font-size: 11px; color: var(--muted); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.support-attachment-remove {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 14px; line-height: 1; cursor: pointer;
}
.support-attachment-remove:hover { background: rgba(124,0,172,.85); }
.support-ticket-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.support-attachment-link {
  min-height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(134,90,255,.28);
  background: rgba(255,255,255,.03); color: #d8dcff; font-size: 12px; font-weight: 700; cursor: pointer;
}
.support-attachment-link:hover { border-color: rgba(168,59,255,.55); color: #fff; }
.support-ticket-message { margin: 0; color: #c6cadc; line-height: 1.6; white-space: pre-wrap; }
.support-ticket-reply {
  border-left: 3px solid rgba(134, 90, 255, 0.45); padding-left: 12px; display: grid; gap: 6px;
}
.support-ticket-reply span { color: var(--muted); font-size: 13px; text-transform: uppercase; font-weight: 700; }
.support-ticket-reply p { margin: 0; color: #e8ebff; line-height: 1.6; white-space: pre-wrap; }
.support-status {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12);
}
.support-status-open { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); }
.support-status-answered { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.35); }
.support-status-closed { color: var(--muted); }
.support-admin-active { display: grid; gap: 14px; }
.admin-support-active-empty { margin: 0; }
.support-closed-panel { margin-top: 4px; }
.support-closed-list { display: grid; gap: 14px; padding-top: 0; }
.support-closed-list .support-ticket-card { margin: 0; }
.promo-table-head, .promo-table-row {
  display: grid; grid-template-columns: 1fr .6fr .8fr 1.4fr .7fr .9fr;
  gap: 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06); min-width: 860px;
}
.promo-table-head { color: var(--muted); font-size: 13px; text-transform: uppercase; font-weight: 700; }
.promo-active { color: #6ee7b7; font-weight: 700; }
.promo-inactive { color: var(--muted); }
.panel-note { color: var(--muted); font-size: 14px; margin: 0; }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.panel-toolbar h2 { margin-bottom: 0; }
.panel-toolbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.muted-label { color: var(--muted); font-size: 14px; }
.empty-state { color: var(--muted); padding: 24px 0; margin: 0; }
.subs-table { display: grid; gap: 0; overflow-x: auto; }
.license-bind-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.license-bind-field { display: grid; gap: 8px; }
.license-bind-actions { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.license-bind-actions .field-hint { margin: 0; flex: 1 1 220px; }
.license-bind-panel.is-disabled { opacity: 0.72; }
.license-bind-panel.is-disabled input,
.license-bind-panel.is-disabled button { pointer-events: none; }
.subs-table-head, .subs-table-row {
  display: grid; grid-template-columns: 1.1fr .7fr .9fr 1.1fr 1.8fr; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); min-width: 920px;
}
.subs-table-head { color: var(--muted); font-size: 13px; text-transform: uppercase; font-weight: 700; }
.sub-name { font-weight: 700; }
.sub-key { font-size: 12px; color: var(--cyan); word-break: break-all; }
.sub-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; align-items: center; }
#subsTable.is-busy { opacity: 0.65; pointer-events: none; }
#subsTable.is-busy .compact-btn { cursor: wait; }
.badge-frozen {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: rgba(96, 165, 250, 0.15); color: #93c5fd; font-size: 12px; font-weight: 700;
}
.compact-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.danger-btn { color: #ff5d91; border-color: rgba(255, 93, 145, 0.35); }
.danger-btn:hover { background: rgba(255, 93, 145, 0.1); }
.renew-banner { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(90, 140, 255, 0.12); border: 1px solid rgba(90, 140, 255, 0.25); color: var(--text); font-size: 14px; }
.freeze-modal { max-width: 520px; }
.freeze-rules { margin: 0; color: var(--muted); }
.freeze-rules-list {
  margin: 0; padding-left: 20px; color: #c6cadc; line-height: 1.7; display: grid; gap: 8px;
}
.admin-users-table { overflow-x: auto; }
.admin-table-head, .admin-table-row {
  display: grid; grid-template-columns: 60px 1fr 1.2fr 1fr 80px; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); min-width: 640px;
}
.admin-table-head { color: var(--muted); font-size: 13px; text-transform: uppercase; font-weight: 700; }
.admin-yes { color: #ffd27a; font-weight: 700; }
.compact-btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.download-info { display: grid; gap: 4px; }
.download-info span { color: var(--muted); font-size: 14px; }
.download-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.notice-panel { margin-top: 18px; }
.setup-steps { margin: 0; padding-left: 20px; color: #c6cadc; line-height: 1.9; }
.settings-layout { display: grid; gap: 18px; }
.settings-profile-panel h2 { margin-bottom: 16px; }
.settings-form-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  align-items: end;
}
.settings-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.settings-notify-panel,
.settings-security-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.settings-notify-panel h2,
.settings-security-panel h2 { margin-bottom: 16px; }
.settings-form { display: grid; gap: 16px; }
.settings-form label { display: grid; gap: 9px; color: var(--muted); }
.toggle-list { display: grid; gap: 14px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #d8dcf0; }
.toggle-row input { width: auto; accent-color: #a939ff; }
.hwid-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); display: grid; gap: 10px; }
.hwid-block span { color: var(--muted); font-size: 13px; text-transform: uppercase; font-weight: 700; }
.hwid-block code { font-size: 14px; color: var(--cyan); word-break: break-all; }
.twofa-block { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.06); display: grid; gap: 14px; }
.twofa-block h3 { font-size: 15px; margin: 0; color: #e8ebf8; }
.twofa-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.twofa-qr {
  display: block; width: 220px; height: 220px; margin: 0 auto;
  border-radius: 12px; background: #fff; padding: 8px;
}
.twofa-secret-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.twofa-secret-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; color: #e8ebf8; word-break: break-all;
}
.danger-text { color: #ff7aa8 !important; border-color: rgba(255, 93, 145, 0.35) !important; }
.login-2fa-modal menu { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.danger-panel { border-color: rgba(255, 93, 145, 0.25); }
.progress { height: 8px; border-radius: 20px; background: #121729; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #7c00ac, #ff53ff); }
.dash-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; margin-top: 18px; }
.wide { min-width: 0; }
.sub-card { border: 1px solid rgba(134,90,255,.18); border-radius: 8px; padding: 18px; background: rgba(7,11,25,.72); }
.sub-card b { color: var(--green); }
.activity-item { border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 0; color: #c9cede; }
.account-history-list { display: grid; gap: 0; max-height: 320px; overflow: auto; }
.history-item { border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 0; display: grid; gap: 4px; color: #c9cede; font-size: 14px; }
.history-item strong { color: #f0f2fa; font-size: 14px; }
.history-item small { color: var(--muted); font-size: 12px; }
.history-status-ok { color: #6ee7a8; font-style: normal; }
.history-status-pending { color: #f5d76e; font-style: normal; }
.history-status-muted { color: var(--muted); font-style: normal; }
.auth-forgot-wrap { margin: 0; text-align: center; }
.changelog-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.password-reset-modal menu, .changelog-edit-modal menu { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.changelog-edit-modal { display: grid; gap: 12px; min-width: min(480px, 92vw); }
.changelog-edit-modal label { display: grid; gap: 6px; font-size: 14px; }
.download-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.06); padding: 14px 0; }
.download-row button, .quick-grid button { border: 1px solid var(--line); border-radius: 8px; background: rgba(124,0,172,.13); padding: 12px; }
.quick-grid { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
dialog { border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #070a17; width: min(460px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(0,0,0,.72); }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-methods button { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); }
.pay-methods button.active { background: var(--grad); }
.pay-methods button:disabled { opacity: 0.55; cursor: not-allowed; }
.pay-method-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 0.9rem; }
.pay-soon-badge { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.topup-hint { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
menu { padding: 0; margin: 0; }
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid rgba(168,59,255,.35);
  background: rgba(11,16,33,.96);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
}
.cookie-banner p {
  margin: 0;
  color: #c9cede;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner .primary-button {
  flex-shrink: 0;
  min-width: 120px;
}
.cookie-banner-link {
  color: #d9a8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-link:hover { color: #fff; }
.site-footer {
  margin-top: 48px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-bottom: 14px;
}
.site-footer-nav a {
  color: #b8bfd4;
  font-size: 14px;
  text-decoration: none;
}
.site-footer-nav a:hover { color: #fff; }
.site-footer-copy {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.legal-page-body { min-height: 100vh; }
.legal-shell { padding-bottom: 40px; }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
.legal-back {
  color: #b8bfd4;
  font-size: 14px;
  text-decoration: none;
}
.legal-back:hover { color: #fff; }
.legal-brand {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}
.legal-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 32px;
}
.legal-doc h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 24px;
}
.legal-doc h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: #eef1ff;
}
.legal-doc p,
.legal-doc li {
  color: #c6cadc;
  line-height: 1.75;
}
.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.legal-doc a { color: #d9a8ff; }
.toast { position: fixed; right: 20px; bottom: 20px; max-width: 360px; padding: 16px 18px; border-radius: 8px; background: #11182d; border: 1px solid #a83bff; opacity: 0; transform: translateY(16px); transition: .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1150px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 36px 0; }
  .hero-visual { padding: 0 36px 36px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-page { grid-template-columns: 1fr; }
  .product-info, .product-gallery, .buy-panel, .product-details { grid-column: 1; grid-row: auto; }
  .product-details { grid-template-columns: 1fr; }
  .buy-panel { max-width: none; grid-row: auto; }
  .catalog-hero, .catalog-layout, .dashboard, .dash-grid, .knowledge-hero, .guide-article, .community-hero, .community-layout { grid-template-columns: 1fr; }
  .community-compose { position: static; }
  .guide-note { grid-column: auto; }
  .error-list { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 20px, 1500px); }
  .topbar, .nav, .top-actions, .dash-head, .result-bar, menu { flex-wrap: wrap; }
  .topbar {
    top: 8px;
    gap: 14px;
    margin-top: 8px;
    padding: 10px 12px;
  }
  .brand { font-size: 18px; }
  .nav-shell {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .nav { width: 100%; justify-content: flex-start; gap: 4px; flex-wrap: nowrap; }
  .nav-link { flex: 0 0 auto; padding: 12px 10px; font-size: 14px; }
  .top-actions { width: 100%; }
  .top-actions button { flex: 1; min-width: 0; }
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { padding: 36px 22px 0; }
  .hero-visual { padding: 0 22px 28px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .hero-actions, .section-head { align-items: stretch; flex-direction: column; }
  .hero-actions button, .section-head button { width: 100%; }
  .wide-products, .games-grid, .stats-grid, .subs-grid, .info-grid, .quick-grid, .settings-bottom-grid, .settings-form-inline { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .product-card--featured { grid-template-columns: 1fr; }
  .product-card-actions { flex-direction: column; }
  .product-card-actions button { width: 100%; }
  .home-product-intro h2 { font-size: 28px; }
  .subs-table-head, .subs-table-row { min-width: 0; grid-template-columns: 1fr; gap: 8px; }
  .subs-table-head { display: none; }
  .sub-actions, .download-row { flex-direction: column; align-items: stretch; }
  .download-row { align-items: stretch; gap: 14px; }
  .download-actions { width: 100%; }
  .download-actions button { flex: 1; }
  .product-card { grid-template-columns: 58px 1fr; }
  .product-card:not(.product-card--featured) > button:last-child { grid-column: 1 / -1; width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-page { gap: 18px; }
  .gallery-main { height: 360px; min-height: 360px; }
  .gallery-rail { height: 360px; min-height: 360px; max-height: 360px; }
  .gallery-nav { flex-basis: 40px; }
  .product-gallery { grid-template-columns: minmax(0, 1fr) 68px; }
  .gallery-thumbs button { height: 50px; }
  .product-info h1 { font-size: 28px; }
  .catalog-hero h1, .knowledge-hero h1, .updates-hero h1, .community-hero h1 { font-size: 32px; }
  .guide-article, .guide-card, .support-strip, .community-rules, .community-post, .community-toolbar { padding: 20px; }
  .community-toolbar, .community-post-head { align-items: stretch; flex-direction: column; }
  .community-filters { justify-content: flex-start; }
  .community-filters button { flex: 1; min-width: 120px; }
  .status-options { grid-template-columns: 1fr; }
  .product-status-head { align-items: flex-start; flex-direction: column; }
  .tile-bottom { align-items: stretch; flex-direction: column; gap: 12px; }
  .tile-bottom button { width: 100%; }
  .profile-side { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .dash-head { align-items: stretch; }
  .dash-head .ghost-button { width: 100%; }
  .pay-methods { grid-template-columns: 1fr; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner .primary-button { width: 100%; }
}

.landing-page-body { background: var(--bg); }
.landing-shell { max-width: 1120px; }
.landing-header { margin-bottom: 28px; }
.landing-hero { padding: 36px; margin-bottom: 28px; overflow: hidden; }
.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.landing-hero h1 { font-size: 44px; line-height: 1.08; margin: 12px 0 16px; }
.landing-hero-visual img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.landing-section { margin-bottom: 28px; }
.landing-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.landing-feature-card { padding: 24px; }
.landing-feature-card h3 { margin-bottom: 12px; color: var(--cyan); }
.landing-feature-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.landing-pricing {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 32px;
}
.landing-price-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.landing-price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.landing-pricing-cta {
  display: grid;
  gap: 14px;
  align-content: center;
}
.seasonal-promo { margin: 0 0 28px; }
.seasonal-promo-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(124,0,172,.28), rgba(34,200,255,.12));
  border: 1px solid rgba(168,59,255,.28);
}
.seasonal-promo-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}
.seasonal-promo-code {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(0,0,0,.35);
  border: 1px dashed rgba(255,255,255,.18);
  font-size: 18px;
  letter-spacing: 0.08em;
}
@media (max-width: 960px) {
  .landing-hero-grid, .landing-features, .landing-pricing, .seasonal-promo-inner { grid-template-columns: 1fr; }
  .landing-hero h1 { font-size: 32px; }
  .seasonal-promo-actions { justify-items: stretch; }
}
