/* =========================================================
   塔罗占卜 · style.css · 横向滑动拱形扇面
   ========================================================= */

:root {
  --bg-deep: #12082a;
  --gold: #e8c87a;
  --gold-bright: #f6dd9a;
  --gold-deep: #b8954a;
  --text: #efe7ff;
  --text-dim: #c0b2e0;
  --text-faint: #8e7fb0;
  --card-w: 58px;
  --card-h: 98px;
  --card-gap: -34px;      /* 负间距：牌与牌互相叠压紧贴 */
  --arc-height: 120px;    /* 拱形最大起伏（中间低两端高） */
  --arc-rot-deg: 38;      /* 两端最大旋转角度 */
  --font-display: "Cinzel", "Noto Serif SC", serif;
  --font-body: "Noto Serif SC", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh; min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* =========================================================
   紫绒布桌布背景
   ========================================================= */
.tablecloth {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, #3d1a70 0%, #2a1054 40%, #12082a 100%);
}
.tablecloth::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
}
.tablecloth::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 200px rgba(0,0,0,0.5);
}

/* 日月星辰装饰 */
.celestial {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
}
.celestial__sun {
  position: absolute; top: 38%; left: 50%;
  transform: translateX(-50%);
  font-size: 38px; color: var(--gold);
  text-shadow: 0 0 18px rgba(232,200,122,0.6), 0 0 36px rgba(232,200,122,0.3);
  animation: sunGlow 4s ease-in-out infinite alternate;
}
@keyframes sunGlow {
  0%   { opacity: 0.45; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 0.85; transform: translateX(-50%) scale(1.05); }
}
.celestial__moon-left {
  position: absolute; top: 38%; left: calc(50% - 92px);
  font-size: 18px; color: var(--gold); opacity: 0.5;
  text-shadow: 0 0 10px rgba(232,200,122,0.4);
}
.celestial__moon-right {
  position: absolute; top: 38%; left: calc(50% + 76px);
  font-size: 18px; color: var(--gold); opacity: 0.5;
  text-shadow: 0 0 10px rgba(232,200,122,0.4);
}
.celestial__star {
  position: absolute;
  font-size: 8px; color: var(--gold); opacity: 0.5;
  animation: starTwinkle 3s ease-in-out infinite;
}
.celestial__star.s1 { top: 30%; left: calc(50% - 50px); animation-delay: 0s; }
.celestial__star.s2 { top: 34%; left: calc(50% + 42px); animation-delay: 0.5s; }
.celestial__star.s3 { top: 46%; left: calc(50% - 150px); font-size: 6px; animation-delay: 1.1s; }
.celestial__star.s4 { top: 46%; left: calc(50% + 145px); font-size: 6px; animation-delay: 1.7s; }
.celestial__star.s5 { top: 54%; left: 50%; font-size: 7px; animation-delay: 0.2s; }
@keyframes starTwinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50%      { opacity: 0.85; transform: scale(1.2); }
}

/* =========================================================
   主容器 & 屏幕
   ========================================================= */
.app {
  position: relative; z-index: 2;
  width: 100%;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
}

.screen {
  display: none;
  flex: 1; flex-direction: column;
  width: 100%; max-width: 100%; margin: 0 auto;
  padding: clamp(12px, 3vw, 24px) clamp(8px, 3vw, 20px) 16px;
}
.screen.is-active { display: flex; }

/* =========================================================
   标题区
   ========================================================= */
.draw-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  text-align: center; color: var(--gold-bright);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  text-shadow: 0 2px 16px rgba(232,200,122,0.25);
}
.draw-sub {
  text-align: center; color: var(--text-dim);
  font-size: 0.9rem; margin-bottom: 10px;
}
.draw-sub .accent {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700; font-size: 1.15em;
}

/* =========================================================
   ★★★ 横向可滑动拱形扇面 ★★★
   ========================================================= */
