html {
  min-width: 320px;
  min-height: 100%;
  background: #fdf6f2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body:not(.is-loading) {
  background: #fdf6f2;
  color: #4a2d57;
  overflow-x: hidden;
  overflow-y: auto;
}

body.prep-active #prepView {
  pointer-events: auto;
}

body.prep-active .intro {
  pointer-events: none;
  user-select: none;
}

.app {
  min-height: 100%;
  font-family: "Cinzel", "Times New Roman", serif;
}

.intro {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 220, 210, 0.45) 0%, transparent 55%),
    #fdf6f2;
}

.intro-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.5rem;
  padding: max(0.85rem, env(safe-area-inset-top)) 1.25rem 0.65rem;
  color: #4a2d57;
}

.intro-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.intro-header__btn img {
  width: 22px;
  height: 22px;
}

.intro-header__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.intro-header__logo {
  display: block;
  width: auto;
  max-width: min(52vw, 200px);
  height: clamp(32px, 8vw, 42px);
  object-fit: contain;
  flex-shrink: 0;
}

.intro-main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0.5rem 1.25rem max(2rem, env(safe-area-inset-bottom));
}

.intro-stage {
  position: relative;
  --intro-wheel-top: 0px;
  --intro-wheel-height: 420px;
  --intro-wheel-width: clamp(300px, 42vw, 480px);
}

.intro-stage__wheel {
  position: absolute;
  z-index: 0;
  left: 0;
  top: var(--intro-wheel-top);
  width: var(--intro-wheel-width);
  height: var(--intro-wheel-height);
  transform: translateX(-48%);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

.intro-stage__wheel-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.78) 38%,
    rgba(0, 0, 0, 0.38) 56%,
    rgba(0, 0, 0, 0.12) 72%,
    transparent 88%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.78) 38%,
    rgba(0, 0, 0, 0.38) 56%,
    rgba(0, 0, 0, 0.12) 72%,
    transparent 88%
  );
}

.prep-stage .intro-stage__wheel-img {
  animation: prep-wheel-spin 90s linear infinite;
}

@keyframes prep-wheel-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.intro-stage__content {
  position: relative;
  z-index: 1;
}

.intro-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(74, 45, 87, 0.12);
  font-size: clamp(0.62rem, 2.6vw, 0.72rem);
  letter-spacing: 0.06em;
  color: #5c3a68;
}

.intro-badge img {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.intro-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2rem, 6.5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #3f234c;
  margin-bottom: 0.85rem;
}

.intro-lead {
  font-size: clamp(0.72rem, 2.8vw, 0.88rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(74, 45, 87, 0.72);
  max-width: 36em;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
}

.intro-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  overflow: visible;
}

.intro-visual__hourglass {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  height: auto;
  margin-left: clamp(1.5rem, 8vw, 3.5rem);
  filter: drop-shadow(0 18px 40px rgba(74, 45, 87, 0.12));
}

.intro-visual__hourglass.intro-visual__hearts {
  width: min(100%, 410px);
  margin-left: 0;
  filter: drop-shadow(0 20px 42px rgba(92, 44, 82, 0.16));
}

.intro-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.intro-field__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #4a2d57;
}

.intro-field--names .intro-field__label {
  margin-bottom: 0.5rem;
}

.intro-name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.intro-name-field {
  display: block;
  min-width: 0;
}

.intro-name-field[hidden] {
  display: none;
}

.intro-input {
  width: 100%;
  min-height: 52px;
  padding: 0 0.95rem;
  border: 1px solid rgba(74, 45, 87, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 246, 240, 0.45) 100%);
  color: #4a2d57;
  font: inherit;
  font-size: clamp(0.72rem, 2.6vw, 0.82rem);
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.intro-input::placeholder {
  color: rgba(74, 45, 87, 0.42);
}

.intro-input:hover {
  border-color: rgba(74, 45, 87, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 244, 236, 0.62) 100%);
}

.intro-input:focus {
  outline: none;
  border-color: rgba(90, 53, 104, 0.48);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 0 0 3px rgba(90, 53, 104, 0.22);
}

.intro-date {
  position: relative;
}

.intro-date--custom {
  --intro-date-focus: rgba(90, 53, 104, 0.35);
}

.intro-date__trigger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 52px;
  padding: 0 0.95rem 0 0.85rem;
  border: 1px solid rgba(74, 45, 87, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 246, 240, 0.45) 100%);
  color: #4a2d57;
  font: inherit;
  font-size: clamp(0.72rem, 2.6vw, 0.82rem);
  letter-spacing: 0.03em;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.intro-date__trigger:hover {
  border-color: rgba(74, 45, 87, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 244, 236, 0.62) 100%);
}

.intro-date__trigger:focus-visible {
  outline: none;
  border-color: rgba(90, 53, 104, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 0 0 3px var(--intro-date-focus);
}

.intro-date__trigger.is-open {
  border-color: rgba(90, 53, 104, 0.48);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 8px 26px rgba(74, 45, 87, 0.12);
}

.intro-date__trigger-icon {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.78;
}

.intro-date__trigger-text {
  flex: 1;
  min-width: 0;
  color: rgba(74, 45, 87, 0.48);
  transition: color 0.2s ease;
}

.intro-date__trigger-text.has-value {
  color: #4a2d57;
}

.intro-date__trigger-chevron {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.intro-date__trigger.is-open .intro-date__trigger-chevron {
  transform: rotate(-180deg);
  opacity: 0.75;
}

.intro-date__panel {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 1rem 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(74, 45, 87, 0.14);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 245, 240, 0.88) 100%);
  box-shadow:
    0 18px 48px rgba(45, 24, 58, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  backdrop-filter: blur(8px);
}

.intro-date__panel[hidden] {
  display: none;
}

.intro-date__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0.6rem;
}

.intro-date__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.intro-date__field-label {
  font-size: clamp(0.58rem, 2.1vw, 0.62rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 45, 87, 0.55);
}

