/* ===== 各页面专属样式 ===== */

/* ---------- 观测首页 ---------- */
.home-observe {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

.blessing-entry {
  align-self: flex-start;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 245, 210, 0.28), transparent 55%),
    rgba(50, 30, 90, 0.45);
  border: 1px solid rgba(232, 201, 122, 0.45);
  box-shadow: 0 0 18px rgba(232, 201, 122, 0.22);
  animation: breathe 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
  margin-bottom: 4px;
}

.blessing-entry.has-unread::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold);
  animation: twinkle 1.2s ease-in-out infinite;
}

.blessing-entry .ico { width: 22px; height: 22px; color: var(--gold-bright); }

.home-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0 18px;
  position: relative;
}

.home-hero .hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(232, 201, 122, 0.22) 0%, rgba(120, 70, 200, 0.16) 38%, transparent 68%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
  animation: breathe 4.5s ease-in-out infinite;
}

.observe-emblem {
  width: 168px;
  height: 168px;
  position: relative;
  margin: 8px 0 20px;
  z-index: 1;
  animation: floatY 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(232, 201, 122, 0.32));
}

.observe-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.observe-emblem .emblem-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(232, 201, 122, 0.28);
  animation: rotateSlow 22s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.observe-emblem.sm {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  animation: none;
  filter: drop-shadow(0 0 12px rgba(232, 201, 122, 0.28));
}

.observe-emblem.sm .emblem-ring {
  inset: -6%;
  border-style: solid;
  border-color: rgba(232, 201, 122, 0.26);
}

.home-brand {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(180deg, #ffffff 10%, #f5e6b8 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 28px rgba(232, 201, 122, 0.25);
}

.home-slogan {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 34px;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}

.btn-record-beauty {
  width: 86%;
  max-width: 300px;
  padding: 17px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #4facfe 0%, #8b7cf6 42%, #f093fb 100%);
  color: #fff;
  box-shadow:
    0 8px 28px rgba(140, 120, 255, 0.45),
    0 0 0 1px rgba(255,255,255,0.12) inset;
  animation: pulseGlow 3s ease-in-out infinite;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.home-poster {
  margin-top: auto;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 148px;
  background:
    linear-gradient(135deg, rgba(42, 24, 78, 0.78), rgba(18, 32, 72, 0.7)),
    radial-gradient(ellipse at 78% 40%, rgba(232, 201, 122, 0.22), transparent 55%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  padding: 16px 18px;
  gap: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-poster .poster-art {
  width: 86px;
  height: 114px;
  border-radius: 8px;
  background: linear-gradient(160deg, #3a2060, #1a1040);
  border: 1px solid rgba(232, 201, 122, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.home-poster .poster-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-poster .poster-art::before { display: none; }

.home-poster .poster-info { flex: 1; min-width: 0; text-align: left; }

.home-poster .poster-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.home-poster .poster-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.home-poster .poster-info .link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* ---------- 祝福弹窗 ---------- */
.blessing-modal {
  position: relative;
  text-align: center;
  padding: 28px 20px 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 201, 122, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(56, 34, 92, 0.98), rgba(18, 10, 36, 0.99) 58%, rgba(12, 8, 28, 1));
  border: 1px solid rgba(232, 201, 122, 0.38);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 40px rgba(120, 70, 200, 0.18);
}

.blessing-aura {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 220px;
  height: 160px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(255, 236, 180, 0.22), transparent 62%),
    radial-gradient(circle at 40% 60%, rgba(140, 90, 220, 0.2), transparent 55%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.blessing-letter {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 0 16px rgba(232, 201, 122, 0.45));
  animation: floatY 3.8s ease-in-out infinite;
}

.blessing-letter img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.blessing-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 6px;
  background: linear-gradient(180deg, #fff 10%, #f5e6b8 70%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blessing-sub {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: rgba(255, 240, 220, 0.58);
  letter-spacing: 1px;
  margin: 0;
}

.blessing-card-preview {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(145deg, rgba(255, 236, 180, 0.08), transparent 50%),
    rgba(8, 4, 22, 0.45);
  border: 1px solid rgba(232, 201, 122, 0.35);
  border-radius: 16px;
  padding: 20px 16px 18px;
  margin: 18px 0 18px;
  box-shadow: inset 0 0 24px rgba(232, 201, 122, 0.06);
}

.blessing-card-preview .card-name {
  font-family: var(--serif);
  font-size: 18px;
  color: #ffe9b0;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(232, 201, 122, 0.28);
}

.blessing-card-preview .card-text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 248, 235, 0.82);
}

.blessing-btn-main {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.blessing-btn-sub {
  position: relative;
  z-index: 1;
}

.gold-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 101;
}

.gold-particles i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold);
  animation: goldFall 2.5s ease-in forwards;
}

/* ---------- 观测记录 ---------- */
.record-page { padding: 0 20px; }

.record-page .page-head {
  text-align: center;
  padding: 8px 0 18px;
}

.record-page .page-head h1 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.record-page .page-head p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 8px;
}

.upload-box {
  padding: 32px 20px 26px;
  text-align: center;
  margin-bottom: 22px;
  border-radius: 20px;
  background: rgba(36, 22, 64, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.upload-box .hint {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.upload-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.upload-actions button {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
}

.field-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.record-input {
  width: 100%;
  min-height: 88px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(20, 12, 40, 0.45);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-size: 14px;
  resize: none;
  line-height: 1.6;
}

.record-input::placeholder { color: var(--white-40); }

.field-hint {
  text-align: right;
  font-size: 11px;
  color: var(--white-40);
  margin: 8px 0 20px;
}

.btn-full { width: 100%; }

/* ---------- 观测结果 ---------- */
.result-page { padding: 0 20px; text-align: center; }

.result-page .page-head {
  padding: 8px 0 4px;
}

.result-page .page-head h1 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.result-page .page-head p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

.result-starfield {
  width: min(88%, 280px);
  height: 118px;
  margin: 4px auto 10px;
  position: relative;
  overflow: visible;
}

.result-starfield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(232, 201, 122, 0.25));
  animation: breathe 3.6s ease-in-out infinite;
}

.result-card {
  padding: 18px 16px 16px;
  text-align: left;
  margin-bottom: 20px;
  border-radius: 20px;
  background: rgba(36, 22, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  z-index: 1;
}

.result-message {
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

.result-message .msg-label {
  font-size: 13px;
  color: var(--gold-bright);
  margin-bottom: 8px;
  font-weight: 600;
}

.result-message p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.card-section-label {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 10px;
}

.open-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(232, 201, 122, 0.28);
  background: rgba(0,0,0,0.22);
  margin-bottom: 14px;
}

.open-card .card-visual {
  width: 76px;
  height: 100px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 230, 150, 0.8), transparent 50%),
    linear-gradient(180deg, #2a1850, #120828);
  border: 1px solid rgba(232, 201, 122, 0.45);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(232, 201, 122, 0.2);
}

.open-card .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.open-card .card-meta h4 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.open-card .card-meta p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.audio-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
}

.audio-bar .bowl {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-bright), var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.audio-bar .bowl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
}

