:root {
  --bg: #0c0714;
  --bg-deep: #170a24;
  --bg-ink: #26103d;
  --panel: rgba(21, 10, 34, 0.74);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(245, 214, 162, 0.16);
  --line-strong: rgba(245, 214, 162, 0.34);
  --gold: #f0d7a2;
  --gold-hot: #d89c51;
  --text: #fbf2df;
  --muted: #d1c4b7;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --progress: 10%;
  --font-display: "Baskerville", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "PingFang TC", "Noto Sans TC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 0%, rgba(136, 88, 218, 0.22), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(255, 196, 118, 0.15), transparent 24%),
    radial-gradient(circle at 48% 100%, rgba(112, 69, 199, 0.22), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 42%, #09050f 100%);
  overflow-x: hidden;
}

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

body::before {
  background-image:
    radial-gradient(circle, rgba(255, 236, 198, 0.8) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 236, 198, 0.4) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(227, 193, 129, 0.28) 0 1px, transparent 2px);
  background-size: 160px 160px, 240px 240px, 320px 320px;
  background-position: 0 0, 90px 70px, 140px 30px;
  opacity: 0.34;
  animation: drift 34s linear infinite;
}

body::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 220, 150, 0.06), transparent 18%),
    radial-gradient(circle at 80% 76%, rgba(126, 85, 207, 0.1), transparent 22%);
  filter: blur(44px);
}

body[data-step="fusion"]::after,
body[data-step="share"]::after {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 220, 150, 0.08), transparent 18%),
    radial-gradient(circle at 80% 34%, rgba(126, 85, 207, 0.16), transparent 22%),
    radial-gradient(circle at 52% 78%, rgba(232, 180, 99, 0.08), transparent 18%);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
}

select {
  font: inherit;
}

body:not(.page-ready) .scene-card,
body:not(.page-ready) .hero-card,
body:not(.page-ready) .topbar {
  opacity: 0;
  transform: translateY(14px);
}

body.page-ready .scene-card,
body.page-ready .hero-card,
body.page-ready .topbar {
  opacity: 1;
  transform: none;
}

body.page-leave {
  opacity: 0;
  transition: opacity 0.26s ease;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 214, 162, 0.08);
  background: linear-gradient(180deg, rgba(8, 4, 14, 0.85), rgba(8, 4, 14, 0.38));
  transition: 0.5s ease;
}

.topbar-inner {
  width: min(1200px, calc(100vw - 24px));
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 14px;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  color: var(--gold);
}

