/* ============================================================
   每日运势页 · 灵境版（嵌入 ts-scope，不覆盖 layout header）
   配合 ThinkPHP: view/tarot/spread.html
   ============================================================ */
.ts-scope {
  --lj-accent: #c66ccd;
  --lj-purple: #a855f7;
}

/* 全宽突破 container 限制（仅上半屏星空） */
.ts-scope .lj-daily-hero {
  position: relative;
  min-height: 72vh;
  padding-bottom: 48px;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}
.ts-scope .lj-daily-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 50% at 75% 8%, rgba(70, 45, 120, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 12% 22%, rgba(45, 55, 110, 0.14), transparent 46%),
    radial-gradient(ellipse 90% 70% at 50% 100%, #120a1e 0%, transparent 62%),
    radial-gradient(circle at 50% 38%, rgba(18, 10, 32, 0.95) 0%, #05030a 100%);
}
.ts-scope .lj-daily-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1px 1px at 22% 42%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(1px 1px at 35% 12%, rgba(200, 190, 230, 0.2), transparent),
    radial-gradient(1px 1px at 48% 28%, rgba(255, 255, 255, 0.14), transparent),
    radial-gradient(1px 1px at 62% 8%, rgba(220, 210, 190, 0.18), transparent),
    radial-gradient(1px 1px at 78% 22%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 88% 38%, rgba(190, 175, 220, 0.16), transparent),
    radial-gradient(1px 1px at 15% 62%, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(1px 1px at 55% 55%, rgba(255, 255, 255, 0.14), transparent),
    radial-gradient(1px 1px at 92% 58%, rgba(230, 220, 200, 0.18), transparent);
  background-size: 100% 100%;
  opacity: 0.42;
}
.ts-scope .lj-daily-hero-bg img.cover {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate3d(-50%, -50%, 0) scale(1.08);
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.78;
  filter: saturate(0.95) brightness(0.88) contrast(1.05);
  backface-visibility: hidden;
}
/* rem 轨迹（会员页等仍用 slot；运势/塔罗/星座用 Canvas） */
@keyframes lj-meteor-move {
  0% {
    transform: translate3d(13rem, -10rem, 0);
    opacity: 0;
  }
  6% {
    opacity: 0.88;
  }
  100% {
    transform: translate3d(-15rem, 12rem, 0);
    opacity: 0;
  }
}
.ts-scope .lj-meteor-slot {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  contain: layout style;
}
.ts-scope .lj-meteor-slot .line {
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: lj-meteor-move 11s linear infinite;
}

/* Canvas 流星 + 璀璨星层（每日运势 / 塔罗 / 星座） */
.ts-scope.daily-home .lj-meteor-canvas,
.ts-scope.daily-home .lj-daily-lower .lj-meteor-canvas,
.ts-scope.tarot-home .lj-meteor-canvas,
.ts-scope.tc-catalog-home .lj-meteor-canvas,
.ts-scope.zodiac-home .lj-meteor-canvas,
.ts-scope.tcp-scope .lj-meteor-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ts-scope.daily-home .lj-meteor-slot,
.ts-scope.tarot-home .lj-meteor-slot,
.ts-scope.tc-catalog-home .lj-meteor-slot,
.ts-scope.zodiac-home .lj-meteor-slot {
  display: none;
}

.ts-scope .lj-daily-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 0;
  text-align: center;
}
.ts-scope .lj-daily-hero h1.lj-mainline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  border: none;
  padding: 0;
  font-family: inherit;
}
.ts-scope .lj-subline {
  margin-top: 10px;
  font-size: clamp(1.35rem, 3.8vw, 2.25rem);
  font-weight: 800;
}
.ts-scope .lj-accent { color: #c66ccd; }
.ts-scope .lj-subline .lj-subline-rest { color: #fff; }
.ts-scope .lj-birth-pill {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(88, 28, 135, 0.45);
  color: #f5e8ff;
  border: 1px solid rgba(198, 108, 205, 0.35);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: 0.2s;
}
.ts-scope .lj-birth-pill:hover { background: rgba(88, 28, 135, 0.6); }

.ts-scope .lj-birth-stack {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.ts-scope .lj-birth-panel {
  width: 100%;
  max-width: 520px;
  padding: 20px 20px 22px;
  border-radius: 18px;
  background: rgba(24, 16, 40, 0.82);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  transition: opacity 0.35s ease, transform 0.35s ease, margin 0.35s ease;
}
.ts-scope .lj-birth-panel.is-collapsed {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
}
.ts-scope .lj-birth-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.ts-scope .lj-birth-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #faf5ff;
  border: none;
  padding: 0;
}
.ts-scope .lj-birth-panel-sub {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #d8cce8;
  line-height: 1.55;
}
.ts-scope .lj-birth-reset {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(198, 108, 205, 0.35);
  background: rgba(88, 28, 135, 0.35);
  color: #f5e8ff;
  cursor: pointer;
  transition: background 0.2s;
}
.ts-scope .lj-birth-reset:hover { background: rgba(124, 58, 237, 0.45); }
.ts-scope .lj-birth-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ts-scope .lj-birth-selects select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(10, 6, 20, 0.92);
  color: #f5f3ff;
  font-size: 0.95rem;
}

.ts-scope .lj-daily-cooldown {
  display: none;
  width: 100%;
  max-width: 520px;
  margin: 18px auto 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(76, 29, 120, 0.62), rgba(25, 15, 42, 0.92));
  border: 1px solid rgba(198, 108, 205, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.ts-scope .lj-daily-cooldown.show { display: block; }
.ts-scope .lj-daily-cooldown-title {
  margin: 0;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ede9fe;
}
.ts-scope .lj-daily-cooldown-timer {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: #d8b4fe;
  letter-spacing: 1px;
}
.ts-scope .lj-daily-cooldown-timer span {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #fde68a;
}
.ts-scope .lj-daily-redraw {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.45), rgba(251, 191, 36, 0.25));
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ts-scope .lj-daily-redraw:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 224, 138, 0.75);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.28);
}
.ts-scope .lj-daily-redraw[hidden] {
  display: none !important;
}
.ts-scope .lj-tilt-wrap {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-from-top: 0.5;
  --pointer-from-left: 0.5;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --card-opacity: 0;
  --behind-gradient: radial-gradient(farthest-side circle at var(--pointer-x) var(--pointer-y), hsla(280,100%,90%,var(--card-opacity)) 4%, hsla(280,80%,80%,calc(var(--card-opacity)*0.75)) 10%, hsla(280,70%,70%,calc(var(--card-opacity)*0.5)) 50%, hsla(280,60%,60%,0) 100%), radial-gradient(35% 52% at 55% 20%, rgba(193,55,255,0.35) 0%, transparent 100%);
  perspective: 520px;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
.ts-scope .lj-tilt-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 14px;
  background-image: var(--behind-gradient);
  filter: blur(28px) saturate(1.4);
  opacity: 0.85;
  transform: scale(0.88);
  transition: 0.45s ease;
  z-index: 0;
}
.ts-scope .lj-tilt-wrap:hover,
.ts-scope .lj-tilt-wrap.active { --card-opacity: 1; }
.ts-scope .lj-tilt-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.85s ease;
  transform: translateZ(0.1px) rotateX(0) rotateY(0);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 40px rgba(168, 85, 247, 0.25);
}
.ts-scope .lj-tilt-wrap:hover .lj-tilt-inner,
.ts-scope .lj-tilt-wrap.active .lj-tilt-inner {
  transition: transform 0.12s ease-out;
  transform: translateZ(0.1px) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));
}
.ts-scope .lj-tilt-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translate3d(calc(var(--pointer-from-left) * -5px + 2px), calc(var(--pointer-from-top) * -5px + 2px), 0);
}
.ts-scope .lj-tilt-inner img.is-reversed { transform: rotate(180deg) !important; }

