/* ============================================================================
   demos-features.css: the new feature blocks on the landing (05.11.2026):
   «Лунный архетип», «Поделиться днём», «Партнёр» (page copy and phone demos).
   WebView-safe: rgba/hex only, no color-mix(), no @container, no :has(), no
   mask-image. Buttons follow the MoonButton canon (radius 12, flat gold).
   ========================================================================== */

/* ── Page blocks ───────────────────────────────────────────────────────────── */

.mt-feature2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 56px;
  align-items: start;
}
.mt-feature2__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  min-width: 0;
}
.mt-feature2__copy .mt-h2 { margin: 0; }
.mt-feature2__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #C4C1CE;
  max-width: 56ch;
}
.mt-feature2__demo { min-width: 0; }
/* Reserve room before the lazy build so the slot is visible to the observer
   and the page does not jump when the phone mounts. */
.mt-feature2__demo .mt-demo,
.mt-partner__demo { min-height: 320px; }
.mt-partner__copy { margin-bottom: 28px; padding-top: 0; }
.mt-feature2__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #F4EAC7;
}
.mt-feature2__strong { font-weight: 600; }

.mt-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.mt-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.mt-point__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(39, 39, 42, 0.30);
  border: 1px solid rgba(63, 63, 70, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-point__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #D9C27A;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mt-point__title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
  color: #F4EAC7;
}
.mt-point__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #C4C1CE;
}
.mt-point__more { display: inline; }

@media (max-width: 960px) {
  .mt-feature2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .mt-feature2__copy { padding-top: 0; }
  .mt-point__more { display: none; }
}

/* ── «Что открывает подписка» ─────────────────────────────────────────────── */

.mt-subs {
  margin: 20px 0 0;
  padding: 20px;
  border-radius: 20px;
  background: rgba(39, 39, 42, 0.30);
  border: 1px solid rgba(63, 63, 70, 0.30);
  max-width: 720px;
}
.mt-subs__title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 600;
  color: #F4EAC7;
}
.mt-subs__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mt-subs__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mt-subs__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(217, 194, 122, 0.08);
  border: 1px solid rgba(217, 194, 122, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-subs__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #D9C27A;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mt-subs__name {
  font-size: 15px;
  font-weight: 600;
  color: #F4EAC7;
}
.mt-subs__line {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: #C4C1CE;
}
.mt-subs__price {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(63, 63, 70, 0.45);
  font-size: 14px;
  color: #A8A6B3;
}

/* ── Shared demo atoms ─────────────────────────────────────────────────────── */

.fx-arch [hidden],
.fx-screen [hidden],
.fx-share [hidden] { display: none !important; }

.fx-segment {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(39, 39, 42, 0.55);
  border: 1px solid rgba(63, 63, 70, 0.5);
  box-sizing: border-box;
}
.fx-segment__btn {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #E4E4E7;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.fx-segment__btn.is-on {
  background: #D9C27A;
  color: #07070A;
}
.fx-segment__btn:focus-visible,
.fx-btn:focus-visible,
.fx-link:focus-visible,
.fx-starter:focus-visible,
.fx-square__tap:focus-visible {
  outline: 2px solid rgba(217, 194, 122, 0.6);
  outline-offset: 3px;
}
.fx-segment--inner {
  margin: 12px 16px 0;
  padding: 4px;
  border-radius: 12px;
  background: rgba(39, 39, 42, 0.45);
  border-color: rgba(63, 63, 70, 0.3);
}
.fx-segment--inner .fx-segment__btn {
  min-height: 36px;
  padding: 0 6px;
  border-radius: 9px;
  font-size: 13px;
  color: #C4C1CE;
}
.fx-segment--inner .fx-segment__btn.is-on {
  background: rgba(217, 194, 122, 0.18);
  color: #F4EAC7;
}

