:root {
  color-scheme: dark;
  --bg: #080716;
  --black-blue: #03040b;
  --panel: rgba(6, 9, 24, 0.78);
  --panel-strong: rgba(5, 6, 17, 0.94);
  --line: rgba(216, 188, 132, 0.42);
  --line-soft: rgba(241, 226, 184, 0.20);
  --line-cool: rgba(125, 166, 217, 0.18);
  --gold: #d8bc84;
  --gold-soft: #f1e2b8;
  --text: #f8f2e6;
  --muted: #aeb7c9;
  --violet: #5d4a86;
  --blue: #7da6d9;
  --danger: #e8a6a6;
  --ok: #9dd8b8;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --radius: 8px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black-blue);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(64, 42, 96, 0.30), transparent 38%),
    radial-gradient(circle at 80% 6%, rgba(125, 166, 217, 0.075), transparent 30%),
    radial-gradient(circle at 34% 86%, rgba(216, 188, 132, 0.065), transparent 36%),
    linear-gradient(180deg, #05030c 0%, #03020a 52%, #010106 100%);
  color: var(--text);
  font-family: var(--sans);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle, rgba(248, 242, 230, 0.70) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(216, 188, 132, 0.58) 0 1px, transparent 1.35px);
  background-size: 118px 132px, 173px 149px;
  background-position: 0 0, 42px 28px;
  opacity: 0.22;
  animation: starDrift 44s linear infinite, starTwinkle 4.8s ease-in-out infinite;
}

body::after {
  background: radial-gradient(circle at 50% 0%, rgba(241, 226, 184, 0.10), transparent 34%);
  mix-blend-mode: screen;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  background-image:
    radial-gradient(circle, rgba(255, 245, 210, 0.95) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(154, 190, 255, 0.62) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 0.8px, transparent 1.4px);
  background-position: 12% 18%, 74% 26%, 48% 72%;
  background-size: 260px 310px, 330px 390px, 210px 250px;
  filter: drop-shadow(0 0 5px rgba(255, 228, 168, 0.55));
  opacity: 0.36;
  animation:
    nearStarTwinkle 3.2s ease-in-out infinite alternate,
    starFieldDrift 58s linear infinite;
}

.page-shell::after {
  background-image:
    radial-gradient(circle, rgba(255, 228, 168, 0.74) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(120, 200, 202, 0.42) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(155, 124, 232, 0.46) 0 1.1px, transparent 1.8px);
  background-size: 420px 520px, 510px 610px, 680px 760px;
  background-position: 40px 90px, 180px 20px, 90px 260px;
  opacity: 0.22;
  filter: blur(0.2px);
  animation:
    starFieldRise 92s linear infinite,
    starPulseSlow 7s ease-in-out infinite;
}

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

.shooting-star {
  position: absolute;
  left: -260px;
  width: 180px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(241, 226, 184, 0.95), rgba(125, 166, 217, 0.36), transparent);
  filter: drop-shadow(0 0 6px rgba(241, 226, 184, 0.45));
  opacity: 0;
  transform: rotate(-22deg);
  animation: shootingStar 10s cubic-bezier(0.16, 0.84, 0.32, 1) infinite;
}

.shooting-star::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 14px rgba(241, 226, 184, 0.8);
  transform: translateY(-50%);
}

.shooting-star-one {
  top: 18%;
  animation-delay: 1.4s;
}

.shooting-star-two {
  top: 44%;
  width: 130px;
  animation-delay: 6.7s;
  animation-duration: 13s;
}

.shooting-star-three {
  top: 72%;
  width: 150px;
  animation-delay: 11.5s;
  animation-duration: 15s;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 30% 10%, rgba(95, 91, 178, 0.16), transparent 29%),
    radial-gradient(circle at 78% 28%, rgba(20, 110, 128, 0.10), transparent 32%),
    radial-gradient(circle at 40% 65%, rgba(231, 192, 115, 0.07), transparent 33%);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(231, 192, 115, 0.46) 0 1px, transparent 1.3px);
  background-size: 74px 88px, 111px 97px;
  background-position: 0 0, 24px 18px;
  opacity: 0.12;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 46px 56px 1fr auto;
  gap: 12px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 228, 168, 0.18);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(241, 226, 184, 0.14), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(93, 74, 134, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(7, 21, 46, 0.72), rgba(5, 9, 20, 0.48));
  backdrop-filter: blur(24px) saturate(1.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 228, 168, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.28);
}

.topbar::before,
.bottom-nav::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.20), transparent 22%, transparent 68%, rgba(255, 228, 168, 0.10)),
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.16), transparent 26%);
  opacity: 0.78;
  animation: liquidSheen 8s ease-in-out infinite;
}

.topbar::after,
.bottom-nav::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 210, 0.74), transparent);
}

.brand-mark,
.brand-title,
.icon-button,
.bottom-nav button,
.text-button,
.video-tile,
.chip {
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 36%, rgba(241, 226, 184, 0.13), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(93, 74, 134, 0.12), transparent 58%),
    rgba(8, 13, 24, 0.74);
  box-shadow:
    inset 0 0 0 8px rgba(255, 228, 168, 0.025),
    0 0 26px rgba(231, 191, 103, 0.10),
    0 0 48px rgba(155, 124, 232, 0.08);
}

.brand-star,
.line-icon,
.play,
.moon,
.product-symbol,
.card-art {
  display: inline-block;
  position: relative;
}

.brand-sigil {
  width: 44px;
  height: 44px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(255, 228, 168, 0.18));
}

.sigil-ring,
.sigil-orbit,
.sigil-a {
  fill: none;
  stroke: var(--gold-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sigil-ring {
  stroke-width: 1;
  opacity: 0.48;
}

.sigil-orbit {
  stroke-width: 1.05;
  opacity: 0.66;
}

.sigil-a {
  stroke: var(--gold);
  stroke-width: 2.2;
}

.sigil-star,
.sigil-dot {
  fill: var(--gold-soft);
}

.brand-title {
  color: var(--text);
  display: grid;
  justify-items: center;
  gap: 1px;
  font-family: var(--serif);
  letter-spacing: 10px;
  font-size: 20px;
  text-align: center;
  text-shadow: 0 0 24px rgba(241, 226, 184, 0.16);
}

.brand-title span {
  display: block;
  line-height: 1;
}

.brand-title small {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 2.4px;
  line-height: 1;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(14, 20, 32, 0.64);
  color: var(--gold-soft);
  font-size: 25px;
}

.back-button {
  opacity: 0;
  pointer-events: none;
}

.has-back .back-button {
  opacity: 1;
  pointer-events: auto;
}

.lang-switch {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 38px;
}

.lang-toggle-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lang-toggle {
  position: relative;
  display: block;
  width: 92px;
  height: 38px;
  cursor: pointer;
}

.lang-toggle-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 228, 168, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 228, 168, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(20, 28, 44, 0.88), rgba(6, 9, 17, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 18px rgba(0, 0, 0, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.24);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.lang-toggle-track::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 6px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.07), transparent 38%, rgba(255, 228, 168, 0.06));
}

.lang-toggle-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(233, 191, 103, 0.28), rgba(155, 124, 232, 0.26));
  opacity: 0.18;
  transition: opacity 260ms ease, transform 420ms ease;
}

.lang-toggle-label {
  position: absolute;
  top: 50%;
  z-index: 2;
  color: rgba(246, 241, 231, 0.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  transform: translateY(-50%);
  transition: color 220ms ease, text-shadow 220ms ease;
}

.lang-toggle-ru {
  left: 11px;
}

.lang-toggle-en {
  right: 11px;
}

.lang-toggle-dots {
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 1;
  display: flex;
  gap: 3px;
  transform: translateY(-50%);
}

.lang-toggle-dots span,
.lang-toggle-particles span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 228, 168, 0.45);
}

.lang-toggle-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lang-toggle-particles span {
  position: absolute;
  opacity: 0.18;
  filter: blur(0.4px);
  animation: langParticle 2.8s ease-in-out infinite;
}

.lang-toggle-particles span:nth-child(1) {
  left: 20px;
  top: 8px;
}

.lang-toggle-particles span:nth-child(2) {
  left: 58px;
  top: 10px;
  animation-delay: 0.4s;
}

.lang-toggle-particles span:nth-child(3) {
  left: 66px;
  bottom: 8px;
  animation-delay: 0.8s;
}

.lang-toggle-particles span:nth-child(4) {
  left: 30px;
  bottom: 9px;
  animation-delay: 1.2s;
}

.lang-toggle-thumb {
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 3;
  width: 34px;
  height: 30px;
  border: 1px solid rgba(255, 228, 168, 0.46);
  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(255, 228, 168, 0.22), rgba(9, 13, 23, 0.96));
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: left 340ms cubic-bezier(0.3, 1.5, 0.7, 1), transform 340ms ease, border-color 220ms ease;
}

.lang-toggle-star {
  display: none;
}

.lang-toggle-thumb::after {
  content: "RU";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-shadow: 0 0 8px rgba(255, 228, 168, 0.42);
}

.lang-toggle-checkbox:focus-visible + .lang-toggle {
  outline: 2px solid rgba(255, 228, 168, 0.52);
  outline-offset: 4px;
  border-radius: 10px;
}

.lang-toggle-checkbox:not(:checked) + .lang-toggle .lang-toggle-ru,
.lang-toggle-checkbox:checked + .lang-toggle .lang-toggle-en {
  color: var(--gold-soft);
  text-shadow: 0 0 10px rgba(255, 228, 168, 0.42);
}

.lang-toggle-checkbox:checked + .lang-toggle .lang-toggle-thumb {
  left: 54px;
  border-color: rgba(155, 124, 232, 0.55);
}

