/* =========================================================
   OLD ZOMBIE — основной стиль
   ========================================================= */

:root {
  --bg: #070b12;
  --bg-2: #0a0f18;
  --panel: #0e1520;
  --panel-2: #121a27;
  --panel-3: #172031;
  --line: rgba(148, 163, 194, .12);
  --line-2: rgba(148, 163, 194, .2);
  --line-violet: rgba(168, 85, 255, .32);
  --text: #eef1f7;
  --muted: #8b94a7;
  --dim: #5d6679;
  --violet: #8b3dff;
  --violet-2: #b24dff;
  --lilac: #c68cff;
  --pink: #e24cf2;
  --rose: #ef3f78;
  --green: #5ef0a8;
  --gold: #ffc94a;
  --cyan: #4fd6f5;
  --red: #ff5d6c;
  --blue: #4f86e0;

  --sb: 250px;
  --tb: 60px;
  --pad: 30px;
  --r: 12px;
  --r-sm: 8px;

  --grad-violet: linear-gradient(135deg, #7a2cff 0%, #a63dff 55%, #c04bff 100%);
  --shadow-violet: 0 0 28px rgba(142, 49, 255, .35);

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 198, 140, 255;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tb) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(120, 40, 200, .16), transparent 70%),
    radial-gradient(700px 500px at 10% 110%, rgba(90, 30, 170, .12), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--bs-body-font-family);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }
button { font-family: inherit; }
::selection { background: rgba(160, 70, 255, .45); color: #fff; }

:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }

/* Скроллбары */
* { scrollbar-width: thin; scrollbar-color: #2a2140 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #2a2140; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

.txt-gold { color: var(--gold) !important; }
.txt-violet { color: var(--lilac); }
.pad { padding-left: var(--pad); padding-right: var(--pad); }

/* =========================================================
   КНОПКИ
   ========================================================= */
.btn-neon,
.btn-ghost-oz,
.btn-violet,
.btn-outline-dark-oz,
.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s;
}
.btn-neon {
  color: #fff;
  border: 1px solid rgba(225, 181, 255, .28);
  background: var(--grad-violet);
  box-shadow: var(--shadow-violet), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-neon:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 40px rgba(169, 48, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-neon:active { transform: translateY(0); }
.btn-neon i { font-size: 1.15em; }

.btn-ghost-oz {
  color: var(--text);
  border: 1px solid rgba(200, 208, 225, .35);
  background: rgba(8, 12, 20, .55);
  backdrop-filter: blur(6px);
}
.btn-ghost-oz:hover { color: #fff; border-color: var(--violet-2); background: rgba(40, 18, 70, .5); }

.btn-lg-oz { height: 54px; padding: 0 30px; font-size: 15px; min-width: 210px; }

.btn-violet {
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
  color: #fff;
  border: 1px solid #9b52ff;
  background: var(--grad-violet);
  box-shadow: 0 0 22px rgba(132, 45, 235, .3);
}
.btn-violet:hover { color: #fff; box-shadow: 0 0 32px rgba(150, 55, 255, .5); }

.btn-outline-dark-oz {
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
  color: #fff;
  background: #0b1019;
  border: 1px solid #333c4e;
}
.btn-outline-dark-oz:hover { border-color: #56607a; background: #111827; }

.btn-pink {
  height: 42px;
  font-size: 13px;
  color: #fff;
  border: 1px solid rgba(255, 150, 190, .35);
  background: linear-gradient(135deg, #d8266a, #f0417f 60%, #ff5a8f);
  box-shadow: 0 0 24px rgba(240, 60, 120, .35);
}

.icon-square {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid #263148;
  background: #101725;
  color: #c7cfdd;
  transition: .18s;
}
.icon-square:hover { border-color: var(--violet-2); color: #fff; }

/* =========================================================
   ПАНЕЛИ
   ========================================================= */
.panel {
  background: linear-gradient(180deg, rgba(16, 23, 35, .96), rgba(11, 17, 27, .97));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .025);
}
.panel-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 11px;
}
.panel-head h2 i { font-size: 16px; color: #e6e9f0; }
.panel-link, .panel-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lilac);
}
.panel-link:hover, .panel-foot-link:hover { color: #fff; }
.panel-foot-link { justify-content: center; width: 100%; padding: 14px; border-top: 1px solid var(--line); }

.dot-live {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  display: inline-block;
  flex: none;
  animation: live 1.8s ease-in-out infinite;
}
.dot-live.sm { width: 8px; height: 8px; }
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 240, 168, .5), 0 0 14px var(--green); }
  50% { box-shadow: 0 0 0 6px rgba(94, 240, 168, 0), 0 0 18px var(--green); }
}

.role-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  font-style: normal;
  border: 1px solid;
  color: #c7cfdd;
  border-color: #3a4458;
  background: #1a2233;
}
.role-pill.admin { color: #ff6a74; border-color: #8e2a33; background: #34121a; }
.role-pill.vip { color: #ffc24f; border-color: #7e5620; background: #2e210c; }
.role-pill.delux { color: #e5d7ff; border-color: #7652d6; background: #24183f; }

/* =========================================================
   САЙДБАР
   ========================================================= */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sb);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f1622 0%, #0b111a 60%, #090e16 100%);
  border-right: 1px solid rgba(133, 102, 190, .18);
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: pan-x;
  transition: transform .3s ease;
}
.sb-brand {
  flex: none;
  height: 196px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(174, 84, 255, .28);
  background: radial-gradient(closest-side, rgba(160, 50, 255, .18), transparent);
}
.sb-brand img {
  width: 196px;
  height: 196px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(190, 60, 255, .25));
  transition: transform .3s ease;
}
.sb-brand:hover img { transform: scale(1.04) rotate(-1.5deg); }

.sb-nav { padding: 14px 10px 8px; }
.sb-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 0 18px;
  margin: 0 0 6px;
  border-radius: 9px;
  border: 1px solid transparent;
  color: #d3d8e2;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.sb-link > i:first-child { width: 22px; text-align: center; font-size: 18px; color: #c9cfdb; }
.sb-link:hover { color: #fff; background: rgba(255, 255, 255, .035); }
.sb-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(139, 61, 255, .34), rgba(90, 40, 150, .18));
  border-color: rgba(167, 69, 255, .35);
  box-shadow: inset 0 0 20px rgba(150, 60, 255, .12);
}
.sb-link.active > i:first-child { color: #e2b8ff; }
.sb-link.active::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: #d24bff;
  box-shadow: 0 0 16px #c93aff;
}
.sb-nav { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.sb-caret { margin-left: auto; font-size: 11px; color: var(--muted); transition: transform .25s, color .2s; }
.sb-toggle[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .04); }
.sb-toggle[aria-expanded="true"] .sb-caret { color: var(--lilac); transform: translateX(3px); }
.sb-toggle::after { display: none !important; }
.sb-drop .dropdown-menu { z-index: 1060; }


.sb-bottom { flex: none; padding: 6px 18px 18px; margin-top: auto; }
.sb-bottom .btn-neon { height: 50px; font-size: 15px; }