.arc-scroll {
  /* 关键：唯一的横向滚动容器 */
  overflow-x: auto;
  overflow-y: hidden;                       /* 垂直方向固定高度，防止溢出 */
  -webkit-overflow-scrolling: touch;        /* iOS 惯性滚动 */
  scrollbar-width: none;                    /* Firefox 隐藏滚动条 */
  touch-action: pan-x;                      /* 允许横向触摸滑动 */
  position: relative;
  height: calc(var(--card-h) + var(--arc-height) + 30px);
  margin: 4px 0 0;
  cursor: grab;                             /* PC 端显示抓手 */
  user-select: none;                        /* 防止拖拽选中文字 */
}
.arc-scroll:active { cursor: grabbing; }
/* Chrome/Safari 隐藏滚动条 */
.arc-scroll::-webkit-scrollbar { display: none; }

.arc-track {
  position: relative;
  /* 宽度由 JS 动态设置（含两端 padding 补偿） */
  height: 100%;
  /* 两端各 40px：让旋转的牌有空间不被裁掉 */
  padding: 0 40px;
  transform: translateZ(0);                  /* 触发 GPU 加速，iOS 更流畅 */
}

/* 每张牌：绝对定位，位置由 JS 通过 CSS 变量计算 */
.tarot-back {
  position: absolute;
  top: 0;
  width: var(--card-w);
  height: var(--card-h);
  border-radius: 4px;
  cursor: pointer;
  border: none; padding: 0; background: transparent;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--rot, 0deg));
  transform-origin: center bottom;
  transition:
    filter 0.2s ease,
    opacity 0.4s ease;
  will-change: transform, opacity;
  /* 入场飞入：从屏幕下方依次飞入（--i 控制顺序，backwards 不干扰 is-taken 的淡出） */
  animation: cardFlyIn 0.6s cubic-bezier(0.22, 0.9, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 12ms);
}
@keyframes cardFlyIn {
  from { translate: 0 55vh; opacity: 0; }
  to   { translate: 0 0;    opacity: 1; }
}
/* hover 发亮（鼠标端） */
.tarot-back:hover:not(.is-taken) {
  /* 牌自身变亮，无外发光 */
  filter: brightness(1.6);
}
/* 内发光 + 金边：都在牌自身范围内，不溢到相邻牌 */
.tarot-back:hover:not(.is-taken) .tarot-back__face {
  border-color: var(--gold-bright);
  box-shadow:
    inset 0 0 14px rgba(246, 221, 154, 0.75),
    inset 0 0 4px rgba(246, 221, 154, 0.9),
    0 3px 6px rgba(0, 0, 0, 0.6);
}
/* active 按压（移动端） */
.tarot-back:active:not(.is-taken) {
  filter: brightness(1.1);
  transform: translate3d(var(--x, 0px), calc(var(--y, 0px) + 3px), 0) rotate(var(--rot, 0deg)) scale(0.95);
}
/* 已抽走的牌 */
.tarot-back.is-taken {
  pointer-events: none;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.55, 0, 0.1, 1), opacity 0.35s ease;
}