.intro-date__select {
  width: 100%;
  min-height: 42px;
  padding: 0.45rem 2rem 0.45rem 0.72rem;
  border: 1px solid rgba(74, 45, 87, 0.18);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.72);
  background-image: url("../assets/svg/icon-chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px 14px;
  color: #4a2d57;
  font: inherit;
  font-size: clamp(0.68rem, 2.4vw, 0.78rem);
  letter-spacing: 0.02em;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.intro-date__select:hover {
  border-color: rgba(74, 45, 87, 0.32);
  background-color: rgba(255, 255, 255, 0.92);
}

.intro-date__select:focus {
  outline: none;
  border-color: rgba(90, 53, 104, 0.42);
  box-shadow: 0 0 0 3px var(--intro-date-focus);
}

@media (max-width: 480px) {
  .intro-date__fields {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.intro-gender {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.intro-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 88px;
  padding: 0.75rem 0.5rem;
  border: 1px solid rgba(74, 45, 87, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: #4a2d57;
  font: inherit;
  font-size: clamp(0.68rem, 2.4vw, 0.78rem);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.intro-choice img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
}

.intro-choice:hover {
  border-color: rgba(74, 45, 87, 0.38);
}

.intro-choice.is-selected {
  border-color: rgba(74, 45, 87, 0.55);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(74, 45, 87, 0.08) inset;
}

.intro-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.intro-form.is-love-reading .intro-name-fields {
  grid-template-columns: 1fr;
}

.intro-form.is-love-reading .intro-topics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-form.is-love-reading .intro-topic {
  min-height: 116px;
  padding-inline: 0.75rem;
}

.intro-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 108px;
  padding: 0.65rem 0.35rem;
  border: 1px solid rgba(74, 45, 87, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: #4a2d57;
  font: inherit;
  font-size: clamp(0.58rem, 2.1vw, 0.68rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.intro-topic img {
  width: 24px;
  height: 24px;
  opacity: 0.82;
}

.intro-topic:hover {
  border-color: rgba(74, 45, 87, 0.38);
}

.intro-topic.is-selected {
  border-color: rgba(74, 45, 87, 0.55);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(74, 45, 87, 0.08) inset;
}

.intro-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 54px;
  margin-top: 0.35rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #5a3568 0%, #43204f 100%);
  color: #fff8f3;
  font: inherit;
  font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(67, 32, 79, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intro-submit img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.intro-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(67, 32, 79, 0.32);
}

.intro-submit:active {
  transform: translateY(0);
}

@media (max-width: 860px) {
  .prep-stage {
    --intro-wheel-width: clamp(260px, 72vw, 360px);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-visual {
    min-height: 220px;
  }

  .intro-stage {
    --intro-wheel-width: clamp(260px, 72vw, 360px);
  }

  .intro-visual__hourglass {
    width: min(78vw, 320px);
    margin-left: clamp(0.75rem, 5vw, 1.75rem);
  }

  .intro-form {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .intro-name-fields {
    grid-template-columns: 1fr;
  }

  .intro-header {
    padding-inline: 1rem;
  }

  .intro-main {
    padding-inline: 1rem;
  }

  .intro-topics {
    gap: 0.5rem;
  }

  .intro-form.is-love-reading .intro-topics {
    grid-template-columns: 1fr;
  }

  .intro-form.is-love-reading .intro-topic {
    min-height: 82px;
  }

  .intro-topic {
    min-height: 96px;
    font-size: 0.56rem;
  }
}

.prep {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse 100% 72% at 50% 100%, rgba(255, 218, 235, 0.35) 0%, transparent 58%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 220, 210, 0.45) 0%, transparent 55%),
    #fdf6f2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    visibility 0s linear 0.55s;
}

.prep.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.55s ease, visibility 0s linear 0s;
}

.prep-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 0.15rem;
}

.prep-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.25rem;
}

.prep-hero__title {
  margin-bottom: 0.75rem;
}

.prep-hero__lead {
  max-width: 40em;
}

.prep-body {
  margin-bottom: 0.5rem;
}

.prep-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-bottom: 1.25rem;
}

.prep-column {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.prep-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

.prep-visual__ball-wrap {
  position: relative;
  display: inline-block;
}

.prep-visual__ball {
  display: block;
  width: min(100%, 400px);
  height: auto;
  animation: prep-ball-glow 3.2s ease-in-out infinite;
}

@keyframes prep-ball-glow {
  0%,
  100% {
    filter: drop-shadow(0 20px 42px rgba(74, 45, 87, 0.14)) drop-shadow(0 0 18px rgba(200, 120, 200, 0.22));
  }
  45% {
    filter: drop-shadow(0 22px 48px rgba(60, 30, 90, 0.22)) drop-shadow(0 0 34px rgba(255, 220, 255, 0.55));
  }
  68% {
    filter: drop-shadow(0 18px 36px rgba(100, 50, 130, 0.16)) drop-shadow(0 0 14px rgba(255, 200, 230, 0.2));
  }
}

.prep-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prep-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: calc(22px + 0.15rem);
  width: 0;
  border-left: 2px dashed rgba(90, 53, 104, 0.34);
  pointer-events: none;
}

.prep-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.2rem 0;
}

.prep-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 28px;
}

.prep-node__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 30%,
    rgba(180, 150, 200, 0.35) 0%,
    rgba(100, 62, 118, 0.55) 55%,
    rgba(74, 45, 87, 0.72) 100%
  );
  box-shadow:
    0 0 0 1.5px rgba(255, 250, 255, 0.35),
    0 0 0 2.5px rgba(90, 53, 104, 0.28);
  animation: prep-node-pulse 2.4s ease-in-out infinite;
}

@keyframes prep-node-pulse {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.62;
    box-shadow:
      0 0 0 1.5px rgba(255, 250, 255, 0.28),
      0 0 0 2.5px rgba(90, 53, 104, 0.22),
      0 0 5px rgba(74, 45, 87, 0.12);
  }
  50% {
    transform: scale(1.03);
    opacity: 0.82;
    box-shadow:
      0 0 0 1.5px rgba(255, 250, 255, 0.4),
      0 0 0 2.5px rgba(90, 53, 104, 0.34),
      0 0 8px rgba(90, 53, 104, 0.18);
  }
}