.ts-scope .lj-card-stage-wrap { margin-top: 28px; display: flex; justify-content: center; }
.ts-scope .lj-card-stage { position: relative; width: 160px; height: 285px; }
@media (min-width: 640px) {
  .ts-scope .lj-card-stage { width: 240px; height: 428px; }
}
.ts-scope .lj-card-face { position: absolute; inset: 0; cursor: pointer; }
.ts-scope .lj-card-face.is-hidden { display: none; }

.ts-scope .lj-cta-main {
  margin-top: 28px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  max-width: 100%;
}
.ts-scope .lj-cta-main:disabled {
  background: #374151;
  color: #e5e7eb;
  cursor: not-allowed;
  box-shadow: none;
}
.ts-scope .lj-cta-main:not(:disabled) {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.45);
}
.ts-scope .lj-cta-main:not(:disabled):hover { filter: brightness(1.06); }
.ts-scope .lj-card-caption { margin-top: 12px; color: #e9d5ff; font-weight: 600; }
.ts-scope .lj-card-caption.is-hidden { display: none; }

/* 区块 */
.ts-scope .lj-section { padding: 48px 0; }
.ts-scope .lj-section.alt {
  background: linear-gradient(180deg, transparent, rgba(15, 10, 28, 0.5), transparent);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding-left: max(20px, calc(50vw - 600px));
  padding-right: max(20px, calc(50vw - 600px));
}
.ts-scope .lj-block-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px;
  color: #faf5ff;
  border: none;
  padding: 0;
  font-family: 'Cormorant Garamond', 'Inter', serif;
}
.ts-scope .lj-block-sub {
  text-align: center;
  color: #c4b5d8;
  max-width: 42rem;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.ts-scope .lj-rule {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #c66ccd);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* 三步 */
.ts-scope .lj-steps-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .ts-scope .lj-steps-grid {
    grid-template-columns: 1fr minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
  .ts-scope .lj-steps-grid > div:last-child {
    justify-self: end;
    width: 100%;
    max-width: 400px;
  }
}
.ts-scope .lj-steps-text { position: relative; padding-left: 8px; }
.ts-scope .lj-steps-bar {
  position: absolute;
  left: 0;
  top: 20px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #a855f7, #6d28d9);
  transition: top 0.35s ease, height 0.35s ease;
  height: 100px;
}
.ts-scope .lj-step-item { padding: 16px 12px 16px 28px; cursor: pointer; border-radius: 12px; transition: 0.25s; }
.ts-scope .lj-step-item h3 { font-size: 1.1rem; margin: 0 0 8px; font-weight: 700; }
.ts-scope .lj-step-item p { color: #c9bedd; font-size: 0.95rem; margin: 0; }
.ts-scope .lj-step-item.on h3 { color: #e9d5ff; }
.ts-scope .lj-step-item:not(.on) h3 { color: #f3f4f6; }
.ts-scope .lj-step-visual {
  background: linear-gradient(145deg, rgba(88,28,135,0.5), rgba(30,20,50,0.9));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.ts-scope .lj-step-visual-inner {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: min(260px, 42vw);
}
@media (min-width: 900px) {
  .ts-scope .lj-step-visual-inner {
    max-height: 280px;
    aspect-ratio: 4 / 3;
  }
}
.ts-scope .lj-step-visual-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}
.ts-scope .lj-step-visual-inner img.show { opacity: 1; }
.ts-scope .lj-step-dots { display: flex; justify-content: center; gap: 10px; padding: 14px 0 6px; }
.ts-scope .lj-step-dots b {
  width: 36px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: 0.25s;
  display: block;
}
.ts-scope .lj-step-dots b.on { background: #fff; }

/* 深度解析 */
.ts-scope .lj-analysis-block {
  display: grid;
  gap: 22px;
  align-items: start;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .ts-scope .lj-analysis-block {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 28px;
    margin-bottom: 56px;
    align-items: start;
  }
  .ts-scope .lj-analysis-block.rev .lj-analysis-copy { order: 2; }
  .ts-scope .lj-analysis-block.rev .lj-analysis-media { order: 1; }
}
.ts-scope .lj-analysis-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(168,85,247,0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.38);
  width: 100%;
  max-width: min(100%, 300px);
  aspect-ratio: 16 / 10;
  max-height: min(200px, 26vw);
  justify-self: center;
}
@media (min-width: 768px) {
  .ts-scope .lj-analysis-block:not(.rev) .lj-analysis-media.desk-only {
    justify-self: end;
    margin-right: 0;
  }
  .ts-scope .lj-analysis-block.rev .lj-analysis-media.desk-only {
    justify-self: start;
    margin-left: 0;
  }
}
.ts-scope .lj-analysis-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-scope .lj-analysis-copy h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: #faf5ff;
  border: none;
  padding: 0;
}
.ts-scope .lj-analysis-copy p { color: #d1c4e8; font-size: 1.02rem; margin: 0; line-height: 1.65; }
.ts-scope .lj-analysis-mobile { display: block; margin: 16px 0; }
@media (max-width: 767px) {
  .ts-scope .lj-analysis-media {
    max-height: 190px;
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .ts-scope .lj-analysis-mobile { display: none; }
  .ts-scope .lj-analysis-media.desk-only { display: block; }
}
.ts-scope .lj-analysis-media.desk-only { display: none; }
@media (min-width: 768px) {
  .ts-scope .lj-analysis-media.desk-only { display: block; }
}

/* FAQ */
.ts-scope .lj-faq-list { max-width: 800px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 16px; }
.ts-scope .lj-faq-item {
  border-radius: 16px;
  padding: 22px 24px;
  background: rgba(24, 19, 36, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.ts-scope .lj-faq-item h4 { font-size: 1.08rem; margin: 0 0 10px; color: #faf5ff; font-weight: 700; }
.ts-scope .lj-faq-item p { color: #c9bedd; font-size: 0.95rem; margin: 0; line-height: 1.65; }

/* 牌阵区与原有 ts-hero 间距 */
.ts-scope .lj-spreads-wrap { margin-top: 8px; }

/* ========== 今日运势 · 粒子汇聚 / 翻牌 / 解读弹窗 ========== */
.daily-reveal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 40%, rgba(88, 28, 135, 0.35) 0%, rgba(5, 3, 14, 0.94) 55%, #05030e 100%);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.daily-reveal-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(88, 28, 135, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse at 18% 82%, rgba(56, 189, 248, 0.06) 0%, transparent 48%);
}
.daily-reveal-overlay.show { display: block; }
.daily-reveal-overlay.show.is-cosmic-ai::before {
  opacity: 0.55;
}
.daily-reveal-overlay.show.is-ai-phase::before {
  opacity: 0.45;
}

.daily-reveal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#dailyRevealStarCanvas,
#tdRevealStarCanvas,
#tarotSpreadStarCanvas {
  z-index: 1;
}
#dailyRevealParticleCanvas,
#tdRevealParticleCanvas,
#tarotSpreadParticleCanvas {
  z-index: 2;
}
.daily-reveal-overlay.show .daily-reveal-status--ritual,
.daily-reveal-overlay.show .daily-reveal-progress,
.daily-reveal-overlay.show .daily-reveal-ai-ritual,
.daily-reveal-overlay.show .daily-reveal-flash {
  position: relative;
  z-index: 5;
}
#tarotSpreadStarCanvas {
  z-index: 1;
}
#tarotSpreadParticleCanvas {
  z-index: 2;
}

.daily-reveal-overlay.tarot-spread-reveal {
  justify-content: flex-start;
  padding-top: calc(16vh + env(safe-area-inset-top, 0px));
}
.daily-reveal-overlay.tarot-spread-reveal .daily-reveal-status {
  margin-top: 0;
  margin-bottom: 0;
}

/* 汇聚锚点：光束在底层，符文在中层，牌面在上 */
.daily-reveal-stage {
  --dr-card-w: min(220px, 56vw);
  --dr-card-h: min(370px, 85vw);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dr-card-w);
  height: var(--dr-card-h);
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}

.daily-reveal-rune-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(300px, 82vw);
  height: min(300px, 82vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.55s ease;
  border: 1px dashed rgba(251, 191, 36, 0.28);
  box-shadow:
    inset 0 0 70px rgba(167, 139, 250, 0.14),
    0 0 90px rgba(124, 58, 237, 0.18);
}
.daily-reveal-rune-ring.active {
  opacity: 1;
  animation: daily-reveal-rune-spin 14s linear infinite;
}
@keyframes daily-reveal-rune-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.daily-reveal-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.daily-reveal-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 150vw);
  height: min(560px, 150vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.daily-reveal-burst-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(251, 191, 36, 0.85), transparent);
}

.daily-reveal-after {
  position: absolute;
  top: calc(50% + min(185px, 42.5vw) + 16px);
  left: 0;
  right: 0;
  z-index: 7;
  text-align: center;
  pointer-events: none;
}

.daily-reveal-after .daily-reveal-foot,
.daily-reveal-after .daily-reveal-finish {
  pointer-events: auto;
}

.daily-reveal-status--ritual {
  position: absolute;
  top: max(10vh, calc(40px + env(safe-area-inset-top, 0px)));
  left: 16px;
  right: 16px;
  z-index: 7;
  margin: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(233, 213, 255, 0.75);
  min-height: 1.3em;
  pointer-events: none;
}

.daily-reveal-status--done {
  margin: 14px 16px 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: rgba(253, 224, 138, 0.92);
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
  min-height: 1.3em;
}

.daily-reveal-overlay.is-reveal-ready .daily-reveal-status--ritual {
  opacity: 0;
  visibility: hidden;
  height: 0;
  min-height: 0;
  overflow: hidden;
}

.daily-reveal-progress {
  position: absolute;
  top: calc(8px + env(safe-area-inset-top, 0px));
  left: 20px;
  right: 20px;
  z-index: 8;
  max-width: 320px;
  margin: 0 auto;
}

.daily-reveal-card-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  perspective: 1200px;
  opacity: 0;
  transform: scale(0.15);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: auto;
}
.daily-reveal-card-shell.visible {
  opacity: 1;
  transform: scale(1);
}

.daily-reveal-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}
.daily-reveal-card.is-flipped { transform: rotateY(180deg); }

