/* =========================================================
   Фаза — cinema pass
   Maximal polish: atmosphere, type, motion, surfaces
   Light on CPU — CSS only, no extra particle systems
   ========================================================= */

:root {
  --cinema-rise: cubic-bezier(0.22, 1, 0.36, 1);
  --cinema-spring: cubic-bezier(0.34, 1.5, 0.64, 1);
  --cinema-glow: color-mix(in srgb, var(--lime) 35%, transparent);
  --font-body: "Manrope", system-ui, sans-serif;
}

/* landing: freeze page scroll — one screen, no rubber-band */
html.is-noscroll,
body.is-noscroll {
  overflow: hidden !important;
  height: 100%;
  overscroll-behavior: none;
  touch-action: manipulation;
}

#view-landing.is-active {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#view-landing.is-active .hero {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  max-height: none;
}

/* full-viewport orbit plane — core sits in the middle of the site */
#view-landing.is-active .hero-visual {
  position: fixed !important;
  inset: 0 !important;
  height: 100% !important;
  width: 100% !important;
  z-index: 0;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  overflow: visible;
  pointer-events: none;
}

#view-landing.is-active .top,
#view-landing.is-active .hero-copy {
  position: relative;
  z-index: 2;
}

/* —— shared shell insets: welcome + landing use the SAME air —— */
:root {
  --shell-pad-x: clamp(1.75rem, 7vw, 4.5rem);
  --shell-pad-bottom: max(4rem, calc(env(safe-area-inset-bottom) + 1.25rem));
}

.welcome-wrap {
  padding-left: var(--shell-pad-x) !important;
  padding-right: var(--shell-pad-x) !important;
  padding-bottom: var(--shell-pad-bottom) !important;
  box-sizing: border-box;
}

/* landing: copy welcome air exactly — no smaller mobile override */
#view-landing.is-active .hero {
  padding-left: var(--shell-pad-x) !important;
  padding-right: var(--shell-pad-x) !important;
  padding-bottom: var(--shell-pad-bottom) !important;
  box-sizing: border-box;
}

#view-landing.is-active .top {
  padding-left: var(--shell-pad-x) !important;
  padding-right: max(11.5rem, calc(env(safe-area-inset-right) + 10.8rem)) !important;
  box-sizing: border-box;
}

#view-landing.is-active .hero-copy {
  width: 100%;
  max-width: min(44rem, 100%);
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  align-items: stretch;
}

#view-landing.is-active .relation-actions {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 0.65rem;
  margin-top: 1rem;
}

#view-landing.is-active .relation-actions .btn.btn-relation {
  min-width: 0;
  box-sizing: border-box;
}

#view-landing.is-active .btn-probe {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 1.15rem;
}

/* «Выбрано» — full width of the content column */
#view-landing.is-active .relation-continue {
  width: 100%;
  max-width: 100%;
  margin-top: 1.25rem;
  margin-bottom: 0;
  box-sizing: border-box;
  align-self: stretch;
}

#view-landing.is-active .relation-continue .btn-wide {
  width: 100%;
  margin-top: 0;
  min-height: 3.35rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

@media (max-width: 820px) {
  #view-landing.is-active .top {
    padding-right: max(10.5rem, calc(env(safe-area-inset-right) + 9.5rem)) !important;
  }
}

#view-landing.is-active .orbit-stage {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  transform: scale(1.02);
  transform-origin: center center !important;
}

/* —— soft seamless background (no hard bands / cuts) —— */
body {
  position: relative;
  background:
    radial-gradient(900px 560px at 12% -5%, var(--bg-spot-1), transparent 58%),
    radial-gradient(820px 520px at 92% 8%, var(--bg-spot-2), transparent 55%),
    radial-gradient(720px 480px at 70% 95%, var(--bg-spot-3), transparent 58%),
    radial-gradient(520px 400px at 8% 78%, var(--bg-spot-4), transparent 60%),
    var(--bg-base-2);
  transition:
    background 0.85s var(--cinema-rise),
    color 0.5s ease;
}

/* Atmosphere + particles scroll with the page (not stuck to viewport) */
body::before,
body::after,
.aurora,
.alive-motes,
.mood-deco {
  position: absolute !important;
}

/* Full document height — mesh/grid travel with body background */
body::before {
  inset: 0;
  width: auto;
  height: auto;
  min-height: 100%;
}

body::after {
  top: -25%;
  right: -25%;
  bottom: -25%;
  left: -25%;
  width: auto;
  height: auto;
}

/* Viewport-tall layer at page top — % placement stays correct, scrolls away */
.aurora,
.alive-motes,
.mood-deco {
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
}

/* stay under .view (z=3) so chips never cover buttons; placement keeps them off text */
.alive-motes,
.mood-deco {
  z-index: 1 !important;
  pointer-events: none;
}

.alive-motes i,
.mood-deco .mood-glyph {
  pointer-events: auto;
}