.audio-bar .audio-text {
  flex: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-bar .play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
}

.audio-bar .duration {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.result-actions .btn-gold,
.result-actions .btn-ghost {
  flex: 1;
  padding: 13px 8px;
  font-size: 13px;
  border-radius: 999px;
}

/* ---------- 祝福海报 ---------- */
.poster-page { padding: 0 24px; text-align: center; }

.poster-page .hero-title {
  font-size: 22px;
  font-weight: 600;
  margin: 8px 0 8px;
  letter-spacing: 1px;
}

.poster-page .hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 20px;
}

.poster-frame {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(24, 14, 48, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  margin-bottom: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.poster-frame .media {
  width: 100%;
  aspect-ratio: 1.15;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(232, 201, 122, 0.3), transparent 50%),
    linear-gradient(180deg, #3d2a1a 0%, #1a2840 60%, #0a1828 100%);
  margin-bottom: 16px;
}

.poster-frame .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-frame .media.is-card {
  width: 58%;
  max-width: 188px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  border: 1.5px solid rgba(232, 201, 122, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(232, 201, 122, 0.22);
  background: #120828;
}

.poster-frame .media.is-card img {
  object-fit: cover;
  object-position: center top;
}

.poster-frame .media.is-card::after {
  display: none;
}

.poster-frame .media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,220,120,0.9), transparent),
    radial-gradient(3px 3px at 60% 40%, rgba(255,230,150,0.8), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255,200,100,0.7), transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(255,220,120,0.6), transparent);
  pointer-events: none;
  mix-blend-mode: screen;
}

.poster-frame .quote {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.poster-frame .quote-sub {
  font-size: 12px;
  color: rgba(232, 201, 122, 0.75);
  margin-bottom: 16px;
}

.poster-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poster-foot .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 201, 122, 0.55);
  background:
    radial-gradient(circle at 50% 50%, transparent 35%, rgba(232, 201, 122, 0.35) 36%, transparent 45%),
    conic-gradient(from 0deg, transparent, rgba(232, 201, 122, 0.5), transparent 40%, rgba(232, 201, 122, 0.4), transparent);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(232, 201, 122, 0.25);
}