.brand-copy strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-copy small {
  display: block;
  margin-top: 4px;
  color: rgba(251, 242, 223, 0.68);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 10px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.question-pill {
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tiny-button,
.ghost-button,
.gold-button,
.soft-button,
.choice-card,
.quick-pill,
.mbti-chip,
.followup-pill {
  -webkit-tap-highlight-color: transparent;
}

.tiny-button,
.soft-button,
.ghost-button {
  border: 1px solid rgba(245, 214, 162, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.tiny-button,
.soft-button,
.ghost-button,
.gold-button {
  position: relative;
  overflow: hidden;
  padding: 14px 18px;
  border-radius: 999px;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.gold-button {
  background: linear-gradient(135deg, #f4dfb5, #ca8e47);
  color: #26123d;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(202, 142, 71, 0.24);
}

.tiny-button:hover,
.soft-button:hover,
.ghost-button:hover,
.gold-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.gold-button:disabled,
.soft-button:disabled,
.ghost-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.progress-line {
  position: relative;
  width: 180px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(245, 214, 162, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.progress-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  background: linear-gradient(90deg, #f6e0ae, #cf9151);
  box-shadow: 0 0 18px rgba(205, 151, 87, 0.32);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-shell {
  width: min(1200px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 22px 0 50px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.step-rail {
  position: sticky;
  top: 112px;
  height: fit-content;
  display: grid;
  gap: 10px;
  align-content: start;
}

.step-dot {
  padding: 14px 12px;
  border-radius: 20px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(251, 242, 223, 0.62);
  transition: 0.24s ease;
}

.step-dot span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 1px solid rgba(245, 214, 162, 0.16);
}

.step-dot small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-dot.is-active,
.step-dot.is-done {
  border-color: rgba(245, 214, 162, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.step-dot.is-active span,
.step-dot.is-done span {
  background: linear-gradient(135deg, rgba(244, 223, 181, 0.18), rgba(202, 142, 71, 0.2));
  box-shadow: 0 0 18px rgba(205, 151, 87, 0.18);
}

.rail-gallery {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  padding: 16px 14px 18px;
  border-radius: 24px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background:
    linear-gradient(180deg, rgba(35, 17, 54, 0.82), rgba(10, 6, 18, 0.82)),
    radial-gradient(circle at top, rgba(245, 214, 162, 0.08), transparent 34%);
  box-shadow: var(--shadow);
}

.rail-gallery::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(245, 214, 162, 0.08);
  pointer-events: none;
}

.rail-gallery-copy strong,
.rail-gallery-copy span,
.rail-gallery-fan {
  position: relative;
  z-index: 1;
}

.rail-gallery-copy strong {
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rail-gallery-copy span {
  display: block;
  color: rgba(251, 242, 223, 0.72);
  font-size: 13px;
  line-height: 1.72;
}

.rail-gallery-fan {
  position: relative;
  height: 230px;
  margin-top: 16px;
}

.rail-card-thumb {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 108px;
  aspect-ratio: 0.64 / 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(245, 214, 162, 0.18);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  transform: var(--card-transform);
  transform-origin: bottom center;
  animation: fanFloat 10s ease-in-out infinite;
}

.rail-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-card-thumb.pos-0 {
  --card-transform: translateX(-90%) rotate(-10deg);
}

.rail-card-thumb.pos-1 {
  --card-transform: translateX(-50%) translateY(-10px);
  z-index: 2;
}

.rail-card-thumb.pos-2 {
  --card-transform: translateX(-12%) rotate(10deg);
  animation-delay: -2.5s;
}

.scene-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 13, 44, 0.78), rgba(10, 6, 17, 0.82));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: 0.52s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius-xl) - 12px);
  border: 1px solid rgba(245, 214, 162, 0.08);
  pointer-events: none;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 46%;
  height: 120%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 234, 198, 0.06), rgba(255, 255, 255, 0));
  transform: rotate(18deg);
  animation: sheen 13s linear infinite;
  pointer-events: none;
}

.scene-card > * {
  position: relative;
  z-index: 1;
}

.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 120ms);
}

body.page-ready .will-reveal {
  opacity: 1;
  transform: none;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.headline {
  margin: 20px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 74px);
  line-height: 0.94;
  font-weight: 500;
}

.subhead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.hero-layout,
.split-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* 予妳瑤光 — center-stage altar hero
   The three tarot cards sit in the middle of the page, with the eyebrow above,
   the headline below, and the CTA one breath under the headline. Whispers flank
   the altar on desktop, collapse below on mobile. */
.hero-scene {
  display: block;
  padding: clamp(28px, 5vw, 64px) clamp(24px, 5vw, 56px) clamp(48px, 7vw, 96px);
}

.hero-altar {
  position: relative;
  display: grid;
  place-items: center;
  gap: clamp(22px, 3vw, 36px);
  text-align: center;
  padding: 20px 0 10px;
}

.hero-altar .eyebrow {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.34em;
  margin: 0;
}

.hero-cards {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(580px, 94vw);
  margin: 0 auto;
  padding: 10px 0;
}

.hero-halo {
  position: absolute;
  inset: -20% -8%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(244, 214, 160, 0.32), rgba(244, 214, 160, 0.08) 42%, transparent 72%),
    radial-gradient(ellipse at 30% 70%, rgba(122, 78, 196, 0.18), transparent 60%);
  filter: blur(16px);
  animation: altar-halo 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes altar-halo {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.03); }
}

.hero-cards .hero-card {
  position: relative;
  flex: 0 0 auto;
  width: min(170px, 28vw);
  aspect-ratio: 3 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #0a050f;
  border: 1px solid rgba(244, 214, 160, 0.22);
  box-shadow:
    0 36px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 60px -12px rgba(244, 214, 160, 0.35);
  transform-origin: center bottom;
  transition: transform 0.9s cubic-bezier(.2, .7, .2, 1.1), box-shadow 0.5s ease;
}

.hero-cards .hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards flow in a row and overlap via negative margins + transforms. */
.hero-cards .hero-card-left {
  margin-right: -42px;
  transform: translateY(6%) rotate(-9deg);
  z-index: 1;
}
.hero-cards .hero-card-center {
  transform: translateY(-10%) rotate(-1deg);
  z-index: 3;
  width: min(188px, 32vw);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.8),
    0 0 80px -10px rgba(244, 214, 160, 0.5);
}
.hero-cards .hero-card-right {
  margin-left: -42px;
  transform: translateY(6%) rotate(9deg);
  z-index: 2;
}