.daily-reveal-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow:
    0 0 48px rgba(168, 85, 247, 0.35),
    0 24px 60px rgba(0, 0, 0, 0.55);
}
.daily-reveal-back {
  border: 1px solid rgba(167, 139, 250, 0.45);
}
.daily-reveal-back img,
.daily-reveal-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.daily-reveal-front {
  transform: rotateY(180deg);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.daily-reveal-front img.is-reversed { transform: rotate(180deg); }

.daily-reveal-front-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  text-align: center;
}
.daily-reveal-front-cap span {
  display: block;
  color: #fef3c7;
  font-weight: 700;
  letter-spacing: 2px;
}
.daily-reveal-foot {
  position: relative;
  z-index: 8;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 0 16px calc(8px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.daily-reveal-overlay.is-reveal-ready .daily-reveal-foot {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.daily-reveal-foot-tip {
  margin: 0 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(221, 214, 254, 0.82);
  pointer-events: none;
}

.daily-reveal-overlay .daily-reveal-finish.td-ritual-finish {
  margin-top: 14px;
  padding: 14px 36px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 10px 36px rgba(124, 58, 237, 0.45);
  transition: filter 0.2s, transform 0.2s;
  display: none;
}

.daily-reveal-overlay .daily-reveal-finish.td-ritual-finish:not([hidden]) {
  display: inline-block;
}

.daily-reveal-overlay .daily-reveal-finish.td-ritual-finish:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.daily-reveal-overlay.is-reveal-ready .daily-reveal-progress {
  opacity: 0;
  visibility: hidden;
}

.daily-reveal-front-cap span:last-child {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
  font-weight: 500;
}

/* 解读弹窗 */
.daily-reading-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}
.daily-reading-mask.show {
  display: flex;
}
@media (min-width: 768px) {
  .daily-reading-mask {
    align-items: center;
    padding: 24px;
  }
}

.daily-reading-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: min(92vh, 900px);
  background: linear-gradient(165deg, #1a1228 0%, #0f0a18 100%);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) {
  .daily-reading-modal {
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  }
}

.daily-reading-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e9d5ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.daily-reading-close:hover { background: rgba(168, 85, 247, 0.35); }

.daily-reading-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 46px 52px 8px 16px;
  flex-shrink: 0;
}
.daily-reading-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(88, 28, 135, 0.35);
  color: #fde68a;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.daily-reading-share-btn:hover {
  background: rgba(124, 58, 237, 0.42);
  border-color: rgba(251, 191, 36, 0.55);
}

.daily-reading-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 52px 16px 20px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}
.daily-reading-thumb-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.daily-reading-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.daily-reading-thumb-wrap img.is-reversed {
  transform: rotate(180deg);
}

.daily-reading-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #faf5ff;
  border: none;
  padding: 0;
}
.daily-reading-sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: #c4b5dc;
}

.daily-reading-scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 18px 18px 26px 20px;
  margin-right: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.55) rgba(255, 255, 255, 0.06);
}
.daily-reading-scroll::-webkit-scrollbar {
  width: 9px;
}
.daily-reading-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  margin: 8px 0;
}
.daily-reading-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(167, 85, 247, 0.65), rgba(251, 191, 36, 0.38));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.daily-reading-section {
  margin-bottom: 22px;
}
.daily-reading-section h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 2px;
  border: none;
  padding: 0;
}
.daily-reading-section p {
  margin: 0;
  color: #d8cce8;
  font-size: 0.98rem;
  line-height: 1.75;
}

.daily-reading-dim {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(88, 28, 135, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.15);
}
.daily-reading-dim h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #faf5ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border: none;
  padding: 0;
}
.daily-reading-dim-title {
  flex: 1;
  min-width: 0;
}
.daily-reading-star-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.daily-reading-star-ico {
  font-size: 0.82rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.35));
}
.daily-reading-star-ico.empty {
  color: rgba(251, 191, 36, 0.28);
  filter: none;
}
.daily-reading-star-ico.half {
  color: #fcd34d;
}
.daily-reading-dim p {
  margin: 0;
  color: #c9bedd;
  font-size: 0.94rem;
  line-height: 1.7;
}

.daily-reading-mystic {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.22);
}
.daily-reading-mystic h3 { color: #fde68a; }
.daily-reading-mystic-title {
  font-weight: 700;
  color: #fef3c7 !important;
  margin-bottom: 10px !important;
}

/* 今日运势 · 分享大卡层 */
.daily-share-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 3, 12, 0.82);
  backdrop-filter: blur(10px);
}
.daily-share-mask.show {
  display: flex;
}
.daily-share-modal:not(.v2) {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(94vh, 820px);
  overflow-y: auto;
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: linear-gradient(165deg, #221538 0%, #100818 100%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(167, 85, 247, 0.15);
}
.daily-share-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e9d5ff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.daily-share-close:hover { background: rgba(168, 85, 247, 0.35); }
.daily-share-heading {
  margin: 0 44px 8px 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #faf5ff;
  border: none;
  padding: 0;
}
.daily-share-lead {
  margin: 0 44px 18px 0;
  font-size: 0.85rem;
  color: #c4b5dc;
  line-height: 1.55;
}
.daily-share-card-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.daily-share-big-card {
  width: 100%;
  max-width: 300px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(251, 191, 36, 0.16), transparent 55%),
    linear-gradient(175deg, rgba(42, 22, 68, 0.98), rgba(12, 8, 22, 0.98));
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow:
    0 0 60px rgba(167, 85, 247, 0.35),
    0 24px 48px rgba(0, 0, 0, 0.45);
}
.daily-share-big-frame {
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
  width: min(220px, 58vw);
  aspect-ratio: 220 / 370;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}