.sb-community {
  margin-top: 14px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(14, 21, 32, .8);
}
.sb-community-title { font-size: 12px; font-weight: 600; color: #dce1ea; margin-bottom: 11px; }
.sb-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sb-social a {
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(90, 145, 255, .45);
  background: rgba(33, 75, 154, .12);
  color: #82abff;
  font-size: 20px;
  font-weight: 600;
  transition: .2s;
}
.sb-social a span { font-size: 13px; color: #dfe4ee; }
.sb-social a:hover { background: rgba(60, 110, 220, .25); border-color: #6d9bff; color: #fff; }
.sb-community-url { display: block; margin-top: 10px; font-size: 11px; color: #7f8ca4; letter-spacing: .03em; }

.sb-promo {
  position: relative;
  flex: none;
  display: block;
  height: 112px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.sb-promo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(.9) brightness(.7); transition: transform .5s ease; }
.sb-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 10, 17, .9), rgba(7, 10, 17, .1)); }
.sb-promo span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  color: #cfd5e0;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sb-promo span b { display: block; font-size: 17px; font-weight: 900; color: #fff; letter-spacing: 0; }
.sb-promo:hover img { transform: scale(1.06); }

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1035;
  background: rgba(3, 5, 10, .65);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

/* =========================================================
   ТОПБАР
   ========================================================= */
.shell { margin-left: var(--sb); min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  height: var(--tb);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--pad) 0 26px;
  background: rgba(8, 12, 19, .86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.tb-burger {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e5e9f0;
  font-size: 20px;
}
.tb-burger:hover { background: rgba(255, 255, 255, .05); }
.tb-logo { display: none; }
.tb-logo img { height: 34px; width: auto; }

.tb-ip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #eef1f7;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.tb-ip > i:first-child { color: #aeb6c4; }
.tb-ip-copy { color: #7f8899; margin-left: 6px; }
.tb-ip:hover { background: rgba(255, 255, 255, .04); }
.tb-ip:hover .tb-ip-copy { color: var(--lilac); }

.tb-nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.tb-nav a { padding: 8px 16px; font-size: 13px; font-weight: 600; color: #c9ced7; border-radius: 7px; transition: .2s; }
.tb-nav a:hover { color: #fff; background: rgba(255, 255, 255, .04); }

.tb-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tb-search {
  display: flex;
  align-items: center;
  width: 260px;
  height: 40px;
  padding: 0 6px 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(119, 84, 171, .32);
  background: #0c121e;
  transition: .2s;
}
.tb-search:focus-within { border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(150, 60, 255, .15); }
.tb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #dce0e8; font-size: 13px; }
.tb-search input::placeholder { color: #6f788a; }
.tb-search button { border: 0; background: none; color: #9a82c7; width: 30px; height: 30px; }
.tb-icon-login { display: none; }

.tb-credits {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 201, 74, .25);
  background: rgba(255, 201, 74, .06);
  color: #ffe19a;
  font-weight: 700;
  font-size: 13px;
}
.tb-credits i { color: var(--gold); }
.tb-user {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px 0 4px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #0e1520;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.tb-user img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.tb-user i { font-size: 10px; color: var(--muted); }
.tb-user:hover { border-color: var(--line-violet); }

.oz-dropdown {
  --bs-dropdown-bg: #0f1623;
  --bs-dropdown-border-color: var(--line-2);
  --bs-dropdown-link-color: #d6dbe5;
  --bs-dropdown-link-hover-bg: rgba(139, 61, 255, .16);
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-active-bg: rgba(139, 61, 255, .3);
  --bs-dropdown-divider-bg: var(--line-2);
  min-width: 240px;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
}
.oz-dropdown .dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.oz-dropdown .dropdown-item i { width: 16px; text-align: center; color: var(--muted); }
.oz-dropdown .dropdown-item:hover i { color: var(--lilac); }
.oz-dd-head { display: flex; gap: 12px; align-items: center; padding: 8px 10px 12px; }
.oz-dd-head img { width: 42px; height: 42px; border-radius: 10px; }
.oz-dd-head b { display: block; font-size: 14px; margin-bottom: 3px; }
.text-danger-soft { color: #ff7d88 !important; }
.text-danger-soft i { color: #ff7d88 !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 405px;
  gap: 20px;
  padding-right: var(--pad);
  align-items: stretch;
}
.hero {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 0 0 14px 0;
  border: 1px solid rgba(120, 80, 180, .22);
  border-width: 0 1px 1px 0;
  background: #0a0612;
}
.hero-media {
  position: absolute;
  top: -6.6cqw;
  left: 0;
  width: 100cqw;
  height: auto;
  max-width: none;
  user-select: none;
  pointer-events: none;
  animation: heroIn 1.4s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes heroIn {
  from { transform: scale(1.06); filter: brightness(.4) saturate(.6); }
  to { transform: none; filter: none; }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 55% at 18% 92%, rgba(7, 9, 16, .92) 0%, rgba(7, 9, 16, .55) 45%, transparent 75%),
    linear-gradient(0deg, rgba(7, 9, 16, .7) 0%, transparent 38%);
}
.hero-body {
  position: relative;
  z-index: 2;
  min-height: max(31cqw, calc(21cqw + 168px));
  padding: 21cqw 30px 28px 6.4cqw;
}
.hero-text {
  max-width: 520px;
  margin: 0 0 20px;
  color: #cdd2dc;
  font-size: 15px;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
  animation: rise .8s .35s ease both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: rise .8s .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Карточка сервера */
.server-card { margin-top: 20px; padding: 22px 24px 0; overflow: hidden; display: flex; flex-direction: column; }
.server-card .sc-dev { margin-top: auto; }
.server-card .sc-connect { margin-bottom: 18px; }
.sc-status { display: flex; align-items: center; gap: 12px; color: var(--green); font-weight: 700; font-size: 14px; }
.sc-ip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.sc-ip strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.sc-map { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 12px; }
.sc-lines > div { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 6px 0; }
.sc-lines small { color: var(--muted); font-size: 13px; min-width: 56px; }
.sc-lines b { font-weight: 600; }
.sc-map-shot {
  position: relative;
  width: 150px;
  height: 72px;
  flex: none;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(160deg, rgba(160, 200, 230, .25), rgba(10, 20, 35, .6)),
    linear-gradient(0deg, #1d2a3a 0 30%, transparent 30%),
    linear-gradient(90deg, #5d7890 0 20%, #8fb0c8 20% 26%, #5d7890 26% 60%, #34485c 60%);
}
.sc-map-shot::before {
  content: "";
  position: absolute;
  left: 42%;
  bottom: 22%;
  width: 26px;
  height: 22px;
  background: linear-gradient(135deg, #a9d3ee, #4f7fa3);
  box-shadow: 30px 6px 0 -4px #6a90ad, -34px 8px 0 -6px #8fb6d1;
  border-radius: 2px;
}
.sc-map-shot span { position: absolute; right: 6px; bottom: 4px; font-size: 9px; font-weight: 800; color: rgba(255, 255, 255, .6); text-transform: uppercase; }
.sc-bar { height: 7px; margin-top: 10px; border-radius: 10px; background: #232b3b; overflow: hidden; }
.sc-bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #4fe0a0, #72f6c0); box-shadow: 0 0 14px #5ef0a8; }
.sc-connect { display: flex; gap: 10px; margin-top: 18px; }
.sc-connect .btn-neon { flex: 1; min-width: 0; height: 48px; font-size: 14px; padding: 0 14px; }
.sc-slots {
  min-width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid #222b3c;
  background: #111826;
  font-weight: 700;
}
.sc-slots i { color: #5f86b4; }
.sc-dev {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px -24px 0;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.sc-dev img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #2b2342; }
.sc-dev small { display: block; color: var(--muted); font-size: 12px; }
.sc-dev b { font-size: 14px; }
.sc-dev-online { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 600; }

/* =========================================================
   ФИЧИ
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101824, #0c131d);
  transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: var(--line-violet); transform: translateY(-2px); }
.feature-ico { width: 54px; flex: none; text-align: center; font-size: 34px; filter: drop-shadow(0 0 12px currentColor); }
.feature-ico.cyan { color: var(--cyan); }
.feature-ico.gold { color: var(--gold); }
.feature-ico.violet { color: #a96bff; }
.feature-ico.pink { color: #f06ae6; }
.feature-txt b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.feature-txt > span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--muted); }

/* =========================================================
   ДОСКА: ФОРУМ / ТОП / ПРОМО
   ========================================================= */
.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px 275px;
  grid-template-areas: "main side promo";
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}
.board-main { grid-area: main; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.board-side { grid-area: side; display: flex; flex-direction: column; gap: 16px; }
.board-promo { grid-area: promo; display: flex; flex-direction: column; gap: 16px; }

/* Форум */
.forum-list { padding: 4px 0; }
.topic {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 112px 56px 66px 230px;
  align-items: center;
  column-gap: 14px;
  min-height: 62px;
  padding: 8px 18px;
  border-top: 1px solid rgba(148, 163, 194, .07);
  transition: background .2s;
}
.topic:first-child { border-top: 0; }
.topic:hover { background: rgba(139, 61, 255, .06); }
.topic-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #232b3c; }
.topic-main { min-width: 0; }
.topic-main b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topic-main span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
em { font-style: normal; color: #b068ff; }
.topic:hover .topic-main b { color: #fff; }

.tag {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.tag.update { color: #b67dff; border-color: #5e33a3; background: #22133a; }
.tag.idea { color: #4fd8fb; border-color: #287f98; background: #0b2730; }
.tag.report { color: #ff6d6b; border-color: #8e3431; background: #321416; }
.tag.question { color: #9dbfff; border-color: #435e8b; background: #151f35; }
.tag.chat { color: #d4d8e0; border-color: #4b5568; background: #1f2631; }

.topic-stat { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #aab1be; }
.topic-stat i { color: #7d8698; }
.topic-last { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topic-last img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.topic-last small { display: block; font-size: 11px; color: var(--dim); }
.topic-last span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Особенности */
.slider-nav { display: flex; gap: 8px; }
.slider-nav button {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid #263044;
  background: #111a27;
  color: #8e99ad;
  font-size: 12px;
  transition: .2s;
}
.slider-nav button:hover { color: #fff; border-color: var(--violet-2); }
.specials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3px) / 4);
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 0 0 var(--r) var(--r);
}
.specials-track::-webkit-scrollbar { display: none; }
.special {
  position: relative;
  min-height: 128px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  overflow: hidden;
}
.special::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 19, .92) 0%, rgba(8, 11, 19, .55) 60%, rgba(8, 11, 19, .2) 100%),
    linear-gradient(0deg, rgba(8, 11, 19, .7), transparent 70%);
  transition: opacity .3s;
}
.special:hover::before { opacity: .8; }
.special > * { position: relative; }
.special-num { font-size: 32px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.special b { margin-top: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.special small { margin-top: 3px; font-size: 11px; line-height: 1.35; color: #b2b9c6; }

/* Топ */
.oz-select {
  height: 30px;
  padding: 0 28px 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: #1a2231 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239aa3b5' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #c3cad6;
  font-size: 12px;
  appearance: none;
  cursor: pointer;
}
.top-list { list-style: none; margin: 0; padding: 6px 0; }
.top-list li {
  display: grid;
  grid-template-columns: 30px 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-top: 1px solid rgba(148, 163, 194, .06);
}
.top-list li:first-child { border-top: 0; }
.rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  background: #1b2232;
  color: #aab2c1;
}
.rank.r1 { background: linear-gradient(135deg, #ffd35c, #c98c16); color: #2c1d00; box-shadow: 0 0 14px rgba(255, 200, 70, .35); }
.rank.r2 { background: linear-gradient(135deg, #e7ebf3, #8d97a8); color: #1d2330; }
.rank.r3 { background: linear-gradient(135deg, #e3995e, #8e4e22); color: #2a1406; }
.top-list img, .online-list img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.top-list b, .online-list b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-list em { color: #cfd4de; font-size: 13px; font-weight: 700; }

.online-count { font-size: 14px; color: var(--muted); font-weight: 700; }
.online-count b { color: var(--pink); }
.online-list { list-style: none; margin: 0; padding: 6px 0; }
.online-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
}

/* Промо VIP */
.vip-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid rgba(178, 77, 255, .3);
  background: #120b1d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 40px rgba(140, 40, 255, .12);
}
.vip-promo img {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 72%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
.vip-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #120b1d 34%, rgba(18, 11, 29, .7) 56%, transparent 78%);
}
.vip-promo:hover img { transform: scale(1.05); }
.vip-promo-body { position: relative; padding: 22px; }
.vip-promo-title { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; color: #fff; }
.vip-promo-title i { color: var(--gold); font-size: 22px; filter: drop-shadow(0 0 10px rgba(255, 200, 70, .6)); }
.vip-promo-title span { color: #d15bff; }
.vip-promo-big { margin-top: 2px; font-size: 23px; font-weight: 900; line-height: 1.05; text-transform: uppercase; color: #fff; letter-spacing: -.01em; }
.vip-promo p { margin: 12px 0 18px; font-size: 12px; line-height: 1.45; text-transform: uppercase; color: #b9bfcc; font-weight: 600; }

.community-card { padding: 18px; }
.community-card h2 { margin: 0 0 14px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.vk-row { display: flex; align-items: center; gap: 14px; }
.vk-ico {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #4d86db, #2a5fb1);
  font-size: 24px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(60, 110, 220, .3);
}
.vk-row b { display: block; font-size: 12px; color: #c586ff; }
.vk-row small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.vk-row:hover b { color: #fff; }

/* =========================================================
   СЕКЦИИ НИЖЕ ПЕРВОГО ЭКРАНА
   ========================================================= */
.section { margin-top: 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  padding-left: 16px;
  border-left: 4px solid var(--violet-2);
  line-height: 1.1;
}
.section-head p { margin: 0; color: var(--muted); max-width: 440px; }

/* Правила */
.rules-wrap { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.rules-art {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line-violet);
  display: flex;
  align-items: flex-end;
  padding: 26px;
}
.rules-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.rules-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 10, 18, .95) 20%, rgba(8, 10, 18, .2) 70%); }
.rules-art > div { position: relative; z-index: 2; }
.rules-art h2 { margin: 0 0 8px; font-size: 26px; font-weight: 900; text-transform: uppercase; }
.rules-art p { margin: 0; color: #b7bdca; }

.oz-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--line);
  --bs-accordion-btn-color: var(--text);
  --bs-accordion-active-color: #fff;
  --bs-accordion-active-bg: rgba(139, 61, 255, .1);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239aa3b5' stroke-width='2'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c68cff' stroke-width='2'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oz-accordion .accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  overflow: hidden;
  background: linear-gradient(180deg, #101824, #0c131d);
}
.oz-accordion .accordion-button { gap: 14px; padding: 18px 20px; font-weight: 700; font-size: 15px; background: transparent; box-shadow: none; }
.oz-accordion .accordion-button:not(.collapsed) { background: var(--bs-accordion-active-bg); }
.oz-accordion .accordion-body { padding: 4px 20px 18px 20px; color: #b7bdca; }
.oz-accordion .accordion-body ul { margin: 0; padding-left: 58px; }
.oz-accordion .accordion-body li { margin: 6px 0; }
.oz-accordion .accordion-body li::marker { color: var(--violet-2); }
.acc-num {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(139, 61, 255, .16);
  border: 1px solid var(--line-violet);
  color: var(--lilac);
  font-size: 13px;
  font-weight: 800;
}
.oz-accordion.flush { gap: 0; padding: 6px 10px 10px; }
.oz-accordion.flush .accordion-item { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent; }
.oz-accordion.flush .accordion-item:last-child { border-bottom: 0 !important; }
.oz-accordion.flush .accordion-button { padding: 16px 10px; font-size: 14px; }
.oz-accordion.flush .accordion-body { padding: 0 10px 16px; }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.footer { margin-top: 64px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 14, 22, .6), #070a10); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 36px var(--pad) 26px; }
.footer-logo img { width: 300px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 56px; }
.footer-cols h4 { margin: 0 0 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; color: #fff; }
.footer-cols a { display: block; margin: 7px 0; color: var(--muted); font-size: 14px; }
.footer-cols a:hover { color: var(--lilac); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 18px var(--pad); border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.footer-bottom b { color: var(--lilac); }

/* =========================================================
   ТОСТ
   ========================================================= */
.oz-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid rgba(94, 240, 168, .35);
  background: #0c1814;
  color: #86efbd;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: .25s;
}
.oz-toast.show { opacity: 1; transform: none; }
.oz-toast.error { border-color: rgba(255, 93, 108, .4); background: #1c0e12; color: #ff8f99; }

/* =========================================================
   МОБИЛЬНОЕ НИЖНЕЕ МЕНЮ
   ========================================================= */
.mnav { display: none; }

/* =========================================================
   ЛИЧНЫЙ КАБИНЕТ
   ========================================================= */
.profile-cover {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-violet);
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 18, .3) 60%, rgba(7, 11, 18, .1)); }

.profile-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: -92px;
}
.profile-avatar { position: relative; flex: none; }
.profile-avatar img {
  width: 148px;
  height: 148px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(#0e1520, #0e1520) padding-box, linear-gradient(135deg, #c04bff, #6b2cff 50%, #e24cf2) border-box;
  box-shadow: 0 0 40px rgba(160, 60, 255, .35);
}
.profile-avatar .dot-live { position: absolute; right: -2px; bottom: 10px; width: 18px; height: 18px; border: 3px solid var(--bg); }
.profile-id { flex: 1; min-width: 0; padding-bottom: 8px; }
.profile-id h1 { margin: 0; font-size: 34px; font-weight: 900; letter-spacing: -.02em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.profile-id h1 .role-pill { height: 24px; font-size: 12px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.profile-meta i { color: var(--lilac); margin-right: 6px; }
.profile-actions { display: flex; gap: 10px; padding-bottom: 8px; }

.flash {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(94, 240, 168, .3);
  background: rgba(94, 240, 168, .07);
  color: #9af3c7;
  font-weight: 600;
}
.flash.error { border-color: rgba(255, 93, 108, .35); background: rgba(255, 93, 108, .08); color: #ff9aa3; }

.stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.stat {
  position: relative;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101824, #0c131d);
  overflow: hidden;
}
.stat i { font-size: 20px; }
.stat b { display: block; margin-top: 12px; font-size: 26px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: currentColor; opacity: .07; filter: blur(8px); }
.stat.c-gold { color: var(--gold); }
.stat.c-violet { color: #a96bff; }
.stat.c-red { color: #ff6d6b; }
.stat.c-green { color: var(--green); }
.stat.c-cyan { color: var(--cyan); }
.stat.c-pink { color: #f06ae6; }
.stat b, .stat span { color: var(--text); }
.stat span { color: var(--muted); }

.oz-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 28px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0c121c;
  overflow-x: auto;
  scrollbar-width: none;
}
.oz-tabs::-webkit-scrollbar { display: none; }
.oz-tabs .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.oz-tabs .nav-link:hover { color: #fff; }
.oz-tabs .nav-link.active { color: #fff; background: var(--grad-violet); box-shadow: 0 0 20px rgba(140, 50, 255, .35); }

.tab-pane { padding-top: 18px; }
.pgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pcol { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pbody { padding: 20px; }

.level-card { padding: 22px; display: flex; align-items: center; gap: 22px; }
.level-ring {
  --p: 50;
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#b24dff calc(var(--p) * 1%), #1e2636 0);
  box-shadow: 0 0 30px rgba(160, 60, 255, .25);
}
.level-ring div { width: 78px; height: 78px; border-radius: 50%; background: #0d1420; display: grid; place-items: center; text-align: center; }
.level-ring b { display: block; font-size: 28px; font-weight: 900; line-height: 1; }
.level-ring small { font-size: 10px; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.level-info { flex: 1; min-width: 0; }
.level-info h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.level-info p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.xp-bar { height: 9px; border-radius: 10px; background: #1e2636; overflow: hidden; }
.xp-bar span { display: block; height: 100%; border-radius: 10px; background: var(--grad-violet); box-shadow: 0 0 14px rgba(180, 80, 255, .6); }
.xp-nums { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; color: var(--muted); }

.activity { list-style: none; margin: 0; padding: 8px 20px 16px; }
.activity li { position: relative; display: flex; gap: 14px; padding: 12px 0 12px; }
.activity li::before { content: ""; position: absolute; left: 17px; top: 48px; bottom: -4px; width: 1px; background: var(--line-2); }
.activity li:last-child::before { display: none; }
.act-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #172031; border: 1px solid var(--line-2); font-size: 14px; }
.activity b { display: block; font-size: 14px; font-weight: 600; }
.activity span { font-size: 12px; color: var(--muted); }

.achievements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; }
.ach {
  padding: 16px 10px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--line);
  background: #0e1522;
}
.ach i { font-size: 26px; filter: drop-shadow(0 0 10px currentColor); }
.ach b { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; }
.ach span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.ach.locked { opacity: .4; filter: grayscale(1); }

.info-list { margin: 0; padding: 6px 20px 12px; }
.info-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.info-list dt i { width: 18px; text-align: center; color: var(--lilac); }
.info-list dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }

.priv-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 201, 74, .3);
  background: linear-gradient(135deg, rgba(255, 201, 74, .08), rgba(139, 61, 255, .1)), #0e1520;
}
.priv-card h3 { margin: 12px 0 6px; font-size: 22px; font-weight: 900; }
.priv-card p { color: #b7bdca; margin: 0 0 18px; }
.priv-card .big-ico { position: absolute; right: -14px; top: -14px; font-size: 120px; color: var(--gold); opacity: .08; }
.priv-list { list-style: none; margin: 0 0 20px; padding: 0; }
.priv-list li { display: flex; gap: 10px; align-items: center; margin: 8px 0; color: #cfd4de; font-size: 14px; }
.priv-list i { color: var(--green); }
.priv-list.off i { color: var(--dim); }

/* Формы */
.oz-form .row { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }
.oz-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #cfd4de; }
.oz-field { position: relative; }
.oz-field > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #6f788c; font-size: 15px; pointer-events: none; transition: color .2s; }
.oz-input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #0a1019;
  color: #fff;
  font-size: 14px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.oz-input::placeholder { color: #5a6376; }
.oz-input:focus { border-color: var(--violet-2); background: #0c1220; box-shadow: 0 0 0 4px rgba(150, 60, 255, .14); }
.oz-field:focus-within > i { color: var(--lilac); }
.oz-input[readonly] { color: var(--muted); background: #0d131d; }
textarea.oz-input { height: 110px; padding: 14px 16px; resize: vertical; }
.oz-field.no-ico .oz-input { padding-left: 16px; }
.pass-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #6f788c;
}
.pass-eye:hover { color: #fff; }
.oz-hint { margin-top: 6px; font-size: 12px; color: var(--dim); }

.avatar-pick { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.avatar-pick label { position: relative; cursor: pointer; }
.avatar-pick input { position: absolute; opacity: 0; pointer-events: none; }
.avatar-pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid transparent; opacity: .55; transition: .2s; }
.avatar-pick label:hover img { opacity: .9; }
.avatar-pick input:checked + img { opacity: 1; border-color: var(--violet-2); box-shadow: 0 0 16px rgba(170, 70, 255, .55); transform: translateY(-2px); }
.avatar-pick input:focus-visible + img { outline: 2px solid var(--lilac); outline-offset: 2px; }

.oz-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: #b7bdca; user-select: none; }
.oz-check input { appearance: none; width: 20px; height: 20px; flex: none; margin: 0; border-radius: 6px; border: 1px solid var(--line-2); background: #0a1019; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.oz-check input:checked { background: var(--grad-violet); border-color: var(--violet-2); }
.oz-check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.oz-check a { color: var(--lilac); }

.sessions { list-style: none; margin: 0; padding: 6px 20px 12px; }
.sessions li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sessions li:last-child { border: 0; }
.sessions .act-ico { color: var(--lilac); }
.sessions b { display: block; font-size: 14px; }
.sessions span { font-size: 12px; color: var(--muted); }
.sessions .now { margin-left: auto; color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* =========================================================
   ПРИВИЛЕГИИ
   ========================================================= */
.cmp-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; background: #0c131d; }
.cmp th, .cmp td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: #cfd4de; }
.cmp thead th { background: #111a28; font-weight: 800; text-transform: uppercase; font-size: 13px; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .fa-check { color: var(--green); }
.cmp .fa-minus { color: var(--dim); }


/* =========================================================
   VIP-СТРАНИЦА
   ========================================================= */
.vip-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-violet);
}
.vip-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.vip-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 11, 18, .96) 0%, rgba(7, 11, 18, .7) 45%, rgba(7, 11, 18, .2)), linear-gradient(0deg, var(--bg), transparent 45%); }
.vip-hero-art {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: 108%;
  width: auto;
  max-width: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 80%, transparent 100%);
  animation: heroIn 1.4s cubic-bezier(.2, .7, .2, 1) both;
}
.vip-hero-body { position: relative; z-index: 2; padding: 40px var(--pad); max-width: 640px; }
.vip-hero-title { display: flex; align-items: center; gap: 18px; line-height: 1; }
.vip-hero-title i { font-size: 54px; color: var(--gold); filter: drop-shadow(0 0 18px rgba(255, 200, 70, .7)); }
.vip-hero-title span {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff3c9 0%, #ffc94a 40%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(255, 170, 50, .35));
}
.vip-hero-sub { margin-top: 6px; font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.vip-hero-body p { margin: 14px 0 0; color: #c1c7d2; font-size: 16px; max-width: 480px; }

.vip-buy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); gap: 16px; align-items: start; }
.perk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 0 0 var(--r) var(--r); overflow: hidden; }
.perk { display: flex; gap: 14px; padding: 20px; background: #0d141f; }
.perk-ico {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 201, 74, .3);
  background: rgba(255, 201, 74, .08);
  color: var(--gold);
  font-size: 19px;
}
.perk b { display: block; font-size: 15px; }
.perk div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.checkout { position: sticky; top: calc(var(--tb) + 16px); }
.period-list { display: flex; flex-direction: column; gap: 10px; }
.period-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #0b111b;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.period-opt:hover { border-color: rgba(178, 77, 255, .45); }
.period-opt input { position: absolute; opacity: 0; pointer-events: none; }
.period-radio { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #3a4458; display: grid; place-items: center; transition: .2s; }
.period-name { flex: 1; min-width: 0; }
.period-name b { display: block; font-size: 15px; }
.period-name small { color: var(--muted); font-size: 12px; }
.period-badge { padding: 4px 9px; border-radius: 6px; background: rgba(94, 240, 168, .12); border: 1px solid rgba(94, 240, 168, .3); color: var(--green); font-size: 11px; font-weight: 800; white-space: nowrap; }
.period-price { font-size: 18px; font-weight: 900; white-space: nowrap; }
.period-opt:has(input:checked) { border-color: var(--violet-2); background: linear-gradient(135deg, rgba(139, 61, 255, .16), rgba(139, 61, 255, .04)); box-shadow: 0 0 24px rgba(140, 50, 255, .2); }
.period-opt:has(input:checked) .period-radio { border-color: var(--violet-2); }
.period-opt:has(input:checked) .period-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 10px var(--violet-2); }
.period-opt:has(input:focus-visible) { outline: 2px solid var(--lilac); outline-offset: 2px; }
.checkout-for { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-2); font-size: 13px; color: #b7bdca; }
.checkout-for img { width: 34px; height: 34px; border-radius: 9px; }
.checkout-for i { font-size: 22px; color: var(--lilac); }
.checkout-for a { color: var(--lilac); font-weight: 700; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.checkout-total span { color: var(--muted); font-weight: 600; }
.checkout-total b { font-size: 32px; font-weight: 900; letter-spacing: -.02em; }
.checkout-btn { height: 54px; font-size: 15px; }
.checkout-note { margin-top: 12px; text-align: center; color: var(--muted); font-size: 12px; }
.checkout-note i { color: var(--gold); margin-right: 6px; }

/* =========================================================
   КАБИНЕТ — ДОПОЛНЕНИЯ
   ========================================================= */
.stat-btn { text-align: left; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.stat-btn:hover { border-color: rgba(255, 201, 74, .45); transform: translateY(-2px); }

.tabs-sticky { position: sticky; top: var(--tb); z-index: 10; margin: 28px calc(var(--pad) * -1) 0; padding: 10px var(--pad); background: linear-gradient(180deg, var(--bg) 70%, rgba(7, 11, 18, 0)); }
.tabs-sticky .oz-tabs { margin-top: 0; }

.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101824, #0c131d);
  color: var(--text);
  text-align: left;
  font: inherit;
  transition: border-color .2s, transform .2s;
}
.quick-item i { font-size: 20px; color: var(--lilac); margin-bottom: 8px; }
.quick-item b { font-size: 14px; }
.quick-item span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.quick-item:hover { border-color: var(--line-violet); transform: translateY(-2px); color: #fff; }
.quick-item.gold i { color: var(--gold); }
.quick-item.gold:hover { border-color: rgba(255, 201, 74, .4); }

.complete-card { padding: 20px; border-color: rgba(178, 77, 255, .35); background: radial-gradient(360px 160px at 100% 0, rgba(150, 60, 255, .14), transparent 70%), linear-gradient(180deg, rgba(16, 23, 35, .96), rgba(11, 17, 27, .97)); }
.complete-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.complete-top h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.complete-top p { margin: 0; color: var(--muted); font-size: 13px; }
.complete-pct { font-size: 28px; font-weight: 900; color: var(--lilac); line-height: 1; }
.complete-list { list-style: none; margin: 14px 0 0; padding: 0; }
.complete-list li { font-size: 14px; }
.complete-list li.done { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--muted); }
.complete-list li.done i { color: var(--green); }
.complete-list a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 600; }
.complete-list a > i { color: var(--dim); }
.complete-list a span { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--lilac); }
.complete-list a:hover span { gap: 12px; }

.copy-mini { margin-left: 10px; width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 12px; vertical-align: middle; }
.copy-mini:hover { color: #fff; border-color: var(--violet-2); }
.link-violet { color: var(--lilac); font-weight: 700; }

/* Настройки */
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.settings-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.set-section { padding: 22px; }
.set-head { display: flex; gap: 14px; margin-bottom: 20px; }
.set-head h3 { margin: 0 0 3px; font-size: 16px; font-weight: 800; }
.set-head p { margin: 0; color: var(--muted); font-size: 13px; }
.set-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(139, 61, 255, .14); border: 1px solid var(--line-violet); color: var(--lilac); font-size: 17px; }
.set-ico.gold { background: rgba(255, 201, 74, .1); border-color: rgba(255, 201, 74, .3); color: var(--gold); }
.oz-hint code { color: var(--lilac); background: rgba(139, 61, 255, .12); padding: 1px 6px; border-radius: 4px; }

.oz-switch { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.oz-switch:first-of-type { border-top: 0; padding-top: 0; }
.oz-switch > span { flex: 1; }
.oz-switch b { display: block; font-size: 14px; font-weight: 600; }
.oz-switch small { color: var(--muted); font-size: 12px; }
.oz-switch input { position: absolute; opacity: 0; pointer-events: none; }
.oz-switch > i { position: relative; width: 46px; height: 26px; flex: none; border-radius: 20px; background: #232b3b; border: 1px solid var(--line-2); transition: .25s; }
.oz-switch > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8b94a7; transition: .25s; }
.oz-switch input:checked + i { background: var(--grad-violet); border-color: var(--violet-2); box-shadow: 0 0 14px rgba(150, 60, 255, .4); }
.oz-switch input:checked + i::after { left: 23px; background: #fff; }
.oz-switch input:focus-visible + i { outline: 2px solid var(--lilac); outline-offset: 2px; }

.settings-preview { position: sticky; top: calc(var(--tb) + 80px); }
.preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.preview-card { overflow: hidden; text-align: center; padding-bottom: 18px; }
.preview-cover { height: 90px; overflow: hidden; }
.preview-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.preview-av { width: 84px; height: 84px; margin-top: -42px; position: relative; border-radius: 18px; border: 3px solid #0e1520; box-shadow: 0 0 24px rgba(160, 60, 255, .4); object-fit: cover; }
.preview-name { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; font-size: 19px; font-weight: 900; }
.preview-steam { margin-top: 4px; color: var(--muted); font-size: 12px; }
.preview-steam i { margin-right: 6px; }
.preview-steam.hidden-steam span { filter: blur(5px); }
.preview-about { margin: 12px 18px 0; min-height: 20px; color: #b7bdca; font-size: 13px; white-space: pre-line; word-break: break-word; }
.preview-about:empty::before { content: "Здесь появится рассказ о себе"; color: var(--dim); font-style: italic; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 18px 0; border: 1px solid var(--line); border-radius: 10px; }
.preview-stats div { padding: 10px 4px; }
.preview-stats div + div { border-left: 1px solid var(--line); }
.preview-stats b { display: block; font-size: 15px; }
.preview-stats span { font-size: 11px; color: var(--muted); }

.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.strength span { height: 5px; border-radius: 4px; background: #232b3b; transition: .25s; }
.strength[data-s="1"] span:nth-child(-n+1) { background: var(--red); }
.strength[data-s="2"] span:nth-child(-n+2) { background: #ff9e45; }
.strength[data-s="3"] span:nth-child(-n+3) { background: var(--gold); }
.strength[data-s="4"] span { background: var(--green); }
.match-ok { color: var(--green) !important; }
.match-bad { color: var(--red) !important; }

.save-bar {
  position: fixed;
  z-index: 1025;
  left: calc(var(--sb) + var(--pad));
  right: var(--pad);
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 12px 12px 20px;
  border-radius: 14px;
  border: 1px solid rgba(178, 77, 255, .45);
  background: rgba(16, 13, 30, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(140, 50, 255, .2);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s;
  pointer-events: none;
}
.save-bar.show { transform: none; opacity: 1; pointer-events: auto; }
.save-bar > span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.save-bar > span i { color: var(--gold); }
.save-bar > div { display: flex; gap: 8px; }
.save-bar .btn-neon, .save-bar .btn-ghost-oz { height: 42px; padding: 0 18px; }

.transfer { padding: 28px; }
.transfer-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; padding-right: 40px; }
.transfer-head h3 { margin: 0 0 2px; font-size: 20px; font-weight: 900; }
.transfer-head p { margin: 0; color: var(--muted); font-size: 13px; }
.chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.chips button { padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #0b111b; color: #cfd4de; font-weight: 700; font-size: 13px; }
.chips button:hover { border-color: var(--gold); color: var(--gold); }
.oz-modal .modal-content.transfer { overflow: visible; }

@media (max-width: 1399px) {
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1279px) {
  .save-bar { left: var(--pad); }
}
@media (max-width: 1199px) {
  .vip-buy { grid-template-columns: 1fr; }
  .checkout { position: static; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-preview { position: static; order: -1; }
  .preview-card { display: grid; grid-template-columns: auto 1fr; text-align: left; align-items: center; column-gap: 16px; padding: 16px; }
  .preview-cover, .preview-stats { display: none; }
  .preview-av { margin: 0; grid-row: span 3; width: 72px; height: 72px; }
  .preview-name { justify-content: flex-start; margin: 0; }
  .preview-about { margin: 6px 0 0; }
}
@media (max-width: 767px) {
  .vip-hero { min-height: 0; align-items: flex-end; }
  .vip-hero-art { right: -18%; height: 100%; opacity: .55; }
  .vip-hero-body { padding: 110px 16px 26px; }
  .vip-hero-title i { font-size: 38px; }
  .vip-hero-title span { font-size: 64px; }
  .vip-hero-sub { font-size: 22px; }
  .vip-hero-body p { font-size: 14px; }
  .perk-grid { grid-template-columns: 1fr; }
  .perk { padding: 16px; }
  .period-opt { padding: 14px 12px; gap: 10px; }
  .period-price { font-size: 16px; }
  .tabs-sticky { margin-top: 20px; padding: 8px 16px; }
  .profile-actions > * { height: 44px; font-size: 13px; gap: 6px; }
  .quick { gap: 10px; }
  .quick-item { padding: 14px; }
  .set-section { padding: 18px 16px; }
  .save-bar { left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; padding: 12px; gap: 10px; }
  .save-bar > span { justify-content: center; font-size: 13px; }
  .save-bar > div > * { flex: 1; }
  .transfer { padding: 22px 18px; }
  .stat-btn span { white-space: nowrap; }
}

/* =========================================================
   ВХОД / РЕГИСТРАЦИЯ
   ========================================================= */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(460px, 1fr); }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 36px 48px 44px; }
.auth-art > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: heroIn 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(7, 9, 16, .96) 8%, rgba(7, 9, 16, .35) 50%, rgba(7, 9, 16, .55)), linear-gradient(90deg, transparent 60%, var(--bg)); }
.auth-art > * { position: relative; z-index: 2; }
.auth-back { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 16px; border-radius: 10px; background: rgba(8, 12, 20, .6); border: 1px solid var(--line-2); backdrop-filter: blur(8px); font-weight: 600; font-size: 13px; }
.auth-back:hover { border-color: var(--violet-2); }
.auth-art-logo { width: min(520px, 90%); filter: drop-shadow(0 10px 30px rgba(200, 60, 255, .3)); }
.auth-art h2 { margin: 16px 0 10px; font-size: 30px; font-weight: 900; line-height: 1.15; max-width: 560px; }
.auth-art p { color: #c1c7d2; max-width: 520px; margin: 0; }
.auth-perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.auth-perks > span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 10px; background: rgba(12, 18, 30, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; }
.auth-perks i { color: var(--lilac); }

.auth-side { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1 { margin: 0 0 6px; font-size: 32px; font-weight: 900; letter-spacing: -.02em; }
.auth-card > p { margin: 0 0 26px; color: var(--muted); }
.auth-card .oz-field + .oz-field, .auth-card .field-gap { margin-top: 16px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 22px; font-size: 13px; }
.auth-row a { color: var(--lilac); font-weight: 600; }
.auth-card .btn-neon { width: 100%; height: 54px; font-size: 15px; }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--dim); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.btn-steam {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  border: 1px solid #2f4b6e;
  background: linear-gradient(135deg, #16273c, #0f1a2a);
  color: #dbe7f5;
  font-weight: 700;
}
.btn-steam i { font-size: 22px; }
.btn-steam:hover { border-color: #4a78ad; color: #fff; }
.auth-switch { margin-top: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.auth-switch a { color: var(--lilac); font-weight: 700; }
.auth-mobile-logo { display: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
/* Сайдбар подстраивается под высоту экрана — без прокрутки */
@media (max-height: 1000px) {
  .sb-brand { height: 160px; }
  .sb-brand img { width: 160px; height: 160px; }
  .sb-link { height: 46px; margin-bottom: 4px; }
  .sb-promo { height: 90px; }
}
@media (max-height: 900px) {
  .sb-brand { height: 130px; }
  .sb-brand img { width: 130px; height: 130px; }
  .sb-nav { padding-top: 10px; }
  .sb-link { height: 42px; margin-bottom: 3px; font-size: 14px; }
  .sb-promo { display: none; }
}
@media (max-height: 760px) {
  .sb-brand { height: 104px; }
  .sb-brand img { width: 104px; height: 104px; }
  .sb-link { height: 38px; margin-bottom: 2px; }
  .sb-community { display: none; }
  .sb-bottom .btn-neon { height: 44px; }
}
@media (max-height: 600px) {
  .sb-brand { height: 76px; }
  .sb-brand img { width: 76px; height: 76px; }
  .sb-link { height: 34px; font-size: 13px; }
  .sb-link > i:first-child { font-size: 15px; }
}

/* Свёрнутый сайдбар на десктопе (кнопка-бургер) */
@media (min-width: 1280px) {
  body.sb-mini { --sb: 86px; }
  .sidebar, .shell { transition: width .3s ease, margin .3s ease, transform .3s ease; }
  body.sb-mini .sb-brand { height: 96px; }
  body.sb-mini .sb-brand img { width: 70px; height: 70px; }
  body.sb-mini .sb-link { justify-content: center; padding: 0; }
  body.sb-mini .sb-link span, body.sb-mini .sb-caret,
  body.sb-mini .sb-community, body.sb-mini .sb-promo span { display: none; }
  body.sb-mini .sb-bottom { padding: 6px 12px 14px; }
  body.sb-mini .sb-bottom .btn-neon { font-size: 0; gap: 0; padding: 0; }
  body.sb-mini .sb-bottom .btn-neon i { font-size: 20px; }
  body.sb-mini .sb-promo { height: 70px; }
}

@media (max-width: 1799px) {
  .topic { grid-template-columns: 46px minmax(0, 1fr) 112px 56px 66px; }
  .topic-last { display: none; }
}

@media (max-width: 1599px) {
  :root { --sb: 236px; --pad: 24px; }
  .hero-row { grid-template-columns: minmax(0, 1fr) 370px; }
  .sc-ip strong { font-size: 25px; }
  .tb-nav { display: none; }
  .board { grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "main side" "main promo"; }
  .vip-promo { min-height: 440px; }
  .feature { padding: 14px 16px; gap: 12px; }
  .feature-ico { width: 42px; font-size: 28px; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1279px) {
  .sidebar { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  body.sb-open .sidebar { transform: none; }
  body.sb-open { overflow: hidden; }
  body.sb-open .sidebar-backdrop { opacity: 1; visibility: visible; }
  .shell { margin-left: 0; }
  .topbar { padding-left: 14px; }
  .tb-logo { display: block; }
  .tb-nav { display: flex; }
  .features { grid-template-columns: repeat(5, minmax(210px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .features::-webkit-scrollbar { display: none; }
  .feature { scroll-snap-align: start; }
  .auth-page { grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr); }
}

@media (max-width: 1199px) {
  .tb-nav { display: none; }
  .rules-wrap { grid-template-columns: 1fr; }
  .rules-art { min-height: 220px; }
  .pgrid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .hero-row { grid-template-columns: 1fr; padding-right: 0; gap: 0; }
  .hero { border-radius: 0; border-width: 0 0 1px; }
  .server-card { margin: 16px var(--pad) 0; min-width: 0; }
  .tb-search { display: none; }
  .board { grid-template-columns: 1fr; grid-template-areas: "main" "side" "promo"; }
  .board-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .board-promo { display: grid; grid-template-columns: 1fr; }
  .vip-promo { min-height: 300px; justify-content: center; }
  .vip-promo img { inset: 0 0 0 auto; width: 55%; height: 100%; object-position: center 20%; }
  .vip-promo::before { background: linear-gradient(90deg, #120b1d 42%, rgba(18, 11, 29, .5) 65%, transparent); }
  .vip-promo-body { max-width: 60%; }
  .footer-inner { flex-direction: column; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { min-height: 380px; }
  .auth-art::before { background: linear-gradient(0deg, var(--bg) 2%, rgba(7, 9, 16, .45) 60%, rgba(7, 9, 16, .55)); }
  .auth-side { padding: 10px 24px 60px; margin-top: -40px; }
  .profile-head { flex-wrap: wrap; }
  .profile-actions { width: 100%; }
}

/* ---------- ТЕЛЕФОНЫ ---------- */
@media (max-width: 767px) {
  :root { --pad: 16px; --tb: 60px; }
  body { font-size: 14px; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  .topbar { gap: 8px; padding: 0 12px; }
  .tb-logo img { height: 30px; }
  .tb-ip, .tb-search, .tb-login, .tb-register, .tb-credits, .tb-user-name, .tb-user i { display: none; }
  .tb-icon-login {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line-violet);
    background: rgba(139, 61, 255, .12);
    color: #e2c6ff;
    font-size: 16px;
  }
  .tb-user { padding: 0; height: auto; border: 0; background: none; }
  .tb-user img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--violet-2); }

  /* Hero на телефоне: картинка крупнее, заголовок на арте, текст ниже */
  .hero { background: var(--bg); }
  .hero-media { width: 150cqw; left: -7cqw; top: -8cqw; }
  .hero-shade { background: linear-gradient(180deg, transparent 0, transparent 36cqw, rgba(7, 11, 18, .8) 56cqw, var(--bg) 74cqw); }
  .hero-body { min-height: 0; padding: 37cqw 16px 22px; }
  .hero-text { font-size: 14px; margin-bottom: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn-lg-oz { min-width: 0; height: 52px; padding: 0 12px; font-size: 14px; }

  .server-card { display: block; margin: 14px 16px 0; padding: 18px 18px 0; }
  .sc-ip strong { font-size: 22px; }
  .sc-map-shot { width: 110px; height: 60px; }
  .sc-lines > div { font-size: 12px; }
  .sc-connect .btn-neon { font-size: 13px; padding: 0 10px; gap: 8px; }
  .sc-slots { min-width: 60px; }
  .sc-dev { margin: 16px -18px 0; padding: 14px 18px; }

  .features { grid-template-columns: repeat(5, 78%); gap: 10px; padding: 0 16px 4px; scroll-padding: 0 16px; margin-top: 14px; }
  .feature { min-height: 84px; }

  .panel-head { padding: 0 14px; min-height: 52px; }
  .panel-head h2 { font-size: 12px; gap: 9px; }
  .panel-link { font-size: 0; gap: 0; width: 34px; height: 34px; justify-content: center; border-radius: 8px; background: rgba(139, 61, 255, .12); }
  .panel-link i { font-size: 13px; }

  .topic {
    grid-template-columns: 42px auto auto auto minmax(0, 1fr);
    grid-template-areas: "av main main main main" "av tag s1 s2 .";
    row-gap: 7px;
    column-gap: 10px;
    padding: 12px 14px;
    align-items: center;
  }
  .topic-av { grid-area: av; align-self: start; width: 42px; height: 42px; }
  .topic-main { grid-area: main; }
  .topic-main b { white-space: normal; font-size: 14px; }
  .tag { grid-area: tag; font-size: 10px; padding: 3px 8px; }
  .topic-stat:nth-of-type(2) { grid-area: s1; }
  .topic-stat:nth-of-type(3) { grid-area: s2; }
  .topic-stat { font-size: 12px; }

  .specials-track { grid-auto-columns: 72%; gap: 8px; padding: 12px; }
  .special { border-radius: 10px; min-height: 140px; }

  .board-side { grid-template-columns: 1fr; }
  .vip-promo { min-height: 420px; justify-content: flex-end; }
  .vip-promo img { inset: 0 0 auto 0; width: 100%; height: 70%; object-position: center top; }
  .vip-promo::before { background: linear-gradient(0deg, #120b1d 38%, rgba(18, 11, 29, .7) 58%, transparent 80%); }
  .vip-promo-body { max-width: none; }

  .section { margin-top: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head h2 { font-size: 22px; }
  .rules-art { min-height: 200px; padding: 20px; }
  .rules-art h2 { font-size: 22px; }
  .oz-accordion .accordion-button { padding: 16px; font-size: 14px; }
  .oz-accordion .accordion-body ul { padding-left: 20px; }

  .footer { margin-top: 44px; }
  .footer-inner { padding: 28px 16px 20px; gap: 26px; }
  .footer-logo img { width: 240px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .footer-bottom { flex-direction: column; padding: 16px; }

  .oz-toast { left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); justify-content: center; }

  /* Нижнее меню */
  .mnav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 1030;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    height: 66px;
    padding: 0 6px;
    border-radius: 20px;
    border: 1px solid rgba(160, 90, 255, .25);
    background: rgba(12, 16, 26, .88);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .6), 0 0 30px rgba(120, 40, 220, .15), inset 0 1px 0 rgba(255, 255, 255, .05);
  }
  .mnav-item {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #8390a6;
    font-size: 10px;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s;
  }
  .mnav-item i { font-size: 19px; transition: transform .2s; }
  .mnav-item:active i { transform: scale(.88); }
  .mnav-item.active { color: #fff; }
  .mnav-item.active i { color: #d59bff; filter: drop-shadow(0 0 8px rgba(200, 110, 255, .8)); }
  .mnav-item.active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 26px;
    height: 3px;
    margin-left: -13px;
    border-radius: 0 0 4px 4px;
    background: #c95bff;
    box-shadow: 0 0 12px #c95bff;
  }
  .mnav-avatar { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; border: 1.5px solid #3a2d58; }
  .mnav-item.active .mnav-avatar { border-color: #c95bff; box-shadow: 0 0 10px rgba(200, 90, 255, .6); }
  .mnav-play { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 9px; -webkit-tap-highlight-color: transparent; }
  .mnav-play-btn {
    width: 60px;
    height: 60px;
    margin-top: -30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-violet);
    border: 4px solid #0c101a;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 0 1px rgba(200, 120, 255, .5), 0 10px 28px rgba(140, 50, 255, .6);
    animation: playGlow 2.6s ease-in-out infinite;
  }
  .mnav-play-btn i { margin-left: 3px; }
  .mnav-play:active .mnav-play-btn { transform: scale(.93); }
  .mnav-play-label { font-size: 10px; font-weight: 800; color: #e3c4ff; }
  @keyframes playGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(200, 120, 255, .5), 0 10px 28px rgba(140, 50, 255, .55); }
    50% { box-shadow: 0 0 0 6px rgba(200, 120, 255, .08), 0 10px 36px rgba(170, 60, 255, .8); }
  }

  /* Кабинет */
  .profile-cover { height: 190px; }
  .profile-head { margin-top: -70px; gap: 14px; flex-direction: column; align-items: flex-start; }
  .profile-avatar img { width: 108px; height: 108px; border-radius: 20px; }
  .profile-id h1 { font-size: 26px; gap: 10px; }
  .profile-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .profile-actions > * { padding: 0 10px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .stat { padding: 14px; }
  .stat b { font-size: 22px; }
  .oz-tabs { margin-top: 20px; }
  .oz-tabs .nav-link { padding: 10px 14px; font-size: 13px; }
  .level-card { padding: 18px; gap: 16px; }
  .level-ring { width: 80px; height: 80px; }
  .level-ring div { width: 64px; height: 64px; }
  .level-ring b { font-size: 22px; }
  .pbody { padding: 16px; }
  .avatar-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .info-list { padding: 4px 16px 10px; }
  .info-list > div { flex-direction: column; gap: 4px; }
  .info-list dd { text-align: left; }

  /* Привилегии */

  /* Вход и регистрация на телефоне */
  .auth-art { min-height: 300px; padding: 16px 16px 50px; }
  .auth-art h2, .auth-art p, .auth-perks { display: none; }
  .auth-art-logo { width: 88%; margin: 0 auto; display: block; }
  .auth-side { padding: 0 16px 40px; }
  .auth-card h1 { font-size: 26px; }
}

@media (max-width: 380px) {
  .hero-actions { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(5, 86%); }
  .specials-track { grid-auto-columns: 84%; }
  .mnav-item span { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   v8 — новые компоненты
   ========================================================= */
.muted { color: var(--muted) !important; }
.txt-red { color: var(--red) !important; }
.txt-green { color: var(--green) !important; }
code { color: var(--lilac); background: rgba(139, 61, 255, .1); padding: 1px 6px; border-radius: 5px; font-size: .9em; }

/* Сайдбар / топбар */
.sb-count { margin-left: auto; min-width: 26px; padding: 2px 8px; border-radius: 20px; background: rgba(94, 240, 168, .12); color: var(--green); font-size: 11px; font-weight: 800; text-align: center; }
.sb-admin { color: #ff8b95 !important; }
.sb-admin i { color: #ff6a74 !important; }
.dot-state { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--dim); }
.dot-state.on { background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
.dot-state.off { background: var(--red); box-shadow: 0 0 8px rgba(255, 93, 108, .6); }
@keyframes pulse { 50% { opacity: .45; } }
.oz-dd-id { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.role-pill.moderator { color: #6fd3ff; border-color: #245a73; background: #0c2330; }
.role-pill i { font-size: 10px; margin-right: 4px; }

/* Статусы на карточке сервера */
.sc-status.off, .srv-state.off { color: var(--red); }
.sc-status.off .dot-live, .srv-state.off .dot-live { background: var(--red); box-shadow: 0 0 12px var(--red); animation: none; }
.sc-dev-online.site { color: var(--cyan); }
.sc-dev-online.site .dot-live { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.sc-dev-online.offline { color: var(--muted); }
.sc-dev-online.offline .dot-live { background: var(--dim); box-shadow: none; animation: none; }

/* Общие мелочи */
.pin-ico { color: var(--gold); margin-right: 6px; font-size: .85em; }
.tag.cat { color: #c9b3ff; border-color: #4a3582; background: #1c1433; white-space: nowrap; }
.tag i { margin-right: 5px; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; text-align: center; color: var(--muted); }
.empty-state > i { font-size: 34px; color: #3a4459; margin-bottom: 6px; }
.empty-state b { color: var(--text); font-size: 15px; }
.empty-li { list-style: none; padding: 18px 20px; color: var(--muted); font-size: 13px; text-align: center; }
.top-name { flex: 1; min-width: 0; color: var(--text); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-name:hover { color: var(--lilac); }
.online-list li .role-pill { margin-left: auto; }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--rose); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.oz-hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; opacity: 1; }
.id-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; background: #1a2232; border: 1px solid var(--line-2); color: #cfd5e2; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.presence { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
.presence.on { color: var(--green); }
.lvl-pill { display: inline-block; padding: 3px 9px; border-radius: 6px; background: rgba(139, 61, 255, .14); border: 1px solid var(--line-violet); color: var(--lilac); font-size: 11px; font-weight: 800; }

/* Страницы */
.page-shell { padding-top: 26px; padding-bottom: 40px; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.page-title h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.page-title p { margin: 6px 0 0; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-weight: 600; text-decoration: none; font-size: 13px; }
.back-link:hover { color: var(--lilac); }
.section-head h2 { margin: 0; }

/* Таблицы */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.oz-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.oz-table th { padding: 12px 16px; text-align: left; color: var(--dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.oz-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.oz-table tbody tr:last-child td { border-bottom: 0; }
.oz-table tbody tr:hover td { background: rgba(139, 61, 255, .04); }
.oz-table .empty-row td:hover, .oz-table .empty-row:hover td { background: none; }
.pl-cell { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-width: 0; }
.pl-cell img { width: 34px; height: 34px; flex: none; border-radius: 9px; object-fit: cover; }
.pl-cell b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.pl-cell:hover b { color: var(--lilac); }
.pl-cell .role-pill { margin-left: 2px; }
.top-table tr.podium td { background: rgba(255, 201, 74, .03); }
.top-table td:nth-child(n+3) { font-variant-numeric: tabular-nums; }

/* Страница сервера */
.srv-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.srv-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.srv-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(7, 11, 18, .6) 70%, rgba(7, 11, 18, .3)), linear-gradient(0deg, var(--bg), transparent 60%); }
.srv-hero-body { position: relative; z-index: 1; padding-top: 38px; padding-bottom: 34px; max-width: 900px; }
.srv-state { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 30px; background: rgba(94, 240, 168, .08); border: 1px solid rgba(94, 240, 168, .25); color: var(--green); font-weight: 700; font-size: 13px; }
.srv-state.off { background: rgba(255, 93, 108, .08); border-color: rgba(255, 93, 108, .3); }
.srv-hero h1 { margin: 16px 0 12px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.02em; }
.srv-meta { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; color: #c3c9d6; font-size: 14px; }
.srv-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.srv-meta i { color: var(--lilac); }
.srv-ip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(14, 21, 32, .8); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.srv-ip:hover { border-color: var(--violet-2); }
.srv-dev img { width: 24px; height: 24px; border-radius: 7px; }
.srv-dev b { color: var(--green); }
.srv-dev.site b { color: var(--cyan); }
.srv-dev.offline b { color: var(--muted); font-weight: 600; }
.srv-players { display: flex; align-items: center; gap: 22px; margin-top: 24px; max-width: 560px; }
.srv-count { white-space: nowrap; }
.srv-count b { font-size: 42px; font-weight: 900; line-height: 1; }
.srv-count > span { margin-left: 6px; color: var(--muted); font-weight: 600; }
.srv-bar { flex: 1; height: 10px; border-radius: 10px; background: #1a2130; overflow: hidden; }
.srv-bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #3fe39a, #8b3dff); box-shadow: 0 0 16px rgba(94, 240, 168, .4); transition: width .6s; }
.srv-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.srv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.kpi { position: relative; overflow: hidden; display: block; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); color: var(--green); text-decoration: none; }
.kpi i { font-size: 20px; }
.kpi b { display: block; margin-top: 10px; font-size: 28px; font-weight: 900; line-height: 1; color: var(--text); }
.kpi span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: currentColor; opacity: .07; filter: blur(8px); }
.kpi.red { color: var(--red); } .kpi.gold { color: var(--gold); } .kpi.violet { color: #a96bff; } .kpi.cyan { color: var(--cyan); } .kpi.green { color: var(--green); }
a.kpi:hover { border-color: var(--line-violet); }
.srv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; margin-top: 20px; padding-bottom: 40px; }
.srv-side { display: flex; flex-direction: column; gap: 20px; }
.live-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding: 16px 18px 10px; }
.chart-bars.tall { height: 200px; }
.cb { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.cb span { display: block; width: 100%; border-radius: 4px 4px 2px 2px; background: linear-gradient(0deg, #6a2bd6, #b24dff); min-height: 3px; }
.cb span.off { background: #3a2230; }
.cb small { font-size: 9px; color: var(--dim); }
.chart-bars .empty-li { flex: 1; align-self: center; }
.legend-card ul { list-style: none; margin: 0; padding: 12px 20px 18px; }
.legend-card li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 13px; color: var(--muted); }
.legend-card li > :first-child { flex: none; min-width: 64px; }

/* Профиль игрока */
.player-hero { display: flex; align-items: center; gap: 22px; padding: 24px; }
.ph-avatar { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: 0 0 30px rgba(160, 60, 255, .35); flex: none; }
.ph-main { flex: 1; min-width: 0; }
.ph-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ph-name h1 { margin: 0; font-size: 28px; font-weight: 900; word-break: break-word; }
.ph-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.ph-meta i { margin-right: 6px; color: var(--lilac); }
.level-ring.big { width: 110px; height: 110px; }
.level-ring.big div { width: 90px; height: 90px; }
.level-ring.big b { font-size: 34px; }

/* Достижения */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 18px 20px 20px; }
.ach { position: relative; }
.ach.c-red { color: #ff6d6b; } .ach.c-green { color: var(--green); } .ach.c-cyan { color: var(--cyan); } .ach.c-violet { color: #b98aff; } .ach.c-gold { color: var(--gold); }
.ach b { color: var(--text); }
.ach.done { border-color: currentColor; background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02), 0 0 18px -8px currentColor; }
.ach.locked { opacity: .55; filter: grayscale(.85); }
.ach-bar { height: 5px; margin-top: 12px; border-radius: 5px; background: #1e2636; overflow: hidden; }
.ach-bar span { display: block; height: 100%; background: currentColor; border-radius: 5px; }
.ach small { display: block; margin-top: 6px; font-size: 10px; color: var(--muted); font-weight: 600; }

/* Личный кабинет */
.cab .flash { margin: 0 0 18px; }
.cab-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 22px; align-items: start; }
.cab-card { overflow: hidden; position: sticky; top: calc(var(--tb) + 20px); }
.cab-cover { height: 96px; overflow: hidden; }
.cab-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.cab-id { text-align: center; padding: 0 20px 16px; }
.cab-avatar { position: relative; width: 96px; height: 96px; margin: -48px auto 0; }
.cab-avatar img { width: 100%; height: 100%; border-radius: 22px; border: 3px solid var(--panel); object-fit: cover; box-shadow: 0 0 26px rgba(160, 60, 255, .45); }
.cab-dot { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 3px solid var(--panel); box-shadow: 0 0 10px var(--green); }
.cab-id h1 { margin: 12px 0 8px; font-size: 22px; font-weight: 900; word-break: break-word; }
.cab-badges { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.cab-id .presence { margin-top: 10px; }
.cab-level { display: flex; align-items: center; gap: 16px; margin: 0 16px; padding: 16px; border-radius: 12px; background: #0b111b; border: 1px solid var(--line); }
.cab-level .level-ring { width: 72px; height: 72px; }
.cab-level .level-ring div { width: 58px; height: 58px; }
.cab-level .level-ring b { font-size: 22px; }
.cab-level .level-ring small { font-size: 8px; }
.cab-level > div:last-child { flex: 1; min-width: 0; }
.cab-level b { display: block; font-size: 14px; font-weight: 800; }
.cab-level span { display: block; margin: 2px 0 10px; color: var(--muted); font-size: 12px; }
.cab-info { margin: 8px 0 0; padding: 4px 20px; }
.cab-info > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cab-info > div:last-child { border-bottom: 0; }
.cab-info dt { font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.cab-info dt i { width: 16px; text-align: center; color: var(--lilac); }
.cab-info dd { margin: 0; font-weight: 700; text-align: right; word-break: break-all; }
.cab-actions { display: grid; gap: 10px; padding: 16px 20px 20px; }
.cab-actions > * { width: 100%; }
.cab-main { min-width: 0; }
.cab-main .stat-grid { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cab-main .oz-tabs { margin: 22px 0 18px; }
.stat-link { text-decoration: none; transition: border-color .2s, transform .2s; }
.stat-link:hover { border-color: rgba(255, 201, 74, .45); transform: translateY(-2px); }
.cab-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.notice { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); }
.notice > i { font-size: 22px; color: var(--lilac); flex: none; }
.notice > div { flex: 1; min-width: 0; }
.notice b { display: block; font-size: 14px; }
.notice span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.notice > .btn-violet { flex: none; }
.notice.warn { border-color: rgba(255, 201, 74, .3); background: rgba(255, 201, 74, .05); }
.notice.warn > i { color: var(--gold); }
.notice.info { border-color: var(--line-violet); background: rgba(139, 61, 255, .06); }
.notice.small { padding: 14px; margin: 0; flex-wrap: wrap; }
.balance-line { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; margin-bottom: 18px; border-radius: 10px; background: #0b111b; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.balance-line b { font-size: 22px; font-weight: 900; }
.chips button { cursor: pointer; }
.transfers { list-style: none; margin: 0; padding: 8px 20px 14px; }
.transfers li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.transfers li:last-child { border-bottom: 0; }
.transfers li > div { flex: 1; min-width: 0; }
.transfers b { display: block; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transfers span { font-size: 12px; color: var(--muted); }
.transfers em { font-style: normal; font-weight: 900; }
.transfers li.in em { color: var(--green); }
.transfers li.out em { color: #ff8b95; }
.tr-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; font-size: 13px; }
li.in .tr-ico { background: rgba(94, 240, 168, .1); color: var(--green); }
li.out .tr-ico { background: rgba(255, 93, 108, .1); color: var(--red); }
.player-hint { min-height: 0; margin-top: 8px; font-size: 12px; color: var(--muted); }
.player-hint:empty { display: none; }
.player-hint.ok { color: var(--green); }
.player-hint.no { color: #ffb86b; }
.oz-input.textarea { min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.55; height: auto; }
.oz-input.textarea.tall { min-height: 160px; }
.oz-input.plain { padding-left: 14px; }
.narrow { max-width: 460px; }
.steam-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.steam-box b { display: block; }
.steam-box span { font-size: 13px; color: var(--muted); }
.btn-steam small { font-size: 11px; font-weight: 600; opacity: .65; margin-left: 4px; }
.btn-steam.compact { width: auto; height: 44px; padding: 0 20px; font-size: 14px; }
.oz-tabs .nav-link { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.oz-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: #c7ccd8; }
.oz-check input { width: 18px; height: 18px; accent-color: var(--violet-2); }

/* VIP */
.vipx-hero { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.vipx-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.vipx-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 75% 60%, rgba(226, 76, 242, .25), transparent 70%), linear-gradient(90deg, var(--bg) 25%, rgba(7, 11, 18, .4) 75%), linear-gradient(0deg, var(--bg), transparent 50%); z-index: 1; }
.vipx-art { position: absolute; right: 4%; bottom: 0; height: 108%; max-width: 48%; object-fit: contain; object-position: bottom right; z-index: 1; filter: drop-shadow(0 0 40px rgba(226, 76, 242, .35)); }
.vipx-body { position: relative; z-index: 2; max-width: 640px; padding-top: 40px; padding-bottom: 44px; }
.vipx-title { display: flex; align-items: center; gap: 16px; font-size: clamp(56px, 7vw, 92px); font-weight: 900; line-height: .9; letter-spacing: -.03em; background: linear-gradient(135deg, #ffe08a, #ffb020 45%, #ff7ad9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vipx-title i { font-size: .6em; color: var(--gold); filter: drop-shadow(0 0 18px rgba(255, 201, 74, .6)); }
.vipx-sub { margin-top: 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; }
.vipx-body > p { margin: 14px 0 0; color: #c3c9d6; font-size: 16px; max-width: 520px; }
.vipx-price { display: inline-flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding: 14px 14px 14px 22px; border-radius: 16px; border: 1px solid rgba(255, 201, 74, .3); background: rgba(20, 15, 8, .7); backdrop-filter: blur(8px); }
.vipx-price b { display: block; font-size: 38px; font-weight: 900; line-height: 1; color: var(--gold); }
.vipx-price span { display: block; margin-top: 4px; color: #d8c79a; font-weight: 600; font-size: 13px; }
.vipx-mine { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 10px; background: rgba(94, 240, 168, .08); border: 1px solid rgba(94, 240, 168, .3); color: var(--green); font-weight: 700; }
.vipx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vipx-perk { display: flex; gap: 16px; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(160deg, #141b2a, #0d131e); transition: border-color .2s, transform .2s; }
.vipx-perk:hover { border-color: rgba(255, 201, 74, .35); transform: translateY(-2px); }
.vipx-perk.wide { grid-row: span 2; flex-direction: column; background: radial-gradient(400px 260px at 100% 0%, rgba(255, 176, 32, .12), transparent 70%), linear-gradient(160deg, #1a1a24, #0e131d); border-color: rgba(255, 201, 74, .25); }
.vipx-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 201, 74, .2), rgba(226, 76, 242, .15)); border: 1px solid rgba(255, 201, 74, .3); color: var(--gold); font-size: 22px; }
.vipx-perk h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 800; }
.vipx-perk h3 em { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 201, 74, .12); color: var(--gold); font-size: 11px; font-style: normal; font-weight: 800; vertical-align: middle; }
.vipx-perk p { margin: 0; color: var(--muted); font-size: 13px; }
.vipx-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.vipx-list li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.vipx-list i { color: var(--gold); font-size: 12px; }
.shots { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
.shot-main { position: relative; display: block; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #000; cursor: zoom-in; aspect-ratio: 16 / 9; }
.shot-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.shot-main:hover img { transform: scale(1.02); }
.shot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); text-align: left; }
.shot-cap b { display: block; font-size: 20px; font-weight: 900; color: #fff; }
.shot-cap small { color: #cfd4de; font-size: 13px; }
.shot-zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #fff; }
.shot-thumbs { display: flex; flex-direction: column; gap: 10px; }
.shot-thumb { position: relative; flex: 1; display: block; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; min-height: 70px; transition: border-color .2s; }
.shot-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .2s; }
.shot-thumb span { position: absolute; left: 10px; bottom: 8px; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 13px; text-shadow: 0 1px 6px #000; }
.shot-thumb span b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--grad-violet); font-size: 11px; }
.shot-thumb:hover img, .shot-thumb.active img { opacity: 1; }
.shot-thumb.active { border-color: var(--gold); box-shadow: 0 0 18px rgba(255, 201, 74, .25); }
.vipx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 12px 20px 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; }
.steps li > span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--grad-violet); font-weight: 900; box-shadow: var(--shadow-violet); }
.steps b { display: block; }
.steps small { color: var(--muted); }
.cmp td:nth-child(n+2), .cmp th:nth-child(n+2) { text-align: center; }
.cmp .fa-check { color: var(--green); }
.cmp .fa-minus { color: var(--dim); }
.oz-modal .modal-content { position: relative; background: #000; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.oz-modal .modal-content img { width: 100%; display: block; }
.oz-modal-close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 18px; }

/* Форум */
.forum-search { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; margin-bottom: 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); }
.forum-search i { color: var(--muted); }
.forum-search input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: none; color: var(--text); font-size: 14px; }
.forum-search .btn-violet { height: 40px; }
.forum-stats { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.forum-stats > div { flex: 1; min-width: 120px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.forum-stats b { font-size: 24px; font-weight: 900; margin-right: 6px; }
.forum-stats span { color: var(--muted); font-weight: 600; }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cat-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 18px; color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.cat-card:hover { border-color: var(--line-violet); transform: translateY(-2px); color: var(--text); }
.cat-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, rgba(139, 61, 255, .25), rgba(226, 76, 242, .12)); border: 1px solid var(--line-violet); color: var(--lilac); font-size: 20px; }
.cat-body b { display: block; font-size: 16px; font-weight: 800; }
.cat-body > span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.cat-nums { display: flex; gap: 16px; margin-top: 8px; color: #aeb5c4; font-size: 12px; font-weight: 700; }
.cat-nums i { margin-right: 5px; color: var(--dim); }
.cat-last { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; }
.cat-last img { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.cat-last > div { min-width: 0; }
.cat-last b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-last small { color: var(--muted); font-size: 12px; }
.block-title { margin: 28px 0 14px; font-size: 18px; font-weight: 800; }
.topic-list { overflow: hidden; }
.trow { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 76px 86px 150px; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background .15s; }
.trow:last-child { border-bottom: 0; }
.trow:hover { background: rgba(139, 61, 255, .05); color: var(--text); }
.trow.pinned { background: linear-gradient(90deg, rgba(255, 201, 74, .05), transparent 50%); }
.trow-av { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.trow-main { min-width: 0; }
.trow-main b { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow-main span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow-main em { font-style: normal; color: #c9b3ff; font-weight: 600; }
.trow-num { text-align: center; }
.trow-num b { display: block; font-size: 15px; font-weight: 800; }
.trow-num small, .trow-last small { display: block; color: var(--dim); font-size: 11px; }
.trow-last { min-width: 0; text-align: right; }
.trow-last b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 800; white-space: nowrap; border: 1px solid; }
.status-pill.s-open { color: #ffc24f; border-color: #6e5220; background: #2a200c; }
.status-pill.s-in_progress { color: #6fd3ff; border-color: #245a73; background: #0c2330; }
.status-pill.s-resolved { color: var(--green); border-color: #1f6146; background: #0b2519; }
.status-pill.s-closed { color: #ff8b95; border-color: #7a2d36; background: #2b1117; }
.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.pager a { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel); color: #c7ccd8; font-weight: 700; text-decoration: none; }
.pager a:hover { border-color: var(--violet-2); color: #fff; }
.pager a.active { background: var(--grad-violet); border-color: transparent; color: #fff; }

/* Тема */
.topic-head { padding: 22px 24px; margin-bottom: 18px; }
.topic-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.topic-head h1 { margin: 14px 0 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; word-break: break-word; }
.topic-meta { display: flex; gap: 8px 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.topic-meta i { margin-right: 6px; color: var(--lilac); }
.mod-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.mod-label { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; color: #ff8b95; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.mod-bar form { margin: 0; }
.mod-inline .oz-select { height: 34px; padding-top: 0; padding-bottom: 0; font-size: 13px; }
.btn-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--line-2); background: #151d2b; color: #d4d9e3; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: .2s; }
.btn-chip:hover { border-color: var(--violet-2); color: #fff; }
.btn-chip.danger { color: #ff8b95; border-color: #5c2530; }
.btn-chip.danger:hover { background: #3a141b; border-color: var(--red); }
.btn-chip.gold { color: var(--gold); border-color: #6e5220; }
.btn-chip:disabled { opacity: .45; cursor: not-allowed; }
.btn-danger-oz { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid #8e2a33; background: linear-gradient(135deg, #5c1620, #3a0f16); color: #ffd0d4; font-weight: 800; cursor: pointer; }
.btn-danger-oz:hover { background: linear-gradient(135deg, #7a1d2a, #4c141d); color: #fff; }
.posts { display: flex; flex-direction: column; gap: 14px; }
.post { display: grid; grid-template-columns: 170px minmax(0, 1fr); overflow: hidden; scroll-margin-top: calc(var(--tb) + 20px); }
.post:target { border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(150, 60, 255, .15); }
.post-author { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 14px; text-align: center; background: #0b111b; border-right: 1px solid var(--line); }
.post-author img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; margin-bottom: 4px; }
.post-author b { font-size: 14px; word-break: break-word; }
.post-author small { color: var(--dim); font-size: 11px; }
.post-body { padding: 16px 22px 20px; min-width: 0; }
.post-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; margin-bottom: 10px; }
.post-top em { font-style: italic; }
.post-tools { display: flex; align-items: center; gap: 4px; }
.post-tools form { margin: 0; }
.post-tool { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--dim); font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.post-tool:hover { background: #172031; color: #fff; }
.post-tool.danger:hover { color: var(--red); }
.post-text { font-size: 15px; line-height: 1.7; word-break: break-word; color: #dde2eb; }
.post-text blockquote { margin: 6px 0 10px; padding: 10px 14px; border-left: 3px solid var(--violet-2); border-radius: 0 8px 8px 0; background: rgba(139, 61, 255, .07); color: #b7bdca; font-size: 14px; }
.post-text a { color: var(--lilac); }
.reply-box { margin-top: 18px; padding: 20px; }
.reply-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.reply-head img { width: 36px; height: 36px; border-radius: 10px; }
.reply-head .muted { margin-left: auto; font-size: 12px; }
.cat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.cat-pick label { cursor: pointer; }
.cat-pick input { position: absolute; opacity: 0; pointer-events: none; }
.cat-pick span { display: block; height: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0c121d; transition: .2s; }
.cat-pick span i { color: var(--lilac); font-size: 18px; }
.cat-pick span b { display: block; margin-top: 8px; font-size: 14px; }
.cat-pick span small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.cat-pick input:checked + span { border-color: var(--violet-2); background: rgba(139, 61, 255, .1); box-shadow: 0 0 0 3px rgba(150, 60, 255, .15); }

/* Админка */
.adm-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin-bottom: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); scrollbar-width: none; }
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 13px; white-space: nowrap; text-decoration: none; }
.adm-tabs a:hover { color: #fff; background: #151d2b; }
.adm-tabs a.active { color: #fff; background: var(--grad-violet); box-shadow: 0 0 20px rgba(140, 50, 255, .3); }
.adm .flash { margin: 0 0 18px; }
.adm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.adm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.adm-two.mt-3 { margin-top: 0 !important; }
.adm-list { list-style: none; margin: 0; padding: 6px 20px 14px; }
.adm-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.adm-list li:last-child { border-bottom: 0; }
.adm-list li > a { min-width: 0; color: var(--text); text-decoration: none; }
.adm-list li > a:hover b { color: var(--lilac); }
.adm-list b { font-weight: 700; }
.adm-list small { display: block; font-size: 12px; color: var(--muted); }
.adm-list li > div { min-width: 0; }
.adm-list li > small { flex: none; text-align: right; }
.adm-filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-filters > a { padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--panel); color: #c7ccd8; font-weight: 700; font-size: 12px; text-decoration: none; }
.adm-filters > a:hover { border-color: var(--violet-2); color: #fff; }
.adm-filters > a.active { background: var(--grad-violet); border-color: transparent; color: #fff; }
.adm-search { position: relative; margin-left: auto; }
.adm-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.adm-search input { width: 280px; height: 38px; padding: 0 14px 0 38px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); outline: 0; }
.adm-search input:focus { border-color: var(--violet-2); }
.adm-table td { white-space: nowrap; }
.adm-table tr.row-banned td { background: rgba(255, 93, 108, .04); }
.adm-user { display: flex; align-items: center; gap: 20px; padding: 22px; }
.adm-user-av { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; flex: none; }
.adm-user-main { min-width: 0; }
.adm-user h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; font-size: 24px; font-weight: 900; }
.adm-user .cab-badges { justify-content: flex-start; }
.adm-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm-inline:last-of-type { border-bottom: 0; }
.adm-inline label { width: 130px; color: var(--muted); font-weight: 600; font-size: 13px; }
.adm-inline .oz-select, .adm-inline .oz-input { flex: 1; min-width: 140px; height: 38px; }
.danger-zone { border-color: rgba(255, 93, 108, .25); }
.sys-list { list-style: none; margin: 0; padding: 8px 20px 14px; }
.sys-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.sys-list li:last-child { border-bottom: 0; }
.sys-list li small { margin-left: auto; color: var(--muted); }
.sys-list li.ok > i { color: var(--green); }
.sys-list li.bad > i { color: var(--red); }
.sys-list.compact li { padding: 6px 0; }
.log-box { margin: 0; padding: 16px 20px; max-height: 320px; overflow: auto; color: #b7bdca; font-size: 12px; white-space: pre-wrap; word-break: break-all; }

/* Страница ошибки */
.error-body { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.error-wrap { max-width: 520px; text-align: center; }
.error-logo { width: 220px; max-width: 70%; }
.error-code { margin-top: 20px; font-size: 96px; font-weight: 900; line-height: 1; background: var(--grad-violet); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-wrap h1 { margin: 10px 0; font-size: 26px; font-weight: 900; }
.error-wrap p { color: var(--muted); font-size: 15px; }
.error-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Адаптив v8 ---------- */
@media (max-width: 1399px) {
  .cab-main .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trow { grid-template-columns: 42px minmax(0, 1fr) auto 70px 80px; }
  .trow-last { display: none; }
}
@media (max-width: 1199px) {
  .srv-grid { grid-template-columns: 1fr; }
  .srv-side { display: grid; grid-template-columns: 1fr 1fr; }
  .cab-grid { grid-template-columns: 1fr; }
  .cab-card { position: static; }
  .cab-two, .adm-two, .vipx-two { grid-template-columns: 1fr; }
  .vipx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vipx-perk.wide { grid-row: auto; grid-column: 1 / -1; }
  .shots { grid-template-columns: 1fr; }
  .shot-thumbs { flex-direction: row; }
  .shot-thumb { aspect-ratio: 16 / 9; min-height: 0; }
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-search { margin-left: 0; width: 100%; }
  .adm-search input { width: 100%; }
}
@media (max-width: 767px) {
  .page-title h1 { font-size: 23px; }
  .srv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srv-side { grid-template-columns: 1fr; }
  .srv-players { flex-direction: column; align-items: stretch; gap: 12px; }
  .srv-count b { font-size: 34px; }
  .srv-actions > * { flex: 1; }
  .players-table th:nth-child(1), .players-table td:nth-child(1),
  .players-table th:nth-child(6), .players-table td:nth-child(6),
  .players-table th:nth-child(7), .players-table td:nth-child(7) { display: none; }
  .top-table th:nth-child(4), .top-table td:nth-child(4),
  .top-table th:nth-child(7), .top-table td:nth-child(7) { display: none; }
  .oz-table th, .oz-table td { padding: 10px 10px; }
  .pl-cell b { max-width: 130px; }
  .player-hero { flex-wrap: wrap; justify-content: center; text-align: center; }
  .ph-name, .ph-meta { justify-content: center; }
  .cab-main .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice { flex-wrap: wrap; }
  .vipx-hero { min-height: 0; }
  .vipx-art { opacity: .35; max-width: 80%; right: -10%; }
  .vipx-grid { grid-template-columns: 1fr; }
  .vipx-price { width: 100%; }
  .vipx-price .btn-neon { flex: 1; }
  .shot-thumb span { font-size: 0; }
  .shot-thumb span b { font-size: 11px; }
  .cat-grid { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; padding: 12px 14px; }
  .trow-av { width: 38px; height: 38px; }
  .trow-num { display: none; }
  .trow > span:empty { display: none; }
  .post { grid-template-columns: 1fr; }
  .post-author { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .post-author img { width: 36px; height: 36px; border-radius: 10px; margin: 0; }
  .post-body { padding: 14px 16px 16px; }
  .mod-bar { gap: 6px; }
  .adm-kpis { grid-template-columns: 1fr 1fr; }
  .adm-inline label { width: 100%; }
  .adm-user { flex-direction: column; text-align: center; }
  .adm-user h2, .adm-user .cab-badges, .adm-user .ph-meta { justify-content: center; }
  .forum-search .btn-violet { padding: 0 14px; }
  .reply-head .muted { margin-left: 0; width: 100%; }
  .avatar-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* =========================================================
   v9 — баны, магазин, правила/помощь, новый VIP, исправления
   ========================================================= */
/* Исправления со скрина */
.topic .tag.cat { max-width: 112px; overflow: hidden; text-overflow: ellipsis; justify-self: start; display: block; }
.online-list li.empty-li { display: block; min-height: 0; padding: 22px 18px; text-align: center; }
.balance-line .btn-chip { margin-left: 12px; }
.balance-line b { margin-left: auto; }
.sb-shop i { color: var(--green) !important; }
.sb-vip i { color: var(--gold) !important; }
.tb-vip { color: var(--gold) !important; }
.tb-vip i { margin-right: 6px; }

/* Плашка бана */
.ban-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 93, 108, .4); background: linear-gradient(90deg, rgba(255, 93, 108, .14), rgba(255, 93, 108, .04)); box-shadow: 0 0 30px -12px rgba(255, 93, 108, .6); }
.ban-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 93, 108, .18); color: var(--red); font-size: 20px; }
.ban-txt { flex: 1; min-width: 220px; }
.ban-txt b { display: block; font-size: 15px; color: #ffd0d4; }
.ban-txt span { display: block; margin-top: 3px; font-size: 13px; color: #d9aeb3; }
.ban-txt em { font-style: normal; color: #fff; font-weight: 700; }

/* Страница банов */
.ban-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.ban-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ban-tools .adm-filters { margin: 0; }
.ban-tools .forum-search { flex: 1; min-width: 260px; margin: 0; }
.ban-list { display: flex; flex-direction: column; gap: 10px; }
.ban-card { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(0, 1.4fr) 130px 150px 170px; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); border-left: 3px solid #2a3244; }
.ban-card.is-active { border-left-color: #ffb020; }
.ban-card.is-perm { border-left-color: var(--red); }
.ban-card small { display: block; color: var(--dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ban-card b { font-weight: 700; word-break: break-word; }
.ban-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ban-who img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.ban-who > div { min-width: 0; }
.ban-who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ban-who small { text-transform: none; letter-spacing: 0; font-weight: 600; margin-top: 2px; }
.ban-reason .tag { margin-top: 6px; }
.ban-meta .muted { display: block; font-size: 12px; }
.ban-state { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ban-state form { margin: 0; }

/* Магазин */
.shop-hero, .doc-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.shop-hero .bg, .doc-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.shop-hero::after, .doc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 25%, rgba(7, 11, 18, .55) 75%, rgba(7, 11, 18, .3)), linear-gradient(0deg, var(--bg), transparent 55%); }
.shop-hero-body, .doc-hero-body { position: relative; z-index: 1; max-width: 760px; padding-top: 40px; padding-bottom: 36px; }
.shop-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 20px; background: rgba(139, 61, 255, .15); border: 1px solid var(--line-violet); color: var(--lilac); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.shop-hero h1, .doc-hero h1 { margin: 16px 0 10px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.02em; }
.shop-hero p, .doc-hero p { margin: 0; color: #c3c9d6; font-size: 15px; max-width: 600px; }
.shop-balance { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 18px; border-radius: 12px; background: rgba(20, 15, 8, .7); border: 1px solid rgba(255, 201, 74, .3); }
.shop-balance i { color: var(--gold); font-size: 20px; }
.shop-balance span { color: var(--muted); font-weight: 600; }
.shop-balance b { font-size: 22px; font-weight: 900; color: var(--gold); }
.shop-balance small { color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.shop-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border-radius: 18px; border: 1px solid rgba(94, 240, 168, .25); background: radial-gradient(300px 200px at 100% 0%, rgba(94, 240, 168, .12), transparent 70%), linear-gradient(160deg, #121b27, #0c121c); color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.shop-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -18px rgba(94, 240, 168, .45); color: var(--text); }
.shop-card.vip { border-color: rgba(255, 201, 74, .3); background: radial-gradient(300px 200px at 100% 0%, rgba(255, 176, 32, .14), transparent 70%), linear-gradient(160deg, #1a1a22, #0e131d); }
.shop-card.vip:hover { box-shadow: 0 16px 40px -18px rgba(255, 201, 74, .45); }
.shop-card form { margin-top: auto; }
.shop-card > .btn-neon, .shop-card > .btn-ghost-oz, .shop-card > span.btn-ghost-oz { margin-top: auto; }
.shop-badge { position: absolute; right: 16px; top: 16px; padding: 4px 10px; border-radius: 20px; background: var(--green); color: #052414; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.shop-badge.gold { background: var(--gold); color: #2c1d00; }
.shop-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: rgba(94, 240, 168, .12); border: 1px solid rgba(94, 240, 168, .3); color: var(--green); font-size: 26px; }
.shop-ico.gold, .shop-card.vip .shop-ico { background: rgba(255, 201, 74, .12); border-color: rgba(255, 201, 74, .3); color: var(--gold); }
.shop-card h3 { margin: 8px 0 0; font-size: 22px; font-weight: 900; }
.shop-card p { margin: 0; color: var(--muted); font-size: 13px; }
.shop-price { margin: 6px 0 10px; }
.shop-price b { font-size: 34px; font-weight: 900; line-height: 1; }
.shop-price small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.shop-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.shop-info > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.shop-info i { grid-row: span 2; font-size: 22px; color: var(--lilac); }
.shop-info span { color: var(--muted); font-size: 13px; }
.order-card { margin-bottom: 26px; border-color: var(--line-violet); box-shadow: 0 0 40px -20px rgba(150, 60, 255, .6); }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.order-head small { color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; }
.order-head h2 { margin: 4px 0; font-size: 22px; font-weight: 900; }
.order-body { padding: 20px 22px 22px; }
.order-sum { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.order-sum span { color: var(--muted); font-weight: 600; }
.order-sum b { font-size: 32px; font-weight: 900; color: var(--gold); }
.order-pay { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.order-done { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.order-done > i { font-size: 36px; color: var(--green); }
.order-done > div { flex: 1; min-width: 200px; }
.order-done b { display: block; font-size: 16px; }
.order-done span { color: var(--muted); font-size: 13px; }
.steps.compact { padding: 0 0 6px; }

/* Главная: ряд под «Особенностями» */
.board-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.shop-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px; border-radius: var(--r); border: 1px solid rgba(94, 240, 168, .25); background: radial-gradient(260px 180px at 100% 0%, rgba(94, 240, 168, .15), transparent 70%), url('../img/credits.webp') right center / cover no-repeat, var(--panel); color: var(--text); text-decoration: none; }
.shop-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 21, 32, .96) 45%, rgba(14, 21, 32, .55)); }
.shop-promo > * { position: relative; }
.shop-promo:hover { color: var(--text); border-color: rgba(94, 240, 168, .5); }
.shop-promo-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: rgba(94, 240, 168, .14); color: var(--green); font-size: 22px; }
.shop-promo small { color: var(--green); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.shop-promo b { display: block; margin-top: 4px; font-size: 19px; font-weight: 900; }
.shop-promo span:not(.btn-violet):not(.shop-promo-ico) { color: var(--muted); font-size: 13px; }
.shop-promo .btn-violet { align-self: flex-start; }
.mini-bans .adm-list li > div { min-width: 0; }
.mini-bans .adm-list b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Правила и помощь */
.doc-search { position: relative; margin-top: 22px; max-width: 560px; }
.doc-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.doc-search input { width: 100%; height: 52px; padding: 0 18px 0 48px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(14, 21, 32, .85); color: var(--text); font-size: 15px; outline: 0; backdrop-filter: blur(6px); }
.doc-search input:focus { border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(150, 60, 255, .14); }
.doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.doc-nav { position: sticky; top: calc(var(--tb) + 20px); display: flex; flex-direction: column; padding: 10px; }
.doc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #c7ccd8; font-weight: 600; font-size: 13px; text-decoration: none; }
.doc-nav a:hover { background: #151d2b; color: #fff; }
.doc-nav a > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #1a2232; font-size: 11px; font-weight: 800; color: var(--lilac); }
.doc-nav a > i { width: 16px; text-align: center; color: var(--lilac); }
.doc-nav a em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 12px; }
.doc-nav .doc-nav-cta { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; color: var(--lilac); }
.doc-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rule-sec { scroll-margin-top: calc(var(--tb) + 20px); }
.rule-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.rule-head h2 { margin: 0; font-size: 18px; font-weight: 800; }
.rule-head > i { color: var(--lilac); font-size: 18px; }
.rule-num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--grad-violet); font-weight: 900; font-size: 14px; }
.rule-list { list-style: none; margin: 0; padding: 6px 22px 12px; }
.rule-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 0; }
.rule-code { color: var(--dim); font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.rule-list p { margin: 0; font-size: 14px; color: #dde2eb; }
.rule-pun { padding: 5px 10px; border-radius: 8px; background: rgba(255, 201, 74, .08); border: 1px solid rgba(255, 201, 74, .25); color: #ffd27a; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rule-pun.hard { background: rgba(255, 93, 108, .1); border-color: rgba(255, 93, 108, .35); color: #ff9aa3; }
.faq-list { padding: 6px 12px 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 10px; cursor: pointer; list-style: none; font-weight: 700; font-size: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--dim); transition: transform .2s; }
.faq-item[open] summary i { transform: rotate(180deg); color: var(--lilac); }
.faq-item[open] summary { color: var(--lilac); }
.faq-item p { margin: 0 10px 16px; padding: 14px 16px; border-radius: 10px; background: #0b111b; color: #c3c9d6; font-size: 14px; line-height: 1.65; }
.help-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px; margin-bottom: 22px; align-items: stretch; }
.help-step { position: relative; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.help-step > span { position: absolute; right: 16px; top: 12px; font-size: 42px; font-weight: 900; color: rgba(139, 61, 255, .18); line-height: 1; }
.help-step > i { font-size: 24px; color: var(--lilac); }
.help-step b { display: block; margin-top: 12px; font-size: 15px; }
.help-step small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.help-cta { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.cmd-list { padding: 8px 22px 14px; }
.cmd-list > div { display: grid; grid-template-columns: minmax(170px, auto) 1fr auto; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cmd-list > div:last-child { border-bottom: 0; }
.cmd-list code { font-size: 13px; padding: 5px 10px; }
.cmd-list span { color: var(--muted); font-size: 13px; }
.help-contact, .help-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.help-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.help-contact a, .help-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; transition: .2s; }
.help-contact a:hover, .help-tile:hover { border-color: var(--line-violet); transform: translateY(-2px); color: var(--text); }
.help-contact i, .help-tile i { font-size: 24px; color: var(--lilac); margin-bottom: 8px; }
.help-contact b, .help-tile b { font-size: 15px; }
.help-contact span, .help-tile span { color: var(--muted); font-size: 13px; }

/* Тикеты: данные игрока */
.nt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.ticket-card { border-color: var(--line-violet); }
.ticket-card-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.ticket-actions { padding: 14px 20px 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.ticket-actions > b { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.pcard { padding-top: 0; }
.pcard-bans { padding: 6px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.pcard-ban { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 93, 108, .25); background: rgba(255, 93, 108, .06); }
.pcard-ban > i { color: var(--red); }
.pcard-ban > div { flex: 1; min-width: 0; }
.pcard-ban b { display: block; font-size: 13px; }
.pcard-ban small { color: var(--muted); font-size: 12px; }
.pcard-ban form { margin: 0; }
.pcard-ban.target { border-color: var(--red); box-shadow: 0 0 0 2px rgba(255, 93, 108, .2); }
.pcard-ok { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(94, 240, 168, .06); color: var(--green); font-size: 13px; font-weight: 700; }

/* ---------- VIP v2 ---------- */
.vip2-hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255, 201, 74, .15); }
.vip2-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.vip2-glow { position: absolute; inset: 0; background: radial-gradient(700px 420px at 72% 55%, rgba(255, 176, 32, .22), transparent 70%), radial-gradient(500px 360px at 90% 10%, rgba(226, 76, 242, .25), transparent 70%), linear-gradient(90deg, var(--bg) 18%, rgba(7, 11, 18, .45) 60%, rgba(7, 11, 18, .7)); }
.vip2-art { position: absolute; left: 44%; bottom: 0; height: 100%; max-width: 34%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 50px rgba(226, 76, 242, .45)); opacity: .9; }
.vip2-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 48px; }
.vip2-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 20px; background: rgba(255, 201, 74, .1); border: 1px solid rgba(255, 201, 74, .35); color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.vip2-title { margin: 14px 0 0; font-size: clamp(76px, 10vw, 140px); font-weight: 900; line-height: .85; letter-spacing: -.04em; background: linear-gradient(110deg, #ffb020 10%, #fff3c4 30%, #ffc94a 45%, #ff7ad9 75%, #ffb020 95%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: vipShine 6s linear infinite; filter: drop-shadow(0 6px 30px rgba(255, 176, 32, .35)); }
@keyframes vipShine { to { background-position: -250% 0; } }
.vip2-sub { margin-top: 10px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; }
.vip2-text > p { margin: 12px 0 0; color: #c3c9d6; font-size: 16px; max-width: 500px; }
.vip2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.vip2-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; background: rgba(14, 21, 32, .75); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; backdrop-filter: blur(6px); }
.vip2-chips i { color: var(--gold); }
.vip2-ticket { position: relative; padding: 24px; border-radius: 22px; border: 1px solid rgba(255, 201, 74, .35); background: linear-gradient(160deg, rgba(34, 26, 12, .92), rgba(14, 16, 24, .94)); box-shadow: 0 30px 70px -30px rgba(255, 176, 32, .55), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(10px); overflow: hidden; }
.vip2-ticket::before { content: ""; position: absolute; top: -60%; left: -30%; width: 60%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255, 240, 200, .09), transparent); transform: rotate(20deg); animation: vipSweep 5s ease-in-out infinite; }
@keyframes vipSweep { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.vip2-ticket-top { position: relative; display: flex; align-items: center; gap: 12px; }
.vip2-crown { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #ffd35c, #c98c16); color: #2c1d00; font-size: 20px; box-shadow: 0 0 24px rgba(255, 201, 74, .5); }
.vip2-ticket-top b { display: block; font-size: 20px; font-weight: 900; }
.vip2-ticket-top small { color: #d8c79a; font-weight: 600; }
.vip2-gift { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; background: rgba(226, 76, 242, .15); border: 1px solid rgba(226, 76, 242, .4); color: #f7a6ff; font-size: 11px; font-weight: 800; }
.vip2-price { position: relative; display: flex; align-items: flex-start; gap: 6px; margin-top: 18px; }
.vip2-price b { font-size: 76px; font-weight: 900; line-height: .9; color: #ffd35c; letter-spacing: -.03em; }
.vip2-price span { margin-top: 8px; font-size: 28px; font-weight: 900; color: #ffd35c; }
.vip2-per { position: relative; color: #d8c79a; font-size: 13px; font-weight: 600; }
.vip2-ticket ul { position: relative; list-style: none; margin: 18px 0; padding: 16px 0 0; border-top: 1px dashed rgba(255, 201, 74, .25); display: grid; gap: 9px; }
.vip2-ticket li { display: flex; gap: 10px; font-size: 14px; font-weight: 600; }
.vip2-ticket li i { color: var(--gold); margin-top: 3px; font-size: 12px; }
.vip2-buy { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 14px; background: linear-gradient(135deg, #ffd35c, #ff9d1c 55%, #ff6fb5); color: #2a1300; font-size: 16px; font-weight: 900; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(255, 157, 28, .7); transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.vip2-buy:hover { color: #2a1300; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 157, 28, .85); }
.vip2-note { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #a99a78; font-size: 12px; }
.vip2-numbers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.vip2-numbers > div { padding: 18px 12px; text-align: center; border-radius: 14px; border: 1px solid rgba(255, 201, 74, .15); background: linear-gradient(180deg, rgba(255, 201, 74, .06), transparent); }
.vip2-numbers b { display: block; font-size: 30px; font-weight: 900; color: var(--gold); line-height: 1; }
.vip2-numbers span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.vip2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vip2-perk { --c: var(--gold); position: relative; overflow: hidden; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, #141b2a, #0d131e); transition: transform .25s, border-color .25s, box-shadow .25s; }
.vip2-perk::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .08; filter: blur(20px); transition: opacity .25s; }
.vip2-perk:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 18px 40px -22px var(--c); }
.vip2-perk:hover::after { opacity: .2; }
.vip2-perk.c-gold { --c: #ffc94a; } .vip2-perk.c-violet { --c: #b98aff; } .vip2-perk.c-pink { --c: #f06ae6; }
.vip2-perk.c-cyan { --c: #4fd6f5; } .vip2-perk.c-green { --c: #5ef0a8; } .vip2-perk.c-red { --c: #ff6d6b; }
.vip2-perk.wide { grid-row: span 2; background: radial-gradient(400px 260px at 100% 0%, rgba(255, 176, 32, .14), transparent 70%), linear-gradient(160deg, #1a1a24, #0e131d); border-color: rgba(255, 201, 74, .28); }
.vip2-perk-ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--c); font-size: 23px; }
.vip2-perk h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 900; }
.vip2-perk h3 em { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); font-size: 11px; font-style: normal; font-weight: 800; vertical-align: middle; }
.vip2-perk p { margin: 0; color: var(--muted); font-size: 13px; }
.vip2-final { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 26px 30px; border-radius: 20px; border: 1px solid rgba(255, 201, 74, .3); background: radial-gradient(500px 240px at 20% 50%, rgba(226, 76, 242, .2), transparent 70%), linear-gradient(120deg, #1c1622, #121722); }
.vip2-final img { width: 120px; height: 120px; object-fit: cover; object-position: top; border-radius: 18px; flex: none; }
.vip2-final > div { flex: 1; }
.vip2-final h2 { margin: 0; font-size: 28px; font-weight: 900; }
.vip2-final p { margin: 6px 0 0; color: #c3c9d6; }
.vip2-sticky { display: none; }

/* ---------- Адаптив v9 ---------- */
@media (max-width: 1399px) {
  .ban-card { grid-template-columns: minmax(170px, 1fr) minmax(0, 1.3fr) 150px 170px; }
  .ban-card > .ban-meta:nth-of-type(3) { display: none; }
  .vip2-art { left: 40%; max-width: 30%; }
}
@media (max-width: 1199px) {
  .board-duo { grid-template-columns: 1fr; }
  .ban-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ban-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ban-card > .ban-meta:nth-of-type(3) { display: block; }
  .doc-grid, .nt-grid { grid-template-columns: 1fr; }
  .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .doc-nav .doc-nav-cta { margin-top: 0; border-top: 0; }
  .help-start { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help-cta { grid-column: 1 / -1; flex-direction: row; }
  .help-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip2-inner { grid-template-columns: 1fr; }
  .vip2-art { left: auto; right: -5%; max-width: 55%; opacity: .35; }
  .vip2-ticket { max-width: 460px; }
  .vip2-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vip2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip2-perk.wide { grid-row: auto; grid-column: 1 / -1; }
  .ticket-card-grid { grid-template-columns: 1fr; }
  .ticket-actions { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .ban-kpis { grid-template-columns: 1fr 1fr; }
  .ban-card { grid-template-columns: 1fr; gap: 10px; }
  .ban-state { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .shop-info, .help-contact, .help-tiles { grid-template-columns: 1fr; }
  .help-start { grid-template-columns: 1fr; }
  .help-cta { flex-direction: column; }
  .rule-list li { grid-template-columns: 34px minmax(0, 1fr); }
  .rule-pun { grid-column: 2; justify-self: start; }
  .cmd-list > div { grid-template-columns: 1fr auto; }
  .cmd-list span { grid-column: 1; }
  .cmd-list .post-tool { grid-row: 1 / span 2; grid-column: 2; }
  .vip2-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip2-grid { grid-template-columns: 1fr; }
  .vip2-price b { font-size: 62px; }
  .vip2-final { flex-direction: column; text-align: center; padding: 24px 20px; }
  .vip2-final img { width: 90px; height: 90px; }
  .vip2-final .vip2-buy { width: 100%; }
  .page-vip .footer { padding-bottom: 150px; }
  .vip2-sticky { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 1030; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; border: 1px solid rgba(255, 201, 74, .35); background: rgba(22, 18, 12, .94); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
  .vip2-sticky > div { flex: 1; }
  .vip2-sticky b { display: block; font-size: 20px; font-weight: 900; color: var(--gold); line-height: 1; }
  .vip2-sticky small { color: #d8c79a; font-size: 11px; }
  .vip2-sticky .vip2-buy { height: 46px; font-size: 14px; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .vip2-title, .vip2-ticket::before { animation: none; }
}
/* v9: мягкие края арта VIP (у картинки непрозрачный фон) */
.vip2-art { -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 45%, transparent 78%); mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 45%, transparent 78%); }
.vip2-final img { -webkit-mask-image: none; mask-image: none; }
.ban-reason .tag { margin: 6px 0 0; display: inline-flex; align-items: center; }
.ban-reason b { display: block; }

/* =========================================================
   v10 — баланс аккаунта и магазин-витрина
   ========================================================= */
/* Баланс в шапке */
.tb-balance { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(94, 240, 168, .3); background: rgba(94, 240, 168, .07); color: #b8f7d6; font-weight: 800; font-size: 14px; white-space: nowrap; cursor: pointer; transition: .2s; }
.tb-balance i { color: var(--green); }
.tb-balance:hover, .tb-balance[aria-expanded="true"] { border-color: var(--green); background: rgba(94, 240, 168, .13); color: #fff; }
.wallet-dd { width: 340px; padding: 0; border-radius: 16px; border: 1px solid var(--line-2); background: #0e1520; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.wd-head { padding: 18px 18px 16px; background: radial-gradient(260px 140px at 100% 0%, rgba(94, 240, 168, .16), transparent 70%), #111a27; border-bottom: 1px solid var(--line); }
.wd-head small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.wd-head > b { display: block; margin: 4px 0 14px; font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.wd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wd-actions .btn-neon, .wd-actions .btn-ghost-oz { height: 40px; font-size: 13px; padding: 0 10px; }
.wd-title { padding: 12px 18px 4px; color: var(--dim); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.wd-list { list-style: none; margin: 0; padding: 0 18px; max-height: 280px; overflow: auto; }
.wd-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wd-list li:last-child { border-bottom: 0; }
.wd-list li > div { flex: 1; min-width: 0; }
.wd-list b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-list small { color: var(--muted); font-size: 11px; }
.wd-list em { font-style: normal; font-weight: 900; font-size: 13px; white-space: nowrap; }
.wd-list li.in em { color: var(--green); }
.wd-list li.out em { color: #ff8b95; }
.wd-list .tr-ico { width: 30px; height: 30px; font-size: 12px; }
.wd-list .empty-li { display: block; padding: 18px 0; }
.wd-all { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); color: var(--lilac); font-weight: 700; font-size: 13px; text-decoration: none; }
.wd-all:hover { background: #151d2b; color: #fff; }

/* Вкладка «Баланс» в кабинете */
.wallet-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px; background: radial-gradient(400px 200px at 100% 0%, rgba(94, 240, 168, .14), transparent 70%), var(--panel); border-color: rgba(94, 240, 168, .25); }
.wallet-card small { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.wallet-card b { display: block; margin: 4px 0; font-size: 40px; font-weight: 900; line-height: 1.05; }
.wallet-card span { color: var(--muted); font-size: 13px; }
.wallet-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-bal { font-size: 20px; font-weight: 900; color: var(--green); }

/* Магазин-витрина */
.store-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.store-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.store-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 30%, rgba(94, 240, 168, .12), transparent 70%), linear-gradient(90deg, var(--bg) 20%, rgba(7, 11, 18, .55) 70%, rgba(7, 11, 18, .75)), linear-gradient(0deg, var(--bg), transparent 55%); }
.store-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: center; padding-top: 36px; padding-bottom: 32px; }
.store-hero h1 { margin: 16px 0 10px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.02em; }
.store-hero p { margin: 0; color: #c3c9d6; font-size: 15px; max-width: 620px; }
.store-wallet { padding: 20px; border-radius: 18px; border: 1px solid rgba(94, 240, 168, .3); background: rgba(12, 20, 26, .85); backdrop-filter: blur(10px); box-shadow: 0 20px 50px -25px rgba(94, 240, 168, .5); }
.store-wallet > small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.store-wallet > b { display: block; margin: 4px 0 14px; font-size: 38px; font-weight: 900; line-height: 1; color: #fff; }
.store-wallet > .btn-neon { width: 100%; }
.store-wallet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.store-wallet-actions > * { height: 42px; font-size: 13px; padding: 0 10px; }
.store-to { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.store-to em { font-style: normal; color: #fff; font-weight: 700; }
.store-to .fa-triangle-exclamation { color: var(--gold); }
.store-tabs { position: sticky; top: var(--tb); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; background: rgba(7, 11, 18, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.store-tabs::-webkit-scrollbar { display: none; }
.store-tabs a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: #c7ccd8; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.store-tabs a em { font-style: normal; min-width: 22px; padding: 1px 7px; border-radius: 10px; background: #1a2232; color: var(--muted); font-size: 11px; text-align: center; }
.store-tabs a:hover { border-color: var(--violet-2); color: #fff; }
.store-tabs a.active { background: var(--grad-violet); border-color: transparent; color: #fff; box-shadow: 0 0 20px rgba(140, 50, 255, .3); }
.store-tabs a.active em { background: rgba(255, 255, 255, .2); color: #fff; }
.store-sec { margin-top: 26px; scroll-margin-top: calc(var(--tb) + 80px); }
.store-title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 22px; font-weight: 900; }
.store-title i { color: var(--lilac); }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.store-card { --c: #5ef0a8; position: relative; display: flex; flex-direction: column; padding: 22px 20px 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); background: radial-gradient(260px 180px at 100% 0%, color-mix(in srgb, var(--c) 13%, transparent), transparent 70%), linear-gradient(160deg, #131b28, #0c121c); transition: transform .2s, box-shadow .2s, border-color .2s; }
.store-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 20px 44px -22px var(--c); }
.store-card.cat-privileges { --c: #ffc94a; }
.store-card.cat-bundles { --c: #c68cff; }

.store-card.cat-models { --c: #7bdcff; }
.store-model-shot { margin: -22px -20px 16px; height: 260px; overflow: hidden; border-radius: 18px 18px 12px 12px; background: #f2f2f2; border-bottom: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.store-model-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.store-badge { position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 20px; background: var(--c); color: #0b0f16; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.store-ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--c); font-size: 25px; }
.store-ico.sm { --c: var(--lilac); width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
.store-card h3 { margin: 16px 0 4px; font-size: 19px; font-weight: 900; }
.store-card > p { margin: 0; color: var(--muted); font-size: 13px; }
.store-items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.store-items li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 9px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.store-items i { color: var(--c); font-size: 12px; }
.store-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.store-price b { display: block; font-size: 28px; font-weight: 900; line-height: 1; }
.store-price small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.store-foot .btn-neon, .store-foot .btn-ghost-oz { height: 44px; padding: 0 18px; }
.store-lack { margin-top: 10px; color: #ffb86b; font-size: 12px; font-weight: 700; }

/* Окно покупки */
.oz-modal-form .modal-content { padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); background: #0e1520; color: var(--text); }
.buy-head { display: flex; align-items: center; gap: 14px; }
.buy-head > div { flex: 1; min-width: 0; }
.buy-head small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.buy-head h3 { margin: 2px 0 0; font-size: 20px; font-weight: 900; }
.oz-modal-close.static { position: static; background: #151d2b; }
.buy-rows { margin: 18px 0 0; padding: 4px 16px; border-radius: 12px; background: #0b111b; border: 1px solid var(--line); }
.buy-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.buy-rows > div:last-child { border-bottom: 0; }
.buy-rows dt { color: var(--muted); font-weight: 500; }
.buy-rows dd { margin: 0; font-weight: 800; }
.buy-rows .total dd { color: var(--green); font-size: 16px; }
.buy-lack { margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 184, 107, .08); border: 1px solid rgba(255, 184, 107, .3); color: #ffcf96; font-size: 13px; font-weight: 600; }
.buy-lack i { margin-right: 8px; }
.buy-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

@media (max-width: 1199px) {
  .store-hero-in { grid-template-columns: 1fr; }
  .store-wallet { max-width: 440px; }
}
@media (max-width: 767px) {
  .tb-balance { height: 36px; padding: 0 10px; font-size: 12px; }
  .wallet-dd { width: calc(100vw - 24px); }
  .store-grid { grid-template-columns: 1fr; }
  .buy-actions > * { flex: 1; }
  .wallet-card b { font-size: 32px; }
}

/* =========================================================
   v11 — выдача VIP, баланс в админке
   ========================================================= */
.game-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; border: 1px dashed; font-size: 10px; font-weight: 800; white-space: nowrap; vertical-align: middle; }
.game-pill i { font-size: 10px; }
.game-pill.admin { color: #ff8b95; border-color: #8e2a33; background: rgba(255, 93, 108, .06); }
.game-pill.vip { color: #ffc24f; border-color: #7e5620; background: rgba(255, 201, 74, .06); }
.bal-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(94, 240, 168, .25); background: rgba(94, 240, 168, .06); color: var(--green); font-weight: 800; cursor: pointer; white-space: nowrap; }
.bal-btn i { font-size: 10px; opacity: .6; }
.bal-btn:hover { border-color: var(--green); background: rgba(94, 240, 168, .12); }
.bal-btn:hover i { opacity: 1; }
.bal-now { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #0b111b; border: 1px solid var(--line); color: var(--muted); }
.bal-now b { color: var(--green); font-size: 18px; margin-left: 6px; }
.adm-inline input[data-vip-pw] { max-width: 180px; }
.buy-note { margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 201, 74, .07); border: 1px solid rgba(255, 201, 74, .3); color: #ffd27a; font-size: 13px; font-weight: 600; }
.buy-note i { margin-right: 8px; }
.vip-setup h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 900; }
.vip-setup > p { margin: 6px 0 16px; }
.vs-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.vs-opt { cursor: pointer; }
.vs-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vs-opt span { display: block; height: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #0c121d; transition: .2s; }
.vs-opt span > i { font-size: 22px; color: var(--lilac); }
.vs-opt b { display: block; margin-top: 8px; font-size: 15px; }
.vs-opt small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.vs-opt input:checked + span { border-color: var(--gold); background: rgba(255, 201, 74, .06); box-shadow: 0 0 0 3px rgba(255, 201, 74, .12); }
.vs-opt input:checked + span > i { color: var(--gold); }
.vs-cmd { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #0b111b; border: 1px solid var(--line-violet); }
.vs-cmd span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.vs-cmd code { display: inline-block; padding: 8px 12px; font-size: 14px; }
.vs-cmd em { font-style: normal; color: var(--gold); }
@media (max-width: 767px) { .vs-options { grid-template-columns: 1fr; } }

/* =========================================================
   v13 — магазин, фото моделей, подарки и друзья
   ========================================================= */
.store-hero-v13 { position: relative; overflow: hidden; min-height: 430px; }
.store-hero-v13::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,14,.96) 0%, rgba(7,11,18,.88) 45%, rgba(7,11,18,.48) 100%); pointer-events: none; }
.store-hero-v13 .bg { filter: saturate(.75) contrast(1.08); opacity: .56; }
.store-hero-v13 .store-hero-in { position: relative; z-index: 3; }
.store-hero-v13 h1 { max-width: 760px; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.045em; }
.store-hero-v13 h1 span { color: transparent; background: linear-gradient(90deg, #fff 0%, #c7a7ff 48%, #69e8ff 100%); -webkit-background-clip: text; background-clip: text; }
.store-hero-v13 p { max-width: 720px; font-size: 15px; line-height: 1.7; }
.store-hero-glow { position: absolute; z-index: 2; border-radius: 50%; filter: blur(80px); opacity: .23; pointer-events: none; }
.store-hero-glow.one { width: 360px; height: 360px; right: 18%; top: -150px; background: #8c32ff; }
.store-hero-glow.two { width: 300px; height: 300px; right: -80px; bottom: -160px; background: #41dfff; }
.store-hero-pills { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }
.store-hero-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 999px; background: rgba(255,255,255,.045); color: #dce1ee; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.store-hero-pills i { color: var(--lilac); }
.store-wallet.premium { position: relative; overflow: hidden; border-color: rgba(182,133,255,.34); background: linear-gradient(165deg, rgba(18,25,39,.95), rgba(9,15,24,.93)); box-shadow: 0 30px 70px -36px rgba(132,58,255,.9); }
.store-wallet.premium::before { content: ''; position: absolute; width: 180px; height: 180px; right: -90px; top: -90px; border-radius: 50%; background: rgba(135,71,255,.18); filter: blur(8px); }
.wallet-orb { position: absolute; right: 18px; top: 18px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; border: 1px solid rgba(190,147,255,.24); background: rgba(155,93,255,.08); color: #c9a8ff; font-size: 20px; }
.store-friends-link { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 12px; border: 1px solid rgba(120,220,255,.16); border-radius: 12px; background: rgba(77,192,255,.05); text-decoration: none; color: #dbeeff; font-size: 12px; }
.store-friends-link > i { color: #7bdcff; }
.store-friends-link b { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: rgba(123,220,255,.12); color: #9ee7ff; text-align: center; }
.store-friends-link span { justify-self: end; color: var(--muted); }
.store-friends-link:hover { border-color: rgba(123,220,255,.45); color: #fff; }

.gift-preset { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; padding: 14px 16px; border: 1px solid rgba(255,201,74,.25); border-radius: 14px; background: linear-gradient(90deg, rgba(255,201,74,.08), rgba(184,116,255,.04)); }
.gift-preset > i { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: rgba(255,201,74,.11); color: var(--gold); }
.gift-preset div { flex: 1; min-width: 0; }
.gift-preset b, .gift-preset span { display: block; }
.gift-preset span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.gift-preset > a { color: #d9c8ff; font-weight: 800; font-size: 12px; text-decoration: none; }

.store-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.store-title-row .store-title { margin-bottom: 0; }
.store-subtitle { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(123,220,255,.06); border: 1px solid rgba(123,220,255,.18); color: #a8eaff; font-size: 11px; font-weight: 800; }
.store-card-v13 { isolation: isolate; overflow: hidden; min-height: 360px; padding: 22px; border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.store-card-v13::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(140deg, rgba(255,255,255,.025), transparent 45%); pointer-events: none; }
.store-card-v13:hover { transform: translateY(-7px); box-shadow: 0 25px 58px -28px color-mix(in srgb, var(--c) 75%, transparent); }
.store-card-v13.is-owned { border-color: rgba(94,240,168,.35); }
.store-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.store-permanent { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); color: var(--c); font-size: 10px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.store-owned { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 12px; padding: 5px 9px; border-radius: 8px; background: rgba(94,240,168,.08); border: 1px solid rgba(94,240,168,.22); color: #84f6bc; font-size: 11px; font-weight: 900; }
.store-model-shot.store-photo-btn { position: relative; width: calc(100% + 44px); margin: -22px -22px 18px; height: 310px; padding: 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--c) 28%, transparent); border-radius: 22px 22px 15px 15px; cursor: zoom-in; background: radial-gradient(circle at 50% 32%, #fff 0%, #e8e8eb 75%); }
.store-model-shot.store-photo-btn img { transition: transform .35s ease, filter .35s ease; }
.store-model-shot.store-photo-btn span { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: rgba(6,10,16,.78); border: 1px solid rgba(255,255,255,.13); color: #fff; font-size: 11px; font-weight: 850; opacity: 0; transition: .25s; backdrop-filter: blur(8px); white-space: nowrap; }
.store-model-shot.store-photo-btn:hover img { transform: scale(1.045); filter: saturate(1.05); }
.store-model-shot.store-photo-btn:hover span { opacity: 1; transform: translate(-50%,0); }
.store-foot-v13 { align-items: center; }
.store-price small { text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.store-buy-stack { display: flex; align-items: stretch; gap: 7px; }
.store-buy-stack .btn-neon, .store-buy-stack .btn-ghost-oz { min-width: 132px; }
.btn-gift { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 13px; border: 1px solid rgba(198,140,255,.26); border-radius: 11px; background: rgba(160,85,255,.06); color: #d8bcff; font-size: 12px; font-weight: 900; cursor: pointer; text-decoration: none; transition: .2s; }
.btn-gift:hover { transform: translateY(-1px); border-color: rgba(198,140,255,.6); background: rgba(160,85,255,.12); color: #fff; box-shadow: 0 12px 28px -20px #a85dff; }
.btn-gift:disabled { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-gift.wide { flex: 1; }
.btn-owned { height: 44px; padding: 0 14px; border: 1px solid rgba(94,240,168,.24); border-radius: 11px; background: rgba(94,240,168,.07); color: #84f6bc; font-size: 12px; font-weight: 900; }
.friends-shop-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 28px; padding: 18px; border-radius: 18px; border: 1px solid rgba(123,220,255,.16); background: linear-gradient(115deg, rgba(123,220,255,.06), rgba(167,91,255,.045)); }
.friends-shop-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: rgba(123,220,255,.08); border: 1px solid rgba(123,220,255,.18); color: #86e1ff; font-size: 20px; }
.friends-shop-cta b, .friends-shop-cta span { display: block; }
.friends-shop-cta span { color: var(--muted); margin-top: 3px; font-size: 12px; }
.shop-history-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.order-card-v13 { overflow: hidden; border-color: rgba(152,96,255,.25); }

/* Модалка покупки + выбор друга */
.buy-modal-v13 { overflow: hidden; }
.gift-picker { margin-top: 18px; padding: 14px; border-radius: 14px; border: 1px solid rgba(181,126,255,.18); background: rgba(137,71,227,.045); }
.gift-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.gift-picker-head b { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.gift-picker-head b i { color: var(--lilac); }
.gift-picker-head a { color: #bfa7ec; text-decoration: none; font-size: 11px; font-weight: 800; }
.gift-friend-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 3px; }
.gift-friend { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #0b121c; color: #fff; text-align: left; cursor: pointer; transition: .18s; }
.gift-friend:hover { border-color: rgba(169,103,255,.42); background: #101725; }
.gift-friend.selected { border-color: #9e68ff; background: rgba(133,71,239,.1); box-shadow: 0 0 0 3px rgba(158,104,255,.08); }
.gift-friend img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.gift-friend > span { flex: 1; min-width: 0; }
.gift-friend b, .gift-friend small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-friend b { font-size: 13px; }
.gift-friend small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.gift-friend .pick-check { color: #83f6ba; opacity: 0; transform: scale(.7); transition: .18s; }
.gift-friend.selected .pick-check { opacity: 1; transform: scale(1); }
.gift-error { border-color: rgba(255,100,120,.26); background: rgba(255,88,108,.06); color: #ffb0bc; }

/* Просмотр фото */
.photo-modal-dialog { max-width: min(1100px, calc(100vw - 32px)); }
.photo-modal-content { position: relative; overflow: hidden; min-height: min(82vh, 820px); border: 1px solid rgba(255,255,255,.09); border-radius: 24px; background: #060a10; box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.photo-close { position: absolute; z-index: 5; right: 16px; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(7,11,18,.78); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.photo-stage { display: grid; grid-template-columns: minmax(0,1fr) 290px; min-height: min(82vh,820px); }
.photo-stage > img { width: 100%; height: min(82vh,820px); object-fit: contain; background: radial-gradient(circle at 50% 35%, #fff 0%, #e9e9ed 58%, #dcdce2 100%); }
.photo-caption { display: flex; flex-direction: column; justify-content: flex-end; padding: 34px 28px; background: radial-gradient(circle at 40% 10%, rgba(130,75,240,.2), transparent 40%), linear-gradient(180deg,#111827,#080d15); }
.photo-caption span { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 6px 9px; border-radius: 999px; border: 1px solid rgba(196,148,255,.18); color: #cdb2ff; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.photo-caption b { margin-top: 14px; font-size: 34px; line-height: 1; }
.photo-caption small { margin-top: 10px; color: var(--muted); line-height: 1.6; }

/* Страница друзей */
.friends-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #080d15; }
.friends-hero-bg { position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(118,62,235,.25), transparent 70%), radial-gradient(500px 260px at 15% 100%, rgba(51,198,255,.12), transparent 70%); }
.friends-hero-in { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; min-height: 300px; padding-top: 46px; padding-bottom: 46px; }
.friends-hero h1 { margin: 10px 0 8px; font-size: clamp(38px,5vw,62px); line-height: 1; letter-spacing: -.04em; }
.friends-hero p { max-width: 720px; margin: 0; color: #9fa8b8; line-height: 1.7; }
.friends-hero-icon { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 38px; border: 1px solid rgba(177,121,255,.18); background: linear-gradient(145deg, rgba(158,91,255,.12), rgba(62,201,255,.05)); color: #c69bff; font-size: 58px; transform: rotate(4deg); box-shadow: 0 30px 80px -45px #9b52ff; }
.friends-hero-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.friends-hero-stats span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.03); color: #9ea7b6; font-size: 11px; }
.friends-hero-stats b { color: #fff; margin-right: 4px; }
.friends-page { padding-top: 24px; padding-bottom: 40px; }
.friend-add-panel { display: grid; grid-template-columns: minmax(260px,.9fr) minmax(360px,1.35fr); align-items: center; gap: 22px; padding: 18px; }
.friend-add-copy { display: flex; align-items: center; gap: 13px; }
.friend-round-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: rgba(128,76,238,.08); border: 1px solid rgba(166,110,255,.18); color: #bf94ff; }
.friend-add-copy h2 { margin: 0; font-size: 18px; }
.friend-add-copy p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.friend-search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.friend-search-form .btn-neon { white-space: nowrap; }
.friend-requests { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.friend-count-badge { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,201,74,.09); color: var(--gold); font-size: 11px; font-weight: 900; }
.friend-request-list { padding: 0 16px 14px; }
.friend-request-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.friend-request-row:first-child { border-top: 0; }
.friend-request-row > img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.friend-request-row > div:not(.friend-request-actions) { flex: 1; min-width: 0; }
.friend-request-row b,.friend-request-row span { display:block; }
.friend-request-row span { color: var(--muted); font-size: 10px; margin-top:2px; }
.friend-request-actions { display: flex; gap: 6px; }
.friend-request-actions .btn-neon,.friend-request-actions .btn-ghost-oz { height: 36px; padding: 0 11px; font-size: 11px; }
.friends-main-section { margin-top: 30px; }
.friends-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 15px; }
.friends-section-head span { color: #9770e7; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.friends-section-head h2 { margin: 5px 0 0; font-size: 23px; }
.friends-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(310px,1fr)); gap: 14px; }
.friend-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(155deg,#111925,#0a1019); transition: .22s; }
.friend-card:hover { transform: translateY(-4px); border-color: rgba(162,102,255,.33); box-shadow: 0 24px 55px -36px #9e58ff; }
.friend-card.online { border-color: rgba(94,240,168,.22); }
.friend-card-cover { position: absolute; inset: 0 0 auto; height: 80px; background: radial-gradient(250px 100px at 85% 0%, rgba(139,77,245,.14), transparent 72%); pointer-events:none; }
.friend-card-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; }
.friend-avatar { position: relative; }
.friend-avatar img { width: 58px; height: 58px; border-radius: 15px; object-fit: cover; border: 1px solid rgba(255,255,255,.08); }
.friend-avatar span { position:absolute; right:-1px; bottom:1px; width:13px; height:13px; border-radius:50%; background:#5ef0a8; border:3px solid #101721; box-shadow:0 0 12px rgba(94,240,168,.65); }
.friend-name { min-width:0; }
.friend-name h3 { margin:0; font-size:17px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.friend-name p { margin:3px 0 0; color:var(--muted); font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.friend-status { padding:5px 8px; border-radius:999px; background:rgba(255,255,255,.035); border:1px solid var(--line); color:#8d96a7; font-size:9px; font-weight:900; text-transform:uppercase; }
.friend-status.on { color:#78f1b2; border-color:rgba(94,240,168,.18); background:rgba(94,240,168,.05); }
.friend-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:16px; }
.friend-meta span { display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-width:0; padding:9px; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.02); color:var(--muted); font-size:9px; }
.friend-meta i { color:#a984f1; margin-bottom:2px; }
.friend-meta b { max-width:100%; color:#e9edf5; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.friend-owned-model { display:flex; align-items:center; gap:7px; margin-top:9px; padding:7px 9px; border-radius:9px; background:rgba(123,220,255,.05); border:1px solid rgba(123,220,255,.13); color:#9de8ff; font-size:10px; font-weight:800; }
.friend-card-actions { display:flex; align-items:center; gap:7px; margin-top:14px; }
.friend-card-actions .btn-neon,.friend-card-actions .btn-gift { flex:1; height:40px; font-size:11px; }
.friend-remove { width:40px; height:40px; display:grid; place-items:center; border:1px solid rgba(255,103,123,.12); border-radius:10px; background:rgba(255,85,108,.035); color:#d98592; cursor:pointer; }
.friend-remove:hover { color:#ff99a8; border-color:rgba(255,103,123,.3); }
.empty-friends { padding:58px 20px; text-align:center; border:1px dashed var(--line-2); border-radius:18px; background:rgba(255,255,255,.01); }
.empty-friends > div { width:64px; height:64px; display:grid; place-items:center; margin:0 auto 12px; border-radius:18px; background:rgba(146,91,244,.07); color:#a77cf3; font-size:24px; }
.empty-friends h3 { margin:0; }
.empty-friends p { max-width:520px; margin:6px auto 0; color:var(--muted); font-size:12px; }
.server-friends-panel { margin-top:24px; }
.server-friend-list { padding:0 16px 14px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 16px; }
.server-friend-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-top:1px solid var(--line); }
.server-friend-row:nth-child(-n+2) { border-top:0; }
.server-friend-row img { width:42px; height:42px; border-radius:10px; object-fit:cover; }
.server-friend-row > div { flex:1; min-width:0; }
.server-friend-row b,.server-friend-row span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.server-friend-row span { margin-top:2px; color:var(--muted); font-size:10px; }
.server-friend-row .btn-violet { height:34px; padding:0 10px; font-size:10px; }
.empty-inline { display:flex; align-items:center; gap:10px; padding:20px; color:var(--muted); font-size:12px; }
.empty-inline i { color:#6f7c91; }
.friend-transfer-balance { display:flex; justify-content:space-between; align-items:center; margin-top:18px; padding:12px 14px; border:1px solid var(--line); border-radius:11px; background:#0b111b; }
.friend-transfer-balance span { color:var(--muted); font-size:11px; }
.friend-transfer-balance b { color:var(--gold); font-size:18px; }

@media (max-width: 991px) {
  .photo-stage { grid-template-columns: 1fr; }
  .photo-stage > img { height: 66vh; }
  .photo-caption { padding: 18px 20px; }
  .friend-add-panel { grid-template-columns: 1fr; }
  .friend-requests { grid-template-columns: 1fr; }
  .friends-hero-icon { display:none; }
  .friends-hero-in { grid-template-columns:1fr; }
  .shop-history-grid { grid-template-columns:1fr; }
}
@media (max-width: 767px) {
  .store-hero-v13 { min-height: 0; }
  .store-hero-v13 h1 { font-size: 42px; }
  .store-model-shot.store-photo-btn { height: 280px; }
  .store-foot-v13 { align-items:flex-start; flex-direction:column; }
  .store-buy-stack { width:100%; }
  .store-buy-stack > * { flex:1; }
  .btn-gift span { display:none; }
  .gift-friend-list { grid-template-columns:1fr; max-height:310px; }
  .friends-shop-cta { grid-template-columns:auto 1fr; }
  .friends-shop-cta .btn-violet { grid-column:1/-1; }
  .friend-search-form { grid-template-columns:1fr; }
  .friends-section-head { align-items:flex-start; flex-direction:column; }
  .friends-grid { grid-template-columns:1fr; }
  .server-friend-list { grid-template-columns:1fr; }
  .server-friend-row:nth-child(2) { border-top:1px solid var(--line); }
  .friend-meta { grid-template-columns:1fr 1fr; }
  .photo-modal-content { min-height: 0; }
  .photo-stage > img { height: 62vh; }
  .photo-caption b { font-size:26px; }
}

/* =========================================================
   v14 — навигация, уведомления, новая витрина магазина
   ========================================================= */

/* --- Боковое меню: группы вместо длинного списка --- */
.sb-nav-v14 { padding: 12px 10px 10px; overflow-y: auto; overflow-x: hidden; }
.sb-nav-v14 .sb-home { margin-bottom: 10px; background: linear-gradient(90deg, rgba(139,61,255,.16), rgba(139,61,255,.035)); border-color: rgba(173,105,255,.12); }
.sb-group { margin: 0 0 7px; border: 1px solid transparent; border-radius: 13px; transition: background .2s, border-color .2s; }
.sb-group.open { background: rgba(255,255,255,.018); border-color: rgba(152,119,204,.10); }
.sb-group-toggle { width: 100%; height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; color: #cbd2df; font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; transition: .2s; }
.sb-group-toggle:hover, .sb-group.open > .sb-group-toggle { color: #fff; background: rgba(255,255,255,.035); }
.sb-group-toggle > i:first-child { width: 21px; text-align: center; color: #aeb7c8; font-size: 16px; }
.sb-group.open > .sb-group-toggle > i:first-child { color: #c695ff; }
.sb-group-caret { margin-left: auto; color: #687388; font-size: 10px; transition: transform .25s, color .2s; }
.sb-group.open .sb-group-caret { transform: rotate(180deg); color: #b88aff; }
.sb-submenu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.sb-submenu::before { content: ""; min-height: 0; }
.sb-group.open .sb-submenu { grid-template-rows: 1fr; }
.sb-submenu { overflow: hidden; }
.sb-sublink { position: relative; min-height: 39px; display: flex; align-items: center; gap: 11px; margin: 0 8px 4px 17px; padding: 0 10px 0 13px; border-radius: 9px; color: #939daf; font-size: 12px; font-weight: 700; transition: .18s; }
.sb-sublink::before { content: ""; position: absolute; left: -8px; top: 0; bottom: 0; width: 1px; background: rgba(152,123,204,.18); }
.sb-sublink > i:first-child { width: 17px; text-align: center; color: #778399; }
.sb-sublink:hover { color: #fff; background: rgba(255,255,255,.035); }
.sb-sublink.active { color: #fff; background: linear-gradient(90deg, rgba(148,71,255,.18), rgba(148,71,255,.05)); box-shadow: inset 0 0 0 1px rgba(166,100,255,.13); }
.sb-sublink.active > i:first-child { color: #c99bff; }
.sb-sublink.active::after { content: ""; position: absolute; left: -10px; width: 4px; height: 18px; border-radius: 4px; background: #a84bff; box-shadow: 0 0 13px rgba(168,75,255,.7); }
.sb-alert-count { margin-left: auto; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; border-radius: 999px; background: rgba(255,93,108,.14); color: #ff929e; font-size: 10px; }

body.sb-mini .sb-group { border: 0; background: transparent; }
body.sb-mini .sb-group-toggle { justify-content: center; padding: 0; }
body.sb-mini .sb-group-toggle span, body.sb-mini .sb-group-caret, body.sb-mini .sb-submenu { display: none; }
body.sb-mini .sb-nav-v14 .sb-home { justify-content: center; padding: 0; }

/* --- Центр уведомлений около баланса --- */
.tb-notify { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 11px; background: rgba(14,21,32,.8); color: #dce2ed; font-size: 16px; cursor: pointer; transition: .2s; }
.tb-notify:hover, .tb-notify[aria-expanded="true"] { color: #fff; border-color: rgba(181,119,255,.45); background: rgba(143,73,245,.09); box-shadow: 0 0 24px rgba(137,68,240,.15); }
.notify-badge { position: absolute; right: -5px; top: -6px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg,#ff5276,#ff7952); color: #fff; border: 2px solid #080d15; font-size: 9px; font-weight: 900; box-shadow: 0 4px 14px rgba(255,82,118,.35); }
.notify-dd { width: 390px; padding: 0; overflow: hidden; border-radius: 17px; border: 1px solid rgba(160,124,215,.2); background: #0b121c; box-shadow: 0 28px 70px rgba(0,0,0,.62); }
.notify-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 17px 13px; background: radial-gradient(260px 130px at 100% 0%, rgba(137,70,247,.15), transparent 72%), #101824; border-bottom: 1px solid var(--line); }
.notify-head small, .notify-head b { display: block; }
.notify-head small { color: #8a93a5; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.notify-head b { margin-top: 2px; font-size: 17px; }
.notify-head form { margin: 0; }
.notify-head button { padding: 6px 9px; border: 1px solid rgba(180,125,255,.18); border-radius: 8px; background: rgba(158,93,255,.06); color: #c9a5ff; font-size: 10px; font-weight: 800; cursor: pointer; }
.notify-shortcuts { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.notify-shortcuts a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; min-width: 0; padding: 8px 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); color: #b9c1cf; font-size: 10px; font-weight: 800; }
.notify-shortcuts a:hover { color: #fff; border-color: rgba(179,119,255,.25); background: rgba(159,91,255,.05); }
.notify-shortcuts i { color: #ae7ff2; }
.notify-shortcuts b { min-width: 18px; padding: 1px 5px; border-radius: 999px; background: rgba(255,255,255,.055); color: #fff; text-align: center; font-size: 9px; }
.notify-list { max-height: 390px; overflow-y: auto; }
.notify-item { margin: 0; border-bottom: 1px solid var(--line); }
.notify-item:last-child { border-bottom: 0; }
.notify-item > button { position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 11px; padding: 12px 14px; border: 0; background: transparent; color: #e8ecf4; text-align: left; cursor: pointer; transition: .16s; }
.notify-item > button:hover { background: rgba(255,255,255,.025); }
.notify-item.unread > button { background: linear-gradient(90deg, rgba(147,77,245,.075), transparent 75%); }
.notify-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: rgba(147,91,238,.09); border: 1px solid rgba(170,116,255,.15); color: #c398ff; }
.notify-icon.type-friend { color:#6ce8ff; background:rgba(64,206,255,.07); border-color:rgba(83,216,255,.15); }
.notify-icon.type-ticket { color:#ffc961; background:rgba(255,195,64,.07); border-color:rgba(255,195,64,.16); }
.notify-icon.type-purchase, .notify-icon.type-gift { color:#dc9fff; }
.notify-icon.type-balance, .notify-icon.type-credits { color:#6cf0b0; background:rgba(94,240,168,.07); border-color:rgba(94,240,168,.15); }
.notify-copy { min-width: 0; }
.notify-copy b, .notify-copy small, .notify-copy em { display: block; }
.notify-copy b { font-size: 12px; }
.notify-copy small { margin-top: 2px; color: #8e98aa; font-size: 10px; line-height: 1.4; white-space: normal; }
.notify-copy em { margin-top: 5px; color: #596579; font-size: 9px; font-style: normal; font-weight: 700; }
.notify-dot { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: #b05bff; box-shadow: 0 0 11px rgba(176,91,255,.8); }
.notify-empty { display: grid; place-items: center; padding: 32px 18px; text-align: center; color: #788397; }
.notify-empty i { font-size: 23px; margin-bottom: 8px; }
.notify-empty b { color: #cdd3de; font-size: 12px; }
.notify-empty span { margin-top: 3px; max-width: 270px; font-size: 10px; }

/* --- Магазин v14: единый каталог без пустых колонок --- */
.store-hero-v13 { min-height: 390px; }
.store-hero-v13 h1 { max-width: 820px; }
.store-tabs { gap: 7px; }
.store-tabs a { min-height: 43px; padding: 0 15px; }
.store-catalog-v14 { margin-top: 20px; }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 0 2px; }
.catalog-heading > div:first-child > span { color: #9b6de8; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.catalog-heading h2 { margin: 5px 0 3px; font-size: 25px; font-weight: 900; letter-spacing: -.02em; }
.catalog-heading p { margin: 0; color: #7f899b; font-size: 11px; }
.catalog-count { min-width: 76px; display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.catalog-count b { font-size: 20px; }
.catalog-count span { color: #818b9d; font-size: 10px; }
.store-grid-v14 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.store-card-v14 { min-width: 0; padding: 0; overflow: hidden; border-radius: 19px; background: linear-gradient(155deg,#111925,#0a1019); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.store-card-v14:hover { transform: translateY(-4px); box-shadow: 0 24px 55px -30px color-mix(in srgb,var(--c) 60%,transparent); }
.product-visual { position: relative; height: 174px; overflow: hidden; border-bottom: 1px solid color-mix(in srgb,var(--c) 16%,transparent); background: radial-gradient(260px 150px at 70% 15%, color-mix(in srgb,var(--c) 16%,transparent), transparent 70%), linear-gradient(145deg,#111b28,#0c121b); }
.product-visual.has-image { height: 225px; background: radial-gradient(circle at 50% 40%, #f9fafc 0%, #e9ebef 73%, #dfe3e8 100%); }
.product-category { position: absolute; z-index: 4; left: 13px; top: 13px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.09); background: rgba(5,9,14,.72); backdrop-filter: blur(8px); color: #e8edf5; font-size: 9px; font-weight: 900; letter-spacing: .02em; }
.product-category i { color: var(--c); }
.product-art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.product-art-ring { position: absolute; width: 116px; height: 116px; border-radius: 50%; border: 1px solid color-mix(in srgb,var(--c) 16%,transparent); box-shadow: 0 0 55px color-mix(in srgb,var(--c) 9%,transparent), inset 0 0 40px rgba(255,255,255,.015); }
.product-art > i { position: relative; color: var(--c); font-size: 31px; filter: drop-shadow(0 0 16px color-mix(in srgb,var(--c) 35%,transparent)); }
.product-art > b { position: relative; margin-top: 8px; color: #fff; font-size: 25px; font-weight: 900; line-height: 1; }
.product-art > small { position: relative; margin-top: 4px; color: #7f899b; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-photo { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s ease; }
.product-photo:hover img { transform: scale(1.035); }
.photo-zoom { position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translate(-50%,7px); display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: rgba(4,8,13,.8); border: 1px solid rgba(255,255,255,.13); color: #fff; font-size: 9px; font-weight: 900; opacity: 0; transition: .2s; backdrop-filter: blur(8px); }
.product-photo:hover .photo-zoom { opacity: 1; transform: translate(-50%,0); }
.product-flags { position: absolute; z-index: 5; right: 12px; bottom: 11px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.product-flag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; background: rgba(8,13,20,.78); border: 1px solid color-mix(in srgb,var(--c) 24%,transparent); color: var(--c); font-size: 8px; font-weight: 900; text-transform: uppercase; backdrop-filter: blur(8px); }
.product-flag.owned { color: #7df0b4; border-color: rgba(94,240,168,.25); }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 17px 17px 14px; }
.product-body h3 { margin: 0; font-size: 18px; line-height: 1.15; }
.product-body > p { min-height: 39px; margin: 0; color: #8b95a7; font-size: 11px; line-height: 1.55; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.product-features span { display: inline-flex; align-items: center; gap: 6px; min-height: 29px; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.018); color: #b8c0ce; font-size: 9px; font-weight: 750; }
.product-features i { color: var(--c); }
.product-buybar { display: flex; align-items: center; justify-content: space-between; gap: 11px; margin-top: auto; padding: 13px 17px 16px; border-top: 1px solid var(--line); background: rgba(4,8,13,.22); }
.product-buybar .store-price { flex: 0 0 auto; }
.product-buybar .store-price b { font-size: 25px; }
.product-buybar .store-price small { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.product-buybar .store-buy-stack { min-width: 0; display: flex; gap: 6px; }
.product-buybar .btn-neon, .product-buybar .btn-ghost-oz, .product-buybar .btn-owned { min-width: 0; height: 39px; padding: 0 12px; border-radius: 9px; font-size: 10px; }
.product-buybar .btn-gift { height: 39px; min-width: 63px; padding: 0 10px; border-radius: 9px; font-size: 10px; }
.product-main-action { height: 39px; padding: 0 13px; font-size: 10px; }
.product-lack { margin: -5px 17px 13px; padding: 7px 9px; border-radius: 8px; background: rgba(255,184,107,.045); border: 1px solid rgba(255,184,107,.12); font-size: 9px; }
.product-lack i { margin-right: 5px; }

/* --- Друзья / онлайн --- */
.friend-relation { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; padding: 4px 7px; border-radius: 999px; background: rgba(157,95,255,.07); border: 1px solid rgba(176,118,255,.14); color: #c49cff; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.friend-card.online .friend-relation { color: #76f2b1; background: rgba(94,240,168,.055); border-color: rgba(94,240,168,.16); }
.friend-status.on { box-shadow: 0 0 20px rgba(94,240,168,.08); }
.server-friend-badge { display: inline-flex; align-items: center; gap: 4px; margin-left: 7px; padding: 3px 6px; border-radius: 999px; background: rgba(160,93,255,.08); border: 1px solid rgba(177,120,255,.16); color: #c69dff; font-size: 8px; font-weight: 900; vertical-align: middle; text-transform: uppercase; }
.players-table tr.is-friend { background: linear-gradient(90deg, rgba(151,87,242,.045), transparent 65%); }
.players-table tr.is-friend .pl-cell b { color: #f4eaff; }

@media (max-width: 1499px) {
  .store-grid-v14 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 991px) {
  .store-grid-v14 { grid-template-columns: 1fr; }
  .product-visual { height: 190px; }
  .product-visual.has-image { height: 260px; }
}
@media (max-width: 767px) {
  .notify-dd { width: calc(100vw - 18px); }
  .notify-shortcuts { grid-template-columns: 1fr 1fr 1fr; }
  .store-hero-v13 h1 { font-size: 37px; }
  .catalog-heading { align-items: flex-start; }
  .catalog-heading p { display: none; }
  .catalog-count { min-width: 64px; }
  .product-buybar { align-items: flex-start; flex-direction: column; }
  .product-buybar .store-buy-stack { width: 100%; }
  .product-buybar .store-buy-stack > * { flex: 1; }
  .product-buybar .btn-gift span { display: inline; }
  .product-main-action { width: 100%; }
}
@media (max-width: 480px) {
  .tb-actions { gap: 6px; }
  .tb-notify { width: 36px; height: 36px; }
  .notify-shortcuts a { grid-template-columns: auto 1fr; }
  .notify-shortcuts a b { display: none; }
  .product-visual.has-image { height: 235px; }
  .product-body { padding: 15px; }
  .product-buybar { padding: 12px 15px 14px; }
}
/* v14 accordion animation fix */
.sb-submenu { display: block; max-height: 0; overflow: hidden; opacity: .25; transform: translateY(-4px); transition: max-height .28s ease, opacity .2s ease, transform .2s ease; }
.sb-group.open .sb-submenu { max-height: 190px; opacity: 1; transform: none; padding-bottom: 4px; }

/* v14.1 — регистрационный бонус и статусы друзей */
.notify-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
.notify-shortcuts a { min-height: 38px; }
.friend-card.site-online .friend-relation { color:#76dfff; background:rgba(80,207,255,.055); border-color:rgba(80,207,255,.17); }
.friend-card.site-online .friend-avatar > span { background:#59d8ff; box-shadow:0 0 0 3px #0b111a,0 0 16px rgba(89,216,255,.8); }
.friend-card.site-online .friend-status.on { color:#79defc; border-color:rgba(89,216,255,.22); background:rgba(89,216,255,.055); }
.register-bonus { display:flex; align-items:center; gap:11px; margin:13px 0 17px; padding:11px 12px; border:1px solid rgba(94,240,168,.18); border-radius:12px; background:linear-gradient(90deg,rgba(94,240,168,.07),rgba(140,80,255,.035)); }
.register-bonus > span { width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center; border-radius:10px; background:rgba(94,240,168,.09); border:1px solid rgba(94,240,168,.18); color:#69efad; }
.register-bonus b,.register-bonus small { display:block; }
.register-bonus b { font-size:12px; }
.register-bonus small { margin-top:2px; color:var(--muted); font-size:10px; }
.auth-bonus-pill { border-color:rgba(94,240,168,.22)!important; background:rgba(94,240,168,.07)!important; color:#8cf4bf!important; }
@media (max-width:480px) { .notify-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); } .notify-shortcuts a b { display:grid; } }

/* OLDZ DELUX badge additions */
.game-pill.delux{color:#efe7ff;border-color:rgba(156,107,255,.48);background:linear-gradient(135deg,rgba(64,215,245,.14),rgba(126,74,255,.22));box-shadow:0 0 16px rgba(126,74,255,.14)}