.prep-step__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
}

.prep-step__marker img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.prep-step__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.15rem;
}

.prep-step__copy--spacer {
  min-height: 0;
  padding: 0;
}

.prep-step__title {
  font-size: clamp(0.74rem, 2.6vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #3f234c;
}

.prep-step__desc {
  font-size: clamp(0.62rem, 2.2vw, 0.74rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(74, 45, 87, 0.68);
}

.prep-progress {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 0.15rem;
  text-align: center;
}

.prep-progress__bar {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(74, 45, 87, 0.16),
    inset 0 2px 6px rgba(74, 45, 87, 0.08);
  overflow: hidden;
}

.prep-progress__fill {
  position: relative;
  width: 0%;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(72, 38, 92, 0.98) 0%,
    rgba(150, 78, 170, 0.92) 38%,
    rgba(230, 150, 200, 0.92) 72%,
    rgba(255, 218, 208, 0.98) 100%
  );
  box-shadow:
    0 0 20px rgba(160, 90, 150, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: width 0.08s ease-out;
  clip-path: inset(0 0 0 0 round 999px);
}

.prep-progress__fill::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(255, 220, 255, 0.35), transparent 40%);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: prep-fill-uneven 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes prep-fill-uneven {
  0% {
    transform: translateX(-18%) scale(1);
  }
  50% {
    transform: translateX(10%) scale(1.06);
  }
  100% {
    transform: translateX(-12%) scale(1.02);
  }
}

.prep-progress__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 42%,
    transparent 55%
  );
  mix-blend-mode: soft-light;
  animation: prep-shimmer 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes prep-shimmer {
  0%, 100% { transform: translateX(-40%); opacity: 0.35; }
  50% { transform: translateX(40%); opacity: 0.75; }
}

.prep-progress__status {
  margin-top: 0.6rem;
  font-size: clamp(0.65rem, 2.4vw, 0.78rem);
  letter-spacing: 0.025em;
  color: rgba(74, 45, 87, 0.72);
  min-height: 1.4em;
}

.prep-result {
  width: 100%;
  margin: 0;
  text-align: center;
  animation: prep-fade-up 0.55s ease forwards;
}

.prep-result[hidden] {
  display: none;
}

.prep-result__lead {
  font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  letter-spacing: 0.02em;
  color: #3f234c;
  margin-bottom: 0.9rem;
}

.prep-result__cta {
  text-decoration: none;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

@keyframes prep-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prep-quote {
  text-align: center;
  font-size: clamp(0.58rem, 2vw, 0.68rem);
  letter-spacing: 0.04em;
  color: rgba(74, 45, 87, 0.52);
  max-width: 36em;
  margin: 0 auto;
  padding: 0 0.35rem 0.2rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .prep-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .prep-column {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .prep-steps {
    width: 100%;
  }

  .prep-visual {
    min-height: 200px;
    order: 0;
  }

  .prep-column {
    order: 1;
  }

  .prep-visual__ball {
    width: min(72vw, 340px);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.read-page {
  width: 100%;
  min-height: 100dvh;
  overflow: clip;
  background:
    radial-gradient(ellipse 88% 58% at 50% 0%, rgba(255, 220, 210, 0.42) 0%, transparent 56%),
    radial-gradient(ellipse 110% 72% at 50% 112%, rgba(255, 210, 235, 0.38) 0%, transparent 58%),
    #fdf6f2;
}

.read-stage .intro-stage__wheel {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.read-stage .intro-stage__wheel-img {
  animation: prep-wheel-spin 90s linear infinite;
}

.read-steps {
  max-width: 720px;
  margin: 0 auto 1.35rem;
}

.read-page .read-steps {
  margin-bottom: 0.75rem;
}

.read-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(44px, 92px) minmax(84px, 1fr) minmax(44px, 92px) minmax(84px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.read-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 84px;
  color: rgba(74, 45, 87, 0.55);
}

.read-steps__item.is-current {
  color: #4a2d57;
}

.read-steps__item.is-done {
  color: rgba(74, 45, 87, 0.68);
}

.read-steps__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.read-steps__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.read-steps__label {
  font-size: clamp(0.58rem, 2.1vw, 0.68rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.read-steps__line {
  position: relative;
  width: clamp(44px, 10vw, 92px);
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.read-steps__line-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 53, 104, 0.2), rgba(90, 53, 104, 0.45), rgba(90, 53, 104, 0.2));
}

.read-steps__line-dot {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 245, 255, 0.55), rgba(74, 45, 87, 0.55) 52%, rgba(42, 22, 56, 0.85) 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.55),
    0 0 0 2.5px rgba(62, 32, 82, 0.35),
    0 0 10px rgba(74, 45, 87, 0.22);
  animation: read-step-dot 1.75s ease-in-out infinite;
}

@keyframes read-step-dot {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.65;
    filter: saturate(0.95);
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    filter: saturate(1.05);
  }
}

.read-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.15rem;
}

.read-page .read-hero {
  margin-bottom: 0.35rem;
}

.read-hero__title {
  margin-bottom: 0.7rem;
}

.read-page .read-hero__title {
  margin-bottom: 0.45rem;
}

.read-hero__lead {
  max-width: 40em;
  margin: 0 auto;
}

.read-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.read-page .read-chips {
  margin-top: 0.45rem;
}

.read-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 45, 87, 0.14);
  background: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.6rem, 2.3vw, 0.72rem);
  letter-spacing: 0.04em;
  color: #4a2d57;
}

.read-chip img {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.read-chip__zodiac-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.88;
}

.read-fan-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 1.1rem;
  padding: 0 0.25rem;
}

.read-selection-area {
  width: 100%;
  min-width: 0;
}

.read-page .read-fan-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.read-fan-wrap.is-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1040px;
  margin-top: 1.75rem;
}

.read-fan-wrap.is-result .read-fan__card:not(.is-selected) {
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.3s;
}