body::before {
  opacity: 0.22;
  animation: cinemaGridFloat 56s linear infinite;
  /* soft falloff — no hard grid cut */
  mask-image: radial-gradient(ellipse at 50% 40%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 8%, transparent 72%);
}

body::after {
  opacity: 0.7;
  animation: cinemaMeshBreathe 18s ease-in-out infinite alternate;
  filter: blur(72px);
}

@keyframes cinemaGridFloat {
  from { background-position: 0 0, 0 0; }
  to { background-position: 80px 48px, -64px 32px; }
}

@keyframes cinemaMeshBreathe {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.75; }
  to { transform: translate3d(2%, 1.5%, 0) scale(1.04); opacity: 1; }
}

.noise {
  opacity: 0.07;
}

.vignette {
  /* no horizontal band layers */
  background: radial-gradient(ellipse at 50% 42%, transparent 48%, rgba(3, 13, 11, 0.08) 100%);
}

.noise {
  opacity: 0.04;
}

.aurora-blob {
  animation-duration: 22s;
  filter: blur(90px);
}

.aurora-blob.b {
  opacity: 0.5;
  animation-duration: 28s;
}

.aurora-blob.c {
  opacity: 0.42;
  animation-duration: 32s;
}

.aurora-blob.d {
  opacity: 0.38;
  animation-duration: 26s;
}

/* —— theme atmosphere boost —— */
body.theme-couple {
  --cinema-glow: rgba(255, 90, 125, 0.35);
}

body.theme-friends {
  --cinema-glow: rgba(255, 176, 50, 0.38);
}

body.theme-family {
  --cinema-glow: rgba(80, 160, 255, 0.36);
}

/* —— view cinema entrance —— */
.view.is-active {
  animation: cinemaViewIn 0.65s var(--cinema-rise) both;
}

@keyframes cinemaViewIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.view.is-active .welcome-wrap > *,
.view.is-active .hero-copy > *,
.view.is-active .how-wrap > *:not(.alive-float-panel),
.view.is-active .modes-wrap > *,
.view.is-active .setup-wrap > *:not(form),
.view.is-active .quiz-stage > *,
.view.is-active .results-wrap > *,
.view.is-active .handoff-wrap > *,
.view.is-active .probe-result-wrap > * {
  animation: cinemaRise 0.7s var(--cinema-rise) both;
}

.view.is-active .welcome-wrap > *:nth-child(1),
.view.is-active .hero-copy > *:nth-child(1),
.view.is-active .modes-wrap > *:nth-child(1),
.view.is-active .quiz-stage > *:nth-child(1),
.view.is-active .results-wrap > *:nth-child(1) {
  animation-delay: 0.04s;
}
.view.is-active .welcome-wrap > *:nth-child(2),
.view.is-active .hero-copy > *:nth-child(2),
.view.is-active .modes-wrap > *:nth-child(2),
.view.is-active .quiz-stage > *:nth-child(2),
.view.is-active .results-wrap > *:nth-child(2) {
  animation-delay: 0.1s;
}
.view.is-active .welcome-wrap > *:nth-child(3),
.view.is-active .hero-copy > *:nth-child(3),
.view.is-active .modes-wrap > *:nth-child(3),
.view.is-active .quiz-stage > *:nth-child(3),
.view.is-active .results-wrap > *:nth-child(3) {
  animation-delay: 0.16s;
}
.view.is-active .welcome-wrap > *:nth-child(4),
.view.is-active .hero-copy > *:nth-child(4),
.view.is-active .modes-wrap > *:nth-child(4),
.view.is-active .quiz-stage > *:nth-child(4),
.view.is-active .results-wrap > *:nth-child(4) {
  animation-delay: 0.22s;
}
.view.is-active .welcome-wrap > *:nth-child(5),
.view.is-active .hero-copy > *:nth-child(5),
.view.is-active .modes-wrap > *:nth-child(5),
.view.is-active .results-wrap > *:nth-child(5) {
  animation-delay: 0.28s;
}
.view.is-active .welcome-wrap > *:nth-child(n + 6),
.view.is-active .hero-copy > *:nth-child(n + 6),
.view.is-active .results-wrap > *:nth-child(n + 6) {
  animation-delay: 0.34s;
}

@keyframes cinemaRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— chrome —— */
.top {
  /* keep original padding-right so invite-fab never covers «Как это работает» */
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  margin: 0;
  border-radius: 0;
}

.logo-word {
  letter-spacing: -0.05em;
  font-weight: 800;
}

.logo-mark {
  animation: cinemaLogoMark 4.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes cinemaLogoMark {
  0%,
  100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.05); }
}

.top-link,
.step-pill {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--teal) 16%, transparent);
  background: color-mix(in srgb, #fff 55%, transparent);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--cinema-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.top-link:hover,
.step-pill:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--teal) 35%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--teal) 12%, transparent);
}