.daily-share-big-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.daily-share-big-frame img.is-reversed {
  transform: rotate(180deg);
}
.daily-share-big-meta {
  margin-top: 16px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fef3c7;
  letter-spacing: 2px;
}
.daily-share-big-date {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(233, 213, 255, 0.72);
  letter-spacing: 4px;
}
.daily-share-big-snippet {
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #d8cce8;
  text-align: center;
}
.daily-share-big-brand {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 85, 247, 0.22);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 5px;
  color: rgba(251, 191, 36, 0.85);
}
.daily-share-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.daily-share-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(30, 18, 48, 0.85);
  color: #ede9fe;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.daily-share-action:hover {
  background: rgba(88, 28, 135, 0.45);
  border-color: rgba(251, 191, 36, 0.35);
}
.daily-share-action.primary {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.55), rgba(88, 28, 135, 0.55));
  color: #fffbeb;
}

body.daily-reveal-open,
body.daily-share-open {
  overflow: hidden;
}
body.tarot-overlay-open {
  overflow: hidden;
}

/* ============================================================
   塔罗占卜页 · 牌阵列表 / 弹窗 / 仪式 / 抽牌 / 解读
   （与今日运势灵境同一视觉语言；部分节点在 .ts-scope 外需全局选择器）
   ============================================================ */

/* —— 占卜页 hero 增补 —— */
.ts-scope.tarot-home .lj-tarot-hero-inner {
  padding-bottom: 12px;
}
.ts-scope .lj-tarot-hero-tags {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(233, 213, 255, 0.78);
  letter-spacing: 0.12em;
}
.ts-scope .lj-tarot-quota-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}
.ts-scope .lj-tarot-quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #f5e8ff;
  background: rgba(88, 28, 135, 0.5);
  border: 1px solid rgba(198, 108, 205, 0.38);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.ts-scope .lj-tarot-quota-pill strong {
  font-weight: 800;
  color: #fde68a;
  font-variant-numeric: tabular-nums;
}
.ts-scope .lj-tarot-quota-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e9d5ff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(251, 191, 36, 0.45);
}
.ts-scope .lj-tarot-quota-link:hover {
  color: #fff;
}
.ts-scope .lj-tarot-hero-lead {
  margin: 22px auto 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(225, 211, 255, 0.88);
}

/* —— 牌阵 hero / grid —— */
.ts-scope .ts-hero {
  text-align: center;
  margin-bottom: 28px;
}
.ts-scope .ts-hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #faf5ff;
  letter-spacing: -0.02em;
  border: none;
  padding: 0;
  font-family: inherit;
}
.ts-scope .ts-hero p {
  margin: 14px auto 0;
  max-width: 36rem;
  color: #c4b5d8;
  line-height: 1.65;
  font-size: 1rem;
}
.ts-scope .ts-hero-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ts-scope .ts-hero-tags span {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #ede9fe;
  background: rgba(76, 29, 120, 0.45);
  border: 1px solid rgba(168, 85, 247, 0.32);
}

.ts-scope .ts-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.ts-scope .ts-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f3e8ff;
  border: none;
  padding: 0;
}
.ts-scope .ts-hint {
  font-size: 0.88rem;
  color: #a898c8;
}

.ts-scope .ts-spread-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 20px;
}
/* 塔罗首页：牌阵区一行 3 个，最多 2 行（5 预览 + 更多） */
.ts-scope.tarot-home .lj-tarot-spreads-block .ts-spread-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, auto);
  gap: 16px;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .ts-scope.tarot-home .lj-tarot-spreads-block .ts-spread-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .ts-scope.tarot-home .lj-tarot-spreads-block .ts-spread-grid {
    grid-template-columns: 1fr !important;
  }
}
.ts-scope .ts-spread-card.is-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
  background: linear-gradient(155deg, rgba(55, 28, 88, 0.75), rgba(18, 10, 32, 0.92));
  border-style: dashed;
  border-color: rgba(198, 108, 205, 0.45);
}
.ts-scope .ts-spread-card.is-more:hover {
  border-style: solid;
  border-color: rgba(251, 191, 36, 0.55);
}
.ts-scope .ts-spread-card.is-more .ts-more-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
}
.ts-scope .ts-spread-card.is-more h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #fde68a;
}
.ts-scope .ts-spread-card.is-more .ts-more-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #bdaad8;
}
.ts-scope a.ts-spread-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.ts-scope .ts-spread-card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 18px;
  cursor: pointer;
  background: linear-gradient(155deg, rgba(42, 22, 68, 0.92), rgba(14, 9, 24, 0.94));
  border: 1px solid rgba(168, 85, 247, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s;
}
.ts-scope .ts-spread-card:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.42);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.45),
    0 0 42px rgba(124, 58, 237, 0.22);
}
/* 塔罗首页：悬停紫辉边框（对齐参考稿） */
.ts-scope.tarot-home .ts-spread-card:hover {
  border-color: rgba(192, 167, 255, 0.72);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.48),
    0 0 52px rgba(124, 58, 237, 0.48),
    0 0 80px rgba(91, 33, 182, 0.22),
    inset 0 0 0 1px rgba(233, 213, 255, 0.12);
}
.ts-scope .ts-spread-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #faf5ff;
  border: none;
  padding: 0;
}
.ts-scope .ts-desc {
  color: #bdaad8;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 12px;
}
.ts-scope .ts-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: #d8b4fe;
}
.ts-scope .ts-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(30, 18, 48, 0.72);
  border: 1px solid rgba(124, 58, 237, 0.22);
}
.ts-scope .ts-meta .level-easy { color: #86efac; border-color: rgba(74, 222, 128, 0.35); }
.ts-scope .ts-meta .level-mid { color: #fcd34d; border-color: rgba(251, 191, 36, 0.38); }
.ts-scope .ts-meta .level-hard { color: #fda4af; border-color: rgba(251, 113, 133, 0.38); }
.ts-scope .ts-meta .pill-tag-topic {
  color: #e9d5ff;
  border-color: rgba(167, 139, 250, 0.42);
}
.ts-scope .ts-card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fde68a;
  letter-spacing: 0.06em;
}

.ts-scope .ts-mini-stage {
  position: relative;
  height: 128px;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 85% at 50% 110%, rgba(76, 29, 120, 0.65), transparent 58%),
    radial-gradient(circle at 25% 20%, rgba(251, 191, 36, 0.12), transparent 42%),
    linear-gradient(168deg, rgba(14, 10, 26, 0.98), rgba(6, 4, 14, 1));
  border: 1px solid rgba(168, 85, 247, 0.28);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}
.ts-scope.tarot-home .ts-mini-stage {
  height: 132px;
}
.ts-scope .ts-mini-stage.dense {
  height: 138px;
}
.ts-scope.tarot-home .ts-mini-stage.dense {
  height: 142px;
}
/* 牌阵缩略：发光点位（对齐 TarotQA 首页示意风格） */
.ts-scope .ts-mini-dot,
.ts-scope .ts-mini-card {
  position: absolute;
  width: 11px;
  height: 11px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  transform-origin: center center;
  background: radial-gradient(circle at 32% 28%, #fffaf0, #fbbf24 52%, #b45309 100%);
  box-shadow:
    0 0 10px rgba(251, 191, 36, 0.95),
    0 0 22px rgba(251, 191, 36, 0.45),
    0 0 1px rgba(254, 243, 199, 0.8);
  border: none;
  aspect-ratio: auto;
}
.ts-scope .ts-mini-dot.dense,
.ts-scope .ts-mini-card.dense {
  width: 9px;
  height: 9px;
  box-shadow:
    0 0 8px rgba(251, 191, 36, 0.85),
    0 0 16px rgba(251, 191, 36, 0.38);
}

.ts-scope .ts-spread-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 8px 0 26px;
}
.ts-scope .ts-filter-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(120, 80, 180, 0.45);
  background: rgba(18, 12, 32, 0.75);
  color: #ddd6fe;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.ts-scope .ts-filter-tab:hover {
  border-color: rgba(251, 191, 36, 0.42);
  color: #fff;
}
.ts-scope .ts-filter-tab.active {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.95), rgba(76, 29, 120, 0.98));
  border-color: rgba(251, 191, 36, 0.48);
  color: #fffbeb;
  box-shadow: 0 0 26px rgba(124, 58, 237, 0.42);
}