.hero-cards:hover .hero-card-left   { transform: translateY(0) rotate(-11deg); }
.hero-cards:hover .hero-card-center { transform: translateY(-14%) rotate(-1deg); }
.hero-cards:hover .hero-card-right  { transform: translateY(0) rotate(11deg); }

.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--text);
  background: linear-gradient(180deg, #ffe8c3 0%, #f4d6a0 55%, #c6904f 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 720px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.hero-cta-button {
  min-width: 220px;
  padding-inline: 32px;
  letter-spacing: 0.24em;
}

.hero-whispers {
  position: relative;
  width: 100%;
  max-width: 880px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(24px, 4vw, 44px);
}

.hero-whisper {
  margin: 0;
  color: rgba(251, 242, 223, 0.7);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.85;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 214, 160, 0.14);
  letter-spacing: 0.04em;
}
.hero-whisper-top    { text-align: right; }
.hero-whisper-bottom { text-align: left;  }

.hero-features {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* ==========================================================================
   FUSION UPGRADE INVITATION (the paywall tease at the bottom of /fusion)
   ========================================================================== */
.fusion-upgrade {
  position: relative;
  margin-top: 64px;
  padding: 56px 44px 64px;
  border-radius: 28px;
  border: 1px solid rgba(244, 214, 160, 0.28);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(244, 214, 160, 0.18), transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(122, 78, 196, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(20, 8, 29, 0.9), rgba(8, 4, 14, 0.95));
  overflow: hidden;
  isolation: isolate;
}

.fusion-upgrade-halo {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 200%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(244, 214, 160, 0.24) 0%, rgba(244, 214, 160, 0.04) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: upgrade-halo 10s ease-in-out infinite;
}
@keyframes upgrade-halo {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 1.1; }
}

.fusion-upgrade-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.fusion-upgrade-eyebrow {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  padding: 6px 18px;
  border: 1px solid rgba(244, 214, 160, 0.28);
  border-radius: 999px;
  background: rgba(244, 214, 160, 0.05);
}

.fusion-upgrade-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.35;
  margin: 0;
  max-width: 700px;
  background: linear-gradient(180deg, #fff2da 0%, #f4d6a0 55%, #c6904f 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fusion-upgrade-body {
  margin: 0;
  max-width: 560px;
  color: rgba(251, 242, 223, 0.82);
  font-size: 16px;
  line-height: 1.95;
}
.fusion-upgrade-body strong {
  color: var(--gold);
  font-weight: 600;
}

.fusion-upgrade-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 880px;
  margin-top: 6px;
}

