.phone-shell {
  width: min(100%, 448px);
  padding-inline: 20px;
  background:
    radial-gradient(circle at 50% -8%, rgba(242, 206, 131, .36), transparent 22rem),
    linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)),
    repeating-linear-gradient(90deg, transparent 0 43px, rgba(200, 145, 63, .032) 44px),
    var(--ivory);
}
.demo-stage { letter-spacing: .005em; }
.demo-brand { padding-inline: 10px; }
.demo-brand strong { font-size: 19px; }
.stepper { margin-bottom: 22px; }
.intro-card { min-height: 245px; padding: 30px 24px; }
.intro-copy h1, .view-title h1 { font-weight: 750; line-height: 1.28; }
.intro-copy p, .view-title p { font-size: 13px; line-height: 1.75; }
.birth-card { padding: 24px; }
.store-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 2px 0;
  padding: 12px 16px;
  border: 1px solid rgba(47, 125, 74, .24);
  border-radius: 16px;
  background: rgba(234, 242, 230, .82);
  color: #356642;
  font-size: 11px;
}
.store-status strong { color: #245333; font-size: 12px; text-align: right; }
.store-status.loading { justify-content: center; border-color: var(--line); background: rgba(255, 249, 236, .74); color: var(--muted); }
.store-status.error { display: block; border-color: rgba(157, 47, 33, .28); background: #f4e7db; color: var(--red); line-height: 1.6; }
.question-field textarea { min-height: 104px; font-size: 16px; line-height: 1.7; }
.primary-button { letter-spacing: .01em; }
.view-title { padding: 15px 7px 22px; }
.view-title > span { font-family: Georgia, serif; letter-spacing: .16em; }
.view-title h1 { margin-top: 11px; }
.question-quote {
  margin-top: 12px !important;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 249, 236, .6);
  font-size: 13px !important;
}
.selection-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 4px; }
.selection-toolbar .selection-count { margin: 0; }
.selection-toolbar > button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 249, 236, .78);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}
.deck-note { margin: 0 4px 12px; color: #a38b7e; font-size: 9px; }
.card-grid { padding: 12px; gap: 7px; }
.bottom-action { width: min(100%, 448px); padding-inline: 22px; }
.bottom-action small { min-height: 14px; }
.qr-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.qr-loading { min-height: 235px; display: grid; align-content: center; gap: 14px; }
.qr-loading .loading-orbit { justify-content: center; }
.demo-notice.live { grid-template-columns: 1fr; text-align: center; line-height: 1.55; }
.success-view > p { max-width: 250px; margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.astrology-card {
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fffaf1, #f1dfc4);
  box-shadow: 0 12px 28px rgba(71, 39, 28, .08);
}
.astrology-card > div:first-child { display: grid; gap: 7px; }
.astrology-card span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.astrology-card strong { color: var(--deep); font-size: 18px; line-height: 1.45; }
.astro-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.astro-chips b {
  padding: 7px 10px;
  border: 1px solid rgba(157, 47, 33, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: var(--red);
  font-size: 9px;
}
.result-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 158px;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.result-cards::-webkit-scrollbar { display: none; }
.result-cards article { display: block; padding: 9px; scroll-snap-align: start; border-radius: 19px; }
.result-cards img { width: 100%; border-radius: 11px; aspect-ratio: .625; object-fit: cover; }
.result-cards article > div { padding: 11px 4px 6px; }
.result-cards h2 { margin-top: 5px; font-size: 16px; }
.result-cards p { margin-top: 9px; font-size: 10px; line-height: 1.65; }
.question-banner { margin: 6px 0 14px; padding: 18px 20px; border-radius: 20px; background: var(--deep); color: #fff; }
.question-banner span { color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.question-banner p { margin: 7px 0 0; font-size: 15px; line-height: 1.65; }
.ai-reading { display: grid; gap: 10px; }
.ai-section {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 249, 236, .92);
  box-shadow: 0 9px 24px rgba(71, 39, 28, .06);
}
.ai-section > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font: 700 9px/1 Georgia, serif;
}
.ai-section h2 { margin: 1px 0 11px; color: var(--red); font-size: 19px; line-height: 1.4; }
.ai-section p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.ai-section p:last-child { margin-bottom: 0; }
.ai-section ol { margin: 3px 0 0; padding-left: 20px; }
.ai-section li { padding-left: 3px; margin-bottom: 9px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.ai-section strong { color: var(--deep); }
.ai-section.caution { border-color: rgba(157, 47, 33, .32); background: #f4e7db; }
.ai-section.caution > span { border-color: rgba(157, 47, 33, .35); color: var(--red); }
.error-card { padding: 20px; border: 1px solid rgba(157, 47, 33, .24); border-radius: 20px; background: #f4e7db; color: var(--muted); }
.error-card b { display: block; color: var(--red); font-size: 16px; }
.error-card p { margin: 6px 0 0; font-size: 13px; line-height: 1.7; }
.restart-button { margin-top: 18px; }
.disclaimer { max-width: 330px; margin: 13px auto 0; line-height: 1.6; }

@media (max-width: 360px) {
  .phone-shell { padding-inline: 14px; }
  .intro-card { padding-inline: 18px; }
  .intro-copy { width: 72%; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-section { grid-template-columns: 1fr; }
  .ai-section > span { margin-bottom: 2px; }
}