.ts-scope .pill-classic {
  color: rgba(253, 224, 71, 0.95) !important;
  border-color: rgba(251, 191, 36, 0.35) !important;
}

/* —— 注意事项手风琴 —— */
.ts-scope .lj-acc-list {
  max-width: 820px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ts-scope .lj-acc-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: rgba(24, 19, 36, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.ts-scope .lj-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #f5f3ff;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  transition: background 0.2s;
}
.ts-scope .lj-acc-btn:hover {
  background: rgba(88, 28, 135, 0.28);
}
.ts-scope .lj-acc-chev {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: rgba(233, 213, 255, 0.72);
  transition: transform 0.28s ease;
}
.ts-scope .lj-acc-btn.is-open .lj-acc-chev {
  transform: rotate(180deg);
}
.ts-scope .lj-acc-panel {
  padding: 0 20px 18px;
  border-top: 1px solid rgba(168, 85, 247, 0.14);
}
.ts-scope .lj-acc-panel p {
  margin: 12px 0 0;
  color: #c9bedd;
  font-size: 0.93rem;
  line-height: 1.68;
}

/* —— 五步 / 卖点 / 探索 —— */
.ts-scope .lj-tarot-steps-section .lj-block-sub {
  margin: -8px 0 0;
  text-align: center;
  color: #b8a8ce;
  font-size: 0.95rem;
}
.ts-scope .lj-tarot-steps-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: tarot-step;
}
@media (max-width: 1100px) {
  .ts-scope .lj-tarot-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .ts-scope .lj-tarot-steps-grid {
    grid-template-columns: 1fr;
  }
}
.ts-scope .lj-tarot-step-card {
  position: relative;
  padding: 20px 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ts-scope .lj-tarot-step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.ts-scope .lj-tarot-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}
.ts-scope .lj-tarot-step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 12px;
  border-radius: 12px;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}
.ts-scope .lj-tarot-step-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.55;
  z-index: 1;
}
.ts-scope .lj-tarot-step-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #faf5ff;
  position: relative;
  z-index: 1;
}
.ts-scope .lj-tarot-step-card p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(237, 233, 254, 0.82);
  line-height: 1.62;
  position: relative;
  z-index: 1;
}
.ts-scope .lj-tarot-step-card--1 {
  background: linear-gradient(155deg, rgba(59, 130, 246, 0.22), rgba(18, 12, 32, 0.92));
  border-color: rgba(96, 165, 250, 0.4);
}
.ts-scope .lj-tarot-step-card--1 .lj-tarot-step-ico {
  background: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}
.ts-scope .lj-tarot-step-card--2 {
  background: linear-gradient(155deg, rgba(168, 85, 247, 0.28), rgba(18, 12, 32, 0.92));
  border-color: rgba(192, 132, 252, 0.42);
}
.ts-scope .lj-tarot-step-card--2 .lj-tarot-step-ico {
  background: rgba(124, 58, 237, 0.4);
  color: #e9d5ff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}
.ts-scope .lj-tarot-step-card--3 {
  background: linear-gradient(155deg, rgba(236, 72, 153, 0.22), rgba(18, 12, 32, 0.92));
  border-color: rgba(244, 114, 182, 0.4);
}
.ts-scope .lj-tarot-step-card--3 .lj-tarot-step-ico {
  background: rgba(219, 39, 119, 0.35);
  color: #f9a8d4;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}
.ts-scope .lj-tarot-step-card--4 {
  background: linear-gradient(155deg, rgba(245, 158, 11, 0.2), rgba(18, 12, 32, 0.92));
  border-color: rgba(251, 191, 36, 0.38);
}
.ts-scope .lj-tarot-step-card--4 .lj-tarot-step-ico {
  background: rgba(217, 119, 6, 0.35);
  color: #fcd34d;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.28);
}
.ts-scope .lj-tarot-step-card--5 {
  background: linear-gradient(155deg, rgba(16, 185, 129, 0.2), rgba(18, 12, 32, 0.92));
  border-color: rgba(52, 211, 153, 0.38);
}
.ts-scope .lj-tarot-step-card--5 .lj-tarot-step-ico {
  background: rgba(5, 150, 105, 0.35);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.28);
}

.ts-scope .lj-tarot-feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .ts-scope .lj-tarot-feature-grid {
    grid-template-columns: 1fr;
  }
}
.ts-scope .lj-tarot-feature-card {
  padding: 20px 18px;
  border-radius: 16px;
  background: rgba(24, 19, 36, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.ts-scope .lj-tarot-feature-card h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #faf5ff;
}
.ts-scope .lj-tarot-feature-card h4::before {
  content: "✦ ";
  color: #fcd34d;
}
.ts-scope .lj-tarot-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #c4b5dc;
  line-height: 1.62;
}

.ts-scope .lj-tarot-explore-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) {
  .ts-scope .lj-tarot-explore-grid {
    grid-template-columns: 1fr;
  }
}
.ts-scope .lj-tarot-explore-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(24, 19, 36, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.24);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.ts-scope .lj-tarot-explore-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.38);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}
.ts-scope .lj-tarot-explore-ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.45rem;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.55), rgba(76, 29, 120, 0.65));
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.ts-scope .lj-tarot-explore-ico.b {
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.65), rgba(124, 58, 237, 0.55));
}
.ts-scope .lj-tarot-explore-ico.c {
  background: linear-gradient(145deg, rgba(131, 24, 67, 0.65), rgba(124, 58, 237, 0.5));
}
.ts-scope .lj-tarot-explore-body h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.ts-scope .lj-tarot-explore-body p {
  margin: 0;
  font-size: 0.88rem;
  color: #bdaad8;
  line-height: 1.58;
}

/* ========= 详情弹窗 ========= */
.ts-mask {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px 16px;
  background: rgba(4, 3, 14, 0.82);
  backdrop-filter: blur(12px);
}
.ts-mask.show {
  display: flex;
}

.ts-modal-box.ts-spread-modal {
  position: relative;
  width: 100%;
  max-width: min(96vw, 920px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(168deg, #251838 0%, #120a1c 52%, #0c0714 100%);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(167, 85, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ts-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #e9d5ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, transform 0.2s;
}
.ts-modal-close:hover {
  background: rgba(168, 85, 247, 0.42);
  transform: rotate(90deg);
}

.ts-modal-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 26px clamp(18px, 3vw, 28px) 20px;
  -webkit-overflow-scrolling: touch;
}

.ts-modal-box.ts-spread-modal .ts-modal-scroll {
  /* 预留底部空间，避免 footer 上投影盖住正文末尾 */
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.55) rgba(14, 10, 24, 0.55);
}

.ts-modal-box.ts-spread-modal .ts-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.ts-modal-box.ts-spread-modal .ts-modal-scroll::-webkit-scrollbar-track {
  margin: 6px 0;
  background: rgba(10, 7, 18, 0.45);
  border-radius: 999px;
}

.ts-modal-box.ts-spread-modal .ts-modal-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.65), rgba(76, 29, 120, 0.85));
  border-radius: 999px;
  border: 2px solid rgba(12, 9, 22, 0.65);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.25);
}

.ts-modal-box.ts-spread-modal .ts-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.75), rgba(91, 33, 182, 0.9));
}