.fusion-upgrade-feature {
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(244, 214, 160, 0.14);
  background: rgba(8, 4, 14, 0.55);
  display: grid;
  gap: 10px;
  text-align: left;
}
.fusion-upgrade-feature-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.16em;
}
.fusion-upgrade-feature strong {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}
.fusion-upgrade-feature p {
  margin: 0;
  color: rgba(251, 242, 223, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.fusion-upgrade-actions {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.fusion-upgrade-cta {
  padding: 18px 46px;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.fusion-upgrade-price {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(251, 242, 223, 0.58);
  font-size: 13px;
  letter-spacing: 0.14em;
}

@media (max-width: 960px) {
  .fusion-upgrade { padding: 44px 22px 52px; margin-top: 48px; }
  .fusion-upgrade-features { grid-template-columns: 1fr; }
  .fusion-upgrade-feature { padding: 20px 18px; }
}

@media (max-width: 960px) {
  .hero-scene { padding: 24px 18px 64px; }
  .hero-cards { width: min(92vw, 420px); height: min(56vw, 260px); }
  .hero-cards .hero-card        { width: min(150px, 30vw); }
  .hero-cards .hero-card-center { width: min(170px, 34vw); }
  .hero-headline { font-size: clamp(26px, 6.2vw, 44px); }
  .hero-whispers { grid-template-columns: 1fr; gap: 10px; }
  .hero-whisper-top, .hero-whisper-bottom { text-align: center; }
  .hero-features { grid-template-columns: 1fr; }
}

.locale-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.locale-pill {
  min-width: 68px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(251, 242, 223, 0.74);
  font-size: 13px;
  font-weight: 700;
  transition: 0.22s ease;
}

.locale-pill.is-active {
  color: #26123d;
  background: linear-gradient(135deg, #f4dfb5, #ca8e47);
  box-shadow: 0 10px 20px rgba(202, 142, 71, 0.18);
}

.topbar-locale {
  padding: 4px;
  flex: 0 0 auto;
  margin-right: auto;
}

.topbar-locale .locale-pill {
  min-width: 54px;
  padding: 6px 14px;
  font-size: 12px;
}

.hero-copy .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0;
}

.feature-card,
.reading-card,
.info-panel,
.poster-panel,
.result-panel,
.analysis-block,
.choice-card,
.followup-pill,
.mbti-chip,
.form-field,
.caption-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.feature-card,
.analysis-block,
.caption-panel,
.result-panel,
.poster-panel,
.info-panel {
  padding: 18px;
}

.poster-panel,
.caption-panel,
.analysis-block,
.result-panel {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-card strong {
  display: block;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-card p,
.analysis-block p,
.caption-panel p,
.result-panel p,
.info-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.long-text {
  white-space: pre-line;
}

.long-text + .long-text,
.long-text + p,
p + .long-text {
  margin-top: 10px;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 219, 152, 0.13), transparent 16%),
    radial-gradient(circle at 50% 48%, rgba(129, 88, 211, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(31, 14, 56, 0.96), rgba(10, 6, 19, 0.95));
}

.hero-stage .hero-card::after,
.rail-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 28%, rgba(255,255,255,0.06) 60%, rgba(255,255,255,0) 78%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 28px;
  border: 1px solid rgba(245, 214, 162, 0.1);
}

.hero-stage::after {
  inset: 44px;
  border-style: dashed;
  opacity: 0.55;
}

.orb {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(35vw, 360px);
  height: min(35vw, 360px);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 46% 34%, rgba(255, 255, 255, 0.96), rgba(255, 219, 152, 0.82) 20%, rgba(128, 88, 211, 0.26) 58%, rgba(0, 0, 0, 0) 80%),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 28%);
  box-shadow: 0 0 64px rgba(255, 216, 142, 0.16), 0 0 130px rgba(120, 81, 194, 0.22);
  animation: breathe 7.4s ease-in-out infinite;
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: inherit;
  border: 1px solid rgba(245, 214, 162, 0.18);
  animation: spin 24s linear infinite;
}

.orb::after {
  inset: -48px;
  border-style: dashed;
  opacity: 0.5;
  animation-duration: 36s;
}

.hero-card {
  position: absolute;
  width: min(28vw, 220px);
  aspect-ratio: 0.64 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 214, 162, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  transition: 0.5s ease;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card.left {
  left: 8%;
  bottom: 14%;
  transform: rotate(-9deg);
  animation: float 8s ease-in-out infinite;
}

.hero-card.center {
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
}

.hero-card.right {
  right: 8%;
  top: 10%;
  transform: rotate(10deg);
  animation: float 10s ease-in-out infinite reverse;
}

.scene-note {
  position: absolute;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(7, 4, 13, 0.56);
  color: #fff2d8;
  font-size: 14px;
  line-height: 1.8;
}

.scene-note.top {
  left: 22px;
  top: 22px;
}

.scene-note.bottom {
  right: 22px;
  bottom: 22px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 52px);
  font-family: var(--font-display);
  font-weight: 500;
}

.page-copy {
  color: var(--muted);
  line-height: 1.92;
  font-size: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.question-form,
.upgrade-form {
  display: grid;
  gap: 16px;
}

.followup-form {
  display: grid;
  gap: 14px;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.textarea,
.input {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 18px 18px 20px;
  outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.8;
}

.compact-textarea {
  min-height: 120px;
}

.textarea:focus,
.input:focus {
  border-color: rgba(245, 214, 162, 0.28);
  transform: translateY(-1px);
}

.helper {
  color: rgba(251, 242, 223, 0.62);
  line-height: 1.8;
  font-size: 14px;
}

.button-row,
.quick-grid,
.pill-row,
.mbti-grid,
.followup-grid,
.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-pill,
.mbti-chip,
.followup-pill {
  position: relative;
  overflow: hidden;
  padding: 12px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(245, 214, 162, 0.12);
  border-radius: 999px;
  transition: 0.2s ease;
}

.quick-pill:hover,
.mbti-chip:hover,
.followup-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 214, 162, 0.28);
  color: var(--text);
}

.mbti-chip.is-active,
.followup-pill.is-picked {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 214, 162, 0.4);
}

.mirror-quote {
  margin: 18px 0 26px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.36;
  font-family: var(--font-display);
}

.choice-grid {
  display: grid;
  gap: 14px;
}

.choice-card {
  padding: 20px;
  text-align: left;
  transition: 0.22s ease;
}

.choice-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.choice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.84;
}