.lang-toggle-checkbox:checked + .lang-toggle .lang-toggle-thumb::after {
  content: "EN";
}

.lang-toggle-checkbox:checked + .lang-toggle .lang-toggle-glow {
  opacity: 0.36;
  transform: translateX(18px);
}

.lang-toggle:hover .lang-toggle-track {
  border-color: rgba(255, 228, 168, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -10px 18px rgba(0, 0, 0, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(233, 191, 103, 0.10);
}

.screen {
  position: relative;
  z-index: 1;
  display: none;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 132px;
}

.screen.active {
  display: block;
}

.hero {
  text-align: center;
  padding: 34px 6px 8px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  color: var(--gold-soft);
  text-shadow: 0 0 34px rgba(216, 188, 132, 0.14);
}

h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  color: var(--gold-soft);
}

h3 {
  font-size: 24px;
  line-height: 1.15;
}

p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.mobile-home-only {
  display: none;
}

.desktop-home-only {
  display: block;
}

.moon-visual {
  height: 320px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 10px auto 0;
  max-width: 620px;
}

.moon {
  position: relative;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  border: 1px solid rgba(216, 188, 132, 0.42);
  background:
    radial-gradient(circle at 50% 50%, rgba(241, 226, 184, 0.32) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 50%, rgba(216, 188, 132, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(7, 21, 46, 0.18), rgba(11, 16, 32, 0.52));
  box-shadow:
    inset 0 0 0 18px rgba(241, 226, 184, 0.018),
    0 0 42px rgba(216, 188, 132, 0.17),
    0 0 88px rgba(93, 74, 134, 0.13);
  animation: moonFloat 6s ease-in-out infinite;
}

.moon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.moon::after {
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(transparent, rgba(216, 188, 132, 0.48), transparent);
  box-shadow: 0 0 16px rgba(216, 188, 132, 0.45);
  transform: translateX(-50%);
}

.hero-sigil {
  position: absolute;
  inset: 18px;
  z-index: 2;
  overflow: visible;
  filter:
    drop-shadow(0 0 10px rgba(241, 226, 184, 0.34))
    drop-shadow(0 0 24px rgba(216, 188, 132, 0.18));
}

.hero-sigil-ring,
.hero-sigil-orbit,
.hero-sigil-a {
  fill: none;
  stroke: var(--gold-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-sigil-ring {
  stroke-width: 1.15;
  opacity: 0.42;
}

.hero-sigil-orbit {
  stroke-width: 1.5;
  opacity: 0.72;
}

.hero-sigil-orbit.ghost {
  stroke: var(--blue);
  opacity: 0.22;
}

.hero-sigil-a {
  stroke: var(--gold-soft);
  stroke-width: 5.2;
}

.hero-sigil-a.bar {
  stroke-width: 4.2;
}

.hero-sigil-star,
.hero-sigil-dot {
  fill: var(--gold-soft);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(231, 192, 115, 0.26);
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(231, 191, 103, 0.08));
}

.orbit-one {
  width: 360px;
  height: 165px;
  transform: rotate(-15deg);
  animation: orbitPulse 7s ease-in-out infinite;
}

.orbit-two {
  width: 455px;
  height: 205px;
  transform: rotate(11deg);
  animation: orbitPulse 8s ease-in-out infinite reverse;
}

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

.home-modules-block {
  display: grid;
  gap: 14px;
  scroll-margin-top: 96px;
}

.home-promo-panel,
.home-module-strip button {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.14), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(93, 74, 134, 0.20), transparent 34%),
    linear-gradient(145deg, rgba(6, 9, 24, 0.88), rgba(5, 6, 17, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.home-promo-panel {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.home-promo-panel span,
.home-module-strip small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.home-promo-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.home-module-strip {
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-module-strip button {
  min-height: 96px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 7px 10px;
  align-items: center;
  padding: 12px;
  color: var(--text);
  text-align: left;
}

.home-module-strip .inline-astro-icon {
  grid-row: 1 / 3;
  margin: 0;
}

.home-module-strip strong {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
}

.mini-card,
.content-panel,
.review-panel,
.order-card,
.total-panel,
.pay-method,
.profile-card,
.stat-card,
.favorite-card,
.result-card,
.growth-panel,
.video-tile,
.product-hero,
.wide-panel-button,
.admin-list article,
.home-promo-panel,
.home-module-strip button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(7, 21, 46, 0.80), rgba(11, 16, 32, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(241, 226, 184, 0.075), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.mini-card {
  position: relative;
  min-height: 164px;
  padding: 24px;
  text-align: left;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mini-card,
.content-panel,
.review-panel,
.order-card,
.total-panel,
.pay-method,
.profile-card,
.stat-card,
.favorite-card,
.result-card,
.growth-panel,
.video-tile,
.product-hero,
.wide-panel-button,
.admin-list article,
.home-promo-panel,
.home-module-strip button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

:is(
  .mini-card,
  .content-panel,
  .review-panel,
  .order-card,
  .total-panel,
  .pay-method,
  .profile-card,
  .stat-card,
  .favorite-card,
  .result-card,
  .growth-panel,
  .video-tile,
  .product-hero,
  .wide-panel-button,
  .admin-list article,
  .home-promo-panel,
  .home-module-strip button
)::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: 7px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.13), transparent 25%),
    radial-gradient(circle at 82% 0%, rgba(216, 188, 132, 0.12), transparent 30%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.055), transparent 34%, rgba(125, 166, 217, 0.045));
  opacity: 0.9;
}

:is(
  .mini-card,
  .content-panel,
  .review-panel,
  .order-card,
  .total-panel,
  .pay-method,
  .profile-card,
  .stat-card,
  .favorite-card,
  .result-card,
  .growth-panel,
  .video-tile,
  .product-hero,
  .wide-panel-button,
  .admin-list article,
  .home-promo-panel,
  .home-module-strip button
)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.16) 47%, rgba(216, 188, 132, 0.13) 52%, transparent 64% 100%),
    radial-gradient(circle at 50% 50%, rgba(125, 166, 217, 0.10), transparent 34%);
  opacity: 0;
  transform: translateX(-120%) skewX(-12deg);
  transition: opacity 240ms ease, transform 820ms ease;
}

:is(
  .mini-card,
  .content-panel,
  .review-panel,
  .order-card,
  .total-panel,
  .pay-method,
  .profile-card,
  .stat-card,
  .favorite-card,
  .result-card,
  .growth-panel,
  .video-tile,
  .product-hero,
  .wide-panel-button,
  .admin-list article,
  .home-promo-panel,
  .home-module-strip button
) > * {
  position: relative;
  z-index: 1;
}

@keyframes liquidBreath {
  0%,
  100% {
    background-position: 0% 0%, 100% 0%, 0% 0%;
  }
  50% {
    background-position: 12% 8%, 84% 10%, 100% 100%;
  }
}

@keyframes liquidRise {
  0% {
    opacity: 0.42;
    transform: translateY(8px) scale(0.98);
  }
  50% {
    opacity: 0.74;
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    opacity: 0.42;
    transform: translateY(8px) scale(0.98);
  }
}

.content-panel,
.mini-card,
.product-card,
.favorite-card,
.result-card,
.growth-panel,
.profile-card,
.stat-card,
.home-promo-panel,
.home-module-strip button {
  animation: liquidBreath 11s ease-in-out infinite;
}

.premium-icon {
  position: relative;
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 228, 168, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 228, 168, 0.12), transparent 48%),
    rgba(5, 9, 17, 0.52);
  box-shadow:
    inset 0 0 0 8px rgba(255, 228, 168, 0.025),
    0 0 24px rgba(233, 191, 103, 0.08);
}

.premium-icon::before,
.premium-icon::after {
  content: "";
  position: absolute;
  border-color: rgba(255, 228, 168, 0.52);
  pointer-events: none;
}

.premium-icon::before {
  inset: 9px;
  border: 1px solid rgba(255, 228, 168, 0.18);
  border-radius: 50%;
}

.premium-icon::after {
  width: 30px;
  height: 30px;
}

.premium-icon[data-premium-icon="target"]::after {
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(5, 9, 17, 0.92), inset 0 0 0 9px rgba(233, 191, 103, 0.8);
}

.premium-icon[data-premium-icon="target"] span,
.premium-icon[data-premium-icon="clock"] span,
.premium-icon[data-premium-icon="lock"] span,
.premium-icon[data-premium-icon="support"] span {
  display: none;
}

.premium-icon[data-premium-icon="clock"]::after {
  border: 2px solid var(--gold);
  border-radius: 50%;
  background:
    linear-gradient(var(--gold), var(--gold)) 50% 50% / 2px 11px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 50% / 10px 2px no-repeat;
  transform: rotate(0deg);
}

.premium-icon[data-premium-icon="lock"]::after {
  width: 24px;
  height: 20px;
  top: 30px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 52%, var(--gold) 0 2px, transparent 2.5px),
    linear-gradient(var(--gold), var(--gold)) 50% 62% / 2px 7px no-repeat;
}

.premium-icon[data-premium-icon="lock"]::before {
  inset: auto;
  left: 19px;
  top: 13px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
}

.premium-icon[data-premium-icon="support"]::after,
.premium-icon[data-premium-icon="star"]::after {
  width: 38px;
  height: 38px;
  border: 0;
  background: conic-gradient(from 45deg, transparent 0 9%, var(--gold-soft) 9% 13%, transparent 13% 34%, var(--gold) 34% 39%, transparent 39% 60%, var(--gold-soft) 60% 64%, transparent 64% 85%, var(--gold) 85% 90%, transparent 90%);
  filter: drop-shadow(0 0 8px rgba(255, 228, 168, 0.42));
}