.tarot-back__face {
  position: absolute; inset: 0;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  /* 让牌面的 3D 效果看起来有厚度 */
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(0, 0, 0, 0.4);
}
.tarot-back__front {
  background: linear-gradient(155deg, #3a1860 0%, #1a0a30 60%, #0f0520 100%);
  border: 1.2px solid rgba(232, 200, 122, 0.55);
}
.tarot-back__front::before {
  content: "";
  position: absolute; inset: 2px;
  border: 0.8px solid rgba(232, 200, 122, 0.35);
  border-radius: 2px;
}
.tarot-back__front::after {
  content: "✦";
  font-size: 11px;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(232,200,122,0.9);
  animation: ornamentPulse 2.8s ease-in-out infinite;
}
@keyframes ornamentPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* =========================================================
   滑动提示
   ========================================================= */
.swipe-hint {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 6px 0 8px;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  animation: hintBounce 2.2s ease-in-out infinite;
}
.swipe-hint__arrow {
  font-size: 1.1rem; color: var(--gold); opacity: 0.7;
}
.swipe-hint__text { opacity: 0.6; }
@keyframes hintBounce {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}

/* =========================================================
   底部 3 个槽位
   ========================================================= */
.slots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}
.slot {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 130px;
  border-radius: 10px;
  border: 1.5px dashed rgba(232, 200, 122, 0.35);
  background: rgba(10, 4, 32, 0.45);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 6px 4px 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.slot.is-ready {
  border-color: rgba(232, 200, 122, 0.75);
  box-shadow: 0 0 14px rgba(232,200,122,0.2), inset 0 0 18px rgba(232,200,122,0.06);
}
.slot.is-filled {
  border-style: solid;
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(74, 37, 128, 0.5), rgba(10, 4, 32, 0.7));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 10px rgba(232,200,122,0.2);
}

.slot__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(232,200,122,0.4);
  margin-bottom: 4px;
}
.slot__inner {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
}

.mini-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  width: 100%; height: 100%;
  padding: 2px;
  animation: cardDrop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes cardDrop {
  0%   { opacity: 0; transform: translateY(-30px) scale(0.5); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* =========================================================
   3D 翻转牌
   ========================================================= */
.flip-card {
  perspective: 700px;
  aspect-ratio: 3 / 5;   /* 塔罗牌比例 */
}
/* 槽位内：按高度推导宽度，避免溢出 */
.mini-card .flip-card {
  width: auto;
  height: 68%;
  max-height: 140px;
}
.flip-card__inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateY(180deg);   /* 初始：牌背朝上 */
  transition: transform 0.7s cubic-bezier(0.4, 0.1, 0.2, 1) var(--flip-delay, 0.35s);
}
.is-flipped .flip-card__inner { transform: rotateY(0deg); }

.flip-card__face {
  position: absolute; inset: 0;
  border-radius: 4px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* 牌背面：与抽牌池一致的紫色 ✦ 设计 */
.flip-card__face--back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, #3a1860 0%, #1a0a30 60%, #0f0520 100%);
  border: 1.2px solid rgba(232, 200, 122, 0.55);
  display: flex; align-items: center; justify-content: center;
}
.flip-card__face--back::after {
  content: "✦";
  font-size: 14px;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(232,200,122,0.9);
}
/* 牌正面 */
.flip-card__face--front {
  box-shadow: 0 3px 8px rgba(0,0,0,0.5), 0 0 8px rgba(232,200,122,0.25);
}
.flip-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.is-reversed .flip-card__img { transform: rotate(180deg); }

/* 翻转完成后淡出牌名/正逆位 */
.mini-card__name, .mini-card__orient,
.selected-card__name, .selected-card__orient {
  opacity: 0;
  transition: opacity 0.45s ease calc(var(--flip-delay, 0.35s) + 0.5s);
}
.is-flipped .mini-card__name, .is-flipped .mini-card__orient,
.is-flipped .selected-card__name, .is-flipped .selected-card__orient { opacity: 1; }
.mini-card__name {
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 600;
  color: var(--gold-bright);
  text-align: center; line-height: 1.15;
}
.mini-card__orient {
  font-size: 0.58rem; letter-spacing: 0.06em;
  color: var(--text-faint);
}
.mini-card.is-reversed .mini-card__orient { color: #d98cc0; }

.slot-hint {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.slot-hint .hint-count {
  color: var(--gold); font-weight: 600;
}

/* =========================================================
   顶部栏 & 返回按钮
   ========================================================= */
.screen-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.back-btn {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(232, 200, 122, 0.1);
  border: 1px solid rgba(232, 200, 122, 0.3);
  color: var(--gold); font-size: 1.3rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.back-btn:active { background: rgba(232, 200, 122, 0.2); transform: scale(0.95); }
.focus-text {
  font-family: var(--font-display);
  font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--text-dim);
}
/* 「返回」按钮：沿用 focus-text 的排版，去掉按钮默认外观 */
.focus-text--btn {
  background: none; border: none; padding: 0;
  cursor: pointer;
}
.focus-text--btn:active { color: var(--gold-bright); }

/* =========================================================
   问题输入屏
   ========================================================= */
.question-inner { flex: 1; display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; width: 100%; }
.question-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 5vw, 1.3rem);
  text-align: center; color: var(--gold-bright);
}
.question-hint {
  text-align: center; color: var(--text-dim);
  font-size: 0.88rem; margin-bottom: 2px;
}

.question-input-wrap { position: relative; }
.question-input {
  width: 100%;
  padding: 14px 16px 34px;
  border-radius: 12px;
  background: rgba(18, 8, 40, 0.7);
  border: 1.5px solid rgba(232, 200, 122, 0.3);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem; line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none; appearance: none;
  -webkit-text-size-adjust: 100%;
}
.question-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(232,200,122,0.25);
}
.question-input::placeholder { color: var(--text-faint); font-style: italic; }
.question-count {
  position: absolute; right: 12px; bottom: 8px;
  font-size: 0.66rem; color: var(--text-faint);
}