/* —— brand —— */
.brand {
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.welcome-wrap .brand {
  animation: cinemaBrandIn 1s var(--cinema-spring) both;
}

@keyframes cinemaBrandIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
    letter-spacing: -0.12em;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.welcome-wrap h1,
.hero-copy h1 {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  line-height: 1.05;
  background: linear-gradient(
    120deg,
    var(--ink) 20%,
    color-mix(in srgb, var(--teal-deep) 70%, var(--ink)) 55%,
    var(--ink) 90%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 34rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink-soft) 92%, var(--teal));
}

/* —— welcome visual —— */
.welcome-visual {
  filter: drop-shadow(0 24px 48px color-mix(in srgb, var(--teal) 18%, transparent));
}

/* Center with inset+margin — NEVER via transform (pulse would wipe translate) */
.welcome-core {
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  inset: 0 !important;
  margin: auto !important;
  translate: none !important;
  transform: none;
  transform-origin: center center;
  animation: cinemaWelcomeCore 3.8s ease-in-out infinite;
}

@keyframes cinemaWelcomeCore {
  0%,
  100% { transform: scale(1); filter: brightness(1); }
  45% { transform: scale(1.06); filter: brightness(1.08); }
}

.welcome-ring {
  /* keep inset/margin centering; spin may use transform */
  inset: 0 !important;
  margin: auto !important;
  translate: none !important;
  transform-origin: center center;
}

.welcome-ring {
  animation-duration: 18s;
}

.welcome-waveband {
  opacity: 0.85;
  animation: cinemaWave 5.5s ease-in-out infinite;
}

@keyframes cinemaWave {
  0%,
  100% { transform: scaleX(1) translateY(0); opacity: 0.7; }
  50% { transform: scaleX(1.08) translateY(-4px); opacity: 1; }
}

/*
  Landing orbit — center via negative margin (immune to transform animations).
  Bug before: pulse used transform:scale and wiped translate(-50%,-50%),
  so the ball sat with its top-left on the hub while rings stayed centered.
*/
.orbit-stage {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  pointer-events: none;
  overflow: visible;
  transform: scale(1.02);
  transform-origin: center center !important;
}

.orbit-hub {
  position: relative !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.orbit-hub > .peak-halo-landing,
.orbit-hub > .light-rays,
.orbit-hub > .orbit-ring,
.orbit-hub > .wave,
.orbit-hub > .phase-dot,
.orbit-hub > .phase-core {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  inset: auto !important;
  translate: none !important;
  transform-origin: center center !important;
  /* half-size pull — works even when transform animates */
  margin: calc(var(--orbit-size) / -2) 0 0 calc(var(--orbit-size) / -2) !important;
  width: var(--orbit-size) !important;
  height: var(--orbit-size) !important;
}

.orbit-hub > .peak-halo-landing {
  --orbit-size: min(78vw, 640px);
  z-index: 0;
  opacity: 0.48;
  animation: cinemaHaloBreath 8s var(--ease) infinite alternate !important;
}

.orbit-hub > .light-rays {
  --orbit-size: min(90vw, 720px);
  z-index: 1;
  animation: cinemaOrbitSpin 50s linear infinite !important;
}

.orbit-hub > .orbit-ring.ring-1 {
  --orbit-size: min(78vw, 700px);
}

.orbit-hub > .orbit-ring.ring-2 {
  --orbit-size: min(58vw, 510px);
  animation: cinemaOrbitSpinRev 28s linear infinite !important;
}

.orbit-hub > .orbit-ring.ring-3 {
  --orbit-size: min(38vw, 330px);
  animation: cinemaOrbitSpin 18s linear infinite !important;
}

.orbit-hub > .orbit-ring.ring-4 {
  --orbit-size: min(22vw, 180px);
  animation: cinemaOrbitSpinRev 12s linear infinite !important;
}

.orbit-hub > .orbit-ring {
  z-index: 2;
  opacity: 0.9;
  animation: cinemaOrbitSpin 40s linear infinite !important;
}

.orbit-hub > .wave {
  display: none !important;
}

.orbit-hub > .phase-dot {
  --orbit-size: 20px;
  z-index: 4;
}

.orbit-hub > .phase-dot.dot-a {
  animation: cinemaDotA 9s var(--ease) infinite;
}

.orbit-hub > .phase-dot.dot-b {
  animation: cinemaDotB 9s var(--ease) infinite;
}

.orbit-hub > .phase-core {
  --orbit-size: min(50vw, 300px);
  z-index: 5;
  pointer-events: auto;
  filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--teal) 20%, transparent));
  animation: cinemaPulseCore 4.2s var(--ease) infinite !important;
}

.orbit-hub > .phase-core[data-shape="default"] {
  animation: cinemaPulseCore 4.2s var(--ease) infinite !important;
}

.orbit-hub > .phase-core .orbit-specks {
  left: 50% !important;
  top: 50% !important;
  margin: 0 !important;
  translate: -50% -50% !important;
}