.choice-card.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 214, 162, 0.42);
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(209, 151, 85, 0.12);
}

.card-stage {
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 24px 0 14px;
}

.draw-launch {
  min-width: 180px;
}

.tarot-card {
  appearance: none;
  position: relative;
  width: min(26vw, 230px);
  padding: 0;
  border: none;
  aspect-ratio: 0.64 / 1;
  background: transparent;
  perspective: 1400px;
  transform-style: preserve-3d;
  transition: transform 0.32s ease;
}

.tarot-card:nth-child(1) {
  transform: rotate(-8deg) translateY(18px);
}

.tarot-card:nth-child(2) {
  z-index: 2;
}

.tarot-card:nth-child(3) {
  transform: rotate(8deg) translateY(18px);
}

.tarot-card.is-clickable:hover {
  transform: translateY(-10px) scale(1.02);
}

.tarot-card.is-clickable {
  cursor: pointer;
}

.tarot-card.is-clickable .card-back {
  box-shadow: 0 0 0 1px rgba(245, 214, 162, 0.22), 0 24px 54px rgba(0, 0, 0, 0.32);
}

.tarot-card:disabled {
  cursor: default;
}

.tarot-card .card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(245, 214, 162, 0.22);
  backface-visibility: hidden;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.tarot-card .card-front {
  transform: rotateY(180deg);
}

.tarot-card .card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tarot-card .card-back {
  background: #120916;
}