.mini-card:hover,
.product-card:hover,
.favorite-card:hover,
.result-card:hover,
.video-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 228, 168, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(231, 191, 103, 0.08);
}

:is(
  .mini-card,
  .content-panel,
  .review-panel,
  .order-card,
  .total-panel,
  .pay-method,
  .profile-card,
  .stat-card,
  .favorite-card,
  .result-card,
  .growth-panel,
  .video-tile,
  .product-hero,
  .wide-panel-button,
  .admin-list article
):hover::after {
  opacity: 0.72;
  transform: translateX(120%) skewX(-12deg);
}

.mini-card strong,
.video-tile strong,
.order-card h3,
.profile-card h3,
.content-panel h3,
.review-panel h3,
.growth-panel h3,
.referral-boost h3,
.result-card strong,
.favorite-card-copy strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 600;
  line-height: 1.08;
}

.mini-card p,
.content-panel p,
.review-panel p,
.video-tile small,
.favorite-card-copy p,
.result-card small,
.profile-card p,
.referral-boost p,
.growth-panel p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
}

.mini-card p {
  margin-top: 14px;
}

.line-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border: 1px solid rgba(231, 192, 115, 0.36);
  border-radius: 50%;
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.person::after {
  inset: 24px 10px 7px;
  border-radius: 18px 18px 10px 10px;
}

.wallet::before {
  inset: 13px 9px 12px;
  border-radius: 4px;
}

.compass::after,
.sparkle::after {
  inset: 8px 19px;
  border: 0;
  border-left: 1px solid var(--gold);
  transform: rotate(45deg);
}

.heart::before {
  inset: 11px;
  border-color: #d799d5;
}

.briefcase::before {
  inset: 15px 8px 9px;
  border-radius: 4px;
}

.video-tile {
  width: 100%;
  min-height: 118px;
  margin-top: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
}

.play {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(155, 124, 232, 0.64);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(155, 124, 232, 0.5);
}

.play::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 24px;
  border-left: 18px solid var(--text);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-tile small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.4;
}

.cta-stack {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.home-actions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.primary-button,
.secondary-button,
.wide-panel-button {
  min-height: 56px;
  border-radius: 8px;
  cursor: pointer;
}

.primary-button {
  border: 1px solid rgba(255, 238, 190, 0.74);
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.35) 46%, transparent 52%) -220px 0 / 180px 100% no-repeat,
    linear-gradient(180deg, #f1e2b8, #d8bc84 56%, #b58b4a);
  color: #17120b;
  font-size: 20px;
  font-weight: 650;
  box-shadow: 0 12px 34px rgba(183, 126, 46, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background-position 700ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background-position: 120% 0, 0 0;
  box-shadow: 0 18px 44px rgba(183, 126, 46, 0.34);
}

.secondary-button {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, rgba(216, 188, 132, 0.10), transparent 28%),
    rgba(11, 16, 32, 0.84);
  color: var(--gold-soft);
}

.compact {
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px;
}

.text-button {
  min-height: 36px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section-head {
  margin: 4px 0 16px;
}

.section-head.center {
  text-align: center;
}

.catalog-head {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.form-grid label,
.promo-row input {
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: rgba(7, 12, 22, 0.84);
}

input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

input::placeholder {
  color: #737b88;
}

.chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 15px 0;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-cool);
  border-radius: 8px;
  background: rgba(11, 16, 32, 0.82);
  color: var(--muted);
  white-space: nowrap;
}

.chip.active {
  border-color: var(--gold);
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 50% 0%, rgba(241, 226, 184, 0.14), transparent 58%),
    rgba(216, 188, 132, 0.07);
}

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

.home-products-grid {
  margin-top: 0;
}

.support-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
  grid-auto-rows: minmax(0, auto);
}

.support-form-panel,
.support-docs-panel {
  min-height: 410px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  align-items: stretch;
  overflow: hidden;
  min-width: 0;
  background: rgba(10, 16, 32, 0.56);
  border: 1px solid rgba(241, 226, 184, 0.14);
  justify-content: start;
  height: 100%;
}

.support-docs-panel {
  margin-top: 0;
}

.support-form-panel,
.support-docs-panel {
  font-family: var(--sans);
}

.support-form-panel h3,
.support-docs-panel h3 {
  color: var(--gold-soft);
  font-family: var(--serif);
}

.support-form-panel p,
.support-docs-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.support-form-panel .primary-button.compact,
.support-docs-panel .primary-button.compact {
  min-height: 42px;
  align-self: start;
  justify-self: start;
  width: max-content;
  padding-inline: 14px;
}

.support-send-button {
  align-self: flex-start;
  width: fit-content;
  min-width: 160px;
  max-width: max-content;
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  text-align: center;
  font-size: 15px;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.support-form label {
  display: grid;
  gap: 7px;
}

.support-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.support-form input,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(241, 226, 184, 0.18);
  border-radius: 14px;
  background: rgba(7, 21, 46, 0.58);
  color: var(--text);
  font: inherit;
  outline: none;
}

.support-form input {
  min-height: 46px;
  padding: 0 13px;
}

.support-form textarea {
  min-height: 138px;
  padding: 13px;
  resize: vertical;
}

.support-attachments-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-top: 2px;
  min-width: 0;
  background: transparent;
  border: 1px solid rgba(216, 188, 132, 0.18);
  border-radius: 10px;
  padding: 10px;
  align-items: start;
  overflow: hidden;
}

.support-attachments-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.support-file-control {
  display: grid;
  grid-template-columns: minmax(118px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  position: relative;
}

.support-file-control-button {
  min-height: 42px;
  max-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 46, 0.86);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  overflow: hidden;
}

.support-file-control-button:hover {
  background: rgba(216, 188, 132, 0.16);
}

.support-file-name {
  color: var(--muted);
  min-height: 42px;
  max-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 21, 46, 0.86);
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-file-control input[type="file"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.support-emoji-picker button {
  border-radius: 10px;
  min-height: 36px;
  width: 100%;
  padding: 0;
  background: rgba(7, 21, 46, 0.5);
}

.support-emoji-picker button:hover {
  transform: none;
}

.support-attachments-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  align-content: start;
  justify-items: stretch;
  align-items: start;
  width: 100%;
  gap: 8px;
  margin-top: 6px;
  max-height: 132px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  border: 1px solid rgba(216, 188, 132, 0.14);
  border-radius: 10px;
  background: rgba(5, 10, 22, 0.78);
}

.support-attachment-item {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 118px;
  max-height: 118px;
  display: grid;
  grid-template-rows: 74px auto;
  gap: 6px;
  background: rgba(10, 16, 32, 0.58);
  border: 1px solid rgba(216, 188, 132, 0.2);
  border-radius: 10px;
  padding: 8px;
  overflow: hidden;
  align-items: stretch;
}

.support-attachment-item img {
  display: block;
  width: 100%;
  height: 74px;
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(216, 188, 132, 0.2);
  border-radius: 12px;
  background: #05070f;
}

.support-attachment-item a {
  color: var(--gold-soft);
  word-break: break-all;
  font-size: 12px;
  line-height: 1.15;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.support-tickets-panel {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.support-message-attachments {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.support-message-attachment-image {
  max-width: min(100%, 280px);
  border: 1px solid rgba(216, 188, 132, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.support-message-attachment-image img {
  max-width: 100%;
  display: block;
}

.support-message-attachment-file {
  color: var(--gold-soft);
  font-size: 13px;
}

.support-ticket-list {
  display: grid;
  gap: 12px;
}

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

.support-ticket {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(241, 226, 184, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.support-ticket header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.support-ticket header div {
  display: grid;
  gap: 3px;
}

.support-ticket header strong {
  color: var(--text);
}

.support-ticket header span,
.support-ticket header small,
.support-message small {
  color: var(--muted);
  font-size: 12px;
}

.support-ticket header small {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(216, 188, 132, 0.12);
  color: var(--gold);
}

.support-thread {
  display: grid;
  gap: 8px;
}

.support-message {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 21, 46, 0.48);
}

.support-message.from-support {
  border: 1px solid rgba(216, 188, 132, 0.24);
  background: rgba(216, 188, 132, 0.08);
}

.support-message p {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

.support-ticket-list.compact .support-ticket {
  padding: 12px;
}

.support-ticket-list.compact .support-message.from-client {
  display: none;
}

.product-card {
  position: relative;
  --media-x: 50%;
  --media-y: 42%;
  --media-scale: 1.04;
  min-height: 276px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.10), transparent 26%),
    radial-gradient(circle at 19% 10%, rgba(241, 226, 184, 0.10), transparent 32%),
    radial-gradient(circle at 78% 0%, rgba(93, 74, 134, 0.11), transparent 30%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 35%, rgba(125, 166, 217, 0.035)),
    linear-gradient(150deg, rgba(7, 21, 46, 0.88), rgba(11, 16, 32, 0.92));
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.15) 43%, rgba(255, 228, 168, 0.12) 49%, transparent 62% 100%),
    radial-gradient(circle at 55% 30%, rgba(125, 166, 217, 0.10), transparent 32%);
  opacity: 0;
  transform: translateX(-38%);
  pointer-events: none;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(241, 226, 184, 0.07);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}

.product-card-media {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 1.32;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 228, 168, 0.18);
  border-radius: 8px;
  background: rgba(4, 8, 15, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 14px 30px rgba(0, 0, 0, 0.24);
}

.product-card-media::before,
.product-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-card-media::before {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 36%, rgba(241, 226, 184, 0.13), transparent 30%),
    linear-gradient(180deg, transparent 42%, rgba(4, 7, 13, 0.70) 100%);
}

.product-card-media::after {
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(255, 228, 168, 0.08);
  border-radius: 6px;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--media-x) var(--media-y);
  opacity: 0.92;
  transform: scale(var(--media-scale));
  transition: transform 220ms ease, opacity 220ms ease;
  animation: moduleImageDrift 10s ease-in-out infinite alternate;
}

.product-card:hover .product-card-media img {
  opacity: 1;
  transform: scale(calc(var(--media-scale) + 0.045));
  animation-play-state: paused;
}

.product-card:hover::after {
  opacity: 1;
  animation: cardSheen 980ms ease forwards;
}

.product-card:hover .product-card-icon {
  animation: iconGlowPulse 1150ms ease-in-out infinite alternate;
}

.product-card-top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  margin-bottom: 14px;
}