.read-fan-wrap.is-result .read-fan__pointer,
.read-fan-wrap.is-result .read-mobile-controls,
.read-fan-wrap.is-result .read-fan__hint {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.read-fan-wrap.is-result .read-fan__card.is-selected {
  transform: translateX(-50%) translateY(0) rotate(0deg) scale(1.08);
}

.read-result-panel[hidden] {
  display: none;
}

.read-result-panel {
  position: relative;
  z-index: 7;
  width: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(90, 53, 104, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 240, 0.78)),
    radial-gradient(circle at 92% 8%, rgba(221, 183, 218, 0.28), transparent 40%);
  box-shadow:
    0 22px 55px rgba(53, 27, 66, 0.13),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  opacity: 0;
  transform: translateX(34px);
  transition: opacity 0.7s ease 0.15s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.read-result-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(90, 53, 104, 0.07);
  border-radius: 17px;
  pointer-events: none;
}

.read-result-panel.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.read-result-panel__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  color: rgba(74, 45, 87, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.read-result-panel__eyebrow img {
  width: 14px;
  height: 14px;
}

.read-result-panel__title {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  color: #3f234c;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.read-result-panel__subtitle {
  margin: 0.45rem 0 0;
  color: rgba(74, 45, 87, 0.68);
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.read-result-panel__divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1rem 0;
  color: rgba(90, 53, 104, 0.42);
}

.read-result-panel__divider::before,
.read-result-panel__divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(90, 53, 104, 0.2));
}

.read-result-panel__divider::after {
  background: linear-gradient(90deg, rgba(90, 53, 104, 0.2), transparent);
}

.read-result-panel__body {
  color: rgba(63, 35, 76, 0.84);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.55;
}

.read-result-panel__body p {
  margin: 0 0 0.75rem;
}

.read-result-panel__guidance {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0.35rem 0;
  color: rgba(63, 35, 76, 0.86);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.read-result-panel__guidance::before {
  content: "✦";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(215, 184, 211, 0.5));
  color: rgba(90, 53, 104, 0.78);
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-style: normal;
}

.read-result-panel__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a3568, #75477f);
  box-shadow: 0 8px 22px rgba(74, 45, 87, 0.2);
  color: #fffaf7;
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.reading-drawer[hidden] {
  display: none;
}

.reading-drawer {
  position: fixed;
  z-index: 13000;
  inset: 0;
}

.reading-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(35, 18, 45, 0.28);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}

.reading-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(88vw, 370px);
  padding: max(4rem, calc(env(safe-area-inset-top) + 3.25rem)) 1.5rem 2rem;
  border-right: 1px solid rgba(90, 53, 104, 0.14);
  background: linear-gradient(155deg, rgba(255, 253, 250, 0.98), rgba(250, 235, 241, 0.98));
  box-shadow: 18px 0 55px rgba(42, 22, 56, 0.18);
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.reading-drawer.is-open .reading-drawer__backdrop { opacity: 1; }
.reading-drawer.is-open .reading-drawer__panel { transform: translateX(0); }

.reading-drawer__close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(90, 53, 104, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #4a2d57;
  font: 300 1.6rem/1 "Cormorant Garamond", serif;
  cursor: pointer;
}

.reading-drawer__eyebrow {
  margin: 0 0 0.5rem;
  color: rgba(74, 45, 87, 0.56);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reading-drawer h2 {
  margin: 0 0 1.4rem;
  color: #3f234c;
  font: 600 clamp(2rem, 7vw, 2.65rem)/1 "Cormorant Garamond", serif;
}

.reading-drawer__nav {
  display: grid;
  gap: 0.75rem;
}

.reading-drawer__nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(90, 53, 104, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.62);
  color: #4a2d57;
  font-size: 0.76rem;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.reading-drawer__nav a span { color: rgba(90, 53, 104, 0.58); }

.reading-profile {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
  margin: 0;
  border-top: 1px solid rgba(90, 53, 104, 0.12);
}

.reading-profile dt,
.reading-profile dd {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(90, 53, 104, 0.1);
  line-height: 1.4;
}

.reading-profile dt {
  color: rgba(74, 45, 87, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reading-profile dd {
  color: #4a2d57;
  font: 600 1rem/1.35 "Cormorant Garamond", serif;
  text-align: right;
}

.read-fan-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 6% 18%;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 220, 255, 0.18), transparent 55%),
    radial-gradient(circle at 78% 22%, rgba(255, 210, 235, 0.14), transparent 52%);
  pointer-events: none;
  z-index: 0;
}

.read-fan {
  /* Geometry is overridden per breakpoint and read by reading.js. */
  --read-card-w: clamp(104px, 17.5vw, 165px);
  --read-fan-max-deg: 58;
  --read-fan-spread: 0.76;
  --read-fan-lift: 0.2;
  --read-fan-bend: 7;
  --read-fan-hover-lift: 1.35vw;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  margin: 0 auto;
  /* JS refines this stable fallback from the actual card bounds. */
  min-height: calc(var(--read-card-w) * 1.647 + 2rem);
  padding-bottom: clamp(0.65rem, 2vw, 1.1rem);
  transform: translateZ(0);
  perspective: 1100px;
}

.read-fan.is-locked .read-fan__card:not(.is-revealed) {
  pointer-events: none;
  filter: saturate(0.92) brightness(0.96);
  opacity: 0.56;
}

.read-fan__card {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--read-card-w);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1000px;
  transform-origin: 50% 92%;
  transform: translateX(-50%) translateX(var(--read-shift-x, 0px)) translateY(var(--read-lift, 0px)) rotate(var(--read-angle, 0deg));
  transition:
    transform 0.68s cubic-bezier(0.2, 0.8, 0.25, 1),
    filter 0.58s ease,
    opacity 0.58s ease;
  -webkit-tap-highlight-color: transparent;
}

.read-fan__card:focus-visible {
  outline: none;
}

.read-fan__card:focus-visible .read-fan__card-inner {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.75),
    0 0 0 4px rgba(90, 53, 104, 0.42);
}