.poster-foot .logo-text {
  flex: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.poster-foot .qr {
  width: 48px;
  height: 48px;
  background:
    linear-gradient(#111 0 0) 0 0 / 25% 25%,
    linear-gradient(#111 0 0) 100% 0 / 25% 25%,
    linear-gradient(#111 0 0) 0 100% / 25% 25%,
    linear-gradient(#111 0 0) 100% 100% / 25% 25%,
    repeating-linear-gradient(0deg, #111 0 2px, #fff 2px 4px),
    #fff;
  background-repeat: no-repeat;
  border-radius: 6px;
  border: 2px solid #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 9px;
}

/* ---------- 探测首页 ---------- */
.detect-page { padding: 12px 20px; }

.detect-page .page-head {
  text-align: center;
  padding: 14px 0 22px;
}

.detect-page .page-head h1 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 10px;
  text-shadow: 0 0 28px rgba(232, 201, 122, 0.45);
}

.detect-page .page-head p {
  font-size: 13px;
  color: rgba(245, 217, 138, 0.75);
  margin-top: 10px;
  letter-spacing: 3px;
}

.orbit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  padding: 4px 12px 14px;
  max-width: 320px;
  margin: 0 auto;
}

.orbit-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.orbit-circle.themed {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  position: relative;
  overflow: visible;
  background: transparent;
  box-shadow: 0 0 22px rgba(232, 201, 122, 0.22);
}

.orbit-circle.themed img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(232, 201, 122, 0.28));
  animation: breathe 3.2s ease-in-out infinite;
  pointer-events: none;
}

.orbit-circle {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(70, 50, 110, 0.55), transparent 68%),
    radial-gradient(circle, rgba(20, 12, 40, 0.4), transparent 70%);
}

.orbit-circle .dots {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 201, 122, 0.55);
  box-shadow: 0 0 18px rgba(232, 201, 122, 0.28), inset 0 0 18px rgba(232, 201, 122, 0.08);
  animation: rotateSlow 22s linear infinite;
}

.orbit-circle .dots::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 201, 122, 0.28);
  animation: rotateSlow 14s linear infinite reverse;
}

.orbit-circle .cross {
  position: absolute;
  width: 8px;
  height: 8px;
  z-index: 2;
  pointer-events: none;
}

.orbit-circle .cross::before,
.orbit-circle .cross::after {
  content: '';
  position: absolute;
  background: rgba(232, 201, 122, 0.85);
  box-shadow: 0 0 6px rgba(232, 201, 122, 0.55);
}

.orbit-circle .cross::before {
  width: 8px;
  height: 1.5px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.orbit-circle .cross::after {
  width: 1.5px;
  height: 8px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.orbit-circle .cross.t { top: -3px; left: 50%; transform: translateX(-50%); }
.orbit-circle .cross.b { bottom: -3px; left: 50%; transform: translateX(-50%); }
.orbit-circle .cross.l { left: -3px; top: 50%; transform: translateY(-50%); }
.orbit-circle .cross.r { right: -3px; top: 50%; transform: translateY(-50%); }

.orbit-circle .ico {
  width: 36px;
  height: 36px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(232, 201, 122, 0.55));
  z-index: 1;
  animation: breathe 3s ease-in-out infinite;
}

.orbit-circle .icon {
  font-size: 32px;
  filter: drop-shadow(0 0 8px rgba(232, 201, 122, 0.5));
  z-index: 1;
  animation: breathe 3s ease-in-out infinite;
}

.orbit-btn .label {
  font-size: 15px;
  color: var(--gold-bright);
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(232, 201, 122, 0.35);
}

.detect-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 6px 0 22px;
  letter-spacing: 1.5px;
}

/* 探测页整图入口卡 */
.detect-banner-card {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 122, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  aspect-ratio: 2 / 1;
  padding: 0;
  text-align: left;
}

.detect-banner-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detect-banner-card .banner-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 4, 20, 0.82) 55%);
}

.detect-banner-card .banner-copy h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 1px;
  color: #ffe9b0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.detect-banner-card .banner-copy p {
  font-size: 12px;
  color: rgba(255, 245, 220, 0.72);
}

.detect-banner-card.daily {
  border-color: rgba(180, 160, 255, 0.28);
}

/* ---------- 木马探测入口 / 抽卡 ---------- */
.trojan-intro { padding: 8px 24px 0; text-align: center; }

.trojan-intro .title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(180deg, #fff8e0, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 16px 0 10px;
  letter-spacing: 2px;
}

.trojan-intro .subtitle {
  font-size: 13px;
  color: var(--white-60);
  line-height: 1.6;
  margin-bottom: 28px;
}

.star-portal {
  width: min(78vw, 268px);
  aspect-ratio: 1;
  margin: 4px auto 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 0 22px rgba(232, 201, 122, 0.28));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.star-portal .portal-disk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  animation: portalSpin 48s linear infinite;
  transform-origin: center center;
}

.star-portal .portal-halo {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 220, 0.16), transparent 68%);
  animation: breathe 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.star-portal .portal-cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #fff8e8;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.star-portal .portal-cta.ghost {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 0 18px rgba(232, 201, 122, 0.35);
}

.star-portal .portal-cta strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.1;
  color: #ffe9b8;
}

.star-portal .portal-cta small {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 245, 220, 0.72);
  opacity: 1;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 232, 180, 0.28);
}