.product-card-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 228, 168, 0.27);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 228, 168, 0.11), transparent 48%),
    rgba(5, 9, 17, 0.56);
  box-shadow:
    inset 0 0 0 8px rgba(255, 228, 168, 0.025),
    0 0 24px rgba(233, 191, 103, 0.08);
}

.product-card-icon::before,
.product-card-icon::after,
.inline-astro-icon::before,
.inline-astro-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.product-card-icon::before,
.inline-astro-icon::before {
  inset: 9px;
  border: 1px solid rgba(255, 228, 168, 0.17);
  border-radius: 50%;
}

.product-card-icon::after,
.inline-astro-icon::after {
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 8deg, transparent 0 14%, rgba(255, 228, 168, 0.3) 14% 15%, transparent 15% 48%, rgba(120, 200, 202, 0.18) 48% 49%, transparent 49% 100%);
  opacity: 0.9;
}

.astro-symbol {
  width: 34px;
  height: 34px;
  stroke: var(--gold-soft);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(255, 228, 168, 0.28));
  position: relative;
  z-index: 1;
}

.product-card-icon .astro-symbol {
  width: 45px;
  height: 45px;
}

.module-sigil .sigil-ring,
.module-sigil .sigil-orbit {
  stroke: rgba(255, 228, 168, 0.34);
  stroke-width: 1.05;
}

.module-sigil .sigil-north {
  fill: rgba(255, 228, 168, 0.82);
  filter: drop-shadow(0 0 4px rgba(255, 228, 168, 0.34));
}

.module-sigil .sigil-glyph {
  stroke: var(--gold-soft);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.product-card h3 {
  position: relative;
  z-index: 3;
  min-height: 56px;
  color: var(--gold-soft);
  font-size: 25px;
}

.favorites-orbit {
  position: relative;
  height: 178px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  overflow: hidden;
}

.favorites-orbit .orbit-one {
  width: 330px;
  height: 128px;
}

.favorites-orbit .orbit-two {
  width: 410px;
  height: 160px;
}

.favorites-orbit .inline-astro-icon {
  width: 78px;
  height: 78px;
  margin: 0;
  box-shadow:
    inset 0 0 0 11px rgba(255, 228, 168, 0.026),
    0 0 44px rgba(216, 188, 132, 0.20),
    0 0 68px rgba(93, 74, 134, 0.17);
}

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

.favorites-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 2px;
}

.favorites-summary .mini-card {
  min-height: 188px;
  padding: 18px 16px;
}

.favorite-card {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-rows: 210px auto;
  gap: 14px;
  padding: 15px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.favorite-card-art {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 228, 168, 0.18);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.78);
}

.favorite-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(241, 226, 184, 0.14), transparent 28%),
    linear-gradient(180deg, transparent 38%, rgba(5, 9, 17, 0.78));
}

.favorite-card-art img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  opacity: 0.88;
}

.favorite-card-art > span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 228, 168, 0.26);
  border-radius: 50%;
  background: rgba(5, 9, 17, 0.72);
  backdrop-filter: blur(10px);
}

.favorite-card-copy small,
.favorite-card-copy em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.favorite-card-copy strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 600;
  line-height: 1.08;
}

.favorite-card-copy p {
  min-height: 0;
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
}

.favorite-card-copy em {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
}

.favorite-card-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid rgba(216, 188, 132, 0.36);
  border-radius: 8px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  background: rgba(11, 16, 32, 0.68);
}

.product-card p {
  position: relative;
  z-index: 3;
  min-height: 38px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
}

.product-card footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: end;
  margin-top: 10px;
}

.price {
  font-size: 25px;
  color: var(--gold);
}

.price,
.price-line,
.order-card strong,
.total-panel strong,
.history-item > strong,
[data-checkout-price],
[data-total],
[data-product-price] {
  font-family: var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0;
}

.badge {
  padding: 5px 10px;
  border: 1px solid rgba(216, 188, 132, 0.34);
  border-radius: 8px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(11, 16, 32, 0.68);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(250px, 340px) 1fr;
  gap: 24px;
  padding: 28px;
}

.product-summary {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  align-self: stretch;
  min-width: 0;
}

.product-summary .primary-button {
  align-self: end;
  justify-self: end;
  min-width: 224px;
  margin-top: 24px;
}

.product-art-large {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 228, 168, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 62% 22%, rgba(255, 228, 168, 0.18), transparent 32%),
    rgba(5, 9, 17, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 22px 58px rgba(0, 0, 0, 0.38),
    0 0 46px rgba(155, 124, 232, 0.08);
}

.product-art-large::before,
.product-art-large::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-art-large::before {
  z-index: 1;
  background:
    radial-gradient(circle at 52% 44%, transparent 0 28%, rgba(3, 5, 10, 0.12) 46%, rgba(3, 5, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.06), rgba(3, 5, 10, 0.48));
}

.product-art-large::after {
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(255, 228, 168, 0.09);
  border-radius: 6px;
}

.product-art-large img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.94;
}

.product-art-large .product-symbol {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  width: 76px;
  height: 76px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 228, 168, 0.18), transparent 46%),
    rgba(5, 9, 17, 0.74);
  backdrop-filter: blur(10px);
}

.product-art-large .product-symbol::before {
  inset: 20px;
}

.product-art-large .product-symbol::after {
  inset: 14px 36px;
}

.product-art-large .product-symbol .astro-symbol {
  width: 38px;
  height: 38px;
}

.product-symbol {
  width: 150px;
  height: 150px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(231, 192, 115, 0.34);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 228, 168, 0.13), transparent 46%),
    radial-gradient(circle, rgba(155, 124, 232, 0.18), transparent 58%),
    rgba(9, 14, 24, 0.9);
  box-shadow:
    inset 0 0 0 18px rgba(255, 228, 168, 0.025),
    0 0 44px rgba(155, 124, 232, 0.14);
  overflow: hidden;
}

.product-symbol::before,
.product-symbol::after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.64;
}

.product-symbol::after {
  inset: 18px 50px;
  border-radius: 0;
  border-top: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.product-symbol .astro-symbol {
  width: 76px;
  height: 76px;
  stroke-width: 1.1;
}

.product-symbol.small {
  width: 62px;
  height: 62px;
}

.product-symbol.small::before {
  inset: 18px;
}

.product-symbol.small::after {
  inset: 12px 30px;
}

.product-symbol.small .astro-symbol {
  width: 32px;
  height: 32px;
}

.inline-astro-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 228, 168, 0.29);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 228, 168, 0.11), transparent 48%),
    rgba(5, 9, 17, 0.56);
  box-shadow:
    inset 0 0 0 8px rgba(255, 228, 168, 0.02),
    0 0 24px rgba(233, 191, 103, 0.08);
}

.inline-astro-icon.small {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
}

.inline-astro-icon.small .astro-symbol {
  width: 25px;
  height: 25px;
}

.price-line {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.content-panel,
.review-panel {
  margin-top: 14px;
  padding: 24px;
}

.star-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.star-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.star-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.review-panel {
  min-height: 138px;
}

.rating {
  color: var(--gold);
  letter-spacing: 3px;
}

.order-card {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
}

.order-card strong {
  font-size: 20px;
  color: var(--gold-soft);
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
}

.form-grid span {
  color: var(--muted);
  font-size: 12px;
}

.promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 12px;
}

.promo-row input {
  min-height: 44px;
  padding: 0 12px;
}

.promo-message {
  min-height: 24px;
  font-size: 14px;
}

.promo-message.ok {
  color: var(--ok);
}

.promo-message.error {
  color: var(--danger);
}

.total-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 18px;
}

.total-panel strong {
  font-size: 30px;
  color: var(--text);
}

.pay-method {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  outline: 1px solid rgba(155, 124, 232, 0.46);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 228, 168, 0.18), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(155, 124, 232, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(20, 28, 47, 0.86), rgba(6, 10, 18, 0.82));
}

.radio-dot {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.radio-dot.active {
  background: radial-gradient(circle, var(--violet) 0 7px, transparent 8px);
}

.pay-method small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.card-art {
  width: 62px;
  height: 42px;
  border: 1px solid rgba(255, 228, 168, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 228, 168, 0.55), transparent 42%) 0 11px / 100% 5px no-repeat,
    radial-gradient(circle at 82% 26%, rgba(255, 228, 168, 0.42), transparent 18%),
    linear-gradient(145deg, rgba(169, 126, 231, 0.78), rgba(31, 45, 88, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 22px rgba(155, 124, 232, 0.18);
}

.card-art::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 16px;
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
}

.check-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.35;
}

.check-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
}

.legal-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.legal-consent-links button,
.legal-doc-tabs button {
  border: 1px solid rgba(255, 228, 168, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 228, 168, 0.12), transparent 42%),
    rgba(5, 9, 17, 0.42);
  color: var(--gold-soft);
  cursor: pointer;
}