.ts-spread-breadcrumb {
  margin: 0 44px 6px 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 181, 216, 0.72);
}
.ts-spread-breadcrumb span {
  opacity: 0.55;
  padding: 0 6px;
}

.ts-spread-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ts-spread-tag {
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(76, 29, 120, 0.48);
  border: 1px solid rgba(198, 108, 205, 0.35);
  color: #f5e8ff;
}
.ts-spread-tag.accent {
  border-color: rgba(251, 191, 36, 0.48);
  color: #fde68a;
}

.ts-spread-modal-title {
  margin: 4px 44px 0 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: #fefce8;
  line-height: 1.25;
  border: none;
  padding: 0;
  font-family: inherit;
}

.ts-spread-lead {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: #ddd6fe;
}
.ts-spread-subline {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: #a898c8;
  line-height: 1.55;
}

.ts-spread-diagram-wrap {
  margin-top: 22px;
  padding: 14px;
  border-radius: 16px;
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(124, 58, 237, 0.18), transparent 55%),
    rgba(10, 7, 18, 0.72);
  border: 1px solid rgba(168, 85, 247, 0.22);
}
.ts-spread-diagram-cap {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(233, 213, 255, 0.55);
}

.ts-modal-box.ts-spread-modal .ts-spread-diagram-wrap {
  padding: 16px 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(147, 113, 219, 0.38);
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(76, 29, 120, 0.38), transparent 58%),
    rgba(6, 4, 12, 0.88);
  box-shadow:
    inset 0 0 56px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.04);
}

.ts-modal-box.ts-spread-modal .ts-spread-intro-box {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(147, 113, 219, 0.35);
  background: rgba(18, 12, 32, 0.72);
  color: #c9bedd;
}

.ts-detail-stage {
  position: relative;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(45, 25, 72, 0.35), transparent 62%),
    rgba(8, 6, 16, 0.5);
}
.ts-detail-stage.dense {
  height: 236px;
}

@media (min-width: 720px) {
  .ts-modal-box.ts-spread-modal .ts-detail-stage {
    height: 280px;
  }
  .ts-modal-box.ts-spread-modal .ts-detail-stage.dense {
    height: 300px;
  }
}

/* 塔罗详情弹窗：紫色立牌 + 黄橙渐变大号编号 + 底部标签 */
.ts-modal-box.ts-spread-modal .ts-detail-slot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ts-modal-box.ts-spread-modal .ts-detail-card-face {
  width: 46px;
  height: 74px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  flex-shrink: 0;
  background: linear-gradient(165deg, rgba(98, 52, 158, 0.96), rgba(38, 18, 72, 0.98));
  border: 1px solid rgba(196, 181, 255, 0.5);
  box-shadow:
    0 0 22px rgba(139, 92, 246, 0.42),
    0 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -8px 18px rgba(0, 0, 0, 0.28);
}
.ts-modal-box.ts-spread-modal .ts-detail-card-face.is-landscape {
  width: 74px;
  height: 46px;
}
.ts-modal-box.ts-spread-modal .ts-detail-card-num {
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fcd34d;
  text-shadow:
    0 0 14px rgba(251, 191, 36, 0.65),
    0 2px 0 rgba(180, 83, 9, 0.55);
}
.ts-modal-box.ts-spread-modal .ts-detail-stage.dense .ts-detail-card-face {
  width: 36px;
  height: 58px;
  border-radius: 8px;
}
.ts-modal-box.ts-spread-modal .ts-detail-stage.dense .ts-detail-card-face.is-landscape {
  width: 58px;
  height: 36px;
}
.ts-modal-box.ts-spread-modal .ts-detail-stage.dense .ts-detail-card-num {
  font-size: 0.95rem;
}
.ts-modal-box.ts-spread-modal .ts-detail-slot-label {
  font-size: 10px;
  font-weight: 700;
  color: #f5f3ff;
  line-height: 1.2;
  text-align: center;
  max-width: 88px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

/* daily 等简易弹窗：沿用旧结构 */
.ts-detail-card {
  position: absolute;
  width: 62px;
  text-align: center;
  transform-origin: center center;
}
.ts-detail-card .ts-detail-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  margin-bottom: 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #faf5ff;
  background: linear-gradient(145deg, rgba(109, 40, 217, 0.95), rgba(76, 29, 120, 0.98));
  border: 1px solid rgba(251, 191, 36, 0.42);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
/* daily 等简易弹窗：保留金色序号 + 光点 */
.ts-detail-card > span:first-child:not(.ts-detail-num) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-bottom: 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #1a0f14;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.ts-detail-dot {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fffaf0, #fbbf24 55%, #b45309 100%);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.9), 0 0 22px rgba(251, 191, 36, 0.38);
}
.ts-modal-box.ts-spread-modal .ts-detail-dot {
  display: none !important;
}
.ts-pos-label {
  margin-top: 0;
  font-size: 10px;
  font-weight: 700;
  color: #f5e9ff;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.ts-spread-section {
  margin-top: 22px;
}
.ts-spread-section-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #faf5ff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-spread-section-ico {
  opacity: 0.85;
  color: #fcd34d;
}
.ts-spread-prose {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: #c9bedd;
}
.ts-spread-prose.tight {
  line-height: 1.65;
}

.ts-spread-feature-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #d8cce8;
  font-size: 0.9rem;
  line-height: 1.68;
}
.ts-spread-feature-list li {
  margin-bottom: 6px;
}

.ts-pos-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ts-pos-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.14);
}
.ts-pos-row:last-child {
  border-bottom: none;
}
.ts-pos-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #1a1028;
  background: linear-gradient(145deg, #fde68a, #d946ef);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.ts-pos-copy strong {
  display: block;
  font-size: 0.92rem;
  color: #f5f3ff;
  margin-bottom: 6px;
}
.ts-pos-copy p {
  margin: 0;
  font-size: 0.86rem;
  color: #b8a8ce;
  line-height: 1.62;
}

.ts-modal-box.ts-spread-modal .ts-pos-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 640px) {
  .ts-modal-box.ts-spread-modal .ts-pos-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ts-modal-box.ts-spread-modal .ts-pos-row {
  display: block;
  padding: 0;
  border-bottom: none;
}
.ts-modal-box.ts-spread-modal .ts-pos-copy.ts-pos-chip {
  padding: 12px 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  background: rgba(22, 14, 38, 0.76);
  min-height: 100%;
  box-sizing: border-box;
}
.ts-modal-box.ts-spread-modal .ts-pos-chip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbbf24;
}
.ts-modal-box.ts-spread-modal .ts-pos-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #faf5ff;
  line-height: 1.3;
}
.ts-modal-box.ts-spread-modal .ts-pos-chip p {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: #a898c8;
  line-height: 1.55;
}