.star-portal[data-theme="marriage"] .portal-cta strong { color: #ffd4e4; }
.star-portal[data-theme="parenting"] .portal-cta strong { color: #c8ffe8; }
.star-portal[data-theme="self"] .portal-cta strong { color: #e0d4ff; }

.star-portal:active {
  transform: scale(0.985);
  filter: drop-shadow(0 0 28px rgba(232, 201, 122, 0.42));
}

.star-portal:active .portal-cta {
  transform: scale(0.98);
  opacity: 0.9;
}

@keyframes portalSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.trojan-info {
  padding: 14px 18px;
  margin-bottom: 28px;
  text-align: left;
  border-radius: 16px;
  background: rgba(36, 22, 64, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.trojan-info .row {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trojan-info .row:last-child { border-bottom: none; }
.trojan-info .row .k { color: var(--gold); flex-shrink: 0; min-width: 72px; }
.trojan-info .row .v { color: var(--white-80); }

/* 三张卡选择 */
.card-pick { padding: 8px 16px 0; text-align: center; }

.card-pick .title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0 8px;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fff8e0, #e8c97a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-pick .subtitle {
  font-size: 12px;
  color: var(--white-60);
  margin-bottom: 8px;
}

.card-pick .hint {
  font-size: 13px;
  color: var(--gold-dim);
  margin-bottom: 32px;
}

.fan-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 300px;
  margin-bottom: 12px;
  perspective: 900px;
  position: relative;
  z-index: 2;
}

.fan-card {
  width: 124px;
  height: 204px;
  border-radius: 14px;
  padding: 0;
  background: #0b071c;
  border: 2px solid rgba(245, 235, 210, 0.88);
  box-shadow:
    0 10px 36px rgba(0,0,0,0.55),
    0 0 24px rgba(232, 201, 122, 0.28);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
  overflow: hidden;
}

.fan-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.fan-card::before {
  content: none;
  display: none;
}

.fan-card:nth-child(1) {
  transform: rotate(-14deg) translateY(18px) translateX(6px);
  z-index: 1;
}

.fan-card:nth-child(2) {
  transform: translateY(-14px) scale(1.08);
  z-index: 3;
  box-shadow:
    0 14px 44px rgba(0,0,0,0.52),
    0 0 36px rgba(232, 201, 122, 0.5);
  animation: breathe 3s ease-in-out infinite;
}

.fan-card:nth-child(3) {
  transform: rotate(14deg) translateY(18px) translateX(-6px);
  z-index: 1;
}

.fan-card:active,
.fan-card.picked {
  transform: translateY(-26px) scale(1.1) !important;
  box-shadow: 0 18px 52px rgba(232, 201, 122, 0.55);
  z-index: 5;
}

.magic-circle {
  width: 220px;
  height: 72px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(232, 201, 122, 0.42), transparent 68%),
    radial-gradient(ellipse at 50% 80%, rgba(120, 80, 200, 0.2), transparent 60%);
  border-radius: 50%;
  position: relative;
  filter: drop-shadow(0 0 16px rgba(232, 201, 122, 0.25));
}

.magic-circle::before {
  content: '';
  position: absolute;
  inset: 8px 28px;
  border: 1px solid rgba(232, 201, 122, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(232, 201, 122, 0.15);
}

.magic-circle::after {
  content: '';
  position: absolute;
  inset: 18px 48px;
  border: 1px dashed rgba(232, 201, 122, 0.28);
  border-radius: 50%;
}

/* ---------- 木马结果（锁定） ---------- */
.trojan-result { padding: 0 20px; text-align: center; }

.trojan-book-card {
  position: relative;
  width: min(72%, 236px);
  aspect-ratio: 2 / 3;
  margin: 10px auto 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(232, 201, 122, 0.55);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(232, 201, 122, 0.22);
  animation: floatY 4s ease-in-out infinite;
}

.trojan-book-card .mask-card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trojan-book-card .mask-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  padding: 18px 14px 12px;
  background: linear-gradient(180deg, rgba(10, 4, 24, 0.72), rgba(10, 4, 24, 0.28) 70%, transparent);
}

.trojan-book-card .mask-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, 0.55);
  color: #ffe9b0;
  margin-bottom: 10px;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.28);
}

.trojan-book-card .mask-title {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: #ffe9b0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 14px rgba(232, 201, 122, 0.35);
}

.locked-blocks { margin-bottom: 14px; }

.locked-block {
  padding: 14px 16px;
  margin-bottom: 10px;
  text-align: left;
  border-radius: 16px;
  background: rgba(36, 22, 64, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.locked-block h4 {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.locked-block .locked-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--white-60);
  user-select: none;
}

.locked-block .peek {
  color: rgba(255, 255, 255, 0.55);
  margin-right: 2px;
}

.locked-block .blur-chunk {
  filter: blur(3.5px);
  letter-spacing: 1px;
  opacity: 0.75;
}

.locked-block .lk {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: linear-gradient(145deg, #f5e6b8, #c9a227);
  box-shadow: 0 0 6px rgba(232, 201, 122, 0.5);
  position: relative;
  flex-shrink: 0;
}

.locked-block .lk::after {
  content: '';
  position: absolute;
  inset: 3px 4px 2px;
  border: 1.2px solid #2a1a08;
  border-radius: 2px 2px 1px 1px;
  border-bottom-width: 2px;
}

.audio-unlock-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 16px;
  font-size: 13px;
  color: var(--white-80);
}

.audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 13px;
}

.audio-pill .play-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  background: rgba(255,255,255,0.06);
}

.member-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(232, 201, 122, 0.22);
  border: 1px solid rgba(232, 201, 122, 0.45);
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
}