.legal-consent-links button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.registration-consent {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 228, 168, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5, 9, 17, 0.62), rgba(10, 16, 31, 0.44)),
    radial-gradient(circle at 85% 0%, rgba(125, 166, 217, 0.12), transparent 38%);
}

.registration-consent h4 {
  margin: 0;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 650;
}

.registration-consent .check-row {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.registration-consent .check-row span {
  font-size: 13px;
  line-height: 1.45;
}

.legal-doc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0 0 16px;
}

.legal-doc-tabs button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
}

.legal-doc-tabs button.active {
  border-color: rgba(255, 228, 168, 0.48);
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 228, 168, 0.18), transparent 52%),
    rgba(255, 255, 255, 0.055);
}

.legal-document {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.legal-document-head {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 228, 168, 0.16);
}

.legal-section {
  margin-top: 20px;
}

.legal-section h4 {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: 17px;
}

.legal-section p {
  margin-top: 7px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  top: 96px;
  bottom: auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  width: min(390px, calc(100% - 32px));
  padding: 13px;
  border: 1px solid rgba(255, 228, 168, 0.20);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 228, 168, 0.10), transparent 34%),
    linear-gradient(145deg, rgba(18, 27, 43, 0.88), rgba(5, 8, 15, 0.92));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  color: var(--gold-soft);
  font-size: 13px;
  line-height: 1.2;
}

.cookie-banner p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.cookie-actions button[data-action="cookieSettings"] {
  grid-column: 1 / -1;
}

.cookie-actions .compact {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.fineprint {
  text-align: center;
  font-size: 13px;
}

.result-visual {
  position: relative;
  height: 306px;
  margin: 10px 0 12px;
  isolation: isolate;
}

.result-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 360px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(155, 124, 232, 0.18), transparent 68%);
  filter: blur(8px);
  transform: translateX(-50%);
  z-index: -1;
}

.astro-card {
  position: absolute;
  bottom: 8px;
  width: 148px;
  height: 232px;
  border: 1px solid rgba(231, 192, 115, 0.5);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 228, 168, 0.44), transparent 8%),
    radial-gradient(circle at 50% 38%, rgba(231, 192, 115, 0.24), transparent 24%),
    radial-gradient(circle at 50% 70%, rgba(155, 124, 232, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(255, 228, 168, 0.08), transparent 24%),
    #0a0d16;
  box-shadow:
    inset 0 0 0 7px rgba(255, 228, 168, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 0 34px rgba(231, 191, 103, 0.08);
}

.astro-card::before,
.astro-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.astro-card::before {
  inset: 13px;
  border: 1px solid rgba(255, 228, 168, 0.28);
  border-radius: 6px;
}

.astro-card::after {
  left: 50%;
  top: 64px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    conic-gradient(from 45deg, transparent 0 10%, rgba(255, 228, 168, 0.96) 10% 13%, transparent 13% 35%, rgba(233, 191, 103, 0.92) 35% 39%, transparent 39% 60%, rgba(255, 228, 168, 0.94) 60% 64%, transparent 64% 86%, rgba(233, 191, 103, 0.9) 86% 90%, transparent 90%),
    radial-gradient(circle, rgba(255, 228, 168, 0.18), transparent 54%);
  filter: drop-shadow(0 0 10px rgba(255, 228, 168, 0.28));
  transform: translateX(-50%);
}

.astro-card span {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(231, 192, 115, 0.5);
  border-radius: 50%;
}

.left-card {
  left: 28px;
  transform: rotate(-11deg);
}

.main-card {
  left: 50%;
  width: 166px;
  height: 260px;
  transform: translateX(-50%);
  z-index: 2;
}

.right-card {
  right: 28px;
  transform: rotate(11deg);
}

.result-panel {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 12px;
}

.screen[data-screen="result"] .insight-grid .mini-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  min-height: 0;
  padding: 16px;
  gap: 6px 12px;
}

.screen[data-screen="result"] .insight-grid .mini-card .inline-astro-icon {
  grid-row: 1 / 3;
  margin: 0;
}

.screen[data-screen="result"] .insight-grid .mini-card strong {
  font-size: clamp(24px, 2vw, 30px);
}

.screen[data-screen="result"] .insight-grid .mini-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.42;
}

.result-vault {
  display: grid;
  gap: 12px;
}

.results-list {
  display: grid;
  gap: 9px;
}

.result-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.result-card .inline-astro-icon {
  margin: 0;
}

.result-card strong,
.mystic-nudge h3,
.growth-panel h3,
.referral-boost h3 {
  display: block;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
}

.result-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.mystic-nudge,
.referral-boost {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 13px;
  align-items: start;
}

.mystic-nudge .inline-astro-icon,
.referral-boost .inline-astro-icon {
  margin: 0;
}

.dual-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.wide-panel-button {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: rgba(15, 21, 34, 0.82);
}

.profile-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
}

[hidden] {
  display: none !important;
}

.profile-entry-panel {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: min(100%, 760px);
  margin: 18px auto 0;
  padding: 26px;
}

.profile-entry-panel .inline-astro-icon {
  margin: 0;
}

.profile-entry-panel h3 {
  margin-bottom: 8px;
  font-size: clamp(30px, 5.6vw, 42px);
  line-height: 0.98;
}

.profile-entry-panel p {
  max-width: 560px;
}

.registration-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.registration-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.registration-fields .field-wide {
  grid-column: 1 / -1;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid rgba(255, 228, 168, 0.15);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.38);
}

.auth-mode-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.auth-mode-tabs button.active {
  background: linear-gradient(180deg, rgba(241, 226, 184, 0.96), rgba(216, 188, 132, 0.86));
  color: #17120b;
  font-weight: 700;
}

.registration-fields span {
  color: var(--muted);
  font-size: 12px;
}

.registration-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 228, 168, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 25% 0%, rgba(255, 228, 168, 0.08), transparent 42%),
    rgba(5, 9, 17, 0.42);
  color: var(--text);
}

.profile-entry-panel .primary-button {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
}

.profile-layout,
.profile-main-column,
.profile-side-column,
.checkout-layout,
.checkout-main-column,
.checkout-side-column,
.result-layout,
.result-main-column,
.result-side-column {
  display: grid;
  gap: 14px;
  align-items: start;
}

.profile-layout,
.checkout-layout,
.result-layout {
  margin-top: 16px;
}

.profile-main-column .profile-card,
.profile-main-column .dashboard-grid,
.profile-main-column .content-panel,
.profile-side-column .growth-panel,
.profile-side-column .referral-boost,
.checkout-main-column .order-card,
.checkout-main-column .content-panel,
.checkout-side-column .total-panel,
.checkout-side-column .pay-method,
.checkout-side-column .check-row,
.checkout-side-column .primary-button,
.checkout-side-column .fineprint,
.result-main-column .result-visual,
.result-main-column .result-panel,
.result-main-column .insight-grid,
.result-side-column .result-vault,
.result-side-column .mystic-nudge,
.result-side-column .dual-actions,
.result-side-column .wide-panel-button {
  margin-top: 0;
}

.checkout-side-column {
  position: sticky;
  top: 98px;
}

.profile-card button {
  grid-column: 1 / -1;
}

.client-profile-card {
  grid-template-columns: 78px minmax(0, 1fr) minmax(152px, auto);
  gap: 16px;
  min-height: 146px;
  padding: 20px;
}

.client-profile-card .profile-actions {
  grid-column: auto;
  align-self: stretch;
  align-content: center;
}

.client-profile-card button {
  grid-column: auto;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.profile-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(216, 188, 132, 0.22);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 12px;
  line-height: 1;
  background: rgba(5, 9, 17, 0.42);
}

.profile-actions,
.dual-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.screen[data-screen="profile"] .client-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.referral-wallet-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.referral-wallet-panel .dual-actions {
  grid-template-columns: 1fr;
}

.referral-wallet-panel .wallet-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-ref-link-row code {
  font-size: 14px;
}

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

.wallet-grid span,
.admin-form-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 228, 168, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(5, 9, 17, 0.35);
}

.wallet-grid small,
.admin-form-grid span {
  color: var(--muted);
  font-size: 12px;
}

.wallet-grid strong,
.admin-form-grid strong {
  color: var(--gold-soft);
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap;
  min-width: 0;
  overflow-wrap: anywhere;
}

.access-list,
.data-table {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.access-list p,
.data-table p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 228, 168, 0.10);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.28);
}

.access-list span,
.data-table span {
  min-width: 0;
  color: var(--muted);
}

.access-list strong,
.data-table strong {
  color: var(--gold-soft);
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}

.partner-link-panel {
  display: grid;
  gap: 12px;
}

.partner-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.growth-panel {
  position: relative;
  margin-top: 0;
  padding: 20px;
  overflow: hidden;
}

.growth-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 228, 168, 0.07);
  border-radius: 6px;
  pointer-events: none;
}