.tarot-card .card-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 50% 22%, rgba(255, 225, 163, 0.18), rgba(0, 0, 0, 0) 48%);
  pointer-events: none;
}

.card-back-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tarot-card.is-flipped .card-back {
  transform: rotateY(180deg);
}

.tarot-card.is-flipped .card-front {
  transform: rotateY(0);
}

.tarot-card .card-front,
.tarot-card .card-back {
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.draw-preview {
  text-align: center;
  color: rgba(251, 242, 223, 0.82);
  letter-spacing: 0.05em;
  font-size: 15px;
  line-height: 1.8;
}

.range-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.range-meta strong {
  font-size: 34px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gold);
}

.range-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.range-input {
  width: 100%;
  appearance: none;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 223, 181, 0.9), rgba(202, 142, 71, 0.9));
  outline: none;
}

.range-input::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 242, 218, 0.92);
  background: #2a153f;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.range-input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 242, 218, 0.92);
  background: #2a153f;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.reading-grid {
  display: grid;
  gap: 16px;
}

.reading-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.reading-card-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(245, 214, 162, 0.12);
  position: relative;
}

.reading-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 28%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

.reading-card-copy span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}

.reading-card-copy h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  font-family: var(--font-display);
  font-weight: 500;
}

.reading-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.opener-box,
.fusion-ring,
.poster-grid,
.funnel-grid {
  display: grid;
  gap: 16px;
}

.opener-box {
  margin-bottom: 20px;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.upgrade-grid .full {
  grid-column: 1 / -1;
}

.upgrade-showcase,
.share-header,
.fusion-stage {
  display: grid;
  gap: 18px;
}

.upgrade-showcase {
  grid-template-columns: 1.02fr 0.98fr;
  margin-top: 24px;
}

.current-spread {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 217, 152, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(29, 13, 46, 0.92), rgba(10, 6, 18, 0.94));
}

.current-spread::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  border: 1px solid rgba(245, 214, 162, 0.08);
}

.spread-glow {
  position: absolute;
  inset: auto 18% 18% 18%;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 214, 162, 0.2), rgba(115, 69, 179, 0.02) 70%, rgba(0, 0, 0, 0));
  filter: blur(12px);
}

.spread-fan {
  position: relative;
  height: 100%;
  min-height: 360px;
}

.spread-fan .spread-card {
  position: absolute;
  bottom: 42px;
  width: min(23vw, 176px);
  aspect-ratio: 0.64 / 1;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(245, 214, 162, 0.18);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
}

.spread-fan .spread-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spread-fan .spread-card.pos-0 {
  left: 12%;
  transform: rotate(-12deg) translateY(16px);
}

.spread-fan .spread-card.pos-1 {
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.spread-fan .spread-card.pos-2 {
  right: 12%;
  transform: rotate(12deg) translateY(16px);
}

.spread-copy {
  display: grid;
  gap: 16px;
}

.spotlight-box {
  position: relative;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 214, 162, 0.09), transparent 20%),
    rgba(255, 255, 255, 0.03);
}

.spotlight-box strong {
  display: block;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.spotlight-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.88;
}

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

.fusion-stage {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  margin-top: 22px;
}

.trinity-altar,
.ziwei-showcase {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(245, 214, 162, 0.14);
  overflow: hidden;
}

.trinity-altar {
  min-height: 420px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 225, 163, 0.14), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(123, 79, 202, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(28, 12, 46, 0.96), rgba(10, 6, 18, 0.94));
}

.trinity-altar::before,
.ziwei-showcase::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(245, 214, 162, 0.08);
}

.trinity-fan {
  position: absolute;
  inset: 0;
}

.trinity-fan .spread-card {
  bottom: 42px;
  width: min(23vw, 182px);
}

.trinity-core {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 235, 194, 0.16), rgba(141, 96, 221, 0.14) 56%, rgba(0,0,0,0) 70%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 70px rgba(245, 214, 162, 0.12);
}

