/* 今日运势页 · 深度解析 / FAQ / 底栏 / 解读与分享 */

/* 下半屏 · 星空流星背景 */
.ts-scope .lj-daily-lower {
  position: relative;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  background: linear-gradient(
    180deg,
    rgba(6, 4, 14, 0.35) 0%,
    rgba(10, 6, 22, 0.92) 12%,
    rgba(8, 5, 18, 0.98) 50%,
    rgba(5, 3, 12, 1) 100%
  );
}
.ts-scope .lj-daily-lower-inner {
  position: relative;
  z-index: 2;
}
.ts-scope.daily-home .lj-daily-lower .lj-meteor-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ts-scope .lj-daily-lower .lj-section.alt {
  background: linear-gradient(180deg, transparent, rgba(15, 10, 28, 0.35), transparent);
}

.ts-scope .lj-section-head-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.ts-scope .lj-section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(251, 191, 36, 0.75);
  margin-bottom: 10px;
  font-weight: 700;
}
.ts-scope .lj-analysis-section {
  position: relative;
  overflow: hidden;
}
.ts-scope .lj-analysis-section::before {
  content: '';
  position: absolute;
  inset: -20% 10% auto;
  height: 50%;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 70%);
  pointer-events: none;
}
.ts-scope .lj-analysis-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .ts-scope .lj-analysis-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ts-scope .lj-analysis-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.ts-scope .lj-analysis-card {
  border-radius: 18px;
  padding: 22px 20px 20px;
  background: linear-gradient(155deg, rgba(36, 22, 58, 0.95), rgba(14, 10, 24, 0.92));
  border: 1px solid rgba(168, 85, 247, 0.22);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ts-scope .lj-analysis-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 18px 44px rgba(88, 28, 135, 0.25);
}
.ts-scope .lj-analysis-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.ts-scope .lj-analysis-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #faf5ff;
  border: none;
  padding: 0;
}
.ts-scope .lj-analysis-card p {
  margin: 0;
  color: #c9bedd;
  font-size: 0.92rem;
  line-height: 1.68;
}

/* FAQ v2 */
.ts-scope .lj-faq-section { padding-top: 48px; }
.ts-scope .lj-faq-accordion {
  max-width: 760px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ts-scope .lj-faq-details {
  border-radius: 16px;
  background: rgba(20, 14, 32, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.18);
  overflow: hidden;
  transition: border-color 0.2s;
}
.ts-scope .lj-faq-details[open] {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.ts-scope .lj-faq-details summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #faf5ff;
  position: relative;
  user-select: none;
}
.ts-scope .lj-faq-details summary::-webkit-details-marker { display: none; }
.ts-scope .lj-faq-details summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.35);
  color: #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}
.ts-scope .lj-faq-details[open] summary::after { content: '−'; }
.ts-scope .lj-faq-details .lj-faq-answer {
  padding: 0 22px 18px;
  color: #c4b5dc;
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0;
}

/* 底部双链接 */
.ts-scope .lj-daily-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 520px;
  margin: 48px auto 20px;
  padding: 0 16px;
}
.ts-scope .lj-bottom-link {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(30, 20, 48, 0.85);
  color: #e9d5ff;
}
.ts-scope .lj-bottom-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.ts-scope .lj-bottom-link--discover {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 45%, #b45309 100%);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fff;
  box-shadow:
    0 10px 32px rgba(124, 58, 237, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.ts-scope .lj-bottom-link--discover .lj-bottom-link-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fde68a;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}
.ts-scope .lj-bottom-link--discover:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow:
    0 14px 40px rgba(124, 58, 237, 0.45),
    0 0 24px rgba(251, 191, 36, 0.2);
  color: #fff;
}
.ts-scope .lj-bottom-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(88, 28, 135, 0.3);
  color: #fff;
}
.ts-scope .lj-bottom-link.primary {
  background: linear-gradient(135deg, #4c1d95, #6d28d9 50%, #9333ea);
  border-color: rgba(196, 181, 253, 0.45);
  color: #fff;
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.4);
}
.ts-scope .lj-bottom-link.primary .lj-bottom-link-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #e9d5ff;
}
.ts-scope .lj-bottom-link.primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 14px 40px rgba(88, 28, 135, 0.45);
}