.growth-panel-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.growth-panel-head strong {
  color: var(--gold-soft);
  font-size: 32px;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.growth-chart {
  position: relative;
  z-index: 1;
  height: 148px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  align-items: end;
  margin: 18px 0 14px;
  padding: 14px;
  border: 1px solid rgba(255, 228, 168, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 100% 33.333%,
    radial-gradient(circle at 70% 12%, rgba(125, 166, 217, 0.10), transparent 28%),
    rgba(5, 9, 17, 0.42);
}

.growth-chart span {
  height: var(--height);
  min-height: 18px;
  border: 1px solid rgba(255, 238, 190, 0.55);
  border-radius: 8px 8px 3px 3px;
  background:
    linear-gradient(180deg, rgba(241, 226, 184, 0.94), rgba(216, 188, 132, 0.74) 52%, rgba(93, 74, 134, 0.46));
  box-shadow: 0 0 20px rgba(216, 188, 132, 0.13);
}

.growth-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.growth-lines p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 0;
  color: var(--muted);
}

.growth-lines strong {
  color: var(--gold-soft);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.reward-line {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--gold-soft);
  font-size: 13px;
}

.avatar-orbit {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 124, 232, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(155, 124, 232, 0.28);
}

.avatar-orbit span {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.dashboard-grid {
  margin-top: 12px;
}

.screen[data-screen="profile"] .dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen[data-screen="profile"] .client-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.stat-card {
  min-height: 118px;
  padding: 16px;
  text-align: center;
}

.partner-stats .stat-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 48px 34px 30px;
  align-items: center;
  justify-items: center;
  padding: 14px 10px 12px;
  overflow: visible;
}

.stat-card strong {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  word-break: normal;
  overflow-wrap: normal;
}

.partner-stats .stat-card strong {
  max-width: 100%;
  font-size: clamp(19px, 4.8vw, 26px);
}

.client-stats .stat-card strong {
  max-width: 100%;
  font-size: clamp(21px, 2.15vw, 26px);
}

.stat-card p {
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.partner-stats .stat-card p {
  align-self: start;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.18;
}

.history-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.history-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255, 228, 168, 0.10);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.28);
}

.history-item > strong {
  color: var(--gold-soft);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.history-item span {
  color: var(--muted);
  font-size: 13px;
}

.lead {
  margin-bottom: 0;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gold-soft);
  white-space: nowrap;
}

.partner-link-panel,
.partner-grid > .content-panel,
.referral-wallet-panel,
.client-access-panel,
.purchase-history-panel {
  min-width: 0;
}

.steps {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px 12px;
  align-items: center;
  margin-top: 12px;
}

.steps span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-soft);
}

.steps p {
  margin: 0;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.admin-list span {
  color: var(--gold-soft);
  text-align: right;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.admin-sidebar {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.admin-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 228, 168, 0.12);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.38);
  color: var(--muted);
  text-align: left;
}

.admin-tab.active {
  border-color: rgba(255, 228, 168, 0.48);
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 18% 0%, rgba(241, 226, 184, 0.14), transparent 48%),
    rgba(255, 255, 255, 0.055);
}

.admin-tab span {
  min-width: 0;
}

.admin-tab strong {
  color: var(--gold-soft);
  font-size: 12px;
  white-space: nowrap;
}

.admin-main {
  display: grid;
  gap: 12px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}

.admin-toolbar strong {
  color: var(--gold-soft);
}

.admin-toolbar p,
.admin-editor-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-toolbar-actions a {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.secondary-button.danger {
  border-color: rgba(232, 166, 166, 0.48);
  color: var(--danger);
}

.admin-notice {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(157, 216, 184, 0.26);
  border-radius: 8px;
  color: var(--ok);
  background: rgba(32, 76, 57, 0.18);
}

.panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.admin-edit-form {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.admin-edit-form h4 {
  margin: 10px 0 0;
  color: var(--gold-soft);
}

.admin-form-grid label,
.admin-field,
.admin-lang-grid label,
.admin-text-row label,
.admin-promo-card label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-form-grid .wide,
.admin-field.wide {
  grid-column: 1 / -1;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-lang-grid input,
.admin-lang-grid textarea,
.admin-lang-grid select,
.admin-text-row textarea,
.admin-promo-card input,
.admin-promo-card select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(125, 166, 217, 0.20);
  border-radius: 8px;
  outline: 0;
  padding: 10px 11px;
  background: rgba(3, 6, 14, 0.70);
  color: var(--text);
  font: inherit;
}

.admin-form-grid input[type="checkbox"],
.admin-promo-card input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

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

.admin-lang-grid fieldset,
.admin-promo-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 228, 168, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(125, 166, 217, 0.10), transparent 42%),
    rgba(5, 9, 17, 0.34);
}

.admin-lang-grid legend,
.admin-promo-card legend {
  padding: 0 7px;
  color: var(--gold-soft);
  font-weight: 700;
}

.admin-text-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-text-list.compact {
  margin-top: 0;
}

.admin-text-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 228, 168, 0.10);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.28);
}

.admin-text-row strong {
  color: var(--gold-soft);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-text-row span,
.admin-promo-card span,
.admin-field span {
  color: var(--muted);
  font-size: 12px;
}

.admin-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-order-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-users-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-user-card {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(170px, 1fr) minmax(130px, 0.8fr) minmax(110px, 0.7fr) minmax(110px, 0.7fr);
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 228, 168, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 228, 168, 0.08), transparent 36%),
    rgba(5, 9, 17, 0.35);
}

.admin-user-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-user-card strong {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
}

.admin-user-card small {
  color: var(--muted);
  font-size: 11px;
}

.admin-user-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-empty-state {
  margin: 0;
  color: var(--muted);
}

.admin-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-preview-table {
  margin-top: 16px;
}

.admin-locked-panel,
.admin-login-panel {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 18px auto 0;
}

.admin-locked-panel .primary-button {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-width: 180px;
  text-decoration: none;
}

.admin-login-shell {
  min-height: 100vh;
}

.admin-login-frame {
  min-height: min(760px, calc(100vh - 36px));
}

.compact-admin-hero {
  min-height: 260px;
  padding-bottom: 28px;
}

.admin-login-form {
  display: grid;
  gap: 13px;
}

.admin-login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.admin-login-form input {
  min-height: 46px;
  border: 1px solid rgba(125, 166, 217, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(3, 6, 14, 0.72);
  color: var(--text);
  font: inherit;
}

.admin-login-error {
  margin: 0;
  color: var(--danger);
}

.result-builder {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.result-builder span {
  position: relative;
  padding: 9px 12px;
  border: 1px solid rgba(125, 166, 217, 0.24);
  border-radius: 999px;
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 20% 0%, rgba(125, 166, 217, 0.18), transparent 46%),
    rgba(5, 9, 17, 0.42);
}

.result-builder span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 1px;
  height: 14px;
  background: linear-gradient(var(--gold), transparent);
  opacity: 0.4;
  animation: liquidRise 5s ease-in-out infinite;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(860px, calc(100% - 40px));
  min-height: 76px;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 228, 168, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 228, 168, 0.18), transparent 34%),
    radial-gradient(circle at 78% 0%, rgba(120, 200, 202, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(18, 27, 43, 0.72), rgba(5, 8, 15, 0.52));
  backdrop-filter: blur(24px) saturate(1.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 20px 48px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(231, 191, 103, 0.08);
}

.bottom-nav button {
  display: grid;
  grid-template-rows: 26px 28px;
  place-items: center;
  gap: 5px;
  position: relative;
  z-index: 1;
  min-height: 60px;
  min-width: 0;
  padding: 4px 2px;
  border-radius: 8px;
  color: var(--muted);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.bottom-nav button.active {
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 228, 168, 0.17), transparent 52%),
    rgba(255, 255, 255, 0.045);
}

.bottom-nav button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-icon {
  width: 25px;
  height: 25px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.92;
}

.bottom-nav small {
  display: grid;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.12;
  text-align: center;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

@keyframes starDrift {
  from {
    background-position: 0 0, 42px 28px;
  }
  to {
    background-position: 118px 132px, 215px 177px;
  }
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.16;
    filter: brightness(0.82);
  }
  45% {
    opacity: 0.31;
    filter: brightness(1.28);
  }
  62% {
    opacity: 0.22;
    filter: brightness(1);
  }
}

@keyframes nearStarTwinkle {
  0% {
    opacity: 0.18;
    transform: translateY(0) scale(1);
  }
  35% {
    opacity: 0.54;
    transform: translateY(-2px) scale(1.01);
  }
  72% {
    opacity: 0.28;
    transform: translateY(1px) scale(0.998);
  }
  100% {
    opacity: 0.48;
    transform: translateY(-1px) scale(1.004);
  }
}

@keyframes starFieldDrift {
  from {
    background-position: 12% 18%, 74% 26%, 48% 72%;
  }
  to {
    background-position: calc(12% + 180px) calc(18% + 260px), calc(74% - 150px) calc(26% + 300px), calc(48% + 120px) calc(72% + 220px);
  }
}

@keyframes starFieldRise {
  from {
    background-position: 40px 90px, 180px 20px, 90px 260px;
  }
  to {
    background-position: 40px -430px, 180px -590px, 90px -500px;
  }
}

@keyframes starPulseSlow {
  0%,
  100% {
    opacity: 0.16;
  }
  45% {
    opacity: 0.3;
  }
  70% {
    opacity: 0.22;
  }
}

@keyframes shootingStar {
  0%,
  70% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-22deg);
  }
  74% {
    opacity: 0.9;
  }
  86% {
    opacity: 0.18;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(100vw + 520px), 330px, 0) rotate(-22deg);
  }
}

@keyframes moonFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.56;
  }
  50% {
    opacity: 0.92;
  }
}

@keyframes liquidSheen {
  0%,
  100% {
    opacity: 0.52;
    transform: translateX(-1.5%);
  }
  50% {
    opacity: 0.9;
    transform: translateX(1.5%);
  }
}

@keyframes moduleImageDrift {
  0% {
    filter: brightness(0.92) saturate(1.02);
  }
  100% {
    filter: brightness(1.04) saturate(1.08);
  }
}

@keyframes cardSheen {
  from {
    transform: translateX(-42%);
  }
  to {
    transform: translateX(42%);
  }
}

@keyframes iconGlowPulse {
  from {
    box-shadow:
      inset 0 0 0 8px rgba(255, 228, 168, 0.025),
      0 0 24px rgba(233, 191, 103, 0.08);
  }
  to {
    box-shadow:
      inset 0 0 0 8px rgba(255, 228, 168, 0.045),
      0 0 34px rgba(233, 191, 103, 0.18);
  }
}