.read-fan__card-inner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 340 / 560;
  transform-style: preserve-3d;
  border-radius: 10px;
  transition:
    transform 0.62s cubic-bezier(0.45, 0, 0.55, 1),
    box-shadow 0.55s ease;
  will-change: transform;
  box-shadow:
    0 18px 38px rgba(40, 18, 56, 0.26),
    0 0 0 1px rgba(255, 220, 160, 0.22) inset;
}

.read-fan__face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.read-fan__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.read-fan__face--back {
  transform: rotateY(0deg);
}

.read-fan__face--front {
  display: none;
}

.read-fan__card:hover:not(.is-revealed):not(.is-busy):not(.is-selected) {
  z-index: 80 !important;
  transform: translateX(-50%) translateX(var(--read-shift-x, 0px)) translateY(calc(var(--read-lift, 0px) - var(--read-fan-hover-lift, 1.35vw))) rotate(var(--read-angle, 0deg)) rotateZ(var(--read-bend, 0deg));
  filter: drop-shadow(0 0 18px rgba(255, 215, 150, 0.55));
}

.read-fan__card:hover:not(.is-revealed):not(.is-busy):not(.is-selected) .read-fan__card-inner {
  box-shadow:
    0 22px 48px rgba(40, 18, 56, 0.32),
    0 0 0 1px rgba(255, 220, 170, 0.55) inset,
    0 0 24px rgba(255, 210, 140, 0.35);
}

.read-fan__card.is-flipping-out .read-fan__card-inner {
  transform: rotateY(90deg);
}

.read-fan__card.is-selected {
  z-index: 100 !important;
  opacity: 1 !important;
  filter: drop-shadow(0 12px 24px rgba(61, 31, 76, 0.24));
  transform: translateX(-50%) translateY(0) rotate(0deg) scale(1.12);
}

.read-fan__card.is-flip-reset .read-fan__card-inner {
  transform: rotateY(-90deg);
  transition: none !important;
}

.read-fan__card.is-revealed:not(.is-flip-reset) .read-fan__card-inner {
  transform: rotateY(0deg);
  transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}

.read-fan__card.is-loading-face .read-fan__card-inner {
  filter: brightness(0.98);
}

.read-fan__pointer {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: -0.15rem auto 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.read-mobile-controls {
  display: none;
}

.read-fan-wrap.is-locked .read-fan__pointer {
  opacity: 0;
  visibility: hidden;
}

.read-fan__pointer-orbit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fffdf8 0%, #f7e7ef 66%, #ead2e1 100%);
  border: 1px solid rgba(90, 53, 104, 0.2);
  box-shadow: 0 7px 22px rgba(45, 24, 58, 0.13), 0 0 18px rgba(255, 203, 224, 0.34);
  animation: read-fan-orbit-float 2.2s ease-in-out infinite;
}

.read-fan__pointer-orbit::before,
.read-fan__pointer-orbit::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(90, 53, 104, 0.26);
  border-radius: 50%;
  animation: read-fan-orbit-ring 2.2s ease-out infinite;
}

.read-fan__pointer-orbit::after {
  animation-delay: 1.1s;
}

.read-fan__pointer-orbit img {
  display: block;
  width: 18px;
  height: 18px;
  opacity: 0.82;
  animation: read-fan-sparkle 4.5s linear infinite;
}