.btn-unlock-cta {
  box-shadow:
    0 8px 32px rgba(232, 201, 122, 0.5),
    0 0 0 1px rgba(255, 245, 210, 0.25) inset;
  letter-spacing: 0.5px;
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 14px;
  background: linear-gradient(90deg, #f7ebc4, #e8c97a 45%, #d4af5a);
  color: #2a1a08;
  font-weight: 700;
}

.unlock-price-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
  text-align: center;
}

/* ---------- 解锁方式 ---------- */
.unlock-page { padding: 8px 18px 0; }

.unlock-page .page-head {
  text-align: center;
  padding: 8px 0 20px;
}

.unlock-page .page-head h1 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.unlock-page .page-head p {
  font-size: 12px;
  color: var(--white-60);
  line-height: 1.5;
}

.unlock-card {
  position: relative;
  padding: 22px 16px 16px;
  margin-bottom: 16px;
  border-radius: 18px;
  border: 1.5px solid rgba(232, 201, 122, 0.5);
  background:
    radial-gradient(circle at 90% 10%, rgba(232, 201, 122, 0.12), transparent 35%),
    linear-gradient(160deg, rgba(70, 48, 28, 0.45), rgba(28, 18, 40, 0.8));
  box-shadow:
    0 0 0 1px rgba(255, 240, 200, 0.08) inset,
    0 10px 28px rgba(0,0,0,0.28);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.unlock-card.bronze {
  border-color: rgba(190, 150, 90, 0.58);
  background:
    radial-gradient(circle at 90% 10%, rgba(210, 170, 90, 0.14), transparent 35%),
    linear-gradient(160deg, rgba(55, 40, 22, 0.58), rgba(24, 16, 34, 0.82));
}

.unlock-card.rose {
  border-color: rgba(210, 150, 130, 0.58);
  background:
    radial-gradient(circle at 90% 10%, rgba(220, 140, 140, 0.14), transparent 35%),
    linear-gradient(160deg, rgba(70, 32, 32, 0.52), rgba(30, 14, 34, 0.82));
}

.unlock-card .corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(232, 201, 122, 0.55);
}
.unlock-card .corner.c1 { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.unlock-card .corner.c2 { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.unlock-card .corner.c3 { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.unlock-card .corner.c4 { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.unlock-card .gem {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(145deg, #f5e6b8, #c9a227);
  box-shadow: 0 0 12px rgba(232, 201, 122, 0.45);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.unlock-card .gem.star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
}

.unlock-card h3 {
  font-size: 16px;
  color: var(--gold-bright);
  margin: 4px 0 8px;
  text-align: left;
}

.unlock-card .price-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.unlock-card .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(232, 201, 122, 0.3);
}

.unlock-card .price small { font-size: 14px; font-weight: 400; }

.unlock-card .tag-soft {
  font-size: 11px;
  color: var(--gold-bright);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, 0.4);
  background: rgba(232, 201, 122, 0.1);
}

.unlock-card ul {
  list-style: none;
  margin-bottom: 14px;
}

.unlock-card ul.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}

.unlock-card ul li {
  font-size: 12px;
  color: var(--white-80);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.unlock-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
}

.unlock-card .btn-gold {
  width: 100%;
  font-size: 14px;
  padding: 12px;
  border-radius: 12px;
}

.unlock-agree {
  text-align: center;
  font-size: 10px;
  color: var(--white-40);
  padding: 8px 0 16px;
}

/* ---------- 支付成功 ---------- */
.pay-success {
  padding: 36px 24px 0;
  text-align: center;
  position: relative;
}

.success-medal {
  width: 112px;
  height: 112px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff4cc, transparent 40%),
    linear-gradient(145deg, #f5e6b8, #c9a227 50%, #8b6914);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a1a08;
  box-shadow: 0 0 44px rgba(232, 201, 122, 0.55), inset 0 2px 4px rgba(255,255,255,0.45);
  position: relative;
  z-index: 1;
}

.success-medal .check {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  position: relative;
  z-index: 2;
}

.success-medal .ring-stars {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(90, 55, 10, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 200, 0.25);
}

.success-medal .ring-stars::before,
.success-medal .ring-stars::after {
  content: '✦';
  position: absolute;
  color: #fff8e0;
  font-size: 10px;
  text-shadow: 0 0 8px rgba(232, 201, 122, 0.9);
}

.success-medal .ring-stars::before { top: -2px; left: 50%; transform: translateX(-50%); }
.success-medal .ring-stars::after { bottom: -2px; left: 50%; transform: translateX(-50%); }

.success-medal::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(232, 201, 122, 0.35);
  box-shadow: 0 0 24px rgba(232, 201, 122, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(232,201,122,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 100% 50%, rgba(232,201,122,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 100%, rgba(232,201,122,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 0% 50%, rgba(232,201,122,0.35) 0 2px, transparent 3px);
}

.pay-success h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #fff8e0, #e8c97a 55%, #c9a227);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}

.pay-success .sub {
  font-size: 13px;
  color: var(--white-80);
  margin-bottom: 28px;
}

.pay-glow {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 260px;
  height: 90px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(232, 201, 122, 0.35), transparent 65%),
    radial-gradient(circle at 50% 100%, rgba(140, 90, 220, 0.2), transparent 55%);
  opacity: 0.85;
}

.order-card {
  padding: 18px;
  text-align: left;
  margin-bottom: 28px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.order-card.ticket {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 100%, rgba(232, 201, 122, 0.1), transparent 45%),
    rgba(36, 22, 64, 0.55);
}

.order-card.ticket::before,
.order-card.ticket::after {
  content: '';
  position: absolute;
  top: 58px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0a0618;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.order-card.ticket::before { left: -9px; }
.order-card.ticket::after { right: -9px; }

.order-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}

.order-card .top h3 { font-size: 15px; color: var(--gold-bright); }
.order-card .top .strike {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
}
.order-card .top .amt { font-size: 22px; color: var(--gold-bright); font-weight: 700; }
.order-card .top .amt small { display: block; font-size: 11px; font-weight: 400; color: var(--white-40); text-align: right; }

.order-card ul { list-style: none; position: relative; z-index: 1; }
.order-card ul li {
  font-size: 13px;
  color: var(--white-80);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-left: 22px;
  position: relative;
}
.order-card ul li:last-child { border-bottom: none; }
.order-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(232, 201, 122, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--gold);
  top: 10px;
}

.order-card .ticket-seal {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(232, 201, 122, 0.12);
  background:
    conic-gradient(from 0deg, transparent 0 12deg, rgba(232,201,122,0.08) 12deg 16deg, transparent 16deg 42deg);
  opacity: 0.7;
  pointer-events: none;
}

.pay-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pay-actions .btn-gold { flex: 1; border-radius: 999px; }
.pay-actions .btn-ghost { flex-shrink: 0; padding: 14px 16px; font-size: 12px; border-radius: 999px; }
.pay-actions .btn-round-detail {
  width: 78px;
  height: 78px;
  padding: 8px;
  border-radius: 50%;
  white-space: normal;
  line-height: 1.35;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------- 解忧空间 ---------- */
.page[data-page="worry"] {
  display: none;
  flex-direction: column;
}
.page[data-page="worry"].active {
  display: flex;
}
.worry-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.worry-chat {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.worry-constellation {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.35;
  background:
    radial-gradient(circle at 30% 35%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 55% 28%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 70% 48%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 48% 62%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 28% 58%, #fff 0 1.5px, transparent 2px),
    linear-gradient(115deg, transparent 48%, rgba(232,201,122,0.35) 49%, rgba(232,201,122,0.35) 50%, transparent 51%),
    linear-gradient(25deg, transparent 48%, rgba(232,201,122,0.3) 49%, rgba(232,201,122,0.3) 50%, transparent 51%);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.35));
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.chat-bubble.user {
  align-self: flex-end;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(245, 230, 184, 0.28), rgba(200, 160, 90, 0.18));
  border: 1px solid rgba(232, 201, 122, 0.32);
  border-bottom-left-radius: 4px;
  color: #f5ead0;
}

.deep-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, 0.42);
  font-size: 12px;
  color: var(--gold);
  margin-top: -4px;
  background: rgba(232, 201, 122, 0.06);
  position: relative;
  z-index: 1;
}

.deep-link::before {
  content: '🔗';
  font-size: 11px;
}

.worry-input-area {
  padding: 10px 16px calc(12px + var(--safe-bottom));
  background: rgba(10, 6, 24, 0.92);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.worry-remain {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 8px;
  text-align: center;
}

.worry-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.worry-input-row input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 14px;
}

.worry-input-row input::placeholder { color: var(--white-40); }

.worry-input-row .send {
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5e6b8, #c9a227);
  color: #2a1a08;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(232, 201, 122, 0.3);
}

.worry-input-row .send-circle {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(232, 201, 122, 0.4);
}

.worry-vip-modal {
  text-align: center;
  padding: 30px 22px 22px;
  border: 1px solid rgba(232, 201, 122, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 40px rgba(232, 201, 122, 0.12);
  background:
    radial-gradient(circle at 70% 18%, rgba(232, 201, 122, 0.12), transparent 40%),
    rgba(28, 16, 52, 0.92);
}

.worry-vip-modal h2 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.worry-vip-modal .worry-vip-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  line-height: 1.55;
}

.worry-vip-modal .worry-vip-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.worry-vip-modal .worry-vip-price em {
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
}

.worry-vip-modal .worry-vip-feats {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

/* ---------- 静心空间 ---------- */
.zen-page { padding: 8px 16px 0; }

.zen-page .page-head {
  text-align: center;
  padding: 8px 0 20px;
}

.zen-page .page-head h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 3px;
}

.zen-page .page-head p {
  font-size: 13px;
  color: var(--white-60);
  margin-top: 6px;
}

.zen-section {
  margin-bottom: 16px;
  padding: 16px;
}

.zen-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zen-section-head .left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.zen-section-head .chevron {
  color: var(--white-40);
  font-size: 12px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--white-60);
  background: rgba(255,255,255,0.06);
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-tabs button.active {
  background: rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.audio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.audio-item:last-child { border-bottom: none; }

.audio-item .thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(145deg, #4a3080, #1a1040);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(255,255,255,0.1);
}

.audio-item .meta { flex: 1; min-width: 0; }
.audio-item .meta h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-item .meta p {
  font-size: 11px;
  color: var(--white-40);
  margin-bottom: 4px;
}

.audio-item .play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--white-60);
  flex-shrink: 0;
}