.ts-modal-footer {
  flex-shrink: 0;
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(168, 85, 247, 0.22);
  background: linear-gradient(180deg, transparent, rgba(12, 8, 22, 0.94));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

/* 水晶球底栏：与正文区分层次，按钮悬浮视觉 */
.ts-modal-footer.ts-modal-footer-crystal {
  border-top: none;
  padding-top: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(
    180deg,
    rgba(18, 12, 30, 0) 0%,
    rgba(12, 8, 22, 0.82) 28%,
    rgba(8, 5, 16, 0.97) 100%
  );
  box-shadow:
    0 -28px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ts-modal-footer-crystal .ts-modal-footer-hint {
  margin: 0 0 18px;
  padding: 0 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ts-modal-footer-hint {
  margin: 0 0 12px;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(196, 181, 216, 0.85);
  line-height: 1.5;
}

.ts-modal-footer.ts-modal-footer-spread-ref {
  border-top: none;
  padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  background: linear-gradient(
    180deg,
    rgba(18, 12, 30, 0) 0%,
    rgba(12, 8, 22, 0.92) 38%,
    rgba(8, 5, 16, 1) 100%
  );
  /* 减弱向上投射，避免压住滚动区末尾与提示文案 */
  box-shadow:
    0 -10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ts-modal-footer-spread-ref .ts-modal-footer-hint {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  padding: 4px 14px 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ts-spread-start-btn {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #140821;
  background: linear-gradient(92deg, #9333ea 0%, #a855f7 38%, #fbbf24 100%);
  position: relative;
  z-index: 2;
  isolation: isolate;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(168, 85, 247, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.ts-spread-start-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(168, 85, 247, 0.42),
    0 0 18px rgba(251, 191, 36, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.ts-spread-start-btn:active {
  transform: translateY(0);
}

.ts-crystal-ball-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ts-crystal-ball-btn {
  position: relative;
  width: 92px;
  height: 92px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.08) 18%, transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(30, 15, 55, 0.98) 0%, transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(129, 140, 248, 0.55), rgba(76, 29, 120, 0.92) 45%, rgba(15, 8, 28, 1) 100%);
  box-shadow:
    0 0 0 3px rgba(167, 139, 250, 0.38),
    0 0 48px rgba(124, 58, 237, 0.55),
    0 18px 36px rgba(0, 0, 0, 0.55),
    inset 10px 12px 22px rgba(255, 255, 255, 0.42),
    inset -14px -18px 28px rgba(0, 0, 0, 0.42);
  animation: ts-crystal-float 3s ease-in-out infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ts-crystal-ball-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-3px) scale(1.03);
}

.ts-crystal-ball-btn:active {
  transform: translateY(0) scale(0.98);
}

@keyframes ts-crystal-float {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 3px rgba(167, 139, 250, 0.38),
      0 0 48px rgba(124, 58, 237, 0.55),
      0 18px 36px rgba(0, 0, 0, 0.55),
      inset 10px 12px 22px rgba(255, 255, 255, 0.42),
      inset -14px -18px 28px rgba(0, 0, 0, 0.42);
  }
  50% {
    filter: brightness(1.07);
    box-shadow:
      0 0 0 3px rgba(253, 224, 71, 0.38),
      0 0 62px rgba(167, 85, 247, 0.58),
      0 22px 44px rgba(0, 0, 0, 0.48),
      inset 10px 12px 22px rgba(255, 255, 255, 0.48),
      inset -14px -18px 28px rgba(0, 0, 0, 0.42);
  }
}

.ts-crystal-ball-btn .ts-crystal-ball-label {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  color: #fefce8;
  text-shadow:
    0 0 12px rgba(124, 58, 237, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.65);
  padding: 0 10px;
}

.ts-magic-btn.ts-magic-btn-hidden {
  display: none;
}

.ts-magic-btn {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fffbeb;
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 40%, #c026d3 100%);
  box-shadow:
    0 0 36px rgba(168, 85, 247, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: filter 0.2s, transform 0.15s;
}
.ts-magic-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.ts-magic-inner {
  display: inline-block;
}

/* ========= 仪式全屏 ========= */
.ts-ritual {
  position: fixed;
  inset: 0;
  z-index: 9991;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 35%, rgba(124, 58, 237, 0.35), rgba(5, 3, 14, 0.96));
}
.ts-ritual.show {
  display: flex;
}
.ts-ritual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.07), transparent 42%),
    radial-gradient(circle at 70% 80%, rgba(167, 85, 247, 0.15), transparent 48%);
  opacity: 0.85;
}
.ts-ritual-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ts-particle {
  position: absolute;
  bottom: -12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef9c3, transparent);
  opacity: 0.55;
  animation: ts-part-rise linear infinite;
}
@keyframes ts-part-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-110vh) scale(0.35);
    opacity: 0;
  }
}
.ts-ritual-icon {
  position: relative;
  z-index: 2;
  font-size: clamp(2.8rem, 10vw, 4rem);
  filter: drop-shadow(0 0 28px rgba(251, 191, 36, 0.35));
}
.ts-ritual-text {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  max-width: 22rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(237, 233, 254, 0.92);
  letter-spacing: 0.04em;
}
.ts-ritual-progress {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  width: min(320px, 82vw);
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.ts-ritual-progress .ts-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #a855f7, #fcd34d);
  transition: width 0.15s linear;
}

/* ========= 抽牌层 ========= */
.ts-gacha {
  position: fixed;
  inset: 0;
  z-index: 9992;
  display: none;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 20%, rgba(76, 29, 120, 0.42), #070510 58%);
}
.ts-gacha.show {
  display: flex;
}
.ts-gacha-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.ts-gacha-beam {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 140%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}
.ts-gacha-beam.fire {
  opacity: 1;
}
.ts-gacha-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18), transparent 58%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}
.ts-gacha-flash.fire {
  opacity: 1;
}

.ts-gacha-head {
  position: relative;
  z-index: 6;
  padding: calc(20px + env(safe-area-inset-top)) 20px 8px;
  text-align: center;
}
.ts-gacha-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(233, 213, 255, 0.55);
}
.ts-gacha-title {
  margin: 10px 0 0;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: #fefce8;
}

.ts-gacha-cards {
  position: relative;
  z-index: 6;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 26px);
  padding: 12px 16px 112px;
  overflow-y: auto;
}
.ts-gacha-cards.layout-1 .ts-gacha-card {
  width: min(210px, 74vw);
}
.ts-gacha-cards.layout-3 .ts-gacha-card {
  width: min(150px, 28vw);
}
.ts-gacha-cards.layout-4 .ts-gacha-card {
  width: min(130px, 40vw);
}
.ts-gacha-cards.layout-6 .ts-gacha-card {
  width: min(112px, 26vw);
}
.ts-gacha-cards.layout-10 .ts-gacha-card {
  width: min(88px, 17vw);
}

.ts-gacha-card {
  flex-shrink: 0;
  perspective: 960px;
}

/* 覆盖 public/static/css/tarot.css 旧版抽卡：默认 opacity:0、整张牌 rotateY、牌背 rotateY 会破坏灵境 3D，表现为「看不见牌」 */
.ts-gacha .ts-gacha-card {
  width: auto;
  height: auto;
  opacity: 1;
  transform: none;
  position: relative;
}
.ts-gacha .ts-gacha-card.flipped {
  transform: none;
  opacity: 1;
}

.ts-gacha-card-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 220 / 370;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.175, 0.885, 0.32, 1);
  border-radius: 14px;
}
.ts-gacha-card.flipped .ts-gacha-card-inner {
  transform: rotateY(180deg);
}

.ts-gacha-card .ts-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  /* 覆盖 tarot.css：flex + padding 会让正面 webp 无法铺满且干扰 3D */
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  box-sizing: border-box;
}

.ts-gacha-card .ts-front {
  transform: rotateY(180deg);
  background: #0c0614;
  border: 1px solid rgba(251, 191, 36, 0.42);
  box-shadow:
    0 0 42px rgba(251, 191, 36, 0.14),
    0 22px 52px rgba(0, 0, 0, 0.55);
}

.ts-gacha-card .ts-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* 个别内核下与 backface 合成：轻微 Z 抬升避免翻面后空白 */
  transform: translateZ(0.5px);
}
.ts-gacha-card .ts-gacha-manifest-burst {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(460px, 148vw);
  height: min(460px, 148vw);
  transform: translate(-50%, -50%);
  opacity: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.22) 0%, transparent 42%),
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg 4.5deg,
      rgba(236, 214, 255, 0.18) 4.5deg 6deg,
      transparent 6deg 11deg
    );
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0%, transparent 70%);
  animation: ts-gacha-manifest-rays 1.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ts-gacha-manifest-rays {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.28) rotate(-14deg);
  }
  38% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08) rotate(28deg);
  }
}

@keyframes ts-gacha-card-glow-in {
  0% {
    box-shadow: 0 0 0 transparent;
  }
  42% {
    box-shadow:
      0 0 28px rgba(167, 139, 250, 0.55),
      0 0 52px rgba(251, 191, 36, 0.15);
  }
  100% {
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.4);
  }
}

