/* 20系情感人设测试主题：樱雾粉紫 × 星夜紫晶 × 天青微光 */
:root {
  --test-canvas: #f4eef9;
  --test-background:
    radial-gradient(ellipse 92% 42% at 50% 0%, rgba(147, 51, 234, 0.09), transparent 60%),
    radial-gradient(ellipse 78% 36% at 90% 24%, rgba(236, 72, 153, 0.08), transparent 58%),
    linear-gradient(180deg, #fbf8fd 0%, #ffffff 55%, #f5f0fb 100%);
  --test-surface: #ffffff;
  --test-nav: rgba(251, 248, 253, 0.94);
  --test-ink: #1f1930;
  --test-muted: #685e80;
  --test-line: #eae1f3;
  --test-soft: #f6f1fc;
  --test-accent: #9333ea;
  --test-button: linear-gradient(125deg, #9333ea 0%, #db2777 56%, #4f46e5 125%);
  --test-overlay: rgba(24, 16, 40, 0.42);
  --test-error: #e11d48;

  --p20-ink: #1f1930;
  --p20-muted: #685e80;
  --p20-line: #e8dff2;
}

body:has(> #test-root) {
  background:
    radial-gradient(circle at 16% 12%, rgba(147, 51, 234, 0.09), transparent 44%),
    radial-gradient(circle at 86% 20%, rgba(236, 72, 153, 0.09), transparent 44%),
    linear-gradient(180deg, #f6f1fb 0%, #ede6f7 100%);
}

.framework-app {
  box-shadow: 0 0 0 1px rgba(31, 25, 48, 0.06), 0 24px 64px rgba(31, 25, 48, 0.09);
}

.framework-app .app-nav-bar {
  border-bottom-color: #e8dff2;
}

.framework-app .mini-capsule {
  background: #ffffff;
  border-color: #e2d7ee;
  color: #1f1930;
  box-shadow: 0 2px 8px rgba(31, 25, 48, 0.06);
}

/* ---------- 首页 ---------- */
#home-page {
  --home-art-height: 50vw;
}

#home-page .framework-home__art,
#home-page .framework-home__art img {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#home-page .framework-home__eyebrow {
  border-color: rgba(147, 51, 234, 0.24);
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
  color: #7e22ce;
}

#home-page .framework-home__stat:nth-child(1) {
  --home-accent: #9333ea;
  background: linear-gradient(155deg, #ffffff, #faf5ff);
}

#home-page .framework-home__stat:nth-child(2) {
  --home-accent: #db2777;
  background: linear-gradient(155deg, #ffffff, #fdf2f8);
}

#home-page .framework-home__stat:nth-child(3) {
  --home-accent: #2563eb;
  background: linear-gradient(155deg, #ffffff, #eff6ff);
}

#home-page .framework-home__start {
  box-shadow: 0 12px 26px -12px rgba(147, 51, 234, 0.52);
}

/* ---------- 答题页 ---------- */
#quiz-page {
  --quiz-progress: linear-gradient(90deg, #9333ea, #ec4899, #3b82f6);
  --quiz-selected-border: #9333ea;
  --quiz-selected-bg: linear-gradient(135deg, #faf5ff, #fdf2f8);
}

/* ---------- 结果页氛围 ---------- */
#result-page {
  background:
    radial-gradient(ellipse 92% 34% at 50% 0%, rgba(147, 51, 234, 0.08), transparent 60%),
    radial-gradient(ellipse 80% 30% at 90% 40%, rgba(236, 72, 153, 0.07), transparent 60%),
    linear-gradient(180deg, #f9f6fc 0%, #f3eef9 100%);
}
