/* Home redesign and persistent app shortcuts. */
body { min-width: 0; }
.appShell {
  --ff-sans: system-ui, "Noto Sans KR", sans-serif;
  --ff-section-title: 17px;
  --ff-line: #e5d9ca;
  padding-bottom: calc(144px + env(safe-area-inset-bottom));
}
.appShell .heroScene.fortunePromoScene {
  display: flex; align-items: flex-end; border-radius: 18px;
  background: linear-gradient(90deg, #201a18d4, #201a1828 76%), url("../fortune-morning.webp") 61% center / cover, #4a372f;
}
.appShell .heroScene.fortunePromoScene::before { content: none; }
.appShell .fortunePromoScene .heroWish {
  inset: auto; width: auto; color: #fff8eb; text-align: left; text-shadow: 0 2px 18px #21171060;
}
.heroWish .fortuneHeroLabel { display: block; margin-bottom: 6px; font: 700 11px/1.5 var(--ff-sans); letter-spacing: .09em; color: #f3d8b5; }
.heroWish .fortuneHeroTitle { display: block; font: 700 clamp(24px, 5.6vw, 37px)/1.24 var(--ff-sans); }
.heroWish .fortuneHeroLine { display: block; margin-top: 7px; font: 500 12px/1.5 var(--ff-sans); color: #fff2df; }
.appShell .fortuneMethodTile:focus-visible,
.appShell .fortunePromoControls button:focus-visible,
.appShell .fortuneHomeAction:focus-visible,
.appShell .fortuneBottomNav button:focus-visible { outline: 2px solid #a67538; outline-offset: 2px; }
.appShell .bottomNav.fortuneBottomNav { background: #fffdf8; border-color: var(--ff-line); }
.appShell .fortuneBottomNav button { color: #5b3e25; }
.appShell .fortuneBottomNav button.active { color: #432f1c; background: #f0e1ce; }
.appShell .fortuneTabNav button { font-weight: 600; }
.appShell .fortunePromoControls button { color: #ead6ae; }
.appShell .fortunePromoControls button[aria-current="true"]::before { background: #e3c695; }
.appShell .fortuneSummary:focus { outline: none; }
.fortunePromotions { margin: 12px 0 20px; }
.appShell .heroScene.fortunePromoScene { position: relative; isolation: isolate; overflow: hidden; margin: 0; touch-action: pan-y; }
.appShell .fortunePromoScene .heroWish { position: relative; z-index: 1; }
.fortunePromoScene .fortuneHeroTitle { white-space: pre-line; max-width: 12em; }
.fortunePromo-morning .fortuneHeroTitle { max-width: 10em; }
.appShell .heroScene.fortunePromo-reading {
  background: linear-gradient(90deg, #191a32e6, #191a3220), url("../hero-fortune-sky.jpg") center / cover, #272743;
}
.appShell .heroScene.fortunePromo-letter {
  background: linear-gradient(90deg, #2e242ddb, #2e242d24), url("../fortune-letter.webp") 65% 53% / cover, #534053;
}
.fortunePromoAction {
  display: inline-block; min-height: 40px; margin-top: 14px; padding: 7px 13px; border: 0;
  border-radius: 10px; background: #fff4e5; color: #523523; font-size: 12px; font-weight: 700;
}
.fortunePromoControls { display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.fortunePromoControls button {
  display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: #71513a;
}
.fortunePromoControls button::before {
  content: ""; width: 7px; height: 7px; border-radius: 8px; background: #b59e8c;
}
.fortunePromoControls button[aria-current="true"]::before { width: 18px; background: #795432; }


.appShell .heroScene.fortunePromoScene {
  height: clamp(200px, 56vw, 335px);
  min-height: 200px;
  padding: clamp(18px, 5vw, 34px);
}
.appShell .fortunePromotions { margin-bottom: 12px; }
.appShell .fortuneHomeActions { display: grid; gap: 9px; margin: 0 0 22px; }
.appShell .fortuneHomeAction {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 100%; min-height: 67px; padding: 10px 14px;
  border: 1px solid var(--ff-action-edge); border-radius: 14px;
  background: var(--ff-action-bg); color: var(--ff-action-ink);
  text-align: start; cursor: pointer;
}
.appShell .fortuneHomeAction-music {
  --ff-action-bg: #34272e; --ff-action-edge: #34272e; --ff-action-ink: #fff8ed;
  --ff-action-muted: #eadad9; --ff-action-icon: #523b46;
}
.appShell .fortuneHomeAction-letter {
  --ff-action-bg: #eee6ed; --ff-action-edge: #e4d7e0; --ff-action-ink: #422d3c;
  --ff-action-muted: #614a5a; --ff-action-icon: #e1d2df;
}
.fortuneHomeActionIcon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--ff-action-icon); font-size: 19px;
}
.fortuneHomeActionText { display: grid; gap: 2px; min-width: 0; }
.fortuneHomeActionText strong { font-size: var(--ff-section-title); line-height: 1.3; font-weight: 700; }
.fortuneHomeActionText small { color: var(--ff-action-muted); font-size: 12px; line-height: 1.35; }
.fortuneHomeActionArrow { font-size: 23px; line-height: 1; }
.appShell :is(.fortuneSummary, .methodSection, .tarotStage) { scroll-margin-top: 112px; }

.appShell .bottomNav.fortuneBottomNav {
  display: grid; grid-template-columns: 1fr; gap: 3px;
  width: min(760px, calc(100% - 24px)); height: auto; padding: 5px; border-radius: 16px;
}
.fortuneShortcutNav, .fortuneTabNav { display: grid; gap: 2px; }
.fortuneShortcutNav {
  grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--ff-line); padding-bottom: 3px;
}
.fortuneTabNav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.appShell .fortuneShortcutNav button {
  min-height: 44px; padding: 4px 2px; border-radius: 10px; gap: 1px;
  font-size: 11px; font-weight: 650; color: #5b3e25; line-height: 1.3;
}
.appShell .fortuneShortcutNav button span { font-size: 15px; line-height: 1; }
.appShell .fortuneTabNav button { min-height: 44px; padding: 2px; border-radius: 10px; font-size: 12px; line-height: 1.2; }
.appShell .fortuneTabNav button span { font-size: 17px; line-height: 1; }

.appShell .fortuneHomeMethods {
  padding: 14px;
  border: 1px solid #e4c9a2;
  border-radius: 18px;
  background: linear-gradient(135deg, #faecd5, #f6e4c9);
}
.fortuneMethodHeading { margin-bottom: 12px; }
.appShell .fortuneMethodHeading h2 {
  margin: 0 0 3px;
  color: #36281c;
  font: 700 clamp(21px, 5.6vw, 28px)/1.3 var(--ff-sans);
}
.appShell .fortuneMethodHeading p { margin: 0; color: #664c34; font-size: 13px; line-height: 1.45; }
.fortuneMethodTiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.appShell .fortuneMethodTile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, 2vw, 11px);
  min-width: 0;
  min-height: 66px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--ff-method-edge);
  border-radius: 13px;
  background: var(--ff-method-bg);
  color: var(--ff-method-ink);
  text-align: start;
}
.fortuneMethodTile-saju, .fortuneMethodCard[data-method="SAJU"] { --ff-method-bg: #fff9e7; --ff-method-edge: #e6c580; --ff-method-ink: #624112; --ff-method-art: #edd4a1; }
.fortuneMethodTile-tarot, .fortuneMethodCard[data-method="TAROT"] { --ff-method-bg: #f9eff8; --ff-method-edge: #dcc2df; --ff-method-ink: #5b3367; --ff-method-art: #e5c9e8; }
.fortuneMethodTile-astrology, .fortuneMethodCard[data-method="ASTROLOGY"] { --ff-method-bg: #eef3ff; --ff-method-edge: #cad6f1; --ff-method-ink: #324d83; --ff-method-art: #d3def9; }
.fortuneMethodTile-tojeong, .fortuneMethodCard[data-method="TOJEONG"] { --ff-method-bg: #eef5e8; --ff-method-edge: #ceddc1; --ff-method-ink: #3c5837; --ff-method-art: #d5e6c8; }
.fortuneMethodArt {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(31px, 10vw, 47px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ff-method-art);
  font: 400 clamp(19px, 6vw, 29px)/1 "DejaVu Sans", "Segoe UI Symbol", sans-serif;
}
.fortuneMethodArt::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: .35;
}
.fortuneMethodTile-tarot .fortuneMethodArt { border-radius: 12px; }
.fortuneMethodTile-tarot .fortuneMethodArt::before { inset: 5px 9px; border-radius: 3px; transform: rotate(-14deg); }
.fortuneMethodTile-astrology .fortuneMethodArt::before { inset: 5px 4px; transform: rotate(-28deg) scaleY(.72); }
.fortuneMethodTile-tojeong .fortuneMethodArt { border-radius: 11px; }
.fortuneMethodTile-tojeong .fortuneMethodArt::before { inset: 5px 7px; border-radius: 3px; }
.fortuneMethodText { display: grid; gap: 1px; }
.fortuneMethodText strong { font-size: clamp(14px, 4.15vw, 19px); line-height: 1.25; font-weight: 700; }
.fortuneMethodText small { font-size: 11px; line-height: 1.3; }
.fortuneMethodArrow { position: absolute; top: 6px; right: 7px; font-size: 15px; line-height: 1; }
.appShell button.fortuneMethodTile { cursor: pointer; }
.appShell button.fortuneMethodTile:disabled { cursor: wait; }
.appShell button.fortuneMethodTile:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.appShell .fortuneMethodTile:is([data-selected], [aria-expanded="true"]) { border-color: currentColor; }
.appShell .fortuneHomeMethods { scroll-margin-top: 86px; }
@media (max-width: 360px) {
  .appShell .fortuneHomeMethods { padding: 10px; }
  .appShell .fortuneMethodTile { padding-left: 6px; }
}

.appShell .fortuneHomeMethods {
  padding: 14px;
  border: 1px solid #e4c9a2;
  border-radius: 18px;
  background: linear-gradient(135deg, #faecd5, #f6e4c9);
}
.fortuneMethodHeading { margin-bottom: 12px; }
.appShell .fortuneMethodHeading h2 {
  margin: 0 0 3px;
  color: #36281c;
  font: 700 clamp(21px, 5.6vw, 28px)/1.3 var(--ff-sans);
}
.appShell .fortuneMethodHeading p { margin: 0; color: #664c34; font-size: 13px; line-height: 1.45; }
.fortuneMethodTiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.appShell .fortuneMethodTile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, 2vw, 11px);
  min-width: 0;
  min-height: 66px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--ff-method-edge);
  border-radius: 13px;
  background: var(--ff-method-bg);
  color: var(--ff-method-ink);
  text-align: start;
}
.fortuneMethodTile-saju { --ff-method-bg: #fff9e7; --ff-method-edge: #e6c580; --ff-method-ink: #624112; --ff-method-art: #edd4a1; }
.fortuneMethodTile-tarot { --ff-method-bg: #f9eff8; --ff-method-edge: #dcc2df; --ff-method-ink: #5b3367; --ff-method-art: #e5c9e8; }
.fortuneMethodTile-astrology { --ff-method-bg: #eef3ff; --ff-method-edge: #cad6f1; --ff-method-ink: #324d83; --ff-method-art: #d3def9; }
.fortuneMethodTile-tojeong { --ff-method-bg: #eef5e8; --ff-method-edge: #ceddc1; --ff-method-ink: #3c5837; --ff-method-art: #d5e6c8; }
.fortuneMethodArt {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(31px, 10vw, 47px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ff-method-art);
  font: 400 clamp(19px, 6vw, 29px)/1 "DejaVu Sans", "Segoe UI Symbol", sans-serif;
}
.fortuneMethodArt::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: .35;
}
.fortuneMethodTile-tarot .fortuneMethodArt { border-radius: 12px; }
.fortuneMethodTile-tarot .fortuneMethodArt::before { inset: 5px 9px; border-radius: 3px; transform: rotate(-14deg); }
.fortuneMethodTile-astrology .fortuneMethodArt::before { inset: 5px 4px; transform: rotate(-28deg) scaleY(.72); }
.fortuneMethodTile-tojeong .fortuneMethodArt { border-radius: 11px; }
.fortuneMethodTile-tojeong .fortuneMethodArt::before { inset: 5px 7px; border-radius: 3px; }
.fortuneMethodText { display: grid; gap: 1px; }
.fortuneMethodText strong { font-size: clamp(14px, 4.15vw, 19px); line-height: 1.25; font-weight: 700; }
.fortuneMethodText small { font-size: 11px; line-height: 1.3; }
.fortuneMethodArrow { position: absolute; top: 6px; right: 7px; font-size: 15px; line-height: 1; }
.appShell button.fortuneMethodTile { cursor: pointer; }
.appShell button.fortuneMethodTile:disabled { cursor: wait; }
.appShell button.fortuneMethodTile:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.appShell .fortuneMethodTile:is([data-selected], [aria-expanded="true"]) { border-color: currentColor; }
.appShell .fortuneHomeMethods { scroll-margin-top: 86px; }
@media (max-width: 360px) {
  .appShell .fortuneHomeMethods { padding: 10px; }
  .appShell .fortuneMethodTile { padding-left: 6px; }
}

.fortuneHomeShell { background: #f7f3eb; color: #251f1b; }
.fortuneHomeShell .pageContent { width: min(calc(100% - 32px), 760px); }
.fortuneHomeShell .topbar {
  background: #fffdf8f2;
  color: #251f1b;
  border-color: var(--ff-line);
}
.fortuneHomeShell :is(.topbar .menuButton, .topbar .accountDot) { background: #efe6da; color: #513924; }
.fortuneHomeShell :is(.fortuneSummary, .readingCard, .revealButton) {
  margin: 0;
  border-radius: 18px;
}
.fortuneHomeShell :is(.fortuneSummary, .readingCard) {
  margin-block-start: clamp(16px, 3vw, 24px);
  padding: clamp(16px, 4vw, 26px);
}
.fortuneHomeShell .fortuneSummary { box-shadow: 0 6px 20px #35271714; }
.fortuneHomeShell .fortuneTitle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  margin-top: 16px;
}
.fortuneHomeShell .fortuneTitle p {
  color: var(--bronze);
  font: 750 12px/1.4 var(--ff-sans);
  letter-spacing: .12em;
}
.fortuneHomeShell .fortuneTitle h1 {
  margin: 6px 0 0;
  font: 750 clamp(19px, 4.5vw, 28px)/1.4 var(--ff-sans);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.fortuneHomeShell .score {
  --ff-score-size: clamp(70px, 19vw, 100px);
  width: var(--ff-score-size);
  height: var(--ff-score-size);
  border-width: clamp(5px, 1.5vw, 8px);
  box-shadow: 0 0 0 3px #e4dccd;
}
.fortuneHomeShell .score span { margin: 0; font-size: 9px; letter-spacing: 0; }
.fortuneHomeShell .score strong { font-size: clamp(24px, 6vw, 36px); line-height: 1.05; }
.fortuneHomeShell .score small { margin: 0; font-size: 10px; }
.fortuneHomeShell .fortuneSignalRow { margin-top: 16px; }
.fortuneHomeShell .fortuneSignalRow .keywordRow { flex: 0 1 auto; margin: 0; }
.fortuneHomeShell .luckyNumber { margin: 0 0 0 auto; padding: 4px 5px 4px 10px; min-width: 0; }
.fortuneHomeShell .luckyNumber span { font-size: 10px; }
.fortuneHomeShell .luckyNumber strong { width: 30px; height: 30px; flex-basis: 30px; font-size: 17px; }
.fortuneHomeShell .revealButton {
  --ff-record-size: clamp(38px, 12vw, 56px);
  --ff-play-size: clamp(34px, 10vw, 44px);
  width: 100%;
  min-height: 0;
  margin-block-start: clamp(16px, 3vw, 24px);
  grid-template-columns: var(--ff-record-size) minmax(0, 1fr) var(--ff-play-size);
  gap: clamp(10px, 3vw, 18px);
  padding: clamp(12px, 3vw, 20px);
  border: 1px solid #ddc9aa;
  box-shadow: 0 5px 16px #3527171a;
}
.fortuneHomeShell .revealButton :is(strong, em) { word-break: keep-all; overflow-wrap: anywhere; }
.fortuneHomeShell .revealButton small { font-size: 9px; letter-spacing: .1em; }
.fortuneHomeShell .revealButton strong { font: 750 clamp(15px, 4vw, 23px)/1.35 var(--ff-sans); text-wrap: balance; }
.fortuneHomeShell .revealButton em { margin: 0; font-size: 12px; line-height: 1.4; }
.fortuneHomeShell .musicBannerArt { width: var(--ff-record-size); height: var(--ff-record-size); box-shadow: none; }
.fortuneHomeShell .revealButton > b { width: var(--ff-play-size); height: var(--ff-play-size); font-size: 13px; box-shadow: none; }
.fortuneHomeShell .fortunePromoControls button { color: #71513a; }
.fortuneHomeShell .fortunePromoControls button[aria-current="true"]::before { background: #795432; }
.fortuneHomeShell .tarotStage {
  padding-inline: 0;
  color: #382819;
}
.fortuneHomeShell .tarotStage .sectionHeading :is(h2, p) { color: #382819; }

.fortuneBrowseMethods .fortuneMethodGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fortuneBrowseMethods .fortuneMethodCard {
  min-height: 104px;
  padding: 10px 8px;
  background: var(--ff-method-bg);
  border-color: var(--ff-method-edge);
  color: var(--ff-method-ink);
}
.fortuneBrowseMethods .fortuneMethodCard[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--ff-method-ink);
}
.fortuneBrowseMethods .fortuneMethodSymbol {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ff-method-art);
  font-size: 24px;
}
.fortuneBrowseMethods .fortuneMethodCard strong { font-size: clamp(14px, 4vw, 17px); }
.fortuneBrowseMethods .fortuneMethodHint { color: var(--ff-method-ink); }

.appShell.fortuneGuestHome { padding: 0 0 max(32px, env(safe-area-inset-bottom)); }
.fortuneGuestHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(calc(100% - 32px), 760px);
  margin: 0 auto;
  padding: max(15px, env(safe-area-inset-top)) 2px 12px;
  border-bottom: 1px solid var(--ff-line);
}
.fortuneGuestHeader .originalBrandBlock .originalWordmark { width: clamp(117px, 40vw, 180px); }
.fortuneGuestHeader .tagline { color: #5b4638; }
.fortuneGuestHeader time { color: #634728; font-size: 12px; text-align: right; }
.fortuneGuestHome .fortuneHeroTitle { margin: 0; }
.fortuneGuestHome .fortunePromotions { margin-top: 10px; }
.fortuneGuestHome .heroScene.fortunePromoScene { height: clamp(200px, 53vw, 335px); }
.fortuneGuestEntry { text-align: center; }
.fortuneGuestEntry > p:first-child { margin: 0 0 8px; font-weight: 650; }
.fortuneGuestEntry .musicDemoLink,
.fortuneGuestEntry .musicWelcomeLinks a { color: #5b3e25; }
.fortuneGuestEntry .musicDemoLink { display: inline-block; margin-top: 10px; }
.fortuneGuestEntry .welcomeContinue:focus-visible { outline-color: #78532e; }
#fortune-song-preview { scroll-margin-top: 16px; }

.appShell .heroScene.fortunePromo-experts {
  display: grid;
  grid-template-areas: "guides" "copy";
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 14px;
  height: auto;
  min-height: clamp(230px, 56vw, 335px);
  background: radial-gradient(ellipse at 80% 0%, #4e3e59, transparent 62%), linear-gradient(130deg, #241d31, #33283d);
}

.appShell .fortunePromo-experts .heroWish { grid-area: copy; padding: 0; }
.fortunePromo-experts .fortuneHeroTitle { max-width: none; word-break: keep-all; }
.fortunePromo-experts .fortunePromoAction { margin-top: 10px; }

.fortunePromoGuides {
  grid-area: guides;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(5px, 1.8vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fortunePromoGuides li {
  min-width: 0;
  color: #fff0da;
  font: 650 clamp(11px, 2.8vw, 14px)/1.4 var(--ff-sans);
  text-align: center;
  white-space: nowrap;
}

.fortunePromoGuides .readingPortrait {
  width: 100%;
  max-width: 110px;
  margin: 0 auto 5px;
  border: 1px solid #e6c8997a;
  border-radius: 11px;
}

@media (min-width: 680px) {
  .appShell .heroScene.fortunePromo-experts {
    grid-template-areas: "copy guides";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(18px, 3vw, 36px);
  }
}

.appShell .fortuneQuestionsLink {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  margin: -6px 0 22px;
  padding: 10px 14px;
  border: 1px solid #e2d1bf;
  border-radius: 15px;
  color: #382638;
  background: #f2e8ee;
  text-align: left;
  cursor: pointer;
}

.fortuneQuestionsLink img, .fortuneQuestionGuides img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.fortuneQuestionsLink strong, .fortuneQuestionsLink small { display: block; }
.fortuneQuestionsLink strong { font-size: 16px; }
.fortuneQuestionsLink small { margin-top: 2px; color: #624a5d; font-size: 12px; }
.fortuneQuestionsLink > span:last-child { font-size: 24px; }

.fortuneQuestionsPage {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto 24px;
  color: #382638;
}

.fortuneQuestionsHeader {
  padding: clamp(14px, 4vw, 24px);
  border-radius: 18px;
  background: linear-gradient(120deg, #2a1d2e, #4e3045);
  color: #fff7ec;
}

.fortuneQuestionsHeader h1 { margin: 3px 0 5px; font-size: clamp(21px, 6vw, 32px); line-height: 1.25; color: inherit; }
.fortuneQuestionsHeader p { margin: 0; font-size: 13px; line-height: 1.5; color: inherit; word-break: keep-all; }
.fortuneQuestionsPage > [aria-live]:empty { display: none; }

.fortuneQuestionsCard {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e3d5c7;
  border-radius: 15px;
  background: #fffaf2;
}

.fortuneQuestionsCard + .fortuneQuestionsCard { margin-top: 10px; }
.fortuneQuestionsCard :is(h2, p) { margin: 0; overflow-wrap: anywhere; }
.fortuneQuestionsCard h2 { font-size: 16px; line-height: 1.45; }
.fortuneQuestionsCard p { line-height: 1.65; }
.fortuneQuestionsAnswer { white-space: pre-line; }
.fortuneQuestionsBasis, .fortuneQuestionsCard small { color: #655347; font-size: 12px; }
.fortuneQuestionsBasis { padding-top: 9px; border-top: 1px solid #e3d5c7; }
.fortuneQuestionsCard label { font-weight: 700; }
.fortuneQuestionsCard textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 92px;
  padding: 10px;
  border: 1px solid #b9a797;
  border-radius: 9px;
  background: #fffdf9;
  color: #382638;
  font: inherit;
  font-size: 16px;
  resize: vertical;
}

.fortuneQuestionsPage .primaryButton { justify-self: start; min-height: 44px; }
.fortuneQuestionsDone, .fortuneQuestionsError { margin: 0; font-weight: 700; }
.fortuneQuestionsError { color: #842e45; }

.fortuneQuestionsFaces { display: flex; align-items: center; }
.fortuneQuestionsFaces img { border: 1px solid #f2e8ee; }
.fortuneQuestionsFaces img + img { margin-left: -10px; }

.fortuneQuestionGuides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
}

.fortuneQuestionGuides legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.fortuneQuestionGuides label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 70px;
  padding: 8px;
  border: 1px solid #d9cabd;
  border-radius: 12px;
  background: #fffdf9;
  cursor: pointer;
}

.fortuneQuestionGuides input { margin: 0; accent-color: #654155; flex: none; }
.fortuneQuestionGuides img { width: clamp(30px, 9vw, 48px); height: auto; aspect-ratio: 1; flex: none; }
.fortuneQuestionGuides strong, .fortuneQuestionGuides small { display: block; }
.fortuneQuestionGuides small { font-size: 11px; line-height: 1.3; word-break: keep-all; }
.fortuneQuestionGuides label:has(input:checked) { border-color: #78516a; background: #f3e9ef; }
.fortuneQuestionGuides label:has(input:focus-visible) { outline: 2px solid #78516a; outline-offset: 2px; }
.fortuneQuestionAnsweredBy { font-weight: 700; }

.fortuneServicesPage form { display: grid; gap: 10px; }
.fortuneServicesPage input[type="date"] { width: 100%; padding: 10px; border: 1px solid #b9a797; border-radius: 9px; background: #fffdf9; color: #382638; font: inherit; font-size: 16px; }
.fortuneServicesPage details { border-top: 1px solid #ded1c1; padding: 10px 0; }
.fortuneServicesPage summary { cursor: pointer; font-weight: 700; }
.fortuneServicesPage blockquote { margin: 10px 0; padding-left: 12px; border-left: 3px solid #b9a797; }
.fortuneServicesPage details a { text-decoration: underline; }

.questionTarot form, .questionTarotResult, .questionTarotSuggestions { display: grid; gap: 12px; }
.questionTarot fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.questionTarot legend, .questionTarotInput label { font-weight: 700; margin-bottom: 8px; }
.questionTarotCategories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.questionTarotCategories button, .questionTarotSuggestions button {
  min-height: 42px; padding: 8px; border: 1px solid #cbbda6; border-radius: 10px;
  background: #fffdf9; color: #382638;
}
.questionTarotCategories button[aria-pressed="true"] { background: #633a55; color: #fff; }
.questionTarotSuggestions button { text-align: left; }
.questionTarotInput > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.questionTarotInput textarea { box-sizing: border-box; width: 100%; }
.questionTarotPrompt { overflow-wrap: anywhere; }
.questionTarotDeck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.questionTarotDeck button {
  display: grid; place-items: center; min-width: 0; aspect-ratio: 2 / 3; padding: 0;
  border: 1px solid #a88a54; border-radius: 9px;
  background: #141529 url("/tarot/moonlit-card-back.webp") center / cover no-repeat;
  color: #ffedc4; box-shadow: 0 3px 7px #21152e38; cursor: pointer;
}
.questionTarotDeck button:enabled:hover { border-color: #e4bb6d; box-shadow: 0 0 0 2px #d4a350, 0 4px 12px #44335455; }
.questionTarotDeck button:focus-visible { outline: 2px solid #66358a; outline-offset: 3px; }
.questionTarotDeck button:disabled { cursor: default; }
.questionTarotDeck button:disabled:not(.isDrawn) { opacity: .62; }
.questionTarotDeck .isDrawn { box-shadow: 0 0 0 2px #b08236, 0 3px 9px #21152e44; }
.questionTarotDeck .isDrawn span {
  display: grid; place-items: center; width: 1.9rem; aspect-ratio: 1; border: 1px solid #e4bb6d; border-radius: 50%;
  background: #181329; font-size: 1rem; font-weight: 700;
}
.questionTarotResult details { padding: 10px 0; border-top: 1px solid #ded1c1; }
.questionTarotResult summary { cursor: pointer; }
.questionTarotCardDetail { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
.questionTarotCardDetail img { width: 64px; height: auto; flex: none; }
@media (max-width: 520px) { .questionTarotCategories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fortuneQuestionsCard.serviceExpert { display: flex; align-items: center; gap: 14px; }
.serviceExpert img { width: clamp(60px, 20vw, 80px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 13px; flex: none; }
.serviceExpert strong { display: block; }
.serviceExpert p { margin: 5px 0 0; font-size: .88em; line-height: 1.45; word-break: keep-all; }

.appShell .heroScene.fortunePromo-annual {
  height: auto;
  min-height: clamp(230px, 56vw, 335px);
  align-items: center;
  background: radial-gradient(ellipse at 100% 0%, #5b4255, transparent 70%), #302431;
}
.appShell .fortunePromo-annual .heroWish { width: 100%; padding: 0; }
.fortunePromo-annual .fortuneHeroTitle { max-width: none; word-break: keep-all; font-size: clamp(22px, 5vw, 34px); }
.fortunePromo-annual .fortunePromoAction { min-height: auto; text-decoration: none; }
.fortuneAnnualBenefits {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin: 14px 0 0; padding: 0; list-style: none;
}
.fortuneAnnualBenefits li { padding: 7px 9px; border: 1px solid #eac7a05e; border-radius: 9px; background: #fff1; }
.fortuneAnnualBenefits li:first-child { grid-column: 1 / -1; }
.fortuneAnnualBenefits strong, .fortuneAnnualBenefits small { display: block; line-height: 1.35; word-break: keep-all; }
.fortuneAnnualBenefits strong { font-size: clamp(11px, 3.7vw, 15px); }
.fortuneAnnualBenefits small { margin-top: 3px; color: #ffe6c9; font-size: clamp(10px, 3vw, 12px); }

.shareBackgroundPicker { display: grid; gap: 7px; margin-bottom: 12px; color: #e6cfa8; font-size: 13px; font-weight: 700; }
.shareBackgroundPicker select { width: 100%; min-height: 42px; padding: 7px 10px; border: 1px solid #cbbda6; border-radius: 9px; background: #fffdf9; color: #382638; font: inherit; }
.shareModal .shareHint {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.fortuneAnnualBenefits li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
}
.fortuneAnnualBenefits li > div:first-child { min-width: 0; }
.fortuneAnnualPortraits { display: flex; flex: none; }
.fortuneAnnualPortraits img {
  display: block;
  width: clamp(27px, 8vw, 41px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #eac7a088;
  border-radius: 50%;
}
.fortuneAnnualPortraits img + img { margin-left: -9px; }

.appShell .heroScene.fortunePromo-music {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, 2vw, 22px);
  height: auto;
  min-height: clamp(200px, 53vw, 335px);
  background: radial-gradient(ellipse at 100% 12%, #6d4d53, transparent 70%), #2f2430;
}
.appShell .fortunePromo-music .heroWish { min-width: 0; padding: 0; }
.fortunePromo-music .fortuneHeroTitle { font-size: clamp(18px, 5.1vw, 37px); word-break: keep-all; }
.fortunePromoMusicArt {
  display: block;
  width: 100%;
  max-width: 265px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  justify-self: center;
  border-radius: 13px;
}
@media (max-width: 360px) {
  .fortuneAnnualBenefits li { padding-inline: 6px; }
  .fortuneAnnualPortraits img { width: 25px; }
  .fortuneAnnualPortraits img + img { margin-left: -11px; }
}