@keyframes cinemaHaloBreath {
  from { transform: scale(1); opacity: 0.38; }
  to { transform: scale(1.05); opacity: 0.55; }
}

@keyframes cinemaOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cinemaOrbitSpinRev {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes cinemaDotA {
  0%,
  100% { transform: translate(-150px, -24px); }
  50% { transform: translate(130px, 34px); }
}

@keyframes cinemaDotB {
  0%,
  100% { transform: translate(150px, 28px); }
  50% { transform: translate(-120px, -32px); }
}

@keyframes cinemaPulseCore {
  0%,
  100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.08); opacity: 1; }
}

.peak-halo.peak-halo-landing {
  right: auto !important;
  top: auto !important;
}

/* —— chips & micro labels —— */
.alive-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.alive-chips li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font: 700 0.72rem/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: color-mix(in srgb, #fff 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 16%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--teal) 8%, transparent);
  animation: cinemaChipFloat 3.6s ease-in-out infinite;
}

.alive-chips li:nth-child(2) { animation-delay: -1.2s; }
.alive-chips li:nth-child(3) { animation-delay: -2.4s; }

@keyframes cinemaChipFloat {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.72rem;
  color: color-mix(in srgb, var(--teal) 70%, var(--ink-soft));
}

/* —— primary buttons —— */
.btn {
  border-radius: 1rem;
  letter-spacing: -0.02em;
  transition:
    transform 0.35s var(--cinema-spring),
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    filter 0.3s ease;
}

.btn-primary,
.btn-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--lime) 88%, #fff), var(--lime-soft) 45%, color-mix(in srgb, var(--teal) 35%, var(--lime)) 100%);
  color: var(--lime-ink);
  border: none;
  box-shadow:
    0 0 0 1px color-mix(in srgb, #fff 35%, transparent) inset,
    0 14px 36px color-mix(in srgb, var(--teal) 22%, transparent),
    0 0 40px color-mix(in srgb, var(--lime) 22%, transparent);
  font-weight: 800;
}

/* mode-card buttons: don't let global lime paint fight tier themes */
.mode-card .btn-primary {
  background: linear-gradient(150deg, #183028 0%, var(--ink) 48%, #04110e 100%);
  color: var(--lime);
  box-shadow: 0 12px 28px rgba(8, 21, 18, 0.22);
}

body.theme-couple .mode-card.is-pro .btn-primary,
body.theme-couple .mode-card[data-mode="paid"] .btn-primary {
  background: linear-gradient(145deg, #ff8fab, #ffb3c6) !important;
  color: #4a1024 !important;
}

body.theme-friends .mode-card.is-pro .btn-primary,
body.theme-friends .mode-card[data-mode="paid"] .btn-primary {
  background: linear-gradient(145deg, #ffe566, #ffd54a) !important;
  color: #3a2e00 !important;
}

body.theme-family .mode-card.is-pro .btn-primary,
body.theme-family .mode-card[data-mode="paid"] .btn-primary {
  background: linear-gradient(145deg, #93c5fd, #bfdbfe) !important;
  color: #0f2744 !important;
}

.btn-primary::before,
.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 66%
  );
  transform: translateX(-130%) skewX(-16deg);
  pointer-events: none;
}

.btn-primary:hover,
.btn-cta:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #fff 40%, transparent) inset,
    0 18px 42px color-mix(in srgb, var(--teal) 28%, transparent),
    0 0 52px color-mix(in srgb, var(--lime) 28%, transparent);
}

.btn-primary:hover::before,
.btn-cta:hover::before {
  animation: cinemaBtnShine 0.85s var(--cinema-rise) both;
}

.btn-primary:active,
.btn-cta:active {
  transform: translateY(0) scale(0.98);
}

@keyframes cinemaBtnShine {
  to { transform: translateX(130%) skewX(-16deg); }
}

.btn-ghost {
  background: color-mix(in srgb, #fff 42%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--teal) 18%, transparent);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--teal) 40%, transparent);
  background: color-mix(in srgb, #fff 62%, transparent);
}

/* —— probe —— */
.btn-probe {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--cinema-spring),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.4s ease;
}

.btn-probe:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--teal) 14%, transparent);
}

.btn-probe.is-tone-couple,
.btn-probe.is-tone-friends,
.btn-probe.is-tone-family {
  animation: cinemaProbeTone 2.8s ease-in-out infinite;
}

@keyframes cinemaProbeTone {
  0%,
  100% { filter: brightness(1); }
  50% { filter: brightness(1.06); }
}

/* —— how steps —— */
.how-steps li,
.how-num {
  transition: transform 0.4s var(--cinema-spring), box-shadow 0.35s ease;
}

.how-steps li {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32));
  border: 1px solid color-mix(in srgb, var(--teal) 12%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--teal) 8%, transparent);
}

.how-steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--teal) 14%, transparent);
}

.how-num {
  background: linear-gradient(145deg, var(--lime), color-mix(in srgb, var(--teal) 30%, var(--lime)));
  color: var(--lime-ink);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--lime) 35%, transparent);
}