/* ---------- 音频播放器 ---------- */
.player-page { padding: 0 24px; text-align: center; }

.player-cover {
  width: 220px;
  height: 220px;
  margin: 16px auto 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.15), transparent 50%),
    linear-gradient(160deg, #3a2060, #120828);
  border: 2px solid rgba(232, 201, 122, 0.4);
  box-shadow: 0 0 40px rgba(232, 201, 122, 0.25), 0 0 80px rgba(100, 60, 160, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  animation: breathe 4s ease-in-out infinite;
}

.player-cover .orbit-line {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 201, 122, 0.3);
  animation: rotateSlow 20s linear infinite;
}

.player-page .track-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.player-page .track-sub {
  font-size: 12px;
  color: var(--white-60);
  margin-bottom: 28px;
}

.player-panel {
  padding: 20px 18px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: rgba(232, 201, 122, 0.08);
  border: 1px solid rgba(232, 201, 122, 0.2);
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.progress-row .time {
  font-size: 11px;
  color: var(--white-40);
  width: 36px;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  position: relative;
}

.progress-bar .fill {
  height: 100%;
  width: 28%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 999px;
  position: relative;
}

.progress-bar .fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold);
}

.player-opts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--white-40);
  margin-bottom: 18px;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.player-controls .ctrl {
  font-size: 20px;
  color: var(--white-60);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-controls .play-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5e6b8, #c9a227);
  color: #2a1a08;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 201, 122, 0.4);
}