.trinity-core::before,
.trinity-core::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: inherit;
  border: 1px solid rgba(245, 214, 162, 0.16);
  animation: spin 22s linear infinite;
}

.trinity-core::after {
  inset: -42px;
  border-style: dashed;
  opacity: 0.5;
  animation-duration: 34s;
}

.trinity-core span {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.trinity-core small {
  display: block;
  margin-top: 4px;
  color: rgba(251, 242, 223, 0.72);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ziwei-showcase {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 221, 167, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(26, 11, 41, 0.96), rgba(10, 6, 18, 0.94));
  padding: 18px;
  display: grid;
  gap: 16px;
}

.ziwei-chart-shell {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 234, 194, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.ziwei-chart-shell::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(245, 214, 162, 0.08);
}

.ziwei-chart-image {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.34));
}

.ziwei-chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(251, 242, 223, 0.62);
  text-align: center;
  padding: 24px;
  line-height: 1.8;
}

.ziwei-facts,
.ziwei-highlights {
  display: grid;
  gap: 10px;
}

.fact-chip {
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.fact-chip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fact-chip span {
  display: block;
  color: rgba(251, 242, 223, 0.88);
  line-height: 1.7;
}

.ziwei-highlights .spotlight-box {
  padding: 16px;
}

.share-header {
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
}

.share-aura {
  position: relative;
  min-height: 280px;
  border-radius: 28px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 224, 171, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(28, 12, 46, 0.96), rgba(10, 6, 18, 0.94));
  overflow: hidden;
}

.share-aura::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(245, 214, 162, 0.08);
}

.share-aura .spread-fan .spread-card {
  width: min(20vw, 146px);
  bottom: 30px;
}

.share-copy {
  display: grid;
  gap: 14px;
}

.poster-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 214, 162, 0.08), transparent 20%),
    rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 14px;
}

.fusion-ring {
  place-items: center;
  margin: 12px 0 6px;
}

.fusion-ring::before,
.fusion-ring::after {
  content: "";
  width: 2px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 214, 162, 0.08), rgba(245, 214, 162, 0.66), rgba(245, 214, 162, 0.08));
}