@keyframes read-fan-orbit-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes read-fan-orbit-ring {
  0% { transform: scale(0.82); opacity: 0; }
  22% { opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes read-fan-sparkle {
  to { transform: rotate(360deg); }
}

.read-fan__hint {
  width: 100%;
  margin-top: 0.85rem;
  text-align: center;
  font-size: clamp(0.62rem, 2.2vw, 0.74rem);
  letter-spacing: 0.03em;
  color: rgba(74, 45, 87, 0.66);
}

.read-page .read-fan__hint {
  position: relative;
  z-index: 6;
  margin-top: 0.55rem;
  padding: 0 0.5rem;
}

.read-quote {
  margin-top: 0.35rem;
}

.read-page .read-quote {
  margin-top: 0.15rem;
}

/* Wide: slightly wider fan */
@media (min-width: 1200px) {
  .read-fan {
    --read-card-w: clamp(118px, 15vw, 176px);
    --read-fan-max-deg: 62;
    --read-fan-spread: 0.8;
    --read-fan-lift: 0.22;
    --read-fan-hover-lift: 1.25vw;
  }
}

/* Tablet / small laptop */
@media (max-width: 900px) {
  .read-page .intro-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .read-fan {
    --read-card-w: clamp(96px, 22vw, 148px);
    --read-fan-max-deg: 52;
    --read-fan-spread: 0.78;
    --read-fan-lift: 0.19;
    --read-fan-bend: 6;
    --read-fan-hover-lift: 1.5vw;
  }

  .read-page .read-steps {
    margin-bottom: 0.55rem;
  }
}

@media (max-width: 760px) {
  .read-fan-wrap.is-result {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 560px;
  }

  .read-fan-wrap.is-result .read-selection-area {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .read-result-panel {
    transform: translateY(24px);
  }

  .read-result-panel.is-visible {
    transform: translateY(0);
  }
}

/* Phone */
@media (max-width: 520px) {
  .read-page .intro-main {
    padding-left: max(0.85rem, env(safe-area-inset-left));
    padding-right: max(0.85rem, env(safe-area-inset-right));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .read-fan {
    --read-card-w: clamp(74px, 27vw, 118px);
    --read-fan-max-deg: 44;
    --read-fan-spread: 0.76;
    --read-fan-lift: 0.17;
    --read-fan-bend: 5;
    --read-fan-hover-lift: 1.75vw;
    padding-bottom: clamp(0.5rem, 3vw, 0.95rem);
  }

  .read-fan__card {
    pointer-events: none;
    opacity: 0;
    filter: saturate(0.82) brightness(0.92);
    transform: translateX(-50%) scale(0.86) !important;
  }

  .read-fan__card.is-mobile-active,
  .read-fan__card.is-mobile-prev,
  .read-fan__card.is-mobile-next {
    pointer-events: auto;
  }

  .read-fan__card.is-mobile-active {
    z-index: 40 !important;
    opacity: 1;
    filter: none;
    transform: translateX(-50%) scale(1) !important;
  }

  .read-fan__card.is-mobile-prev {
    z-index: 20 !important;
    opacity: 0.48;
    transform: translateX(-50%) translateX(-72%) scale(0.84) rotate(-5deg) !important;
  }

  .read-fan__card.is-mobile-next {
    z-index: 20 !important;
    opacity: 0.48;
    transform: translateX(-50%) translateX(72%) scale(0.84) rotate(5deg) !important;
  }

  .read-fan__card.is-selected {
    z-index: 100 !important;
    opacity: 1;
    filter: drop-shadow(0 12px 24px rgba(61, 31, 76, 0.24));
    transform: translateX(-50%) scale(1.12) !important;
  }

  .read-mobile-controls {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 44px minmax(128px, 1fr) 44px;
    align-items: center;
    gap: 0.65rem;
    width: min(100%, 250px);
    margin: 0.15rem auto 0;
  }

  .read-mobile-controls button {
    min-height: 44px;
    border: 1px solid rgba(74, 45, 87, 0.18);
    color: #4a2d57;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

  .read-mobile-controls button:active {
    transform: scale(0.96);
  }

  .read-mobile-controls__arrow {
    display: grid;
    place-items: center;
    width: 44px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 252, 248, 0.9);
    box-shadow: 0 5px 16px rgba(45, 24, 58, 0.1);
    font-size: 1.75rem !important;
    line-height: 1;
  }

  .read-mobile-controls__confirm {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #5a3568, #75477f);
    box-shadow: 0 8px 20px rgba(74, 45, 87, 0.2);
    color: #fffaf7 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .read-fan-wrap.is-locked .read-mobile-controls {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .read-fan-wrap.is-result {
    margin-top: 1.5rem;
  }

  .read-fan-wrap.is-result .read-fan {
    min-height: calc(var(--read-card-w) * 1.647 + 1.2rem) !important;
  }

  .read-result-panel {
    padding: 1.25rem 1.1rem;
    border-radius: 20px;
  }

  .read-result-panel__body {
    font-size: 1rem;
  }

  .read-fan__pointer {
    display: none;
  }

  .read-fan__pointer-orbit {
    width: 38px;
    height: 38px;
  }

  .read-page .read-fan__hint {
    margin-top: 0.45rem;
  }
}

/* Narrow phone */
@media (max-width: 380px) {
  .read-fan {
    --read-card-w: clamp(68px, 29vw, 104px);
    --read-fan-max-deg: 40;
    --read-fan-spread: 0.74;
    --read-fan-lift: 0.15;
  }
}

/* Short viewport: avoid huge scroll (landscape phone / small height) */
@media (max-height: 520px) and (orientation: landscape) {
  .read-page .read-hero {
    margin-bottom: 0.2rem;
  }

  .read-page .read-hero__title {
    font-size: clamp(1.35rem, 5vw, 2rem);
    margin-bottom: 0.25rem;
  }

  .read-page .read-chips {
    margin-top: 0.25rem;
  }

  .read-fan {
    padding-bottom: 0.45rem;
  }

  .read-fan__pointer-orbit {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .read-stage .intro-stage__wheel-img {
    animation: none !important;
  }

  .read-steps__line-dot {
    animation: none !important;
  }

  .read-fan__pointer {
    animation: none !important;
  }

  .read-fan__pointer-orbit,
  .read-fan__pointer-orbit::before,
  .read-fan__pointer-orbit::after,
  .read-fan__pointer-orbit img {
    animation: none !important;
  }

  .read-fan__card,
  .read-fan__card-inner {
    transition: none !important;
  }
}

.app-toast {
  position: fixed;
  z-index: 12000;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(16px);
  max-width: min(92vw, 380px);
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(74, 45, 87, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 240, 0.94) 100%);
  box-shadow:
    0 16px 40px rgba(45, 24, 58, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  color: #4a2d57;
  font: inherit;
  font-size: clamp(0.7rem, 2.5vw, 0.82rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.readings-page {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(255, 220, 210, 0.44), transparent 58%),
    radial-gradient(circle at 85% 78%, rgba(223, 190, 222, 0.24), transparent 34%),
    #fdf6f2;
}

.readings-catalog {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) 0 4rem;
  text-align: center;
}

.readings-catalog__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  color: rgba(74, 45, 87, 0.64);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.readings-catalog__eyebrow img { width: 15px; height: 15px; }

.readings-catalog h1 {
  margin: 0;
  color: #3f234c;
  font: 600 clamp(2.3rem, 7vw, 4.2rem)/1.05 "Cormorant Garamond", serif;
}

.readings-catalog__lead {
  margin: 0.75rem auto 2.3rem;
  color: rgba(74, 45, 87, 0.66);
  font-size: clamp(0.72rem, 2vw, 0.85rem);
}

.readings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: left;
}

.reading-option {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 180px;
  padding: 1.5rem;
  border: 1px solid rgba(90, 53, 104, 0.14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,242,239,.7));
  box-shadow: 0 18px 42px rgba(53, 27, 66, 0.1);
  color: #4a2d57;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

a.reading-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(53, 27, 66, 0.15);
}

.reading-option__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(90, 53, 104, 0.075);
  border: 1px solid rgba(90, 53, 104, 0.12);
}

.reading-option__icon img { width: 25px; height: 25px; }
.reading-option__copy { display: grid; gap: 0.5rem; }
.reading-option__copy strong { font: 600 1.45rem/1.1 "Cormorant Garamond", serif; }
.reading-option__copy small { color: rgba(74,45,87,.65); font-size: .68rem; line-height: 1.55; }
.reading-option__arrow { font-size: 1.5rem; }
.reading-option.is-coming { opacity: 0.68; }
.reading-option__badge { position: absolute; top: 1rem; right: 1rem; padding: .35rem .6rem; border-radius: 999px; background: rgba(90,53,104,.08); font-size: .55rem; letter-spacing: .06em; text-transform: uppercase; }
.readings-catalog__back { display: inline-block; margin-top: 2rem; color: rgba(74,45,87,.7); font-size: .7rem; text-decoration: none; }

@media (max-width: 680px) {
  .readings-grid { grid-template-columns: 1fr; }
  .reading-option { min-height: 150px; padding: 1.2rem; grid-template-columns: 50px minmax(0, 1fr) auto; }
  .reading-option__icon { width: 50px; height: 50px; }
}

.ct-chat {
  position: fixed;
  z-index: 12500;
  right: max(1.15rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  font-family: "Cinzel", "Times New Roman", serif;
}

.ct-chat__launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: linear-gradient(145deg, #75477f, #492654);
  box-shadow: 0 12px 30px rgba(53,27,66,.28);
  color: #fffaf7;
  cursor: pointer;
}

.ct-chat__launcher svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.ct-chat__launcher svg circle { fill: currentColor; stroke: none; }
.ct-chat__pulse { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border: 2px solid #fffaf7; border-radius: 50%; background: #d887a1; }

.ct-chat__panel[hidden],
.ct-chat__lock[hidden] { display: none; }

.ct-chat__panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(370px, calc(100vw - 2rem));
  height: min(540px, calc(100dvh - 7rem));
  overflow: hidden;
  border: 1px solid rgba(90,53,104,.14);
  border-radius: 23px;
  background: rgba(255,250,247,.97);
  box-shadow: 0 24px 65px rgba(42,22,56,.24);
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transform-origin: 90% 100%;
  transition: opacity .25s ease, transform .3s cubic-bezier(.22,1,.36,1);
}

.ct-chat.is-open .ct-chat__panel { opacity: 1; transform: translateY(0) scale(1); }

.ct-chat__header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(90,53,104,.1);
  background: linear-gradient(135deg, rgba(248,232,238,.95), rgba(255,251,247,.98));
}

.ct-chat__header div { display: grid; gap: .2rem; }
.ct-chat__header strong { color: #42264d; font: 600 1.15rem/1.1 "Cormorant Garamond", serif; }
.ct-chat__header small { color: rgba(74,45,87,.58); font-size: .52rem; letter-spacing: .04em; }
.ct-chat__close { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(90,53,104,.07); color: #4a2d57; font: 300 1.4rem/1 serif; cursor: pointer; }

.ct-chat__stream {
  overflow: auto;
  padding: 1rem;
  background: radial-gradient(circle at 80% 10%, rgba(232,201,222,.25), transparent 42%), #fffaf7;
  transition: filter .35s ease;
}

.ct-chat__stream.is-locked { filter: blur(7px); user-select: none; pointer-events: none; }
.ct-chat__stream.is-unavailable { visibility: hidden; opacity: 0; pointer-events: none; }
.ct-chat__message { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .8rem; }
.ct-chat__avatar { display: grid; flex: 0 0 auto; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: rgba(255,255,255,.9); font-size: .57rem; }
.ct-chat__message p { max-width: 82%; margin: 0; padding: .65rem .75rem; border-radius: 5px 14px 14px 14px; background: #f1e4eb; color: #503259; font-family: "Cormorant Garamond", serif; font-size: .93rem; line-height: 1.35; }

.ct-chat__lock {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(82%, 285px);
  padding: 1.3rem 1.15rem;
  border-radius: 20px;
  background: rgba(255,250,247,.91);
  box-shadow: 0 14px 42px rgba(53,27,66,.16);
  color: #4a2d57;
  text-align: center;
  transform: translate(-50%, -42%);
  backdrop-filter: blur(10px);
}

.ct-chat__lock-mark { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto .7rem; border-radius: 50%; background: rgba(90,53,104,.09); color: #684073; }
.ct-chat__lock strong { display: block; font: 600 1.3rem/1.1 "Cormorant Garamond", serif; }
.ct-chat__lock p { margin: .55rem 0 .85rem; color: rgba(74,45,87,.7); font-size: .62rem; line-height: 1.55; }
.ct-chat__progress { display: block; width: 100%; height: 5px; overflow: hidden; border-radius: 99px; background: rgba(90,53,104,.1); }
.ct-chat__progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9d6c98, #63366e); transition: width .4s ease; }

.ct-chat__status[hidden] { display: none; }
.ct-chat__status { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(80%, 270px); padding: 1.35rem 1.15rem; border-radius: 20px; background: rgba(255,250,247,.94); color: #4a2d57; text-align: center; transform: translate(-50%,-40%); backdrop-filter: blur(9px); }
.ct-chat__spinner { display: block; width: 34px; height: 34px; margin: 0 auto .8rem; border: 2px solid rgba(90,53,104,.16); border-top-color: #70427b; border-radius: 50%; animation: ct-chat-spin .8s linear infinite; }
.ct-chat__status-mark { display: none; place-items: center; width: 34px; height: 34px; margin: 0 auto .8rem; border-radius: 50%; background: rgba(151,72,91,.1); color: #985064; font: 600 1rem/1 "Cinzel",serif; }
.ct-chat__status strong { display: block; font: 600 1.25rem/1.15 "Cormorant Garamond",serif; }
.ct-chat__status p { margin: .5rem 0 0; color: rgba(74,45,87,.65); font-size: .6rem; line-height: 1.5; }
.ct-chat__status.is-error .ct-chat__spinner { display: none; }
.ct-chat__status.is-error .ct-chat__status-mark { display: grid; }
@keyframes ct-chat-spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .ct-chat { right: max(.85rem, env(safe-area-inset-right)); bottom: max(.85rem, env(safe-area-inset-bottom)); }
  .ct-chat__launcher { width: 52px; height: 52px; }
  .ct-chat__panel { bottom: 64px; width: calc(100vw - 1.7rem); height: min(510px, calc(100dvh - 5.8rem)); }
}

.cards-page {
  min-height: 100dvh;
  background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(255,220,210,.42), transparent 60%), #fdf6f2;
}

.cards-library {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 5rem;
  text-align: center;
}

.cards-library__eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .7rem; color: rgba(74,45,87,.62); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; }
.cards-library__eyebrow img { width: 15px; height: 15px; }
.cards-library h1 { margin: 0; color: #3f234c; font: 600 clamp(2.5rem, 7vw, 4.4rem)/1 "Cormorant Garamond", serif; }
.cards-library__lead { max-width: 45em; margin: .85rem auto 1.6rem; color: rgba(74,45,87,.65); font-size: .74rem; line-height: 1.6; }

.cards-library__search { display: flex; align-items: center; gap: .65rem; width: min(100%, 460px); margin: 0 auto 2rem; padding: 0 .95rem; min-height: 48px; border: 1px solid rgba(90,53,104,.16); border-radius: 999px; background: rgba(255,255,255,.72); color: rgba(74,45,87,.55); }
.cards-library__search input { width: 100%; border: 0; outline: 0; background: transparent; color: #4a2d57; font: inherit; font-size: .68rem; }
.cards-library__search input::placeholder { color: rgba(74,45,87,.43); }

.cards-library__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.tarot-library-card { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: .9rem; align-items: center; min-height: 180px; padding: .8rem; border: 1px solid rgba(90,53,104,.12); border-radius: 18px; background: rgba(255,255,255,.68); color: #4a2d57; text-align: left; cursor: pointer; box-shadow: 0 12px 28px rgba(53,27,66,.07); transition: transform .35s ease, box-shadow .35s ease, background .35s ease; }
.tarot-library-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.9); box-shadow: 0 20px 40px rgba(53,27,66,.12); }
.tarot-library-card__image { overflow: hidden; border-radius: 9px; box-shadow: 0 8px 18px rgba(42,22,56,.2); }
.tarot-library-card__image img { display: block; width: 100%; aspect-ratio: 340/560; object-fit: cover; }
.tarot-library-card__copy { display: grid; gap: .42rem; }
.tarot-library-card__copy strong { font: 600 1.2rem/1.05 "Cormorant Garamond", serif; }
.tarot-library-card__copy small { color: rgba(74,45,87,.62); font: .82rem/1.35 "Cormorant Garamond", serif; }
.tarot-library-card__copy em { color: rgba(90,53,104,.68); font-size: .53rem; font-style: normal; letter-spacing: .045em; text-transform: uppercase; }
.cards-library__empty { color: rgba(74,45,87,.6); font-size: .7rem; }

.card-detail[hidden] { display: none; }
.card-detail { position: fixed; z-index: 13500; inset: 0; display: grid; place-items: center; padding: 1rem; }
.card-detail__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(35,18,45,.4); opacity: 0; backdrop-filter: blur(4px); transition: opacity .3s ease; }
.card-detail__panel { position: relative; display: grid; grid-template-columns: minmax(190px, .7fr) minmax(300px, 1.3fr); gap: clamp(1.3rem,4vw,2.5rem); align-items: center; width: min(850px, 100%); max-height: calc(100dvh - 2rem); overflow: auto; padding: clamp(1.2rem,3vw,2rem); border-radius: 26px; background: linear-gradient(145deg,#fffdfa,#faedf1); box-shadow: 0 30px 80px rgba(35,18,45,.3); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .3s ease, transform .38s cubic-bezier(.22,1,.36,1); }
.card-detail.is-open .card-detail__backdrop { opacity: 1; }
.card-detail.is-open .card-detail__panel { opacity: 1; transform: translateY(0) scale(1); }
.card-detail__close { position: absolute; z-index: 2; top: .8rem; right: .8rem; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(90,53,104,.08); color: #4a2d57; font: 300 1.5rem/1 serif; cursor: pointer; }
.card-detail__visual { width: min(100%, 260px); margin: 0 auto; }
.card-detail__visual img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 20px 45px rgba(42,22,56,.24); }
.card-detail__content { text-align: left; }
.card-detail__eyebrow { margin: 0 0 .4rem; color: rgba(74,45,87,.55); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.card-detail h2 { margin: 0; color: #3f234c; font: 600 clamp(2.4rem,6vw,4rem)/1 "Cormorant Garamond", serif; }
.card-detail__meaning { margin: .65rem 0 1.2rem; color: rgba(74,45,87,.72); font: 1.08rem/1.45 "Cormorant Garamond", serif; }
.card-detail__section { display: flex; gap: .75rem; margin-top: .9rem; }
.card-detail__section > span { display: grid; flex: 0 0 auto; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: rgba(90,53,104,.08); color: #6a4275; }
.card-detail__section h3 { margin: 0 0 .25rem; color: #4a2d57; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.card-detail__section p { margin: 0; color: rgba(74,45,87,.72); font: .95rem/1.45 "Cormorant Garamond", serif; }
.card-detail__advice { margin-top: 1.2rem; color: #4a2d57; font: italic 1.05rem/1.45 "Cormorant Garamond", serif; }

@media (max-width: 980px) { .cards-library__grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 740px) { .cards-library__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .card-detail__panel { grid-template-columns: 150px 1fr; } }
@media (max-width: 520px) {
  .cards-library { width: min(100% - 1.25rem, 420px); padding-top: 2.25rem; }
  .cards-library__grid { grid-template-columns: 1fr; }
  .tarot-library-card { grid-template-columns: 88px 1fr; min-height: 164px; }
  .card-detail { padding: .6rem; }
  .card-detail__panel { display: block; padding: 1rem; border-radius: 20px; }
  .card-detail__visual { width: 145px; margin-bottom: 1.25rem; }
  .card-detail__content { padding: 0 .25rem .5rem; }
}
  .read-page .read-steps {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .read-steps__list {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 0.2rem;
  }

  .read-steps__item {
    min-width: 0;
    gap: 0.25rem;
  }

  .read-steps__line {
    width: 100%;
  }

  .read-steps__label {
    max-width: 9em;
    font-size: clamp(0.5rem, 2.2vw, 0.6rem);
    letter-spacing: 0.035em;
  }

  .read-page .read-fan-wrap {
    margin-top: 2.25rem;
  }