.question-suggestions { margin-top: 2px; }
.suggestions-title {
  font-size: 0.76rem; color: var(--text-faint); margin-bottom: 6px;
}
.suggestion-chip {
  display: inline-block;
  padding: 7px 12px; margin: 3px 3px 3px 0;
  border-radius: 999px;
  background: rgba(74, 37, 128, 0.35);
  border: 1px solid rgba(232, 200, 122, 0.25);
  color: var(--text); font-size: 0.76rem;
  cursor: pointer;
  font-family: var(--font-body);
}

/* =========================================================
   按钮
   ========================================================= */
.primary-btn {
  width: 100%;
  padding: 13px 24px;
  border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.1em;
  color: #1a0a30;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 26px rgba(232,200,122,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  -webkit-appearance: none; appearance: none;
  margin-top: 4px;
}
.primary-btn:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.5); }
.primary-btn:active:not(:disabled) { transform: scale(0.98); }

.secondary-btn {
  width: 100%;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 200, 122, 0.4);
  background: rgba(232, 200, 122, 0.08);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.secondary-btn:active { transform: scale(0.98); }

/* =========================================================
   解读结果屏（复用原样式，微调间距）
   ========================================================= */
.result-container { flex: 1; max-width: 600px; margin: 0 auto; width: 100%; }

.loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 60px 0;
}
.loader__orb {
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-bright), var(--gold) 50%, var(--gold-deep) 80%);
  box-shadow: 0 0 28px rgba(232,200,122,0.6);
  animation: orbPulse 1.6s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50%      { transform: scale(1.1); opacity: 1; box-shadow: 0 0 36px rgba(232,200,122,0.8); }
}
.loader__text {
  font-family: var(--font-display); letter-spacing: 0.12em;
  font-size: 0.78rem; color: var(--gold);
  animation: textFade 1.6s ease-in-out infinite;
}
@keyframes textFade {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.result-content { animation: fadeIn 0.5s ease both; }
.result-heading { text-align: center; margin-bottom: 22px; }
.result-heading h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 6vw, 1.8rem);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.question-tag {
  display: inline-block;
  font-size: 0.76rem; color: var(--gold-bright);
  padding: 5px 12px;
  border: 1px solid rgba(232, 200, 122, 0.35);
  border-radius: 999px;
  background: rgba(232, 200, 122, 0.08);
  max-width: 100%; word-break: break-all; line-height: 1.4;
}