.ring-core {
  width: 124px;
  height: 124px;
  margin: 8px 0;
  border-radius: 999px;
  border: 1px solid rgba(245, 214, 162, 0.2);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255, 231, 176, 0.14), rgba(127, 85, 207, 0.1) 60%, rgba(0, 0, 0, 0) 74%);
  box-shadow: 0 0 40px rgba(245, 214, 162, 0.12);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poster-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.poster-panel canvas {
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid rgba(245, 214, 162, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.caption-panel p {
  color: var(--muted);
}

.centered {
  text-align: center;
}

.space-top {
  margin-top: 20px;
}

.footer-note {
  margin-top: 16px;
  color: rgba(251, 242, 223, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

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

.ambient-haze {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 48vw;
  height: 48vw;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 214, 162, 0.08), rgba(129, 88, 211, 0.06) 46%, rgba(0,0,0,0) 72%);
  filter: blur(24px);
}

.ambient-card {
  position: absolute;
  width: min(14vw, 140px);
  aspect-ratio: 0.64 / 1;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0.12;
  border: 1px solid rgba(245, 214, 162, 0.08);
  transform: var(--ambient-transform);
  transform-style: preserve-3d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.ambient-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ambient-card-0 {
  left: -1.5%;
  top: 16%;
  --ambient-transform: rotate(-18deg);
  animation: slowBob 16s ease-in-out infinite;
}

.ambient-card-1 {
  right: 2%;
  top: 22%;
  --ambient-transform: rotate(14deg);
  animation: slowBob 19s ease-in-out infinite reverse;
}

.ambient-card-2 {
  right: 8%;
  bottom: 6%;
  --ambient-transform: rotate(10deg);
  animation: slowBob 17s ease-in-out infinite;
}

.button-ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 247, 226, 0.42);
  animation: rippleOut 0.62s ease forwards;
  pointer-events: none;
}

@keyframes drift {
  to {
    transform: translateY(54px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  50% {
    transform: translateY(-10px) rotate(-6deg);
  }
}

@keyframes breathe {
  50% {
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes sheen {
  to {
    transform: translateX(260%) rotate(18deg);
  }
}

@keyframes slowBob {
  50% {
    transform: var(--ambient-transform) translateY(-16px);
  }
}

@keyframes rippleOut {
  from {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.6);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(8.6);
  }
}

@keyframes fanFloat {
  50% {
    transform: var(--card-transform) translateY(-6px);
  }
}

@media (max-width: 960px) {
  .page-shell {
    grid-template-columns: 1fr;
    padding: 14px 0 40px;
  }

  .step-rail {
    position: static;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
  }

  .step-dot {
    padding: 8px 4px;
    border-radius: 14px;
    text-align: center;
  }

  .step-dot span {
    width: 22px;
    height: 22px;
    margin: 0 auto 4px;
    font-size: 11px;
  }

  .step-dot small {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .rail-gallery {
    display: none;
  }

  .hero-layout,
  .split-layout,
  .upgrade-showcase,
  .fusion-stage,
  .share-header,
  .poster-grid,
  .funnel-grid,
  .upgrade-grid {
    grid-template-columns: 1fr;
  }

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

  .reading-card {
    grid-template-columns: 1fr;
  }

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

  .topbar-inner {
    flex-wrap: wrap;
  }

  .ambient-card {
    width: min(22vw, 110px);
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .page-shell {
    width: min(100vw - 14px, 100%);
  }

  .question-pill {
    display: none;
  }

  .progress-line {
    order: 10;
    width: 100%;
    margin-top: 6px;
  }

  .step-rail {
    display: none;
  }

  .scene-card {
    padding: 18px;
  }

  .headline {
    font-size: 44px;
  }

  .section-title {
    font-size: 36px;
  }

  .button-row {
    flex-direction: column;
  }

  /* Form inputs: collapse the 2-col upgrade grid and tighten input padding
     so native date/time controls don't bust out of the bubble. */
  .upgrade-grid {
    grid-template-columns: 1fr;
  }

  .input,
  .textarea {
    padding: 14px 14px 16px;
    font-size: 15px;
    max-width: 100%;
  }

  .input[type="date"],
  .input[type="time"] {
    padding: 13px 14px;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
  }

  .hero-copy .locale-switch {
    width: 100%;
    justify-content: center;
  }

  .topbar-locale {
    order: 3;
    margin-right: 0;
    margin-left: auto;
  }

  .button-row > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .card-stage {
    min-height: 340px;
    gap: 0;
    padding-top: 10px;
  }

  .tarot-card {
    width: min(31vw, 170px);
  }

  .draw-launch {
    width: 100%;
  }

  .tarot-card:nth-child(1) {
    transform: rotate(-9deg) translate(12px, 20px);
  }

  .tarot-card:nth-child(2) {
    z-index: 2;
  }

  .tarot-card:nth-child(3) {
    transform: rotate(9deg) translate(-12px, 20px);
  }

  .hero-card.left,
  .hero-card.right {
    width: min(34vw, 150px);
  }

  .hero-card.center {
    width: min(28vw, 116px);
  }

  .scene-note {
    max-width: 180px;
    font-size: 12px;
  }

  .ambient-card {
    display: none;
  }

  .rail-gallery-fan {
    height: 180px;
  }

  .rail-card-thumb {
    width: 88px;
  }

  .share-aura .spread-fan .spread-card,
  .spread-fan .spread-card,
  .trinity-fan .spread-card {
    width: min(30vw, 124px);
  }

  .quick-grid,
  .followup-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .poster-panel canvas {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