.fx-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 12px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.fx-btn--lg { min-height: 48px; font-size: 16px; }
.fx-btn--md { min-height: 44px; font-size: 15px; }
.fx-btn--primary { background: #D9C27A; color: #07070A; border: 0; }
.fx-btn--secondary {
  background: rgba(39, 39, 42, 0.8);
  border: 1px solid rgba(63, 63, 70, 0.3);
  color: #EDEAF6;
}
.fx-btn svg { flex-shrink: 0; }

.fx-link {
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: #D9C27A;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.fx-link--muted { color: #A8A6B3; }

.fx-pill {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(217, 194, 122, 0.45);
  color: #D9C27A;
}
.fx-note {
  font-size: 11px;
  color: #F0B37E;
}
.fx-note--dash {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px dashed rgba(240, 179, 126, 0.7);
}
.fx-note--indent { margin-left: 30px; }

/* ── Archetype demo ───────────────────────────────────────────────────────── */

.fx-arch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.fx-segment--outer { width: 100%; max-width: 410px; }
/* Tabs share the row by their label length, not in thirds: «Совместимость» is
   twice as long as «Оракул», and equal thirds clipped it at 401–405 px. */
.fx-segment--outer .fx-segment__btn { flex: 1 1 auto; min-width: 0; padding: 0 10px; }
@media (max-width: 420px) {
  .fx-segment--outer .fx-segment__btn { padding: 0 8px; }
}
@media (max-width: 375px) {
  .fx-segment--outer .fx-segment__btn { padding: 0 6px; font-size: 13px; }
}
@media (max-width: 340px) {
  .fx-segment--outer { gap: 2px; padding: 3px; }
  .fx-segment--outer .fx-segment__btn { padding: 0 5px; font-size: 12px; letter-spacing: 0; }
}
.fx-arch__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: #A8A6B3;
}
.fx-arch__phone { width: 100%; display: flex; justify-content: center; }
.fx-arch__caption {
  margin: 0;
  max-width: 410px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #A8A6B3;
}

.fx-screen {
  position: relative;
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #F4F4F5;
}
.fx-oracle,
.fx-chart,
.fx-compat {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: #07070A;
}

/* Oracle */
.fx-oracle {
  display: flex;
  flex-direction: column;
  background: radial-gradient(420px 300px at 80% 10%, rgba(217, 194, 122, 0.06), rgba(7, 7, 10, 0) 70%), #07070A;
}
.fx-oracle__head {
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid rgba(217, 194, 122, 0.12);
}
.fx-oracle__title { font-size: 16px; font-weight: 600; color: #F4EAC7; }
.fx-oracle__feed {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 12px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fx-oracle__feed--end { justify-content: flex-end; }
.fx-oracle__foot {
  flex-shrink: 0;
  border-top: 1px solid rgba(217, 194, 122, 0.15);
  padding: 6px 12px 22px;
}
.fx-oracle__counterRow { display: flex; justify-content: flex-end; padding: 2px 4px 6px; }
.fx-oracle__counter {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(217, 194, 122, 0.35);
  background: rgba(217, 194, 122, 0.08);
  font-size: 11px;
  color: #E8D9A8;
}
.fx-oracle__composer { display: flex; align-items: flex-end; gap: 8px; }
.fx-oracle__input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(217, 194, 122, 0.35);
  font-size: 14px;
  line-height: 20px;
  color: #A1A1AA;
}
.fx-oracle__send {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(217, 194, 122, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fx-oracle__avatar {
  margin-top: 4px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(217, 194, 122, 0.25);
  background: rgba(24, 24, 27, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fx-msg { display: flex; align-items: flex-start; gap: 8px; }
.fx-msg__col { display: flex; min-width: 0; flex-direction: column; gap: 10px; }
.fx-bubble {
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(39, 39, 42, 0.40);
  border: 1px solid rgba(63, 63, 70, 0.35);
  font-size: 14px;
  line-height: 1.6;
  color: #F4F4F5;
  white-space: pre-line;
}
.fx-bubble--me {
  align-self: flex-end;
  max-width: 85%;
  border-radius: 16px 16px 4px 16px;
  background: rgba(217, 194, 122, 0.15);
  border-color: rgba(217, 194, 122, 0.25);
  line-height: 1.55;
}
.fx-starters {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-top: 6px;
}
.fx-starter {
  max-width: 85%;
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(217, 194, 122, 0.40);
  background: rgba(217, 194, 122, 0.05);
  padding: 8px 12px;
  text-align: left;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #E8D9A8;
  cursor: pointer;
}
.fx-starters .fx-note--dash { align-self: flex-end; }
.fx-focus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #A8A6B3;
}
.fx-focus__chip {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(87, 214, 199, 0.45);
  color: #BFEFE9;
}
.fx-natalCard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 22px;
  padding: 14px;
  border: 1px solid rgba(217, 194, 122, 0.28);
  background: linear-gradient(160deg, rgba(217, 194, 122, 0.10), rgba(39, 39, 42, 0.30) 45%, rgba(39, 39, 42, 0.18));
}
.fx-natalCard__top { display: flex; align-items: center; gap: 14px; }
.fx-mini { flex-shrink: 0; }
.fx-natalCard__facts { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.fx-natalCard__facts dt { font-size: 11px; color: #A1A1AA; }
.fx-natalCard__facts dd { margin: 0; font-size: 14px; font-weight: 600; color: #F4F4F5; }
.fx-natalCard__period {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  background: rgba(7, 7, 10, 0.45);
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #D4D4D8;
}
.fx-natalCard__period svg { flex-shrink: 0; }
.fx-askChips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-askChip {
  min-height: 36px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(217, 194, 122, 0.35);
  background: rgba(39, 39, 42, 0.30);
  padding: 6px 12px;
  font-size: 13px;
  color: #F4F4F5;
}

/* My chart */
.fx-chart__scroll {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.fx-chart__head { padding: 12px 20px 8px; text-align: center; }
.fx-chart__title { font-size: 18px; font-weight: 600; color: #F4EAC7; }
.fx-chart__method { margin-top: 2px; font-size: 12px; color: #A8A6B3; }
.fx-square { position: relative; width: 320px; height: 320px; margin: 4px auto 0; }
.fx-square svg { position: absolute; left: 0; top: 0; }
.fx-square__num {
  position: absolute;
  width: 24px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #D9C27A;
  pointer-events: none;
}
.fx-square__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D9C27A;
  pointer-events: none;
}
.fx-square__planet {
  position: absolute;
  height: 16px;
  line-height: 16px;
  font-size: 11px;
  font-weight: 600;
  color: #F4EAC7;
  white-space: nowrap;
  pointer-events: none;
}
.fx-square__tap {
  position: absolute;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}
.fx-chart__hint { padding: 8px 24px 0; text-align: center; font-size: 12px; color: #A8A6B3; }
.fx-chart__rows {
  padding: 12px 16px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.fx-chart__rows--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fx-chart__foot { padding: 10px 20px 22px; font-size: 11px; line-height: 1.45; color: #A1A1AA; }
.fx-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(39, 39, 42, 0.30);
  border: 1px solid rgba(63, 63, 70, 0.30);
  font-size: 13px;
  line-height: 1.4;
}
.fx-chart__rows--two .fx-row { flex-direction: column; gap: 2px; }
.fx-row__left { color: #F4F4F5; }
.fx-row__right { color: #A8A6B3; text-align: right; }
.fx-chart__rows--two .fx-row__right { text-align: left; }
.fx-row--text { display: block; font-size: 13px; line-height: 1.5; color: #D4D4D8; }
.fx-sheetOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.fx-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 78%;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 10px 20px 24px;
  border-radius: 24px 24px 0 0;
  background: #0E0F17;
  border-top: 1px solid rgba(217, 194, 122, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
.fx-sheet__handle {
  align-self: center;
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(161, 161, 170, 0.5);
}
.fx-sheet__eyebrow { font-size: 12px; letter-spacing: 0.04em; color: #D9C27A; }
.fx-sheet__title { font-size: 20px; font-weight: 600; color: #F4EAC7; }
.fx-sheet__body { font-size: 14px; line-height: 1.55; color: #E4E4E7; }
.fx-sheet .fx-btn { margin-top: 4px; flex-shrink: 0; }

/* Compatibility */
.fx-compat__sheet {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #0E0F17;
  border-top: 1px solid rgba(63, 63, 70, 0.5);
  display: flex;
  flex-direction: column;
}
.fx-compat__sheet > .fx-sheet__handle { margin-top: 8px; }
.fx-compat__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 14px 16px 16px;
}
.fx-compat__heading { margin: 0; font-size: 16px; font-weight: 600; color: #D9C27A; }
.fx-field { margin-top: 22px; }
.fx-field__label { font-size: 13px; color: #A8A6B3; }
.fx-field__box {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(39, 39, 42, 0.30);
  border: 1px solid rgba(63, 63, 70, 0.30);
  font-size: 16px;
  color: #EDEAF6;
}
.fx-compat__submit { margin-top: 32px; }
.fx-compat__fine { margin: 12px 0 0; font-size: 12px; line-height: 1.4; color: #A1A1AA; }
.fx-compat__erase {
  display: inline-block;
  padding: 12px 0;
  font-size: 12px;
  color: #A8A6B3;
  text-decoration: underline;
}
.fx-skeleton__fields { display: flex; flex-direction: column; gap: 8px; opacity: 0.55; }
.fx-skeleton__field {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(39, 39, 42, 0.30);
  border: 1px solid rgba(63, 63, 70, 0.30);
  font-size: 15px;
  color: #EDEAF6;
}
.fx-skeleton__btn { margin-top: 12px; }
.fx-skeleton__ringRow { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fx-skeleton__ring { width: 150px; height: 150px; border-radius: 50%; background: rgba(228, 228, 231, 0.08); }
.fx-skeleton__bar { width: 180px; height: 12px; border-radius: 999px; background: rgba(228, 228, 231, 0.08); }
.fx-skeleton__grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-skeleton__tile { height: 74px; border-radius: 16px; background: rgba(228, 228, 231, 0.08); }
.fx-skeleton__ring,
.fx-skeleton__bar,
.fx-skeleton__tile { animation: fx-pulse 1.2s ease-in-out infinite; }
.fx-spin { animation: fx-spin 0.9s linear infinite; transform-origin: 50% 50%; }
@keyframes fx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes fx-spin { to { transform: rotate(360deg); } }

.fx-result { display: flex; flex-direction: column; gap: 14px; }
.fx-result__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: #D9C27A;
}
.fx-result__meta { margin-top: 2px; font-size: 12px; color: #A8A6B3; }
.fx-result__hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(217, 194, 122, 0.28);
  background: linear-gradient(135deg, rgba(217, 194, 122, 0.10), rgba(39, 39, 42, 0.30) 45%, rgba(39, 39, 42, 0.18));
}
.fx-result__hero svg { flex-shrink: 0; }
.fx-result__bands { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fx-band { display: flex; flex-direction: column; gap: 5px; }
.fx-band__label { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.fx-band--easy .fx-band__label { color: #57D6C7; }
.fx-band--care .fx-band__label { color: #F0B37E; }
.fx-band__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fx-band__chip { padding: 3px 9px; border-radius: 999px; font-size: 12.5px; color: #EDEAF6; }
.fx-band--easy .fx-band__chip { border: 1px solid rgba(87, 214, 199, 0.45); }
.fx-band--care .fx-band__chip { border: 1px solid rgba(240, 179, 126, 0.45); }
.fx-koots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.fx-koot {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(39, 39, 42, 0.30);
  border: 1px solid rgba(63, 63, 70, 0.30);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fx-koot__top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.fx-koot__name { font-size: 13.5px; font-weight: 600; color: #EDEAF6; }
.fx-koot__score { font-size: 12.5px; font-weight: 700; color: #D9C27A; white-space: nowrap; }
.fx-koot__bar { display: block; height: 6px; border-radius: 999px; background: rgba(228, 228, 231, 0.10); overflow: hidden; }
.fx-koot__fill { display: block; height: 6px; border-radius: 999px; background: #D9C27A; }
.fx-koot__line { font-size: 12px; line-height: 1.4; color: #D4D4D8; }
.fx-result__disclaimer { margin: 0; font-size: 12px; line-height: 1.45; color: #A8A6B3; }
.fx-result__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fx-result__actions .fx-btn { width: auto; padding: 0 22px; }

/* ── Share demo ───────────────────────────────────────────────────────────── */

.fx-share {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.fx-share__toggle { max-width: none; }
.fx-share__toggle .fx-segment__btn { padding: 0 6px; font-size: 13px; }
.fx-share__stage { position: relative; width: 100%; }
.fx-share__fit { position: absolute; top: 0; width: 338px; transform-origin: top left; }
.fx-share__btn { cursor: default; }

.fx-card {
  position: relative;
  overflow: hidden;
  width: 338px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #0B0D16, #07070A);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.07) inset, 0 24px 80px rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  color: #F4EAC7;
  font-family: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.fx-card__stars { position: absolute; left: 0; top: 0; }
.fx-card__head { position: absolute; left: 18px; display: flex; align-items: center; gap: 8px; }
.fx-card__brand { font-size: 15px; font-weight: 500; color: #D9C27A; }
.fx-card__date { position: absolute; right: 18px; font-size: 12px; font-weight: 500; color: #9C99A8; }
/* The Moon box; the disc inside is .fx-moonDisc (texture + shared terminator). */
.fx-card__lotus { display: inline-block; width: 26px; height: 22px; }
.fx-card__lotus svg { display: block; }
.fx-card__moon { position: absolute; right: 14px; }
/* MoonDisc of the app's share card: texture x1.165 clipped by the circle, phase
   shadow, inner glow, 1 px rim. No gradient stands in for the Moon. */
.fx-moonDisc { position: relative; display: block; flex-shrink: 0; }
.fx-moonDisc__clip {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #0B0B14;
}
.fx-moonDisc__clip .cax__moon-img {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: 116.5%;
  height: 116.5%;
  border-radius: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.fx-moonDisc__shadow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.fx-moonDisc__glow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; }
.fx-moonDisc__rim { position: absolute; left: 0; top: 0; pointer-events: none; }
.fx-card__facts { position: absolute; left: 18px; width: 168px; }
.fx-card__phase {
  font-family: "Brygada 1918", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 29px;
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: #F4EAC7;
  white-space: nowrap;
}
.fx-card__lunarDay { margin-top: 6px; font-size: 13px; font-weight: 500; color: #C4C1CE; }
.fx-card__rule { height: 1px; background: rgba(217, 194, 122, 0.16); margin: 12px 0; }
.fx-card__fact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #F4EAC7;
  white-space: nowrap;
}
.fx-card__factIcon { width: 20px; display: flex; justify-content: center; }
.fx-card__illum { display: flex; flex-direction: column; line-height: 1.15; }
.fx-card__illumLabel { font-size: 11px; color: #9C99A8; }
.fx-card__muted { color: #9C99A8; }
.fx-card__quote {
  position: absolute;
  left: 12px;
  right: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 0.5px rgba(217, 194, 122, 0.18) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.fx-card__curves { position: absolute; right: 0; bottom: 0; }
.fx-card__quoteTitle { font-size: 11.5px; font-weight: 600; color: #D9C27A; margin-bottom: 5px; }
.fx-card__quoteBody { flex: 1 1 auto; display: flex; flex-direction: column; position: relative; }
.fx-card__quoteInner { margin-top: auto; margin-bottom: auto; }
.fx-card__quoteText {
  font-family: "Brygada 1918", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #F4EAC7;
  white-space: pre-line;
}
.fx-card__author { font-weight: 500; color: #9C99A8; margin-top: 9px; line-height: 1.35; }
.fx-card__footer {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #9C99A8;
  letter-spacing: 0.02em;
}

/* ── Partner demo ─────────────────────────────────────────────────────────── */

.fx-partner { width: 100%; }
.fx-partner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
}
.fx-partner__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fx-partner__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #D9C27A; text-align: center; }
.fx-partner__phone { width: 100%; display: flex; justify-content: center; }
.fx-partner__toggle { display: none; margin: 0 auto 14px; }
/* Below 900 px: one full-size phone (as the archetype block) and a toggle. */
@media (max-width: 899px) {
  .fx-partner__toggle { display: flex; }
  .fx-partner__grid { grid-template-columns: minmax(0, 1fr); }
  .fx-partner--her .fx-partner__col--his,
  .fx-partner--his .fx-partner__col--her { display: none; }
  .fx-partner__phone,
  .fx-partner__label { max-width: 440px; margin: 0 auto; }
}

.fx-her, .fx-his { position: relative; height: 100%; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.fx-her__behind { position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: #07070A; }
.fx-her__settings { font-size: 17px; font-weight: 600; color: #F4EAC7; text-align: center; }
.fx-her__ghost { margin-top: 12px; height: 52px; border-radius: 16px; background: rgba(39, 39, 42, 0.30); }
.fx-her__dim { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.55); }
.fx-consent {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 24px 24px 0 0;
  background: #0E0F17;
  border-top: 1px solid rgba(63, 63, 70, 0.5);
  padding: 10px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}
.fx-consent__title { font-size: 19px; font-weight: 600; color: #F4EAC7; }
.fx-consent__text { margin: 0; font-size: 14px; line-height: 1.55; color: #D4D4D8; }
.fx-consent__box { padding: 12px; border-radius: 16px; background: rgba(39, 39, 42, 0.30); border: 1px solid rgba(63, 63, 70, 0.30); }
.fx-consent__part--muted { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(63, 63, 70, 0.4); }
.fx-consent__partTitle {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #D9C27A;
}
.fx-consent__part--muted .fx-consent__partTitle { color: #A1A1AA; }
.fx-consent__partText { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #E4E4E7; }
.fx-consent__part--muted .fx-consent__partText { color: #D4D4D8; }
.fx-consent__safety { margin: 0; font-size: 12px; line-height: 1.5; color: #A1A1AA; }
.fx-consent__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(39, 39, 42, 0.30);
  border: 1px solid rgba(63, 63, 70, 0.30);
  font-size: 13.5px;
  line-height: 1.5;
  color: #F4F4F5;
}
.fx-consent__tick {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #D9C27A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fx-consent .fx-btn { flex-shrink: 0; cursor: default; }

.fx-his { background: radial-gradient(400px 300px at 70% 0%, rgba(217, 194, 122, 0.06), rgba(7, 7, 10, 0) 70%), #07070A; }
.fx-his__title { height: 52px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; color: #F4EAC7; }
.fx-his__list { padding: 6px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.fx-his__card { padding: 16px; border-radius: 16px; background: rgba(39, 39, 42, 0.30); border: 1px solid rgba(63, 63, 70, 0.30); }
.fx-his__card--row { display: flex; align-items: center; gap: 12px; }
.fx-his__card--gold { border-color: rgba(217, 194, 122, 0.25); }
.fx-his__moon { width: 44px; height: 44px; flex-shrink: 0; display: flex; }
.fx-his__eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #D9C27A; }
.fx-his__line { margin: 3px 0 0; font-size: 14px; color: #E4E4E7; }
.fx-his__hint { margin: 6px 0 0; font-size: 20px; line-height: 1.35; font-weight: 500; color: #FAFAFA; }
.fx-his__text { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: #E4E4E7; }
.fx-his__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  border-top: 1px solid rgba(217, 194, 122, 0.12);
  background: rgba(11, 13, 20, 0.92);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding-top: 10px;
  box-sizing: border-box;
}
.fx-his__navItem { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: #A1A1AA; }
.fx-his__navItem.is-on { color: #D9C27A; }

@media (prefers-reduced-motion: reduce) {
  .fx-skeleton__ring,
  .fx-skeleton__bar,
  .fx-skeleton__tile,
  .fx-spin { animation: none; }
}