.section { margin-bottom: 22px; }
.section__title {
  font-family: var(--font-display);
  font-size: 0.96rem; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(232, 200, 122, 0.2);
  display: flex; align-items: center; gap: 8px;
}
.section__title::before { content: "✦"; font-size: 0.78rem; color: var(--gold-deep); }

.selected-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.selected-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px;
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(74, 37, 128, 0.35), rgba(10, 4, 32, 0.6));
  border: 1px solid rgba(232, 200, 122, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.selected-card__position {
  font-family: var(--font-display);
  font-size: 0.62rem; letter-spacing: 0.12em;
  color: var(--text-faint);
}
.flip-card--lg {
  width: 100%; max-width: 96px;
}
.selected-card__name {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 600;
  color: var(--gold-bright);
  text-align: center; line-height: 1.2;
  min-height: 2em;
}
.selected-card__orient {
  font-size: 0.64rem; letter-spacing: 0.06em;
  color: var(--gold-deep);
}
.selected-card.is-reversed .selected-card__orient { color: #d98cc0; }

.meaning-item {
  padding: 14px 14px;
  border-radius: 10px;
  background: rgba(18, 8, 40, 0.55);
  border: 1px solid rgba(232, 200, 122, 0.14);
  margin-bottom: 10px;
}
.meaning-item__head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.meaning-item__img {
  width: 40px; height: auto; border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  display: block; flex-shrink: 0;
}
.meaning-item.is-reversed .meaning-item__img { transform: rotate(180deg); }
.meaning-item__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.86rem; color: var(--gold-bright);
}
.meaning-item__meta {
  margin-left: auto; font-size: 0.64rem; letter-spacing: 0.05em;
  color: var(--text-faint);
}
.meaning-item.is-reversed .meaning-item__meta { color: #d98cc0; }
.meaning-item__frame {
  font-style: italic; color: var(--text-dim);
  font-size: 0.94rem; line-height: 1.55; margin-bottom: 4px;
}
.meaning-item__meaning {
  color: var(--text); font-size: 0.96rem; line-height: 1.55;
}
.meaning-item__keywords { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.keyword-chip {
  font-size: 0.66rem; padding: 3px 9px; border-radius: 999px;
  background: rgba(232, 200, 122, 0.12);
  border: 1px solid rgba(232, 200, 122, 0.25);
  color: var(--gold-bright);
}

.reading-block {
  padding: 14px 14px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(74, 37, 128, 0.35), rgba(10, 4, 32, 0.6));
  border: 1px solid rgba(232, 200, 122, 0.22);
}
.reading-block__intro {
  font-size: 0.98rem; font-style: italic;
  color: var(--gold-bright); line-height: 1.6; margin-bottom: 8px;
}
.reading-block__body { font-size: 0.96rem; color: var(--text); line-height: 1.65; }

/* 最终讯息：融入综合解读框内，顶部细金线分隔 */
.final-message {
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(232, 200, 122, 0.18);
}
.final-message__symbol {
  font-size: 1.1rem; color: var(--gold);
  margin-bottom: 6px; display: block;
}
.final-message__text {
  font-family: var(--font-display);
  font-size: 0.96rem; line-height: 1.55;
  color: var(--gold-bright); font-style: italic;
}

.result-actions { margin-top: 16px; padding-bottom: 8px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* =========================================================
   响应式
   ========================================================= */
@media (min-width: 560px) {
  :root { --card-w: 64px; --card-h: 108px; --card-gap: -38px; --arc-height: 130px; --arc-rot-deg: 36; }
  .screen { padding-top: 24px; max-width: 720px; }
  .celestial__sun { font-size: 44px; }
}

@media (min-width: 900px) {
  :root { --card-w: 70px; --card-h: 118px; --card-gap: -42px; --arc-height: 140px; --arc-rot-deg: 34; }
  .screen { padding-top: 32px; max-width: 800px; }
  .celestial__sun { font-size: 50px; }
}

/* 减弱动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
