:root {
  --bg: #111827;
  --surface: rgba(20, 34, 58, 0.82);
  --surface-strong: rgba(13, 24, 43, 0.94);
  --ink: #f8fbff;
  --muted: #b8c6da;
  --line: rgba(215, 229, 255, 0.16);
  --red: #e1262f;
  --rs-green: #1f7a5b;
  --rs-green-bright: #2fa778;
  --blue: #4b93ff;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 85% 10%, rgba(66,145,255,.32), transparent 36rem), radial-gradient(circle at 15% 70%, rgba(225,38,47,.13), transparent 32rem), linear-gradient(135deg,#101620 0%,#1c3357 48%,#2f75d5 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(13,21,36,.86); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; text-decoration: none; }
.logo-mark { position: relative; width: 36px; height: 36px; border-radius: 50%; background: url("/images/design/logo-ball.png") center / cover no-repeat; box-shadow: 0 8px 18px rgba(0,0,0,.24); animation: logoBallSpinPulse 4.8s linear infinite; transform-origin: center; }
.logo-mark:before, .logo-mark:after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid transparent; }
.logo-mark:before, .logo-mark:after { display: none; }
.nav { display: none; align-items: center; gap: 18px; color: rgba(248,251,255,.72); font-size: 14px; }
.nav a, .footer a { text-decoration: none; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius); background: var(--red); color: #fff; font-weight: 800; cursor: pointer; text-decoration: none; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(225,38,47,.22); }
.btn.secondary { background: rgba(13,21,36,.92); border-color: rgba(255,255,255,.08); }
.btn.rs { background: linear-gradient(135deg,var(--rs-green),var(--rs-green-bright)); }
.btn.dj { background: var(--red); }
.btn.ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.btn.full { width: 100%; }
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(130deg,rgba(16,19,26,.86),rgba(22,93,255,.62)); overflow: hidden; }
.hero-inner { display: grid; gap: 28px; padding: 64px 0 50px; }
.eyebrow { display: inline-flex; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
h1,h2,h3 { line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(36px, 8vw, 76px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 18px; }
.hero-actions { display: grid; gap: 12px; margin-top: 28px; }
.hero-photo-stack { position: relative; min-height: 360px; }
.hero-photo-stack img { position: absolute; width: 54%; border-radius: var(--radius); background: rgba(255,255,255,.92); object-fit: contain; box-shadow: 0 28px 70px rgba(0,0,0,.26); animation: float 5s ease-in-out infinite; }
.hero-photo-stack img:first-child { left: 5%; bottom: 5%; z-index: 2; }
.hero-photo-stack img:last-child { right: 3%; top: 4%; animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.section { padding: 58px 0; }
.section.alt { background: rgba(7,14,26,.18); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.grid { display: grid; gap: 18px; }
.card, .legal-document { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); box-shadow: 0 18px 42px rgba(3,9,18,.18); backdrop-filter: blur(10px); }
.payment-result { max-width: 680px; margin: 0 auto; }
.payment-result h1 { margin-top: 0; }
.payment-result .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.payment-result.success { border-color: rgba(34, 197, 94, .35); }
.payment-result.fail { border-color: rgba(239, 68, 68, .42); }
.product-card { display: grid; gap: 18px; }
.product-image-wrap, .product-gallery { display: grid; place-items: center; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.product-image-wrap { aspect-ratio: 1.35 / 1; }
.product-image-wrap img { width: min(280px,82%); border-radius: var(--radius); }
.product-gallery { min-height: 420px; }
.product-gallery-stage { width: min(430px,82%); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.product-gallery-stage img { max-height: 100%; object-fit: contain; border-radius: var(--radius); }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 12px 0; }
.price { color: var(--red); font-size: 28px; font-weight: 900; }
.old-price { color: rgba(248,251,255,.52); text-decoration: line-through; }
.pill { border-left: 4px solid var(--red); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .check { color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,17,31,.82); padding: 12px 14px; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.honeypot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; margin: 0; opacity: 0; pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; }
.check a { color: #9dccff; text-decoration: underline; text-underline-offset: 3px; }
.consent-group { display: grid; gap: 8px; border: 1px solid rgba(157,204,255,.22); border-radius: var(--radius); background: rgba(8,17,31,.36); padding: 14px; }
.notice { margin: 14px 0; border-radius: var(--radius); background: rgba(255,138,0,.13); border: 1px solid rgba(255,180,75,.26); color: #ffe1ac; padding: 14px 16px; }
.notice.success { background: rgba(43,179,122,.14); border-color: rgba(43,179,122,.3); color: #cdf7e7; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: rgba(8,17,31,.72); font-size: 13px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(75,147,255,.18); color: #dbeaff; padding: 4px 10px; font-size: 13px; font-weight: 800; }
.payment-badge, .order-badge { border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.order-badge { margin-bottom: 8px; }
.order-new { background: rgba(75,147,255,.22); color: #dbeaff; border-color: rgba(75,147,255,.46); }
.order-processing { background: rgba(255,218,55,.2); color: #fff0a8; border-color: rgba(255,218,55,.45); }
.order-confirmed { background: rgba(43,179,122,.22); color: #d8ffef; border-color: rgba(43,179,122,.46); }
.order-shipped { background: rgba(0,195,255,.18); color: #d8f7ff; border-color: rgba(0,195,255,.42); }
.order-completed { background: rgba(34,197,94,.24); color: #d9ffe8; border-color: rgba(34,197,94,.48); }
.order-cancelled { background: rgba(148,163,184,.18); color: #eef3fb; border-color: rgba(148,163,184,.38); }
.status-select { min-width: 138px; border-color: rgba(255,255,255,.22); }
.payment-none { background: rgba(148,163,184,.16); color: #d9e4f2; }
.payment-pending { background: rgba(255,218,55,.18); color: #fff0a8; border-color: rgba(255,218,55,.38); }
.payment-paid, .payment-authorized { background: rgba(43,179,122,.2); color: #d8ffef; border-color: rgba(43,179,122,.4); }
.payment-failed { background: rgba(238,38,52,.18); color: #ffe1e4; border-color: rgba(238,38,52,.36); }
.payment-refunded { background: rgba(172,138,255,.18); color: #f0e9ff; border-color: rgba(172,138,255,.36); }
.payment-unknown { background: rgba(245,158,11,.18); color: #ffe3b0; border-color: rgba(245,158,11,.38); }
.payment-link { display: inline-flex; margin-top: 8px; color: #9dccff; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.admin-meta { margin-top: 6px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.admin-error { color: #ffb4b9; }
.payment-error-log { max-width: 620px; white-space: pre-wrap; line-height: 1.4; }
.admin-users-table input { width: 100%; min-width: 150px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,17,31,.82); color: var(--ink); padding: 10px 12px; }
.inline-edit-form { margin: 0; }
.user-save-btn { min-height: 38px; padding: 0 12px; }
.user-orders-details summary { cursor: pointer; color: #cfe5ff; font-weight: 800; }
.user-orders-list { display: grid; gap: 8px; min-width: 420px; margin-top: 10px; }
.user-order-row { display: grid; grid-template-columns: minmax(135px,1fr) auto auto auto; gap: 8px; align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(8,17,31,.36); padding: 8px; }
.user-order-row span:not(.badge) { display: block; margin-top: 3px; color: rgba(248,251,255,.58); font-size: 11px; overflow-wrap: anywhere; }
.compact-section { padding-top: 28px; }
.admin-layout { display: grid; gap: 24px; align-items: start; }
.container.admin-layout { width: min(1380px, calc(100% - 32px)); }
.admin-nav { position: sticky; top: 92px; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,24,43,.72); }
.admin-nav-title { padding: 6px 10px 10px; color: rgba(248,251,255,.58); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.admin-nav-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-radius: var(--radius); padding: 0 12px; color: rgba(248,251,255,.8); font-weight: 800; text-decoration: none; }
.admin-nav-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; padding: 0 7px; background: var(--red); color: #fff; font-size: 12px; }
.admin-order-alert { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; border: 1px solid rgba(238,38,52,.48); border-radius: var(--radius); background: rgba(238,38,52,.16); color: #fff; padding: 12px 14px; text-decoration: none; }
.admin-order-alert span { margin-left: auto; color: #ffd6d9; font-weight: 800; }
.admin-nav-link:hover, .thread-list-entry:hover, .thread-list-entry.active { background: rgba(75,147,255,.14); color: #fff; }
.admin-page-head { display: grid; gap: 18px; align-items: end; margin-bottom: 22px; }
.admin-subtitle { color: rgba(248,251,255,.66); font-size: 14px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(135px,1fr)); gap: 10px; }
.admin-stat { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,17,31,.56); padding: 12px 14px; }
.admin-stat span { display: block; color: rgba(248,251,255,.62); font-size: 12px; }
.admin-stat strong { display: block; margin-top: 6px; font-size: 28px; line-height: 1; }
.admin-stat.urgent { border-color: rgba(238,38,52,.55); background: rgba(238,38,52,.15); }
.webmaster-stats { grid-template-columns: repeat(3, minmax(135px, 1fr)); margin-bottom: 18px; }
.webmaster-grid { display: grid; gap: 18px; }
.webmaster-card { display: grid; gap: 12px; align-content: start; }
.webmaster-card h2 { margin: 0; font-size: 22px; }
.webmaster-card p { margin: 0; color: rgba(248,251,255,.72); }
.webmaster-analytics { margin-bottom: 18px; }
.webmaster-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.webmaster-traffic-stats { grid-template-columns: repeat(5, minmax(120px, 1fr)); margin-top: 4px; }
.webmaster-report-grid { display: grid; gap: 14px; }
.webmaster-report { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,17,31,.38); padding: 14px; }
.webmaster-report h3 { margin-bottom: 12px; font-size: 17px; }
.webmaster-report-list { display: grid; gap: 8px; }
.webmaster-report-list > div { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.webmaster-report-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.webmaster-report-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(248,251,255,.82); }
.webmaster-report-list b { font-size: 15px; }
.webmaster-report-list small { min-width: 48px; color: rgba(248,251,255,.5); text-align: right; }
.webmaster-card code { display: inline-block; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: rgba(8,17,31,.82); color: #fff; }
.webmaster-actions, .webmaster-links { display: flex; flex-wrap: wrap; gap: 10px; }
.webmaster-links a { display: inline-flex; align-items: center; min-height: 38px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; color: #fff; text-decoration: none; background: rgba(75,147,255,.12); }
.webmaster-links a:hover { border-color: rgba(75,147,255,.62); background: rgba(75,147,255,.2); }
.admin-push-panel { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: rgba(75,147,255,.08); }
.admin-push-status { color: rgba(248,251,255,.78); }
.admin-push-status.error { color: #ff9a9a; }
.admin-push-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-push-actions .btn { min-height: 36px; padding: 0 12px; }
.admin-push-actions [hidden] { display: none !important; }
.admin-toolbar { display: grid; grid-template-columns: minmax(240px,1fr) auto auto; gap: 12px; align-items: end; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,17,31,.44); padding: 14px; }

.admin-body {
  --admin-bg: #07101d;
  --admin-panel: rgba(14,26,45,.82);
  --admin-panel-strong: rgba(17,31,53,.94);
  --admin-line: rgba(159,178,207,.22);
  background: radial-gradient(circle at 78% 10%, rgba(225,38,47,.13), transparent 34rem), radial-gradient(circle at 14% 70%, rgba(75,147,255,.17), transparent 38rem), var(--admin-bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

.admin-body .site-header {
  border-bottom-color: var(--admin-line);
  background: rgba(7,16,29,.88);
}

.admin-body .container {
  width: min(1540px, calc(100% - 68px));
}

.admin-body .logo {
  font-size: 25px;
  font-weight: 720;
}

.app-version {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(159,178,207,.24);
  border-radius: 999px;
  padding: 0 9px;
  color: #9fadc2;
  font-size: 12px;
  font-style: normal;
  font-weight: 560;
}

.admin-body .section {
  padding: 30px 0 58px;
}

.admin-body .admin-layout {
  grid-template-columns: 242px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.admin-body .admin-nav {
  top: 104px;
  gap: 3px;
  margin-top: 128px;
  padding: 13px;
  border-color: var(--admin-line);
  border-radius: 14px;
  background: rgba(14,26,45,.78);
  overflow: hidden;
}

.admin-body .admin-nav-title {
  padding: 9px 13px 13px;
  color: #91a1ba;
  font-size: 12px;
  font-weight: 590;
  letter-spacing: .08em;
}

.admin-body .admin-nav-link {
  position: relative;
  min-height: 48px;
  padding: 0 13px;
  color: #c0cada;
  font-weight: 560;
  isolation: isolate;
  transition: color .22s ease, transform .22s ease;
}

.admin-body .admin-nav-link:before {
  content: "";
  position: absolute;
  inset: 3px 0;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(75,147,255,.22), rgba(75,147,255,.06));
  box-shadow: inset 3px 0 #4b93ff;
  opacity: 0;
  transform: translateX(-10px) scaleX(.96);
  transform-origin: left center;
  transition: opacity .26s ease, transform .26s ease;
  z-index: -1;
}

.admin-body .admin-nav-link:hover,
.admin-body .admin-nav-link.active {
  color: #fff;
  transform: translateX(2px);
}

.admin-body .admin-nav-link:hover:before,
.admin-body .admin-nav-link.active:before {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.admin-body .admin-nav-count {
  min-width: 26px;
  height: 24px;
  font-size: 12px;
  font-weight: 650;
}

.admin-body .admin-content {
  min-width: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.admin-body.is-admin-switching .admin-content {
  opacity: .72;
  transform: translateY(4px);
}

.admin-body .admin-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 2px 0 22px;
}

.admin-eyebrow {
  color: #66b9ff;
  font-size: 13px;
  font-weight: 590;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-body .admin-page-head h1 {
  margin: 6px 0 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  font-weight: 640;
  letter-spacing: 0;
  line-height: 1.02;
}

.admin-body .admin-subtitle {
  color: #a3b0c4;
  font-size: 17px;
}

.admin-updated {
  color: #91a1ba;
  font-size: 13px;
  white-space: nowrap;
}

.admin-body .admin-stats {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 13px;
  margin-bottom: 17px;
}

.admin-body .admin-stat {
  position: relative;
  overflow: hidden;
  border-color: var(--admin-line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(17,31,53,.95), rgba(11,23,40,.95));
  padding: 18px 19px;
}

.admin-body .admin-stat:after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -35px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(75,147,255,.11);
}

.admin-body .admin-stat.urgent {
  border-color: rgba(225,38,47,.42);
  background: linear-gradient(145deg, rgba(42,25,43,.95), rgba(17,31,53,.95));
}

.admin-body .admin-stat.urgent:after {
  background: rgba(225,38,47,.16);
}

.admin-body .admin-stat span {
  color: #9fadc2;
  font-size: 14px;
}

.admin-body .admin-stat strong {
  margin-top: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: 0;
}

.admin-body .admin-stat small {
  display: block;
  margin-top: 2px;
  color: #7386a1;
  font-size: 13px;
}

.admin-body .admin-toolbar {
  grid-template-columns: minmax(280px, 1fr) 190px auto auto;
  gap: 11px;
  margin-bottom: 15px;
  border-color: var(--admin-line);
  border-radius: 12px;
  background: rgba(14,26,45,.72);
  padding: 14px;
}

.admin-body .field label {
  color: #9fadc2;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: .03em;
}

.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea {
  border-color: rgba(159,178,207,.24);
  border-radius: 9px;
  background: #091526;
  color: #fff;
}

.admin-body .btn {
  border-radius: 10px;
  font-weight: 590;
}

.admin-body .admin-reset-link {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #a8b7cb;
  text-decoration: none;
}

.admin-body .table-wrap {
  border-color: var(--admin-line);
  border-radius: 14px;
  background: rgba(14,26,45,.83);
}

.admin-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--admin-line);
}

.admin-table-head strong {
  font-weight: 590;
}

.admin-table-head span {
  color: #91a1ba;
  font-size: 13px;
}

.admin-body table {
  min-width: 1160px;
}

.admin-body th {
  height: 46px;
  padding: 0 15px;
  background: #0a1628;
  color: #8b9bb5;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-body td {
  padding: 16px 15px;
  vertical-align: middle;
}

.admin-body tbody tr {
  transition: background .18s ease;
}

.admin-body tbody tr:hover {
  background: rgba(75,147,255,.04);
}

.admin-body .badge {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}

.admin-body .order-date span,
.admin-body .order-contacts span {
  display: block;
  margin-top: 3px;
  color: #9aa9bd;
  font-size: 13px;
}

.admin-body .order-contacts {
  min-width: 190px;
  white-space: nowrap;
}

.admin-body .order-price {
  font-weight: 620;
  white-space: nowrap;
}

.admin-body .payment-link {
  white-space: nowrap;
  font-weight: 590;
}

.admin-body .admin-meta {
  overflow-wrap: normal;
  word-break: normal;
}
.message-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.message-filters-compact { margin-top: 0; }
.message-filters a { border: 1px solid var(--line); border-radius: 999px; background: rgba(8,17,31,.34); color: rgba(248,251,255,.76); padding: 8px 12px; text-decoration: none; font-weight: 800; }
.message-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.message-filter b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(248,251,255,.62); font-size: 12px; line-height: 1; }
.message-filter b.has-count { background: rgba(var(--status-color), .32); color: #fff; box-shadow: 0 0 0 1px rgba(var(--status-color), .38); }
.message-filters a.active { background: rgba(75,147,255,.18); color: #fff; }
.status-filter { --status-color: 75,147,255; border-color: rgba(var(--status-color), .34); box-shadow: inset 0 -2px 0 rgba(var(--status-color), .52); }
.status-filter.active { background: rgba(var(--status-color), .2); border-color: rgba(var(--status-color), .72); }
.status-filter.status-all { --status-color: 157,204,255; }
.status-filter.status-new { --status-color: 0,195,255; }
.status-filter.status-waiting_admin { --status-color: 255,218,55; }
.status-filter.status-answered { --status-color: 43,179,122; }
.status-filter.status-closed { --status-color: 150,162,181; }
.status-filter.status-archived { --status-color: 172,138,255; }
.status-filter.status-spam { --status-color: 238,38,52; }
.inbox-layout { display: grid; gap: 16px; align-items: start; }
.thread-list, .thread-chat, .customer-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,17,31,.52); backdrop-filter: blur(10px); }
.thread-list { display: grid; align-content: start; gap: 8px; padding: 8px; max-height: 720px; overflow: auto; }
.thread-list-entry { position: relative; border-radius: var(--radius); color: var(--ink); }
.thread-list-entry:before { content: ""; position: absolute; inset: 8px auto 8px 0; width: 3px; border-radius: 999px; background: rgba(var(--thread-color, 75,147,255), .75); }
.thread-list-entry.status-new { --thread-color: 0,195,255; background: rgba(0,195,255,.08); }
.thread-list-entry.status-waiting_admin { --thread-color: 255,218,55; background: rgba(255,218,55,.13); }
.thread-list-entry.status-answered { --thread-color: 43,179,122; background: rgba(43,179,122,.07); }
.thread-list-entry.status-closed { --thread-color: 150,162,181; background: rgba(150,162,181,.07); }
.thread-list-entry.status-archived { --thread-color: 172,138,255; background: rgba(172,138,255,.08); }
.thread-list-entry.status-spam { --thread-color: 238,38,52; background: rgba(238,38,52,.1); }
.thread-list-item { display: grid; gap: 7px; border-radius: var(--radius); color: inherit; padding: 10px 42px 10px 12px; text-decoration: none; }
.thread-list-item strong { font-size: 14px; }
.thread-list-item p { margin: 0; color: rgba(248,251,255,.74); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.thread-archive-form { position: absolute; top: 8px; right: 8px; margin: 0; }
.thread-archive-button { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(8,17,31,.58); color: rgba(248,251,255,.72); font-size: 18px; line-height: 1; cursor: pointer; }
.thread-archive-button:hover { border-color: rgba(238,38,52,.58); background: rgba(238,38,52,.2); color: #fff; }
.thread-chat-head, .thread-reply-actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.thread-chat { display: grid; grid-template-rows: auto minmax(360px, 1fr) auto; min-height: 680px; overflow: hidden; }
.thread-chat-head { border-bottom: 1px solid var(--line); padding: 14px 16px; }
.thread-chat-head h2 { margin: 6px 0 4px; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.08; letter-spacing: 0; }
.thread-chat-head p { margin: 0; color: rgba(248,251,255,.74); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.chat-panel { display: grid; align-content: start; gap: 14px; padding: 18px; max-height: none; overflow: auto; }
.user-chat-panel { max-height: none; }
.account-chat-history { max-height: 360px; min-height: 180px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,17,31,.34); scroll-behavior: smooth; }
.account-chat-history .chat-bubble { max-width: min(720px,92%); }
.account-chat-history .chat-bubble small, .admin-conversation-history .chat-bubble small { display: block; margin: -2px 0 8px; color: rgba(248,251,255,.5); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.chat-bubble { width: fit-content; max-width: min(820px,92%); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-bubble span { display: block; color: rgba(248,251,255,.58); font-size: 11px; margin-bottom: 5px; }
.chat-bubble p { margin: 0; white-space: pre-wrap; }
.chat-bubble.user { justify-self: start; background: rgba(75,147,255,.14); }
.chat-bubble.admin { justify-self: end; background: rgba(43,179,122,.14); border-color: rgba(43,179,122,.28); }
.status-badge { background: rgba(var(--badge-color, 75,147,255), .18); color: #fff; border: 1px solid rgba(var(--badge-color, 75,147,255), .34); }
.status-badge.status-new { --badge-color: 0,195,255; }
.status-badge.status-waiting_admin { --badge-color: 255,218,55; color: #fff4a8; }
.status-badge.status-answered { --badge-color: 43,179,122; color: #d8ffef; }
.status-badge.status-closed { --badge-color: 150,162,181; color: #eef3fb; }
.status-badge.status-archived { --badge-color: 172,138,255; color: #f0e9ff; }
.status-badge.status-spam { --badge-color: 238,38,52; color: #ffe1e4; }
.thread-reply-form { display: grid; gap: 12px; border-top: 1px solid var(--line); padding: 18px; background: rgba(8,17,31,.38); }
.thread-reply-form textarea { min-height: 120px; resize: vertical; font-size: 14px; }
.customer-card { padding: 16px; font-size: 14px; overflow-wrap: anywhere; }
.customer-card h3 { margin-top: 0; }
.customer-card p { margin: 8px 0; color: rgba(248,251,255,.84); line-height: 1.4; }
.footer { background: rgba(8,14,24,.94); color: #fff; padding: 38px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 20px; }
.footer p, .footer a { color: rgba(255,255,255,.76); }
.footer-requisites { margin: 12px 0 0; color: rgba(255,255,255,.84); line-height: 1.6; }
.footer-legal { margin-top: 18px; color: rgba(255,255,255,.5); font-size: 13px; }
.breadcrumbs { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.about-hero-grid { display: grid; gap: 28px; align-items: center; }
.nowrap { white-space: nowrap; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.about-hero-media, .about-figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(13,24,43,.64); box-shadow: 0 18px 42px rgba(3,9,18,.18); }
.about-hero-media img, .about-figure img { display: block; width: 100%; height: auto; }
.about-stats { display: grid; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.about-stats div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,24,43,.64); }
.about-stats strong { display: block; font-size: clamp(28px,4vw,44px); line-height: 1; }
.about-stats span { display: block; margin-top: 8px; color: var(--muted); }
.about-layout { display: grid; gap: 28px; align-items: start; }
.about-article { max-width: 900px; min-width: 0; }
.about-article h2 { margin-top: 34px; }
.about-article p { color: rgba(248,251,255,.86); font-size: 17px; }
.about-figure { margin: 26px 0; }
.about-figure figcaption { padding: 12px 14px; color: rgba(248,251,255,.62); font-size: 14px; }
.about-figure.two-images { display: grid; grid-template-columns: 1fr; }
.about-figure.two-images figcaption { grid-column: 1 / -1; }
.about-figure.narrow { max-width: 520px; }
.ozon-store-grid { display: grid; gap: 16px; margin: 24px 0; }
.ozon-store-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: rgba(13,24,43,.72); }
.ozon-store-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted); }
.ozon-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ozon-links a { display: inline-flex; min-height: 38px; align-items: center; border: 1px solid rgba(157,204,255,.32); border-radius: var(--radius); padding: 0 12px; color: #cfe5ff; font-weight: 800; text-decoration: none; }
.about-sidebar { display: grid; gap: 14px; }
.legal-document { max-width: 980px; }
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(5, 10, 18, 0.92), rgba(16, 40, 72, 0.74)),
    url("/images/about/warehouse-stock.jpg") center / cover;
}
.home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,10,18,.92), rgba(5,10,18,.46) 58%, rgba(5,10,18,.78));
}
.home-hero-grid {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: center;
  padding: 72px 0 58px;
}
.home-hero-copy { max-width: 720px; }
.home-hero-copy h1 { max-width: 760px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-proof span {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(8,17,31,.46);
  padding: 8px 12px;
  color: rgba(248,251,255,.82);
  font-size: 13px;
  font-weight: 800;
}
.home-hero-visual {
  position: relative;
  min-height: 420px;
}
.home-hero-visual img {
  position: absolute;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}
.hero-box {
  right: 0;
  bottom: 0;
  width: 78%;
  border: 1px solid rgba(255,255,255,.22);
}
.hero-pack {
  object-fit: contain;
  background: rgba(255,255,255,.94);
  padding: 12px;
  z-index: 2;
}
.hero-pack-rs {
  left: 0;
  bottom: 28px;
  width: 48%;
}
.hero-pack-dj {
  right: 8%;
  top: 0;
  width: 43%;
}
.home-product-grid {
  display: grid;
  gap: 18px;
}
.home-product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8,17,31,.58);
  box-shadow: 0 18px 42px rgba(3,9,18,.18);
}
.home-product-media {
  min-height: 300px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(75,147,255,.08));
}
.home-product-media img {
  width: min(340px, 82%);
  border-radius: var(--radius);
}
.home-product-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}
.rs-card { border-color: rgba(47,167,120,.34); }
.dj-card { border-color: rgba(225,38,47,.34); }
.home-trust {
  background: rgba(7,14,26,.22);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-layout {
  display: grid;
  gap: 24px;
  align-items: center;
}
.trust-stats {
  display: grid;
  gap: 12px;
}
.trust-stats div,
.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8,17,31,.54);
  padding: 18px;
}
.trust-stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}
.trust-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.ozon-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ozon-strip a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(157,204,255,.32);
  border-radius: var(--radius);
  padding: 0 12px;
  color: #cfe5ff;
  font-weight: 800;
  text-decoration: none;
}
.audience-grid {
  display: grid;
  gap: 14px;
}
.audience-card p {
  color: var(--muted);
}
.home-final-cta {
  padding: 52px 0;
  background:
    radial-gradient(circle at 18% 45%, rgba(0, 166, 255, .16), transparent 22rem),
    radial-gradient(circle at 88% 45%, rgba(255, 28, 36, .14), transparent 22rem),
    rgba(3, 8, 20, .78);
  border-top: 1px solid var(--line);
}
.final-cta-inner {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid rgba(255,255,255,.13);
  border-left-color: rgba(0, 166, 255, .44);
  border-right-color: rgba(255, 28, 36, .44);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(0, 166, 255, .16), rgba(8,17,31,.72) 48%, rgba(255, 28, 36, .16)),
    rgba(8,17,31,.72);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}
.final-cta-title {
  white-space: nowrap;
  margin-bottom: 10px;
  font-size: clamp(28px, 3.1vw, 40px);
}
.final-cta-inner .lead {
  max-width: 720px;
  margin-bottom: 0;
}
@media (min-width: 760px) {
  .nav { display: flex; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 620px; }
  .products-grid, .compare, .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-hero-grid { grid-template-columns: 1.02fr .98fr; }
  .home-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-product-card { grid-template-columns: .92fr 1.08fr; }
  .trust-layout { grid-template-columns: minmax(0,1fr) minmax(360px,.82fr); }
  .trust-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .audience-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .final-cta-inner { grid-template-columns: minmax(0,1fr) auto; }
  .about-hero-grid { grid-template-columns: .92fr 1.08fr; }
  .about-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .about-figure.two-images, .ozon-store-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-layout { grid-template-columns: 210px minmax(0,1fr); }
  .admin-page-head { grid-template-columns: minmax(0,1fr) auto; }
  .webmaster-report-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .inbox-layout { grid-template-columns: minmax(240px,300px) minmax(520px,1fr); }
  .customer-card { grid-column: 1; }
  .thread-chat { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 1420px) {
  .inbox-layout { grid-template-columns: minmax(250px,310px) minmax(560px,1fr) minmax(220px,280px); }
  .customer-card { grid-column: auto; }
  .thread-chat { grid-column: auto; grid-row: auto; }
}
@media (max-width: 900px) {
  .admin-toolbar, .admin-stats { grid-template-columns: 1fr; }
  .webmaster-stats, .webmaster-traffic-stats { grid-template-columns: 1fr; }
  .webmaster-section-head { align-items: stretch; flex-direction: column; }
  .admin-push-panel { align-items: stretch; flex-direction: column; }
  .admin-layout, .inbox-layout { grid-template-columns: 1fr; }
  .thread-chat-head, .thread-reply-actions { align-items: stretch; flex-direction: column; }
  .thread-chat { grid-column: auto; grid-row: auto; min-height: 0; }
  .customer-card { grid-column: auto; }
  .chat-bubble { max-width: 100%; }
}

/* TBALLS-DESIGN-2026 visual layer */
body {
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 195, 255, .22), transparent 24rem),
    radial-gradient(circle at 88% 20%, rgba(238, 20, 35, .24), transparent 25rem),
    linear-gradient(180deg, #020611 0%, #061126 44%, #040713 100%);
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0 18%, rgba(0, 149, 255, .22) 35%, transparent 52%),
    linear-gradient(105deg, transparent 46%, rgba(255, 25, 36, .22) 68%, transparent 100%);
  filter: blur(2px);
  opacity: .9;
}

.site-header {
  background: rgba(2, 6, 17, .76);
  border-bottom-color: rgba(255,255,255,.08);
}

.logo-text {
  font-size: 26px;
  font-style: italic;
  letter-spacing: 0;
}

.logo-text::first-letter { color: #fff; }

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: #f51d2a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav a:hover:after { transform: scaleX(1); }

.btn {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn.dj,
.btn:not(.rs):not(.secondary):not(.ghost) {
  background: linear-gradient(135deg, #ff1c24, #b80410);
  box-shadow: 0 0 24px rgba(255, 32, 42, .26);
}

.btn.rs {
  background: linear-gradient(135deg, #00a6ff, #0866ff);
  box-shadow: 0 0 24px rgba(0, 166, 255, .22);
}

.design-hero {
  min-height: 720px;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 54%, rgba(0, 166, 255, .20), transparent 19rem),
    radial-gradient(circle at 88% 34%, rgba(255, 24, 36, .23), transparent 22rem),
    linear-gradient(180deg, rgba(2,6,17,.90), rgba(2,6,17,.96));
}

.design-hero:before {
  background:
    linear-gradient(90deg, rgba(2,6,17,.86) 0%, rgba(2,6,17,.28) 52%, rgba(2,6,17,.78) 100%),
    radial-gradient(circle at 52% 52%, rgba(42,126,255,.18), transparent 18rem);
}

.design-energy {
  position: absolute;
  z-index: 0;
  width: min(46vw, 620px);
  height: 220px;
  pointer-events: none;
  opacity: .78;
  filter: blur(1px);
}

.design-energy-blue {
  left: 10%;
  top: 43%;
  background: linear-gradient(90deg, transparent, rgba(0, 157, 255, .84), transparent);
  clip-path: polygon(0 42%, 100% 0, 88% 64%, 0 58%);
  animation: energyBlue 1.1s ease both;
}

.design-energy-red {
  right: 3%;
  top: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 22, 35, .92), transparent);
  clip-path: polygon(8% 18%, 100% 0, 100% 72%, 0 58%);
  animation: energyRed 1.1s ease both;
}

.design-hero-grid {
  z-index: 1;
  padding-top: 78px;
  padding-bottom: 42px;
}

.design-hero-title {
  max-width: 780px;
  color: #fff;
  font-size: clamp(46px, 5.8vw, 88px);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 7px 0 rgba(0,0,0,.18), 0 0 30px rgba(255,255,255,.18);
}

.design-hero-title span {
  display: block;
}

.design-stage {
  min-height: 520px;
  overflow: visible;
}

.design-player {
  position: absolute;
  z-index: 2;
  right: -86px;
  top: -58px;
  width: min(680px, 82vw);
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  opacity: .96;
  animation: playerEnter 1s .52s cubic-bezier(.18,.78,.22,1) both;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 88%, transparent 100%);
}

.design-duel-card {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  left: auto;
  right: auto;
  bottom: auto;
  min-height: 260px;
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-left-color: rgba(0, 195, 255, .8);
  border-right-color: rgba(255, 28, 36, .8);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 153, 255, .20), transparent 38%, transparent 62%, rgba(255, 20, 34, .20)),
    rgba(3, 8, 20, .58);
  box-shadow: inset 0 0 28px rgba(255,255,255,.05), 0 22px 70px rgba(0,0,0,.34);
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.design-duel-card:before,
.design-duel-card:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 54%;
  opacity: .75;
}

.design-duel-card:before {
  left: -8%;
  background: linear-gradient(120deg, transparent, rgba(0, 166, 255, .40), transparent);
  clip-path: polygon(0 16%, 94% 38%, 82% 72%, 0 96%);
  animation: streakLeft .9s .2s ease both;
}

.design-duel-card:after {
  right: -8%;
  background: linear-gradient(120deg, transparent, rgba(255, 22, 34, .46), transparent);
  clip-path: polygon(18% 26%, 100% 5%, 100% 88%, 0 70%);
  animation: streakRight .9s .2s ease both;
}

.design-vs {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(56px, 8vw, 112px);
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(66,145,255,.8), 0 0 28px rgba(255, 28, 36, .7);
  animation: vsPop 1.05s .28s cubic-bezier(.18,.9,.2,1.2) both;
}

.design-label {
  position: absolute;
  z-index: 3;
  top: 38px;
  font-size: clamp(34px, 5vw, 62px);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.design-label-dj {
  left: 24%;
  color: #60bdff;
  text-shadow: 0 0 22px rgba(0, 166, 255, .48);
  animation: labelFromLeft .84s .34s ease both;
}

.design-label-rs {
  right: 19%;
  color: #ff313d;
  text-shadow: 0 0 22px rgba(255, 20, 34, .5);
  animation: labelFromRight .84s .34s ease both;
}

.design-ball-wrap {
  position: absolute;
  z-index: 3;
  top: 46px;
  width: 165px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.design-ball-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 12px 36px rgba(0,0,0,.34);
}

.design-ball-dj {
  left: 34px;
  animation: ballFromLeft .88s .56s ease both;
}

.design-ball-rs {
  right: 34px;
  animation: ballFromRight .88s .56s ease both;
}

.design-checks {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.92);
  font-size: 18px;
}

.design-checks-dj {
  left: 24%;
  animation: labelFromLeft .86s .48s ease both;
}

.design-checks-rs {
  right: 21%;
  animation: labelFromRight .86s .48s ease both;
}

.design-checks li {
  position: relative;
  padding-left: 34px;
}

.design-checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 23px;
  height: 23px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.design-checks-dj li:before { color: #00c7ff; }
.design-checks-rs li:before { color: #ff2030; }

.design-benefits {
  padding: 0 0 34px;
  background: rgba(2, 6, 17, .86);
}

.design-benefits-inner {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(6, 13, 29, .68);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  overflow: hidden;
}

.design-benefits-inner div {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.design-benefits-inner strong,
.design-benefits-inner span {
  display: block;
}

.design-benefits-inner span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.home-products-section,
.home-audience,
.section {
  background:
    radial-gradient(circle at 4% 12%, rgba(0, 166, 255, .10), transparent 22rem),
    radial-gradient(circle at 94% 10%, rgba(255, 28, 36, .11), transparent 22rem);
}

.home-product-card,
.card,
.legal-document,
.trust-stats div,
.audience-card,
.ozon-store-card {
  background: linear-gradient(180deg, rgba(8,17,31,.82), rgba(3,8,20,.78));
  border-color: rgba(255,255,255,.13);
}

.home-product-media,
.product-gallery {
  background:
    linear-gradient(135deg, rgba(0, 166, 255, .16), rgba(255, 28, 36, .08)),
    rgba(255,255,255,.04);
}

.rs-card,
.product-gallery {
  border-color: rgba(0, 166, 255, .28);
}

.dj-card {
  border-color: rgba(255, 28, 36, .30);
}

.footer {
  background:
    linear-gradient(90deg, rgba(0, 166, 255, .08), transparent 38%, rgba(255, 28, 36, .10)),
    rgba(2, 6, 17, .96);
}

@keyframes vsPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); filter: blur(10px); }
  56% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); filter: blur(0); }
  76% { transform: translate(-50%, -50%) scale(.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes labelFromLeft {
  0% { opacity: 0; transform: translateX(-64px); filter: blur(6px); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes labelFromRight {
  0% { opacity: 0; transform: translateX(64px); filter: blur(6px); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes ballFromLeft {
  0% { opacity: 0; transform: translateX(-90px) scale(.72) rotate(-16deg); }
  72% { opacity: 1; transform: translateX(8px) scale(1.04) rotate(4deg); }
  100% { opacity: 1; transform: translateX(0) scale(1) rotate(0); }
}

@keyframes ballFromRight {
  0% { opacity: 0; transform: translateX(90px) scale(.72) rotate(16deg); }
  72% { opacity: 1; transform: translateX(-8px) scale(1.04) rotate(-4deg); }
  100% { opacity: 1; transform: translateX(0) scale(1) rotate(0); }
}

@keyframes playerEnter {
  0% { opacity: 0; transform: translateX(70px) scale(.98); filter: blur(8px); }
  100% { opacity: .92; transform: translateX(0) scale(1); filter: blur(0); }
}

@keyframes streakLeft {
  0% { transform: translateX(-16%); opacity: 0; }
  100% { transform: translateX(0); opacity: .75; }
}

@keyframes streakRight {
  0% { transform: translateX(16%); opacity: 0; }
  100% { transform: translateX(0); opacity: .75; }
}

@keyframes energyBlue {
  0% { transform: translateX(-12%) scaleX(.72); opacity: 0; }
  100% { transform: translateX(0) scaleX(1); opacity: .78; }
}

@keyframes energyRed {
  0% { transform: translateX(12%) scaleX(.72); opacity: 0; }
  100% { transform: translateX(0) scaleX(1); opacity: .78; }
}

@keyframes logoBallSpinPulse {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}

@media (min-width: 760px) {
  .design-benefits-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .design-benefits-inner div { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.10); }
  .design-benefits-inner div:last-child { border-right: 0; }
}

@media (max-width: 1180px) {
  .design-player { right: -130px; opacity: .78; }
  .design-label-dj,
  .design-checks-dj { left: 29%; }
  .design-label-rs,
  .design-checks-rs { right: 22%; }
}

@media (max-width: 900px) {
  .design-hero {
    min-height: auto;
  }

  .design-hero-grid {
    padding-top: 48px;
    padding-bottom: 26px;
  }

  .design-stage {
    min-height: 520px;
  }

  .design-player {
    right: -120px;
    top: -34px;
    width: 620px;
    opacity: .72;
  }

  .design-duel-card {
    margin-top: 16px;
    min-height: 320px;
  }

  .design-ball-wrap {
    width: 120px;
  }

  .design-label {
    top: 42px;
  }

  .design-label-dj { left: 22%; }
  .design-label-rs { right: 12%; }
  .design-checks { bottom: 28px; font-size: 16px; }
  .design-checks-dj { left: 12%; }
  .design-checks-rs { right: 8%; }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 64px;
  }

  .logo-text {
    font-size: 22px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .design-hero {
    background-image:
      radial-gradient(circle at 50% 54%, rgba(0, 166, 255, .18), transparent 18rem),
      radial-gradient(circle at 92% 18%, rgba(255, 24, 36, .22), transparent 18rem),
      linear-gradient(180deg, rgba(2,6,17,.90), rgba(2,6,17,.96));
  }

  .design-hero-title {
    font-size: clamp(42px, 13vw, 64px);
  }

  .home-hero-copy .lead {
    font-size: 16px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .design-stage {
    min-height: 500px;
  }

  .design-player {
    top: -8px;
    right: -190px;
    width: 560px;
    opacity: .52;
  }

  .design-duel-card {
    min-height: 360px;
    margin-top: 14px;
  }

  .design-vs {
    top: 45%;
  }

  .design-label {
    font-size: 32px;
  }

  .design-label-dj {
    left: 26px;
    top: 28px;
  }

  .design-label-rs {
    right: 26px;
    top: 28px;
  }

  .design-ball-wrap {
    width: 92px;
    top: 92px;
  }

  .design-ball-dj { left: 22px; }
  .design-ball-rs { right: 22px; }

  .design-checks {
    bottom: 22px;
    gap: 8px;
    font-size: 14px;
  }

  .design-checks-dj { left: 22px; }
  .design-checks-rs { right: 22px; }

  .design-checks li {
    padding-left: 27px;
  }

  .design-checks li:before {
    width: 19px;
    height: 19px;
    font-size: 12px;
  }

  .design-benefits-inner div {
    padding: 16px;
  }

  .final-cta-inner {
    padding: 22px 18px;
  }

  .final-cta-title {
    white-space: normal;
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* === Навигация: бургер-меню + расширенное меню, подвал в 4 колонки (2026-08-27) === */

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .22s ease, opacity .18s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ниже 1000px все 8 пунктов не помещаются в строку — прячем их за бургер. */
@media (max-width: 999px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 6px 16px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(9,15,27,.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,.42);
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .nav a:last-child { border-bottom: 0; }
  .nav a:after { display: none; }
}

@media (min-width: 1000px) {
  .nav { gap: 15px; }
  .nav-toggle { display: none; }
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-col-title {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

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

@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 28px; }
}

/* Контекстные ссылки на главной */
.section-links {
  margin: 24px 0 0;
  max-width: 68ch;
  color: var(--muted);
}

.section-links a {
  color: #cfe5ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(207,229,255,.42);
}

.section-links a:hover { color: #fff; text-decoration-color: currentColor; }

.audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.audience-card p { flex: 1; }

.audience-link {
  margin-top: 12px;
  color: #cfe5ff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(207,229,255,.38);
  padding-bottom: 2px;
}

.audience-link:hover { color: #fff; border-bottom-color: currentColor; }

.admin-body .admin-nav-link,
.admin-body .admin-content {
  view-transition-name: none;
}

@media (min-width: 901px) {
  .admin-body .admin-layout {
    grid-template-columns: 242px minmax(0, 1fr);
  }

  .admin-body .admin-page-head {
    display: flex;
  }
}

@media (max-width: 1180px) {
  .admin-body .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-body .container {
    width: min(100% - 32px, 1540px);
  }

  .admin-body .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-nav {
    position: static;
    display: flex;
    gap: 6px;
    margin-top: 0;
    overflow-x: auto;
  }

  .admin-body .admin-nav-title {
    display: none;
  }

  .admin-body .admin-nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .admin-body .admin-page-head {
    display: grid;
  }

  .admin-body .admin-toolbar,
  .admin-body .admin-stats {
    grid-template-columns: 1fr;
  }
}