.paywall-bars { margin-top: 8px; }

.paywall-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(40, 20, 70, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--white-80);
}

.paywall-bar .btn-mini {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5e6b8, #c9a227);
  color: #2a1a08;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.paywall-bar.single {
  background: transparent;
  border: none;
  padding: 8px 4px;
  color: var(--white-60);
  justify-content: flex-start;
  gap: 4px;
}

/* ---------- 静心付费弹窗 ---------- */
.zen-pay-modal h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--gold-bright);
}

.zen-pay-modal .desc {
  text-align: center;
  font-size: 13px;
  color: var(--white-60);
  margin-bottom: 20px;
  line-height: 1.5;
}

.zen-pay-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.zen-pay-opt {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.zen-pay-opt.selected {
  border-color: var(--gold);
  background: rgba(232, 201, 122, 0.1);
  box-shadow: 0 0 16px rgba(232, 201, 122, 0.2);
}

.zen-pay-opt .opt-left h4 { font-size: 15px; margin-bottom: 4px; }
.zen-pay-opt .opt-left p { font-size: 11px; color: var(--white-40); }
.zen-pay-opt .opt-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-bright);
}
.zen-pay-opt .opt-price small { font-size: 12px; font-weight: 400; }

.single-pay-info {
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.single-pay-info .price-big {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 8px 0;
}

.single-pay-info .price-big small { font-size: 16px; }

.single-pay-info p {
  font-size: 12px;
  color: var(--white-60);
  line-height: 1.5;
}

/* ---------- 我的 ---------- */
.mine-page { padding: 16px 16px; }

.mine-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(36, 22, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.mine-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4a3080, #1a1040);
  border: 2px solid rgba(232, 201, 122, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 22px rgba(232, 201, 122, 0.3);
  overflow: hidden;
  flex-shrink: 0;
}

.mine-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mine-user h2 { font-size: 18px; margin-bottom: 6px; letter-spacing: 0.5px; }
.mine-user .vip-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, 0.4);
  background: rgba(232, 201, 122, 0.12);
}