/* 解读弹窗 v2 */
.daily-reading-modal.v2 {
  max-width: min(720px, 96vw);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(168deg, #1e1430 0%, #0c0814 55%, #120a1c 100%);
  box-shadow:
    0 -12px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(168, 85, 247, 0.22),
    0 0 80px rgba(124, 58, 237, 0.12);
}
@media (min-width: 768px) {
  .daily-reading-modal.v2 {
    border-radius: 24px;
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(168, 85, 247, 0.25),
      0 0 100px rgba(124, 58, 237, 0.15);
  }
}
.daily-reading-modal.v2 .daily-reading-share-btn {
  position: absolute;
  top: 14px;
  right: 58px;
  z-index: 3;
}
.daily-reading-modal.v2 .daily-reading-scroll {
  padding: 20px 24px 28px 26px;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 85, 247, 0.45) transparent;
}
.daily-reading-modal.v2 .daily-reading-scroll::-webkit-scrollbar {
  width: 6px;
}
.daily-reading-modal.v2 .daily-reading-scroll::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}
.daily-reading-modal.v2 .daily-reading-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(167, 85, 247, 0.55), rgba(251, 191, 36, 0.35));
  border-radius: 999px;
  border: none;
}
.daily-reading-hero {
  position: relative;
  padding: 20px 20px 16px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.2), transparent);
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}
.daily-reading-hero-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.25), transparent 70%);
  pointer-events: none;
}
.daily-reading-head.v2 {
  border-bottom: none;
  padding: 0 118px 0 12px;
  align-items: flex-start;
}
.daily-reading-thumb-wrap.v2 {
  width: 88px;
  height: 140px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(251, 191, 36, 0.25);
}
.daily-reading-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}
/* 分享层 v2 */
.daily-share-mask.show {
  z-index: 10050;
}
.daily-reading-mask.show {
  z-index: 9999;
}
.daily-share-modal.v2 {
  position: relative;
  width: 100%;
  max-width: min(480px, 92vw);
  max-height: min(92vh, 820px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 85, 247, 0.5) transparent;
  border-radius: 26px;
  background: linear-gradient(168deg, #241838 0%, #120a1c 48%, #0a0612 100%);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(167, 85, 247, 0.18),
    0 0 120px rgba(124, 58, 237, 0.14);
}
.daily-share-modal.v2::-webkit-scrollbar {
  width: 6px;
}
.daily-share-modal.v2::-webkit-scrollbar-track {
  background: transparent;
  margin: 14px 0;
}
.daily-share-modal.v2::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(167, 85, 247, 0.55), rgba(251, 191, 36, 0.38));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.daily-share-modal.v2::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.75), rgba(251, 191, 36, 0.55));
  background-clip: padding-box;
}
.daily-share-modal.v2 .daily-share-close {
  top: 16px;
  right: 16px;
  z-index: 2;
}
.daily-share-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 42px 10px 16px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.14), transparent);
}
.daily-share-header-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fde68a;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(251, 191, 36, 0.15));
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 8px 24px rgba(88, 28, 135, 0.35);
}
.daily-share-header-text {
  min-width: 0;
  flex: 1;
}
.daily-share-modal.v2 .daily-share-heading {
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.daily-share-modal.v2 .daily-share-lead {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #c4b5dc;
}
.daily-share-toolbar {
  flex-shrink: 0;
  padding: 0 14px 10px;
}
.daily-share-footer {
  flex-shrink: 0;
  padding: 0 14px 16px;
}
.daily-share-modal.v2 .daily-share-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
}
.daily-share-modal.v2 .daily-share-channel {
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 12px;
  padding: 10px 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #e9d5ff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.daily-share-modal.v2 .daily-share-channel span {
  line-height: 1.2;
  white-space: nowrap;
}
.daily-share-modal.v2 .daily-share-channel:hover {
  background: rgba(124, 58, 237, 0.28);
  border-color: rgba(251, 191, 36, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(88, 28, 135, 0.25);
}
.daily-share-modal.v2 .daily-share-channel i {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.daily-share-modal.v2 .daily-share-channel.qq i { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }
.daily-share-modal.v2 .daily-share-channel.wechat i { color: #4ade80; background: rgba(74, 222, 128, 0.12); }
.daily-share-modal.v2 .daily-share-channel.moments i { color: #86efac; background: rgba(134, 239, 172, 0.1); }
.daily-share-modal.v2 .daily-share-channel.weibo i { color: #f87171; background: rgba(248, 113, 113, 0.12); }
.daily-share-modal.v2 .daily-share-channel.xhs i { color: #fb7185; background: rgba(251, 113, 133, 0.12); }
.daily-share-modal.v2 .daily-share-channel.link i { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.daily-share-modal.v2 .daily-share-channel.forum i { color: #c084fc; background: rgba(192, 132, 252, 0.14); }
.daily-share-modal.v2 .daily-share-channel.copy_text i { color: #a78bfa; background: rgba(167, 139, 250, 0.12); }
.daily-share-modal.v2 .daily-share-channel.save_image i { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.daily-share-modal.v2 .daily-share-channel.is-action {
  border-color: rgba(192, 132, 252, 0.28);
  background: rgba(124, 58, 237, 0.12);
}
.daily-share-modal.v2 .daily-share-channel.is-disabled,
.daily-share-modal.v2 .daily-share-channel:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.daily-share-channels-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  text-align: center;
  font-size: 0.8rem;
  color: #a78bfa;
}
.daily-share-modal.v2 .daily-share-card-preview {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px 12px;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}
.daily-share-card-preview.is-loading {
  padding: 24px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(168, 85, 247, 0.35);
  background: rgba(0, 0, 0, 0.2);
}
.daily-share-card-preview .daily-share-card-img {
  display: block;
  width: 100%;
  max-width: min(360px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.daily-share-preview-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 24px 16px;
  color: #c4b5dc;
  font-size: 0.9rem;
  text-align: center;
}
.daily-share-preview-status i {
  font-size: 1.6rem;
  color: #a855f7;
}
.daily-share-preview-status.is-error {
  color: #fca5a5;
}
.daily-share-actions.v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.daily-share-action.card-gen {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #d97706 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
}
.daily-share-action.card-gen:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.45);
}
.daily-share-action.ghost {
  background: transparent;
  border-color: rgba(168, 85, 247, 0.28);
  color: #d8b4fe;
}
.daily-share-action.ghost:hover {
  background: rgba(124, 58, 237, 0.15);
}
.daily-share-modal.v2 .daily-share-wechat-tip {
  display: none;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.22);
  color: #bbf7d0;
  font-size: 0.82rem;
  line-height: 1.55;
}
.daily-share-modal.v2 .daily-share-wechat-tip.show { display: block; }
