/**
 * 问 / 计划 · 对齐折叠时间的宇宙舞台（不改 fold 布局）
 * 夜：青 #00d2ff · 柠绿 #c8ff3a · 粉 #ff6ec7
 * 白天：仍走纸白深墨，只共享宽度与字号
 */

body.hud-stage {
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

body.hud-stage .me-page.ask-page-shell,
body.hud-stage .me-page.plan-page-shell {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

body.hud-stage .site-header__main--compact {
  padding: 1.35rem 0 0.35rem;
}

body.hud-stage .site-header__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: rgba(0, 210, 255, 0.78);
}

body.hud-stage .site-header__title {
  font-size: clamp(2.15rem, 5.5vw, 3.15rem);
  font-weight: 720;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 40px rgba(0, 210, 255, 0.28);
}

body.hud-stage .site-header__subtitle {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(210, 235, 255, 0.78);
}

body.hud-stage .ask-page-main,
body.hud-stage .plan-page-main {
  margin-top: 1.15rem;
}

body.hud-stage .hud-stage__noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.hud-stage:not(.theme-day) {
  background: #02060d;
  color: rgba(236, 246, 255, 0.94);
}

body.hud-stage:not(.theme-day) .me-cosmos__aurora,
body.hud-stage:not(.theme-day) .cosmos-day-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 42%, rgba(200, 255, 58, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 50% at 18% 78%, rgba(0, 210, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 45% at 62% 12%, rgba(255, 110, 199, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(40, 20, 80, 0.35), transparent 55%),
    linear-gradient(180deg, #02060d 0%, #061830 48%, #040818 100%);
}

body.hud-stage:not(.theme-day) .me-cosmos__grid,
body.hud-stage:not(.theme-day) .cosmos-day-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
}

body.hud-stage .hud-card,
body.hud-stage .plan-page .panel {
  position: relative;
  padding: 1.15rem 1.25rem 1.25rem;
  background: rgba(4, 16, 36, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 210, 255, 0.48);
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.12);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

body.hud-stage .hud-card::before,
body.hud-stage .plan-page .panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, transparent 48%, rgba(0, 210, 255, 0.7) 52%);
}

body.theme-day.hud-stage .site-header__eyebrow {
  color: rgba(14, 110, 145, 0.78);
}

body.theme-day.hud-stage .site-header__title {
  color: #0f2740;
  text-shadow: none;
}

body.theme-day.hud-stage .site-header__subtitle {
  color: #15324f;
}

body.theme-day.hud-stage .hud-card,
body.theme-day.hud-stage .plan-page .panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(26, 90, 150, 0.16);
  box-shadow: var(--day-elev-2, 0 10px 28px rgba(20, 50, 80, 0.08));
  clip-path: none;
  color: #0f2740;
}

body.theme-day.hud-stage .hud-card::before,
body.theme-day.hud-stage .plan-page .panel::before {
  display: none;
}

body.theme-day.hud-stage .hud-stage__noise {
  display: none;
}