/* —— mode cards —— */
.mode-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  isolation: isolate;
  /* keep tier backgrounds from elevate/theme — only soft depth here */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 16px 36px color-mix(in srgb, var(--teal) 10%, transparent);
  transition:
    transform 0.45s var(--cinema-spring),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    background 0.4s ease;
}

/* thin TOP accent only — never a bottom fog over buttons */
.mode-card::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 0;
  bottom: auto;
  width: auto;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--lime), transparent);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  transform: none !important;
}

.mode-card.is-mid::after,
.mode-card[data-mode="ads"]::after {
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.85;
}

.mode-card.is-pro::after,
.mode-card[data-mode="paid"]::after {
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.95;
}

body.theme-couple .mode-card.is-mid::after,
body.theme-couple .mode-card[data-mode="ads"]::after {
  background: linear-gradient(90deg, transparent, #ff3b5c, transparent);
}

body.theme-couple .mode-card.is-pro::after,
body.theme-couple .mode-card[data-mode="paid"]::after {
  background: linear-gradient(90deg, transparent, #ff8fab, transparent);
}

body.theme-friends .mode-card.is-mid::after,
body.theme-friends .mode-card[data-mode="ads"]::after {
  background: linear-gradient(90deg, transparent, #f97316, transparent);
}

body.theme-friends .mode-card.is-pro::after,
body.theme-friends .mode-card[data-mode="paid"]::after {
  background: linear-gradient(90deg, transparent, #ffe566, transparent);
}

body.theme-family .mode-card.is-mid::after,
body.theme-family .mode-card[data-mode="ads"]::after {
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

body.theme-family .mode-card.is-pro::after,
body.theme-family .mode-card[data-mode="paid"]::after {
  background: linear-gradient(90deg, transparent, #93c5fd, transparent);
}

.mode-card::before {
  z-index: 0;
  pointer-events: none;
}

.mode-card > * {
  position: relative;
  z-index: 1;
}

.mode-card .btn {
  margin-top: auto;
  z-index: 2;
  isolation: isolate;
}

.mode-card .btn > span {
  position: relative;
  z-index: 2;
}

/* keep shine behind label, never covering it */
.mode-card .btn-primary::before,
.mode-card .btn-cta::before {
  z-index: 0;
}

.mode-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 24px 48px color-mix(in srgb, var(--teal) 16%, transparent);
}

.mode-card:hover::after {
  /* stay a top hairline — do not bloom over content */
  opacity: 1;
}

.len-btn {
  border-radius: 999px;
  transition: transform 0.3s var(--cinema-spring), background 0.3s ease, box-shadow 0.3s ease;
}

.len-btn:hover,
.len-btn.is-active,
.len-btn.is-on {
  transform: translateY(-2px);
}

.len-btn.is-active,
.len-btn.is-on {
  background: linear-gradient(145deg, var(--lime), color-mix(in srgb, var(--teal) 25%, var(--lime)));
  color: var(--lime-ink);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--lime) 30%, transparent);
}

body.theme-couple .mode-card .len-btn.is-active,
body.theme-couple .mode-card .len-btn.is-on {
  background: linear-gradient(145deg, #ff8fab, #ff3b5c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 59, 92, 0.28);
}

/* —— forms —— */
.field input,
.field select,
.person-panel,
.custom-answer {
  border-radius: 1rem;
  border: 1.5px solid color-mix(in srgb, var(--teal) 14%, transparent);
  background: color-mix(in srgb, #fff 62%, transparent);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.field input:focus,
.field select:focus,
.custom-answer:focus-within {
  outline: none;
  border-color: color-mix(in srgb, var(--teal) 45%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 14%, transparent);
}

.person-panel {
  box-shadow: 0 14px 32px color-mix(in srgb, var(--teal) 8%, transparent);
}

/* —— quiz —— */
.quiz-atmosphere {
  opacity: 0.9;
}

.quiz-progress .progress-fill,
.progress-fill {
  background: linear-gradient(90deg, var(--teal), var(--lime), color-mix(in srgb, var(--lime) 60%, #fff));
  background-size: 200% 100%;
  animation: cinemaProgressFlow 2.8s linear infinite;
  box-shadow: 0 0 18px color-mix(in srgb, var(--lime) 45%, transparent);
}

@keyframes cinemaProgressFlow {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}

.q-cat {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.72rem;
  color: color-mix(in srgb, var(--teal) 75%, var(--ink-soft));
}

.q-text {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.option {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1.5px solid color-mix(in srgb, var(--teal) 12%, transparent);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28));
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--teal) 6%, transparent);
  transition:
    transform 0.35s var(--cinema-spring),
    border-color 0.3s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.option:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--teal) 12%, transparent);
}

.option.is-kb-focus {
  border-color: color-mix(in srgb, var(--teal) 45%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent);
}

.option.is-picked {
  transform: scale(1.02);
  border-color: transparent;
  background: linear-gradient(145deg, color-mix(in srgb, var(--teal) 85%, #fff), var(--teal-deep));
  color: #fff;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--lime) 40%, transparent),
    0 18px 40px color-mix(in srgb, var(--teal) 28%, transparent);
}

body.theme-couple .option.is-picked {
  background: linear-gradient(145deg, #ff5a7d, #c4123d);
  box-shadow: 0 0 0 2px rgba(255, 182, 193, 0.45), 0 18px 40px rgba(196, 18, 61, 0.35);
}

body.theme-friends .option.is-picked {
  background: linear-gradient(145deg, #ffc14d, #e07000);
  box-shadow: 0 0 0 2px rgba(255, 224, 150, 0.5), 0 18px 40px rgba(224, 112, 0, 0.32);
}

body.theme-family .option.is-picked {
  background: linear-gradient(145deg, #6bb6ff, #1d4ed8);
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.5), 0 18px 40px rgba(29, 78, 216, 0.32);
}

.who-badge {
  border-radius: 999px;
  background: color-mix(in srgb, #fff 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 16%, transparent);
  backdrop-filter: blur(10px);
  animation: cinemaBadgePulse 3.2s ease-in-out infinite;
}

@keyframes cinemaBadgePulse {
  0%,
  100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 8%, transparent); }
}

/* —— handoff —— */
.handoff-orb,
.handoff-core,
.remote-wait-orb {
  animation: cinemaOrbFloat 4.2s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px color-mix(in srgb, var(--teal) 25%, transparent));
}

@keyframes cinemaOrbFloat {
  0%,
  100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

.alive-handoff-rings span {
  animation-duration: 3.6s;
}

/* —— results —— */
.results-wrap {
  position: relative;
}

.alive-results-glow {
  opacity: 0.85;
  animation: cinemaResultsGlow 5s ease-in-out infinite;
}

@keyframes cinemaResultsGlow {
  0%,
  100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.06); }
}

.score-hero {
  filter: drop-shadow(0 24px 48px color-mix(in srgb, var(--teal) 18%, transparent));
}

.score-num {
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--ink) 70%, var(--ring-color, #ff5c8a)) 8%,
    color-mix(in srgb, var(--ring-color, #ff5c8a) calc(55% + var(--ring-fill, 0.5) * 45%), var(--ring-cool, #c4788a)) 48%,
    color-mix(in srgb, var(--ring-hot, #ff2458) calc(var(--ring-fill, 0.5) * 100%), var(--ring-cool, #b86b7a)) 92%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: cinemaScorePop 0.9s var(--cinema-spring) both;
}

@keyframes cinemaScorePop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.score-ring .ring-val {
  filter: drop-shadow(
    0 0 calc(4px + var(--ring-fill, 0.5) * 12px)
    color-mix(in srgb, var(--ring-color, #ff5c8a) calc(35% + var(--ring-fill, 0.5) * 55%), transparent)
  );
  transition: stroke-dashoffset 1.2s var(--cinema-rise), stroke 0.85s ease, filter 0.85s ease;
}

.cats,
.deep-report,
.friction,
.sync {
  border-radius: 1.25rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28));
  border: 1px solid color-mix(in srgb, var(--teal) 12%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--teal) 8%, transparent);
  backdrop-filter: blur(14px);
}

.deep-block {
  transition: transform 0.35s var(--cinema-spring), background 0.3s ease;
}

.deep-block:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, #fff 35%, transparent);
}

/* —— invite fab —— */
.invite-fab {
  border-radius: 14px;
  backdrop-filter: blur(14px);
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--teal) 18%, transparent),
    0 0 0 1px color-mix(in srgb, #fff 40%, transparent) inset;
  transition: transform 0.35s var(--cinema-spring), box-shadow 0.35s ease, background 0.25s ease, border-color 0.25s ease;
  /* stay a fixed corner chip — never a sliding thumb over the header link */
  position: fixed;
  top: max(0.85rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 45;
}

.invite-fab:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px color-mix(in srgb, var(--teal) 22%, transparent),
    0 0 20px var(--cinema-glow);
}

/* —— modals —— */
.invite-modal-card,
.kb-modal-card {
  border-radius: 1.4rem;
  border: 1px solid color-mix(in srgb, var(--teal) 14%, transparent);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: 0 28px 64px rgba(3, 13, 11, 0.22);
  backdrop-filter: blur(20px) saturate(1.2);
  animation: cinemaModalIn 0.45s var(--cinema-spring) both;
}

@keyframes cinemaModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— edge motes quieter —— */
.alive-motes i {
  opacity: 0.4;
  filter: drop-shadow(0 0 10px var(--mote-glow, transparent));
}

.mood-glyph {
  opacity: 0.26 !important;
}

/* —— relation tabs: same frosted white chips as welcome —— */
.relation-actions .btn.btn-relation .rel-mark {
  display: none !important;
}

.relation-actions .btn.btn-relation:not(.is-picked-relation),
.relation-actions:has(.is-picked-relation) .btn.btn-relation:not(.is-picked-relation) {
  --rel-wash: transparent;
  --rel-ink: var(--ink);
  --rel-accent: var(--teal);
  --rel-deep: var(--teal-deep);
  --rel-glow: transparent;
  color: var(--ink) !important;
  background: color-mix(in srgb, #fff 70%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--teal) 16%, transparent) !important;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--teal) 8%, transparent) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.relation-actions .btn.btn-relation:not(.is-picked-relation):active {
  background: color-mix(in srgb, #fff 85%, transparent) !important;
  transform: scale(0.97) !important;
}

/* —— relation buttons: keep delight, add soft idle —— */
.relation-actions .btn.btn-relation:not(.is-picked-relation) {
  animation: cinemaRelIdle 4.8s ease-in-out infinite;
}

.relation-actions .btn.btn-relation:not(.is-picked-relation):nth-child(2) {
  animation-delay: -1.6s;
}

.relation-actions .btn.btn-relation:not(.is-picked-relation):nth-child(3) {
  animation-delay: -3.2s;
}

@keyframes cinemaRelIdle {
  0%,
  100% { box-shadow: 0 8px 18px color-mix(in srgb, var(--teal) 8%, transparent); }
  50% { box-shadow: 0 10px 22px color-mix(in srgb, var(--teal) 12%, transparent); }
}

/* —— cursor glow softer —— */
.cursor-glow {
  opacity: 0.55;
  filter: blur(2px);
}

/* —— reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  .view.is-active,
  .view.is-active .welcome-wrap > *,
  .view.is-active .hero-copy > *,
  .view.is-active .how-wrap > *,
  .view.is-active .modes-wrap > *,
  .view.is-active .setup-wrap > *,
  .view.is-active .quiz-stage > *,
  .view.is-active .results-wrap > *,
  .view.is-active .handoff-wrap > *,
  body::before,
  body::after,
  .logo-mark,
  .welcome-core,
  .welcome-waveband,
  .light-rays,
  .progress-fill,
  .quiz-progress .progress-fill,
  .who-badge,
  .handoff-orb,
  .handoff-core,
  .remote-wait-orb,
  .alive-results-glow,
  .score-num,
  .relation-actions .btn.btn-relation:not(.is-picked-relation),
  .alive-chips li,
  .btn-probe.is-tone-couple,
  .btn-probe.is-tone-friends,
  .btn-probe.is-tone-family,
  .core-sync,
  .phase-core[data-shape="couple"] .core-sync,
  .phase-core[data-shape="family"] .core-sync,
  .phase-core[data-shape="friends"] .core-sync i,
  .phase-core[data-shape="family"] .core-sync b,
  .phase-core[data-shape="family"] .core-sync i {
    animation: none !important;
  }

  .mode-card:hover,
  .option:hover,
  .btn-primary:hover,
  .btn-cta:hover,
  .how-steps li:hover {
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .top {
    background: transparent;
    backdrop-filter: none;
  }

  .mode-card:hover,
  .option:hover {
    transform: none;
  }
}

/* —— themed cores: keep floating motes; hide only orbit balls —— */
body.has-mood .orbit-specks {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* two orbiting phase dots — only with green default ball */
body.has-mood .phase-dot,
body.has-mood .orbit-hub > .phase-dot.dot-a,
body.has-mood .orbit-hub > .phase-dot.dot-b {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
  pointer-events: none !important;
}

/* —— core-sync: site-related ornaments around heart / smile / dna —— */
.core-sync {
  position: absolute;
  inset: -32%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 4;
  transition: opacity 0.4s ease;
}

.phase-core[data-shape="couple"] .core-sync,
.phase-core[data-shape="friends"] .core-sync,
.phase-core[data-shape="family"] .core-sync {
  opacity: 1;
  visibility: visible;
}

.core-sync i,
.core-sync b {
  position: absolute;
  display: block;
  box-sizing: border-box;
}

/* couple: two sync nodes + dashed phase ring (ты ↔ я) */
.phase-core[data-shape="couple"] .core-sync {
  animation: syncCoupleSpin 9s linear infinite;
}

.phase-core[data-shape="couple"] .core-sync b {
  left: 50%;
  top: 50%;
  width: 78%;
  height: 78%;
  border: 1.5px dashed rgba(255, 143, 171, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(217, 72, 108, 0.18);
}

.phase-core[data-shape="couple"] .core-sync i:nth-child(n + 3) {
  display: none;
}

.phase-core[data-shape="couple"] .core-sync i:nth-child(1),
.phase-core[data-shape="couple"] .core-sync i:nth-child(2) {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  background: #ff8fab;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.35),
    0 0 16px rgba(255, 92, 138, 0.85);
}

.phase-core[data-shape="couple"] .core-sync i:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg) translateY(-42%) rotate(0deg);
}

.phase-core[data-shape="couple"] .core-sync i:nth-child(2) {
  background: #d9486c;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.3),
    0 0 16px rgba(180, 35, 74, 0.8);
  transform: translate(-50%, -50%) rotate(180deg) translateY(-42%) rotate(-180deg);
}

@keyframes syncCoupleSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* friends: equalizer ticks around the smile — brand signal */
.phase-core[data-shape="friends"] .core-sync b {
  display: none;
}

.phase-core[data-shape="friends"] .core-sync i {
  left: 50%;
  top: 50%;
  width: 5px;
  height: 18%;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8d6, #f5c518 55%, #ea580c);
  box-shadow: 0 0 12px rgba(255, 213, 74, 0.65);
  transform-origin: 50% 0;
  animation: syncEqTick 1.05s ease-in-out infinite;
}

.phase-core[data-shape="friends"] .core-sync i:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg) translateY(-52%);
  animation-delay: 0s;
}
.phase-core[data-shape="friends"] .core-sync i:nth-child(2) {
  transform: translate(-50%, -50%) rotate(60deg) translateY(-52%);
  animation-delay: 0.1s;
}
.phase-core[data-shape="friends"] .core-sync i:nth-child(3) {
  transform: translate(-50%, -50%) rotate(120deg) translateY(-52%);
  animation-delay: 0.2s;
}
.phase-core[data-shape="friends"] .core-sync i:nth-child(4) {
  transform: translate(-50%, -50%) rotate(180deg) translateY(-52%);
  animation-delay: 0.08s;
}
.phase-core[data-shape="friends"] .core-sync i:nth-child(5) {
  transform: translate(-50%, -50%) rotate(240deg) translateY(-52%);
  animation-delay: 0.18s;
}
.phase-core[data-shape="friends"] .core-sync i:nth-child(6) {
  transform: translate(-50%, -50%) rotate(300deg) translateY(-52%);
  animation-delay: 0.28s;
}

@keyframes syncEqTick {
  0%,
  100% { opacity: 0.45; filter: brightness(0.9); }
  50% { opacity: 1; filter: brightness(1.2); }
}

@keyframes syncEqBar {
  0%,
  100% { transform: scaleY(0.45); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* family: bond constellation — linked nodes around DNA */
.phase-core[data-shape="family"] .core-sync {
  animation: syncFamilyDrift 14s linear infinite;
}

.phase-core[data-shape="family"] .core-sync b {
  left: 50%;
  top: 50%;
  width: 82%;
  height: 82%;
  border: 1.5px solid rgba(147, 197, 253, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 0 20px rgba(59, 130, 246, 0.12),
    0 0 28px rgba(37, 99, 235, 0.15);
  animation: syncFamilyRing 3.2s ease-in-out infinite;
}

.phase-core[data-shape="family"] .core-sync i {
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  background: #93c5fd;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.45),
    0 0 14px rgba(59, 130, 246, 0.85);
  animation: syncFamilyNode 2.4s ease-in-out infinite;
}

.phase-core[data-shape="family"] .core-sync i:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg) translateY(-46%);
  animation-delay: 0s;
}
.phase-core[data-shape="family"] .core-sync i:nth-child(2) {
  transform: translate(-50%, -50%) rotate(60deg) translateY(-46%);
  animation-delay: 0.15s;
  background: #60a5fa;
}
.phase-core[data-shape="family"] .core-sync i:nth-child(3) {
  transform: translate(-50%, -50%) rotate(120deg) translateY(-46%);
  animation-delay: 0.3s;
}
.phase-core[data-shape="family"] .core-sync i:nth-child(4) {
  transform: translate(-50%, -50%) rotate(180deg) translateY(-46%);
  animation-delay: 0.45s;
  background: #3b82f6;
}
.phase-core[data-shape="family"] .core-sync i:nth-child(5) {
  transform: translate(-50%, -50%) rotate(240deg) translateY(-46%);
  animation-delay: 0.6s;
}
.phase-core[data-shape="family"] .core-sync i:nth-child(6) {
  transform: translate(-50%, -50%) rotate(300deg) translateY(-46%);
  animation-delay: 0.75s;
  background: #2563eb;
}

@keyframes syncFamilyDrift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes syncFamilyRing {
  0%,
  100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes syncFamilyNode {
  0%,
  100% { opacity: 0.65; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.25); }
}

/* —— signal / equalizer —— */
.phase-signal {
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--lime) 40%, transparent));
}

.phase-signal i {
  animation-duration: 1.05s;
}

body.theme-couple .phase-signal {
  filter: drop-shadow(0 0 14px rgba(255, 90, 125, 0.45));
}

body.theme-friends .phase-signal {
  filter: drop-shadow(0 0 14px rgba(255, 176, 50, 0.45));
}

body.theme-family .phase-signal {
  filter: drop-shadow(0 0 14px rgba(80, 160, 255, 0.45));
}