.ts-gacha-card.is-manifest {
  animation: ts-gacha-card-glow-in 1.05s ease-out forwards;
  border-radius: 14px;
}

/* 牌背：统一使用 Cloudinary 牌背图（object-fit 铺满） */
.ts-gacha-card .ts-back {
  display: block;
  padding: 0;
  transform: none;
  background: #0c0614;
  border: none;
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.2),
    0 22px 52px rgba(0, 0, 0, 0.58),
    0 0 44px rgba(91, 33, 182, 0.3);
}

.ts-gacha-card.legendary .ts-back {
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.42),
    0 24px 56px rgba(0, 0, 0, 0.62),
    0 0 56px rgba(251, 191, 36, 0.25);
}

.ts-gacha-card .ts-back-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
}

.ts-gacha-card .ts-front img.is-reversed {
  transform: translateZ(0.5px) rotate(180deg);
}

/* 兼容旧 DOM */
.ts-gacha-card .ts-back-sig {
  display: none;
}

.ts-gacha-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 8px 12px;
  background: linear-gradient(transparent, rgba(5, 3, 14, 0.92));
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}
.ts-gacha-pos {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(253, 230, 138, 0.92);
  font-weight: 700;
}
.ts-gacha-name {
  font-size: 11px;
  font-weight: 700;
  color: #f5f3ff;
}

.ts-gacha-card .ts-front-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  text-align: center;
  gap: 8px;
  background: linear-gradient(168deg, rgba(36, 20, 58, 1), rgba(10, 6, 18, 1));
}
.ts-gacha-card .ts-front-text .ts-star {
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: #fcd34d;
}
.ts-gacha-card .ts-front-text .ts-pos {
  font-size: 0.68rem;
  color: rgba(233, 213, 255, 0.9);
  font-weight: 700;
}
.ts-gacha-card .ts-front-text .ts-name {
  font-size: 0.78rem;
  color: #fefce8;
  font-weight: 800;
}
.ts-gacha-card .ts-front-text .ts-meaning {
  font-size: 0.68rem;
  color: #bdaad8;
  line-height: 1.5;
  margin: 0;
}

/* TarotQA 首页节奏：牌阵区与 hero 文案不要紧挨留白过大 */
.ts-scope.tarot-home .lj-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
.ts-scope.tarot-home .lj-daily-hero + .lj-section {
  padding-top: 14px;
}

/* 塔罗首页 hero：背景铺满但不要强行撑满屏造成大块中空 */
.ts-scope.tarot-home .lj-daily-hero {
  min-height: clamp(420px, 52vh, 640px);
  padding-bottom: 24px;
}
.ts-scope.tarot-home .lj-daily-hero-bg img.cover {
  transform: translate3d(-50%, -50%, 0) scale(1.14);
  object-position: center 38%;
}
.ts-scope.tarot-home .lj-daily-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(32vh, 260px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 8, 22, 0) 0%,
    rgba(12, 8, 22, 0.35) 45%,
    rgba(12, 8, 22, 0.92) 82%,
    rgba(12, 8, 22, 1) 100%
  );
}
.ts-scope.tarot-home .lj-daily-hero-inner {
  z-index: 3;
}

.ts-gacha-tip {
  position: absolute;
  bottom: 76px;
  left: 16px;
  right: 16px;
  z-index: 7;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(221, 214, 254, 0.82);
  line-height: 1.45;
  pointer-events: none;
}

.ts-gacha-finish {
  position: absolute;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(76, 29, 120, 0.92));
  color: #fffbeb;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  display: none;
}
.ts-gacha-finish.show {
  display: inline-block;
}

/* ========= 解读弹窗 ========= */
.ts-reading {
  position: fixed;
  inset: 0;
  z-index: 9993;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(4, 3, 14, 0.72);
  backdrop-filter: blur(8px);
}
.ts-reading.show {
  display: flex;
}
@media (min-width: 768px) {
  .ts-reading {
    align-items: center;
    padding: 24px;
  }
}

.ts-reading-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: min(92vh, 900px);
  background: linear-gradient(168deg, #1f1530 0%, #0f0a18 100%);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -16px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ts-reading-box {
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  }
}

.ts-reading-head {
  flex-shrink: 0;
  margin: 0;
  padding: 22px 52px 12px 22px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #faf5ff;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.ts-reading-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 22px calc(22px + env(safe-area-inset-bottom));
}

.ts-reading-item {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}
.ts-reading-item:last-child {
  border-bottom: none;
}
.ts-reading-item h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #e9d5ff;
}
.ts-reading-item .ts-content {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
  color: #c9bedd;
}

/* 翻牌后禁用 3D 倾斜（弹层在 .ts-scope 外亦生效） */
.lj-tilt-wrap.is-disabled {
  pointer-events: none;
}
.lj-tilt-wrap.is-disabled .lj-tilt-inner,
.lj-tilt-wrap.is-disabled:hover .lj-tilt-inner,
.lj-tilt-wrap.is-disabled.active .lj-tilt-inner {
  transform: translateZ(0.1px) rotateX(0deg) rotateY(0deg) !important;
  transition: transform 0.35s ease;
}
.lj-tilt-wrap.is-disabled::before {
  opacity: 0 !important;
}

/* ========= 塔罗首页 · 牌阵缩略：紫色迷你立牌 + 渐变编号 ========= */
.ts-scope.tarot-home .ts-mini-card-slot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.ts-scope.tarot-home .ts-mini-card-face {
  width: 26px;
  height: 42px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  flex-shrink: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(98, 62, 128, 0.55), rgba(28, 16, 48, 0.98)),
    linear-gradient(168deg, rgba(52, 32, 78, 0.96), rgba(14, 8, 22, 1));
  border: 1px solid rgba(196, 165, 120, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(88, 28, 135, 0.35),
    0 0 12px rgba(139, 92, 246, 0.32),
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ts-scope.tarot-home .ts-mini-card-face.is-landscape {
  width: 42px;
  height: 26px;
}
.ts-scope.tarot-home .ts-mini-card-num {
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  color: #fde047;
  text-shadow:
    0 0 10px rgba(251, 191, 36, 0.65),
    0 1px 0 rgba(146, 64, 14, 0.55);
}
.ts-scope.tarot-home .ts-mini-card-slot.is-dense .ts-mini-card-face {
  width: 22px;
  height: 36px;
  border-radius: 5px;
}
.ts-scope.tarot-home .ts-mini-card-slot.is-dense .ts-mini-card-face.is-landscape {
  width: 36px;
  height: 22px;
}
.ts-scope.tarot-home .ts-mini-card-slot.is-dense .ts-mini-card-num {
  font-size: 10px;
}

.ts-scope.tarot-home .lj-spreads-wrap.lj-tarot-spreads-block {
  position: relative;
  padding-top: 4px;
  padding-bottom: 12px;
}
.ts-scope.tarot-home .lj-spreads-wrap.lj-tarot-spreads-block::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 58, 237, 0.12), transparent 55%);
}

.ts-spread-cases-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #d8cce8;
  font-size: 0.9rem;
  line-height: 1.72;
}
.ts-spread-cases-list li {
  margin-bottom: 10px;
}
.ts-spread-cases-list li::marker {
  color: rgba(251, 191, 36, 0.75);
}

.ts-spread-kicker-line {
  margin: 6px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 181, 216, 0.55);
}

/* ========= 塔罗抽牌层 · 点击粒子 / 闪光（随牌阵张数调节密度） ========= */
.tarot-gacha-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.tarot-gacha-click-flash {
  position: fixed;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(167, 139, 250, 0.12) 38%, transparent 68%);
  opacity: 0;
  transition: opacity 0.12s ease-out;
}
.tarot-gacha-click-burst {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  pointer-events: none;
  z-index: 9995;
  opacity: 0;
}
.tarot-gacha-mini-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(251, 191, 36, 0.75), transparent);
}