.mine-menu {
  padding: 4px 0;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(36, 22, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mine-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
  text-align: left;
}

.mine-item:last-child { border-bottom: none; }

.mine-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(232, 201, 122, 0.1);
  border: 1px solid rgba(232, 201, 122, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

.mine-item .icon .ico {
  width: 18px;
  height: 18px;
  color: var(--gold-bright);
}

.mine-item .text { flex: 1; min-width: 0; }
.mine-item .text h4 { font-size: 15px; margin-bottom: 3px; }
.mine-item .text p { font-size: 11px; color: rgba(255, 255, 255, 0.4); }
.mine-item .arrow { color: rgba(255, 255, 255, 0.35); font-size: 14px; }

.mine-books-card {
  padding: 14px 0 0;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(36, 22, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mine-books-card .zen-section-head {
  padding: 0 16px 4px;
}

.mine-books-card .zen-section-head .left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mine-books-card .zen-section-head .ico {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.mine-books {
  display: flex;
  gap: 12px;
  padding: 12px 16px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mine-books::-webkit-scrollbar { display: none; }

.book-cover {
  width: 82px;
  height: 114px;
  border-radius: 8px;
  background: linear-gradient(160deg, #3a2060, #1a1040);
  border: 1px solid rgba(232, 201, 122, 0.35);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  padding: 0;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wechat-entry {
  text-align: center;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: rgba(36, 22, 64, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wechat-entry p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 10px;
}

.wechat-entry .btn-ghost { font-size: 13px; padding: 10px 24px; }

/* ---------- 星轨日历 ---------- */
.calendar-page { padding: 0 16px; }

.calendar-page .page-head {
  text-align: center;
  padding: 4px 0 16px;
}

.calendar-page .page-head p {
  font-size: 13px;
  color: var(--white-60);
  margin-top: 4px;
}

.orbit-visual {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  position: relative;
}

.orbit-visual .o-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 201, 122, 0.25);
}

.orbit-visual .o-ring:nth-child(1) { inset: 10px; }
.orbit-visual .o-ring:nth-child(2) { inset: 35px; }
.orbit-visual .o-ring:nth-child(3) { inset: 60px; }

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold);
}

.orbit-dot span {
  position: absolute;
  left: 12px;
  top: -4px;
  font-size: 10px;
  color: var(--white-60);
  white-space: nowrap;
}

.history-list { display: flex; flex-direction: column; gap: 12px; }

.history-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  align-items: center;
}

.history-card .thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(160deg, #3d2a1a, #1a2840);
  flex-shrink: 0;
}

.history-card .info { flex: 1; min-width: 0; }
.history-card .info .date { font-size: 13px; margin-bottom: 4px; }
.history-card .info .tags { font-size: 11px; color: var(--white-40); margin-bottom: 4px; }
.history-card .info .summary {
  font-size: 12px;
  color: var(--white-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.history-card .info .extra { font-size: 10px; color: var(--white-40); margin-top: 4px; }
.history-card .chev { color: var(--white-40); }

/* ---------- 家庭能量舱 ---------- */
.family-page { padding: 8px 20px 0; text-align: center; }

.energy-tree {
  width: 180px;
  height: 180px;
  margin: 16px auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 70%, rgba(74, 222, 128, 0.3), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 80px;
  padding-bottom: 20px;
  position: relative;
}

.energy-tree::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(74, 222, 128, 0.3);
  animation: rotateSlow 30s linear infinite;
}

.family-page h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.family-page .sub {
  font-size: 13px;
  color: var(--white-60);
  margin-bottom: 24px;
}

.family-members {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.member .av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4a3080, #1a1040);
  border: 1.5px solid rgba(232, 201, 122, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.member .name { font-size: 12px; color: var(--white-60); }

.member.add .av {
  border-style: dashed;
  background: transparent;
  color: var(--white-40);
  font-size: 24px;
}

.family-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- 会员页 ---------- */
.vip-page { padding: 8px 18px 0; }

.vip-page .page-head {
  text-align: center;
  padding: 8px 0 20px;
}

.vip-page .page-head h1 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.vip-page .page-head p {
  font-size: 13px;
  color: var(--white-60);
}

.vip-plans {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.vip-plan {
  flex: 1;
  padding: 18px 12px;
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.vip-plan.selected {
  border-color: var(--gold);
  background: rgba(232, 201, 122, 0.12);
  box-shadow: 0 0 20px rgba(232, 201, 122, 0.2);
}

.vip-plan .plan-name { font-size: 14px; margin-bottom: 8px; }
.vip-plan .plan-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-bright);
}
.vip-plan .plan-price small { font-size: 12px; }
.vip-plan .plan-desc { font-size: 11px; color: var(--white-40); margin-top: 6px; }

.vip-plan .hot {
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f093fb, #a29bfe);
  font-size: 10px;
}

.vip-benefits {
  padding: 16px;
  margin-bottom: 24px;
}

.vip-benefits h3 {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 12px;
}

.vip-benefits li {
  list-style: none;
  font-size: 13px;
  color: var(--white-80);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.vip-benefits li:last-child { border-bottom: none; }
.vip-benefits li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
}

/* ---------- 二维码弹窗 ---------- */
.qr-modal { text-align: center; }

.qr-modal h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.qr-modal p {
  font-size: 12px;
  color: var(--white-60);
  margin-bottom: 16px;
}

.qr-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 13px;
  flex-direction: column;
  gap: 8px;
}

.qr-box .qr-placeholder {
  width: 120px;
  height: 120px;
  background:
    linear-gradient(#333 0 0) 0 0 / 40% 40%,
    linear-gradient(#333 0 0) 100% 0 / 40% 40%,
    linear-gradient(#333 0 0) 0 100% / 40% 40%,
    linear-gradient(#333 0 0) 100% 100% / 40% 40%,
    linear-gradient(#eee, #eee);
  background-repeat: no-repeat;
  border: 8px solid #fff;
  box-shadow: inset 0 0 0 2px #333;
}

/* ---------- 星云提交动效 ---------- */
.nebula-overlay {
  position: absolute;
  inset: 0;
  z-index: 90;
  background: rgba(10, 6, 24, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nebula-overlay.show { display: flex; }

.nebula-spin {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--gold), var(--purple-bright), transparent);
  animation: rotateSlow 1.2s linear infinite;
  mask: radial-gradient(circle, transparent 45%, #000 46%);
  -webkit-mask: radial-gradient(circle, transparent 45%, #000 46%);
  margin-bottom: 20px;
}

.nebula-overlay p {
  font-size: 14px;
  color: var(--gold-dim);
  letter-spacing: 2px;
}