@keyframes langParticle {
  0%,
  100% {
    opacity: 0.12;
    transform: translateY(0);
  }
  45% {
    opacity: 0.72;
    transform: translateY(-3px);
  }
}

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

@media (min-width: 900px) {
  .topbar {
    width: min(1180px, calc(100% - 80px));
    min-height: 74px;
    grid-template-columns: 56px auto minmax(560px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 18px;
  }

  .topbar .brand-title {
    grid-column: 2;
    justify-self: start;
    font-size: 17px;
    letter-spacing: 7px;
  }

  .topbar .brand-mark {
    grid-column: 1;
  }

  .topbar .back-button {
    position: absolute;
    left: 18px;
  }

  .has-back .topbar .brand-mark {
    opacity: 0;
    pointer-events: none;
  }

  .topbar .lang-switch {
    grid-column: 4;
  }

  .bottom-nav {
    z-index: 80;
    left: 50%;
    top: 11px;
    bottom: auto;
    width: min(620px, calc(100% - 470px));
    min-height: 58px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transform: translateX(-50%);
  }

  .bottom-nav::before,
  .bottom-nav::after {
    display: none;
  }

  .bottom-nav button {
    grid-template-rows: 24px 20px;
    min-height: 58px;
    padding: 5px 6px;
    border-radius: 8px;
    background: transparent;
  }

  .bottom-nav button.active {
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 228, 168, 0.18), transparent 58%),
      rgba(255, 255, 255, 0.07);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 8px 24px rgba(0, 0, 0, 0.16);
  }

  .bottom-nav small {
    min-height: 20px;
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .screen {
    padding-top: 92px;
  }

  .screen[data-screen="home"].active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .screen[data-screen="home"] .hero {
    grid-column: 1 / -1;
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 34px;
    align-items: center;
    text-align: left;
    padding-top: 24px;
  }

  .screen[data-screen="home"] h1 {
    font-size: clamp(48px, 5.2vw, 66px);
  }

  .screen[data-screen="home"] .moon-visual {
    height: 280px;
  }

  .screen[data-screen="home"] .hero .eyebrow,
  .screen[data-screen="home"] .hero h1,
  .screen[data-screen="home"] .hero p {
    grid-column: 1;
  }

  .screen[data-screen="home"] .moon-visual {
    grid-column: 2;
    grid-row: 1 / span 4;
    width: 100%;
  }

  .screen[data-screen="home"] .value-grid {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .screen[data-screen="home"] .home-modules-block {
    grid-column: 1 / -1;
  }

  .screen[data-screen="home"] .home-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 360px));
    justify-content: center;
    gap: 16px;
  }

  .screen[data-screen="home"] .value-grid .mini-card {
    min-height: 208px;
    display: grid;
    align-content: center;
    justify-items: start;
    padding: 24px 22px;
  }

  .screen[data-screen="home"] .home-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 16px;
    align-items: stretch;
    margin-top: 0;
  }

  .screen[data-screen="home"] .video-tile {
    min-height: 154px;
  }

  .screen[data-screen="home"] .cta-stack {
    align-content: stretch;
  }

  .screen[data-screen="product"].active,
  .screen[data-screen="favorites"].active,
  .screen[data-screen="result"].active,
  .screen[data-screen="profile"].active,
  .screen[data-screen="support"].active,
  .screen[data-screen="partner"].active,
  .screen[data-screen="admin"].active {
    max-width: 980px;
  }

  .screen[data-screen="catalog"].active {
    max-width: 1180px;
  }

  .screen[data-screen="admin"].active {
    max-width: 1180px;
  }

  .screen[data-screen="favorites"].active {
    display: block;
  }

  .screen[data-screen="catalog"] .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 360px));
    justify-content: center;
    gap: 16px;
  }

  .screen[data-screen="catalog"] .catalog-grid.single-result {
    grid-template-columns: minmax(340px, 360px);
  }

  .screen[data-screen="catalog"] .product-card {
    display: block;
    min-height: 360px;
    padding: 18px;
  }

  .screen[data-screen="catalog"] .product-card-media {
    aspect-ratio: 1.55;
    min-height: 0;
    margin-bottom: 16px;
  }

  .screen[data-screen="catalog"] .product-card-top {
    justify-content: space-between;
    min-height: 58px;
    margin-bottom: 14px;
  }

  .screen[data-screen="catalog"] .product-card-icon {
    position: relative;
    left: auto;
    bottom: auto;
    width: 62px;
    height: 62px;
    backdrop-filter: blur(10px);
  }

  .screen[data-screen="catalog"] .product-card h3 {
    min-height: 72px;
    font-size: clamp(26px, 2vw, 32px);
    line-height: 1.02;
  }

  .screen[data-screen="catalog"] .product-card p {
    min-height: 56px;
    font-size: 17px;
  }

  .screen[data-screen="catalog"] .product-card footer {
    margin-top: 14px;
  }

  .screen[data-screen="catalog"] .section-head {
    display: block;
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
  }

  .screen[data-screen="catalog"] .section-head::after {
    display: none;
  }

  .screen[data-screen="product"].active {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 14px;
    align-items: start;
  }

  .screen[data-screen="product"] .product-hero {
    grid-column: 1 / -1;
  }

  .screen[data-screen="product"] .review-panel {
    grid-column: 1 / -1;
  }

  .screen[data-screen="result"].active {
    max-width: 1040px;
  }

  .result-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
  }

  .result-main-column,
  .result-side-column {
    gap: 16px;
  }

  .result-side-column {
    position: sticky;
    top: 98px;
  }

  .result-main-column .insight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .result-main-column .insight-grid .mini-card {
    min-height: 0;
  }

  .screen[data-screen="profile"].active,
  .screen[data-screen="partner"].active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 14px;
    align-items: start;
  }

  .screen[data-screen="profile"] h2,
  .screen[data-screen="profile"] .lead,
  .screen[data-screen="profile"] .profile-entry-panel,
  .screen[data-screen="profile"] .profile-layout,
  .screen[data-screen="partner"] h2,
  .screen[data-screen="partner"] .lead {
    grid-column: 1 / -1;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 16px;
    align-items: start;
  }

  .profile-main-column,
  .profile-side-column {
    gap: 16px;
  }

  .screen[data-screen="checkout"].active {
    max-width: 1040px;
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
  }
}

@media (max-width: 899px) {
  body::before,
  .page-shell::before,
  .page-shell::after,
  .product-card-media img {
    animation: none;
  }

  .shooting-star {
    display: none;
  }

  .mini-card,
  .content-panel,
  .review-panel,
  .order-card,
  .total-panel,
  .pay-method,
  .profile-card,
  .stat-card,
  .favorite-card,
  .result-card,
  .growth-panel,
  .video-tile,
  .product-hero,
  .wide-panel-button,
  .admin-list article,
  .home-promo-panel,
  .home-module-strip button,
  .product-card {
    animation: none;
    backdrop-filter: none;
  }

  .page-shell {
    padding: 0;
  }

  .phone-frame {
    width: 100%;
  }

  .topbar,
  .screen {
    width: min(100%, 430px);
  }

  .screen {
    padding: 14px 20px 156px;
  }

  .topbar {
    grid-template-columns: 42px 1fr auto;
    gap: 8px;
    padding: 14px 12px 10px;
  }

  .topbar .brand-title {
    min-height: 42px;
    align-content: center;
    padding: 4px 0;
  }

  .screen[data-screen="profile"].active,
  .screen[data-screen="partner"].active {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .profile-layout,
  .profile-main-column,
  .profile-side-column,
  .checkout-layout,
  .checkout-main-column,
  .checkout-side-column,
  .result-layout,
  .result-main-column,
  .result-side-column {
    display: contents;
  }

  .checkout-side-column,
  .result-side-column {
    position: static;
  }

  .screen[data-screen="checkout"].active,
  .screen[data-screen="result"].active {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .screen[data-screen="result"] .insight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .client-profile-card,
  .profile-actions,
  .screen[data-screen="profile"] .client-stats,
  .wallet-grid,
  .partner-grid,
  .admin-summary,
  .admin-workspace,
  .admin-grid,
  .admin-toolbar,
  .admin-form-grid,
  .admin-lang-grid,
  .admin-promo-grid,
  .admin-order-list,
  .admin-user-card,
  .panel-head {
    grid-template-columns: 1fr;
  }

  .profile-entry-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .profile-entry-panel h3 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .client-profile-card {
    gap: 14px;
    padding: 18px;
  }

  .client-profile-card .profile-actions {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .admin-toolbar-actions {
    justify-content: stretch;
  }

  .admin-toolbar-actions > * {
    width: 100%;
  }

  .admin-text-row {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-tab {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .access-list p,
  .data-table p {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .access-list strong,
  .data-table strong {
    text-align: left;
    white-space: normal;
  }

  .copy-row {
    grid-template-columns: 1fr;
  }

  .copy-row code {
    min-width: 0;
    line-height: 1.32;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .copy-row .compact {
    width: 100%;
  }

  .referral-wallet-panel .wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid input,
  .registration-fields input {
    min-height: 38px;
  }

  .wallet-grid strong,
  .admin-form-grid strong {
    white-space: normal;
  }

  .screen[data-screen="home"] .value-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .screen[data-screen="home"] .value-grid .mini-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: start;
    min-height: 0;
    padding: 16px;
    gap: 6px 12px;
  }

  .screen[data-screen="home"] .value-grid .mini-card .inline-astro-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .screen[data-screen="home"] .value-grid .mini-card strong {
    font-size: clamp(24px, 7vw, 30px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .screen[data-screen="home"] .value-grid .mini-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.42;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .screen[data-screen="profile"] .profile-card {
    order: 1;
  }

  .screen[data-screen="profile"] .growth-panel {
    order: 2;
  }

  .screen[data-screen="profile"] .dashboard-grid {
    order: 3;
  }

  .screen[data-screen="profile"] .referral-wallet-panel {
    order: 4;
  }

  .screen[data-screen="profile"] .referral-boost {
    order: 5;
  }

  .screen[data-screen="profile"] .client-access-panel {
    order: 6;
  }

  .screen[data-screen="profile"] .purchase-history-panel {
    order: 7;
  }

  .topbar .brand-mark {
    display: none;
  }

  .hero {
    padding-top: 20px;
    text-align: center;
  }

  .desktop-home-only {
    display: none;
  }

  .mobile-home-only {
    display: block;
  }

  .hero-kicker {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.35;
  }

  .hero-offer {
    max-width: 360px;
    margin: 10px auto 0;
    color: var(--text);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.18;
  }

  h1 {
    font-size: clamp(34px, 9vw, 44px);
    font-weight: 500;
  }

  h2 {
    font-size: 34px;
  }

  .moon-visual {
    height: 250px;
  }

  .moon {
    width: 118px;
    height: 118px;
  }

  .chips {
    justify-content: flex-start;
    gap: 0;
    padding: 12px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 4px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .chip {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .moon::after {
    top: 8px;
    bottom: 8px;
    width: 1px;
    height: auto;
    right: auto;
  }

  .hero-sigil {
    inset: 12px;
  }

  .orbit-one {
    width: 245px;
    height: 118px;
  }

  .orbit-two {
    width: 306px;
    height: 148px;
  }

  .home-promo-panel {
    display: flex;
    margin: 0 0 12px;
  }

  .home-promo-panel .primary-button {
    min-width: 118px;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .home-module-strip {
    display: grid;
    margin: 0 0 12px;
  }

  .home-modules-block {
    margin: 0 0 12px;
    gap: 10px;
  }

  .home-video-actions .video-tile {
    width: 138px;
    height: 138px;
    min-height: 138px;
    margin: 0 auto;
    border-radius: 50%;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
  }

  .home-video-actions .video-tile .play {
    margin: 0;
  }

  .home-video-actions .video-tile span:not(.play) {
    display: none;
  }

  .screen[data-screen="catalog"] .catalog-grid,
  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .screen[data-screen="catalog"] .catalog-grid.single-result,
  .home-products-grid.single-result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen[data-screen="catalog"] .product-card,
  .home-products-grid .product-card {
    min-height: 0;
    padding: 10px;
  }

  .screen[data-screen="catalog"] .product-card-media,
  .home-products-grid .product-card-media {
    aspect-ratio: 1.12;
    margin-bottom: 9px;
    border-radius: 7px;
  }

  .screen[data-screen="catalog"] .product-card-top,
  .home-products-grid .product-card-top {
    min-height: 44px;
    gap: 6px;
    margin-bottom: 8px;
  }

  .screen[data-screen="catalog"] .product-card-icon,
  .home-products-grid .product-card-icon {
    width: 42px;
    height: 42px;
  }

  .screen[data-screen="catalog"] .product-card-icon .astro-symbol,
  .home-products-grid .product-card-icon .astro-symbol {
    width: 30px;
    height: 30px;
  }

  .screen[data-screen="catalog"] .product-card h3,
  .home-products-grid .product-card h3 {
    min-height: 0;
    font-size: clamp(19px, 5vw, 23px);
    line-height: 1.03;
  }

  .screen[data-screen="catalog"] .product-card p,
  .home-products-grid .product-card p {
    min-height: 0;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .screen[data-screen="catalog"] .product-card footer,
  .home-products-grid .product-card footer {
    align-items: center;
    margin-top: 9px;
  }

  .screen[data-screen="catalog"] .product-card .price,
  .home-products-grid .product-card .price {
    font-size: 19px;
    white-space: nowrap;
  }

  .support-workspace {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

.support-send-button {
    width: auto;
    min-width: 140px;
    max-width: 100%;
    width: fit-content;
  }

  .support-tickets-panel {
    grid-column: auto;
  }

  .support-ticket header {
    display: grid;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .favorites-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .favorite-card {
    min-height: 172px;
    grid-template-columns: 124px 1fr;
    grid-template-rows: auto;
    align-items: center;
  }

  .favorite-card-art img {
    min-height: 132px;
  }

  .favorite-card-copy strong {
    font-size: 24px;
  }

  .favorites-orbit {
    height: 150px;
  }

  .favorites-orbit .orbit-one {
    width: 250px;
    height: 96px;
  }

  .favorites-orbit .orbit-two {
    width: 310px;
    height: 122px;
  }

  .product-card {
    min-height: 0;
    padding: 14px;
  }

  .product-card-media {
    aspect-ratio: 1.45;
    margin-bottom: 12px;
  }

  .product-card h3 {
    min-height: auto;
    font-size: 26px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .product-summary {
    grid-template-rows: auto;
  }

  .product-summary .primary-button {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    margin-top: 18px;
  }

  .product-art-large {
    min-height: 330px;
  }

  .product-art-large img {
    min-height: 330px;
  }

  .product-symbol {
    width: 104px;
    height: 104px;
  }

  .content-panel,
  .review-panel {
    padding: 18px;
  }

  .result-visual {
    height: 238px;
  }

  .astro-card {
    width: 112px;
    height: 176px;
  }

  .main-card {
    width: 126px;
    height: 196px;
  }

  .bottom-nav {
    width: min(100%, 430px);
    min-height: 58px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 4px 4px;
    gap: 2px;
    border: 1px solid rgba(255, 228, 168, 0.22);
    border-radius: 8px;
    overflow: visible;
  }

  .bottom-nav button,
  .bottom-nav button[data-route="result"] {
    grid-template-rows: 16px 18px;
    align-content: center;
    gap: 1px;
    min-height: 48px;
    padding: 2px 1px;
  }

  .bottom-nav small {
    max-width: 86px;
    min-height: 20px;
    overflow: visible;
    font-size: 9.5px;
    line-height: 1.08;
    text-overflow: clip;
    white-space: normal;
  }

  .nav-icon {
    width: 22px;
    height: 22px;
  }

  .dashboard-grid.three {
    gap: 8px;
  }

  .dashboard-grid.three .stat-card {
    min-height: 104px;
    padding: 14px 8px;
  }

  .partner-stats .stat-card {
    min-height: 116px;
    grid-template-rows: 46px 30px 28px;
    padding: 12px 7px 10px;
  }

  .dashboard-grid.three .stat-card strong {
    font-size: 21px;
  }

  .dashboard-grid.three.partner-stats .stat-card strong {
    font-size: clamp(17px, 4.45vw, 21px);
  }

  .dashboard-grid.three .stat-card p {
    font-size: 12px;
    line-height: 1.25;
  }

  .dashboard-grid.three.partner-stats .inline-astro-icon.small {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
  }

  .dashboard-grid.three.partner-stats .inline-astro-icon.small .astro-symbol {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 390px) {
  .screen {
    padding-inline: 14px;
  }

  .bottom-nav small {
    font-size: 9.5px;
  }

  .favorite-card {
    grid-template-columns: 108px 1fr;
    padding: 11px;
  }

  .favorite-card-copy strong {
    font-size: 24px;
  }

  .topbar {
    grid-template-columns: 38px 1fr auto;
  }

  .brand-title {
    font-size: 15px;
    letter-spacing: 6px;
  }

  .lang-switch,
  .lang-toggle {
    width: 86px;
  }

  .lang-toggle-checkbox:checked + .lang-toggle .lang-toggle-thumb {
    left: 48px;
  }

  .lang-toggle-ru {
    left: 9px;
  }

  .lang-toggle-en {
    right: 9px;
  }

  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-grid .mini-card:nth-child(3) {
    grid-column: auto;
  }

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

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

  .product-symbol {
    margin: 0 auto;
  }

  .copy-row,
  .promo-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .screen[data-screen="legal"] {
    padding-bottom: 128px;
  }

  .legal-document {
    padding: 16px;
  }

  .legal-doc-tabs {
    gap: 7px;
    justify-content: stretch;
  }

  .legal-doc-tabs button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .legal-document-head {
    gap: 6px;
    padding-bottom: 12px;
  }

  .legal-document-head h3 {
    font-size: 23px;
  }

  .legal-section {
    margin-top: 16px;
  }

  .legal-section h4 {
    font-size: 15px;
  }

  .legal-section p {
    font-size: 13px;
    line-height: 1.5;
  }

  .registration-consent {
    margin: 12px 0;
    padding: 12px;
  }

  .legal-consent-links {
    gap: 6px;
  }

  .legal-consent-links button {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .cookie-banner {
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(82px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(430px, calc(100% - 20px));
    padding: 11px;
    transform: translateX(-50%);
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: 7px;
  }

  .cookie-actions button {
    width: 100%;
    min-height: 36px;
    padding: 0 8px;
  }

  .cookie-actions button[data-action="cookieSettings"] {
    grid-column: auto;
    min-height: 36px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    box-shadow: none;
  }

  .checkout-side-column .check-row {
    align-items: start;
    gap: 8px;
    font-size: 13px;
  }

  .checkout-side-column .check-row input {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 390px) {
  .cookie-banner {
    width: calc(100% - 16px);
    padding: 10px;
  }

  .cookie-banner strong {
    font-size: 12px;
  }

  .cookie-banner p {
    font-size: 11px;
  }

  .cookie-actions {
    gap: 6px;
  }

  .cookie-actions .compact {
    font-size: 11px;
  }
}
