/* ============================================================
   六套 UI 主题 + 测试工具
   加载顺序：styles.css → themes.css，后者只做主题覆盖与新增组件。
   ============================================================ */

/* ------------------------------------------------------------ 封面装饰 */

.cover-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.cover-chips .chip {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: #fff; box-shadow: 0 3px 10px rgba(60, 40, 130, .10);
}
.cover-chips .c1 { color: #6c4df6; } .cover-chips .c2 { color: #3d8bff; }
.cover-chips .c3 { color: #e0568b; } .cover-chips .c4 { color: #14a87e; }

.cover-masthead {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 2.5px solid currentColor; padding-bottom: 9px; margin-bottom: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
}
.cover-masthead .r { color: #ff4d2e; }

.cover-brandline {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 12px; letter-spacing: .22em; opacity: .85; margin-bottom: 18px;
}
.cover-brandline::before { content: ""; width: 22px; height: 2px; background: #d4a24e; }

.cover-badge-row { display: flex; justify-content: center; margin-bottom: 16px; }
.cover-badge {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
  font-size: 34px; background: linear-gradient(145deg, #7c5cff, #c90050);
  box-shadow: 0 0 32px rgba(124, 92, 255, .5);
  animation: badgeBob 3s ease-in-out infinite;
}
@keyframes badgeBob { 50% { transform: translateY(-8px) rotate(-3deg); } }

.cover-sun {
  position: absolute; top: 26px; right: 30px; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle, #ffb347, #ff8f3d);
  box-shadow: 0 0 36px rgba(255, 179, 71, .7);
  animation: sunPulse 3.4s ease-in-out infinite;
}
@keyframes sunPulse { 50% { box-shadow: 0 0 54px rgba(255, 179, 71, .95); transform: scale(1.06); } }
.cover-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 26px;
  background: radial-gradient(120% 100% at 50% 0, transparent 62%, rgba(255,255,255,.16) 63%);
  border-radius: 0 0 50% 50%;
}

/* ------------------------------------------------------------ 进度 HUD */

/* E · 经验值 */
.hud-xp { background: transparent; }
.hud-xp .hud-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hud-xp .lvl-pill {
  flex: none; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  padding: 4px 10px; border-radius: 8px;
}
.hud-xp .hud-mod { font-size: 12px; color: var(--ink2); }
.hud-xp .xp-num { margin-left: auto; font-size: 13px; font-weight: 800; color: #ffd166; font-variant-numeric: tabular-nums; }
.hud-xp .xpbar {
  height: 12px; background: #262640; border-radius: 99px; overflow: hidden; border: 1.5px solid var(--line);
}
.hud-xp .xpfill {
  height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd166, #ff9d5c);
  box-shadow: 0 0 12px rgba(255, 209, 102, .55);
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.hud-xp .hud-sub { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink3); margin-top: 7px; }
.hud-xp .streak { color: #3fd8b5; font-weight: 700; }

/* F · 航线 */
.hud-route .route-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink2); margin-bottom: 6px; }
.hud-route .route-meta b { color: var(--brand); }
.hud-route .route-track { position: relative; height: 34px; }
.hud-route .route-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 99px;
  background: repeating-linear-gradient(90deg, var(--ink3) 0 7px, transparent 7px 13px);
  opacity: .45;
}
.hud-route .route-done {
  position: absolute; left: 0; top: 50%; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.hud-route .ship {
  position: absolute; top: 50%; transform: translate(-50%, -58%);
  font-size: 20px; transition: left .45s cubic-bezier(.22, 1, .36, 1);
  animation: shipSway 2.6s ease-in-out infinite;
  filter: drop-shadow(0 3px 4px rgba(14, 90, 109, .35));
}
@keyframes shipSway {
  0%, 100% { transform: translate(-50%, -58%) rotate(-4deg); }
  50% { transform: translate(-50%, -66%) rotate(5deg); }
}
.hud-route .route-ports { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink3); margin-top: 2px; }
.hud-route .route-ports .hit { color: var(--brand); font-weight: 700; }

/* ------------------------------------------------------------ 模块过场 */

.module-toast {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  pointer-events: none; animation: toastIn .45s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes toastIn { from { opacity: 0; transform: scale(.7); } }
.module-toast .toast-box {
  background: var(--surface); color: var(--ink); border-radius: 20px;
  padding: 26px 34px; text-align: center; box-shadow: 0 18px 50px rgba(20, 20, 40, .28);
  animation: toastOut .5s 1.35s ease forwards;
}
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.96); } }
.module-toast .toast-medal { font-size: 42px; margin-bottom: 8px; }
.module-toast b { display: block; font-size: 18px; }
.module-toast span { display: block; font-size: 13px; color: var(--ink2); margin-top: 4px; }

/* 预览报告横幅 */
.preview-banner {
  position: sticky; top: 0; z-index: 30; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #7a4a00; background: #fff3d6; border: 1px solid #ffe0a3;
  padding: 8px 12px; border-radius: 10px; margin-bottom: 12px;
}

/* ------------------------------------------------------------ 测试工具 */

.testbar { position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 120; font-family: inherit; }
.testbar-fab {
  border: 0; border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 13px; font-weight: 700;
  color: #fff; background: linear-gradient(120deg, #1f2430, #3a4256);
  box-shadow: 0 8px 24px rgba(20, 24, 35, .35); cursor: pointer;
}
.testbar-sheet {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto; max-height: 76vh; overflow: auto;
  background: #fff; color: #1a1f2b; border-radius: 20px; padding: 16px;
  box-shadow: 0 24px 70px rgba(15, 20, 35, .35); border: 1px solid #e6e9f0;
}
.testbar-head { display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.testbar-x { border: 0; background: #f0f2f7; border-radius: 50%; width: 30px; height: 30px; font-size: 18px; cursor: pointer; }
.testbar-tip { font-size: 12px; color: #6b7280; margin: 6px 0 12px; line-height: 1.6; }
.testbar-themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.testbar-theme {
  text-align: left; border: 1.5px solid #e6e9f0; background: #fff; border-radius: 12px;
  padding: 10px; cursor: pointer; font: inherit; color: inherit;
}
.testbar-theme.on { border-color: #2b4edb; background: #f5f7ff; }
.testbar-theme .swatches { display: flex; gap: 4px; margin-bottom: 6px; }
.testbar-theme .swatches i { width: 18px; height: 8px; border-radius: 99px; display: block; }
.testbar-theme .nm { display: block; font-size: 13px; font-weight: 700; }
.testbar-theme .kw { display: block; font-size: 11px; color: #8b93a5; margin-top: 2px; }
.testbar-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.testbar-actions .btn { width: auto; flex: 1; min-width: 130px; }
.testbar-foot { margin-top: 14px; text-align: center; }
.testbar-exit { border: 0; background: none; color: #8b93a5; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }

@media (max-width: 420px) {
  .testbar-themes { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   A · 学院蓝
   ============================================================ */
:root[data-theme="a"] {
  --bg: #eef3fa;
  --surface: #ffffff;
  --ink: #152238;
  --ink2: #55637a;
  --ink3: #98a4b8;
  --line: #dfe7f2;
  --brand: #1668dc;
  --brand-2: #0b4cb0;
  --brand-soft: #e8f1fe;
  --accent: #ff7a45;
  --r-lg: 18px;
  --r-md: 14px;
}
[data-theme="a"] .card.hero {
  background: linear-gradient(160deg, #1668dc, #0b4cb0); color: #fff;
  border-radius: 22px; padding: 40px 22px 32px;
}
[data-theme="a"] .card.hero h1 { color: #fff; }
[data-theme="a"] .card.hero p { color: rgba(255, 255, 255, .82); }
[data-theme="a"] .card.hero .steps li { color: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .18); }
[data-theme="a"] .card.hero .steps li b { color: #fff; }
[data-theme="a"] .card.hero .steps .n { background: rgba(255, 255, 255, .16); color: #fff; }
[data-theme="a"] .card.hero .muted { color: rgba(255, 255, 255, .62) !important; }
[data-theme="a"] .card.hero .btn { background: #fff; color: #0b4cb0; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
[data-theme="a"] .card.hero .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); box-shadow: none; }
[data-theme="a"] .hero-mark { background: linear-gradient(140deg, #fff, #dce9ff); color: #1668dc; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
[data-theme="a"] .outcome-box { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .20); }
[data-theme="a"] .outcome-head b, [data-theme="a"] .outcome-tx b { color: #fff; }
[data-theme="a"] .outcome-head span, [data-theme="a"] .outcome-tx small, [data-theme="a"] .outcome-note { color: rgba(255, 255, 255, .72); }
[data-theme="a"] .outcome { border-top-color: rgba(255, 255, 255, .18); }
[data-theme="a"] .outcome-icon { background: rgba(255, 255, 255, .16); color: #fff; }

/* ============================================================
   B · 活力渐变
   ============================================================ */
:root[data-theme="b"] {
  --bg: #efeaff;
  --surface: rgba(255, 255, 255, .94);
  --ink: #1c1533;
  --ink2: #5d5470;
  --ink3: #9a91ad;
  --line: #e6e1f2;
  --brand: #6c4df6;
  --brand-2: #3d8bff;
  --brand-soft: #efeaff;
  --accent: #ffc94d;
  --r-lg: 24px;
  --r-md: 18px;
  --shadow: 0 4px 18px rgba(60, 40, 130, .10);
}
[data-theme="b"] body {
  background:
    radial-gradient(circle at 90% 4%, rgba(201, 184, 255, .55), transparent 34%),
    radial-gradient(circle at 4% 86%, rgba(184, 220, 255, .55), transparent 32%),
    linear-gradient(175deg, #efeaff 0%, #e4f0ff 100%);
  background-attachment: fixed;
}
[data-theme="b"] .btn {
  border-radius: 999px; background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 26px rgba(100, 70, 230, .32);
}
[data-theme="b"] .btn.ghost { background: rgba(255, 255, 255, .9); color: var(--ink2); box-shadow: none; }
[data-theme="b"] .opt { border: 2px solid transparent; box-shadow: 0 3px 12px rgba(60, 40, 130, .08); background: rgba(255, 255, 255, .92); }
[data-theme="b"] .opt.on { border-color: var(--brand); background: #fff; transform: scale(1.01); }
[data-theme="b"] .opt .key { border-radius: 10px; background: #efeaff; color: var(--brand); border: 0; }
[data-theme="b"] .opt.on .key { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
[data-theme="b"] .progress-track { height: 10px; background: rgba(255, 255, 255, .85); }
[data-theme="b"] .progress-fill { background: linear-gradient(90deg, #6c4df6, #3d8bff, #2fd4a7); }
[data-theme="b"] .hero-mark { background: linear-gradient(135deg, #6c4df6, #3d8bff); }
[data-theme="b"] .q-index { background: #efeaff; display: inline-block; padding: 3px 12px; border-radius: 999px; }
[data-theme="b"] .card.hero { padding-top: 38px; }

/* ============================================================
   C · 杂志黑白
   ============================================================ */
:root[data-theme="c"] {
  --bg: #f7f5f0;
  --surface: #f7f5f0;
  --ink: #16150f;
  --ink2: #55524a;
  --ink3: #a09a8d;
  --line: #16150f;
  --brand: #16150f;
  --brand-2: #ff4d2e;
  --brand-soft: #efe9df;
  --accent: #ff4d2e;
  --r-lg: 0px;
  --r-md: 0px;
  --shadow: 4px 4px 0 rgba(22, 21, 15, .16);
}
[data-theme="c"] body { background: #f7f5f0; }
[data-theme="c"] .card {
  border: 2px solid #16150f; border-radius: 0; box-shadow: 5px 5px 0 rgba(22, 21, 15, .14);
}
[data-theme="c"] .card.hero { padding-top: 30px; }
[data-theme="c"] .hero h1, [data-theme="c"] .q-text, [data-theme="c"] .section-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
}
[data-theme="c"] .hero h1 { font-size: 36px; line-height: 1.2; font-weight: 900; }
[data-theme="c"] .hero-mark {
  background: #16150f; border-radius: 0; box-shadow: 4px 4px 0 #ff4d2e;
}
[data-theme="c"] .btn {
  border: 2px solid #16150f; border-radius: 0; background: #16150f; color: #f7f5f0;
  box-shadow: 5px 5px 0 var(--accent); letter-spacing: .06em;
}
[data-theme="c"] .btn.ghost { background: #f7f5f0; color: #16150f; box-shadow: 3px 3px 0 rgba(22, 21, 15, .18); }
[data-theme="c"] .opt { border: 2px solid #16150f; border-radius: 0; background: #f7f5f0; }
[data-theme="c"] .opt .key { border: 2px solid #16150f; border-radius: 0; background: transparent; }
[data-theme="c"] .opt.on { background: #16150f; color: #f7f5f0; }
[data-theme="c"] .opt.on .key { background: #ff4d2e; border-color: #ff4d2e; color: #fff; }
[data-theme="c"] .opt.dim { opacity: .28; }
[data-theme="c"] .progress-track { height: 8px; border: 2px solid #16150f; background: #fff; border-radius: 0; }
[data-theme="c"] .progress-fill { background: #16150f; border-radius: 0; }
[data-theme="c"] .q-index { font-family: "Songti SC", "STSong", serif; font-size: 34px; color: #16150f; }
[data-theme="c"] .steps .n { border: 1.5px solid #16150f; background: transparent; color: #16150f; border-radius: 0; }
[data-theme="c"] .field { border: 2px solid #16150f; border-radius: 0; background: #fff; }
[data-theme="c"] .section-title::before { background: #ff4d2e; }
[data-theme="c"] .combo { border: 2px solid #16150f; border-radius: 0; }
[data-theme="c"] .combo.best { background: #efe9df; border-color: #16150f; }
[data-theme="c"] .hol { border: 2px solid #16150f; border-radius: 0; }

/* ============================================================
   D · 优果红
   ============================================================ */
:root[data-theme="d"] {
  --bg: #faf6f3;
  --surface: #ffffff;
  --ink: #2a1f22;
  --ink2: #7a6a6e;
  --ink3: #b3a6aa;
  --line: #ece1e3;
  --brand: #950140;
  --brand-2: #c90050;
  --brand-soft: #fbe9ef;
  --accent: #d4a24e;
  --r-lg: 20px;
  --r-md: 14px;
  --shadow: 0 6px 22px rgba(80, 15, 40, .10);
}
[data-theme="d"] .card.hero {
  background:
    radial-gradient(circle at 85% 12%, rgba(212, 162, 78, .25), transparent 55%),
    linear-gradient(155deg, #950140 0%, #6d0130 100%);
  color: #fff; padding: 38px 22px 32px;
}
[data-theme="d"] .card.hero h1 { color: #fff; }
[data-theme="d"] .card.hero p { color: rgba(255, 255, 255, .82); }
[data-theme="d"] .card.hero .steps li { color: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .18); }
[data-theme="d"] .card.hero .steps li b { color: #fff; }
[data-theme="d"] .card.hero .steps .n { background: rgba(255, 255, 255, .14); color: #fff; }
[data-theme="d"] .card.hero .muted { color: rgba(255, 255, 255, .62) !important; }
[data-theme="d"] .card.hero .btn { background: linear-gradient(120deg, #c90050, #950140); }
[data-theme="d"] .card.hero .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); box-shadow: none; }
[data-theme="d"] .hero-mark {
  background: linear-gradient(140deg, #d4a24e, #b8822f); color: #4a0a22;
  box-shadow: 0 10px 26px rgba(212, 162, 78, .35);
}
[data-theme="d"] .hero-mark.wide { font-size: 15px; letter-spacing: .12em; }
[data-theme="d"] .outcome-box { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .20); }
[data-theme="d"] .outcome-head b, [data-theme="d"] .outcome-tx b { color: #fff; }
[data-theme="d"] .outcome-head span, [data-theme="d"] .outcome-tx small, [data-theme="d"] .outcome-note { color: rgba(255, 255, 255, .74); }
[data-theme="d"] .outcome { border-top-color: rgba(255, 255, 255, .18); }
[data-theme="d"] .outcome-icon { background: rgba(255, 255, 255, .16); color: #fff; }
[data-theme="d"] .btn { background: linear-gradient(120deg, #c90050, #950140); box-shadow: 0 8px 22px rgba(201, 0, 80, .28); }
[data-theme="d"] .btn.ghost { background: #fff; color: var(--ink2); border: 1.5px solid var(--line); box-shadow: none; }
[data-theme="d"] .opt.on { border-color: #c90050; background: #fbe9ef; }
[data-theme="d"] .opt.on .key { background: #c90050; border-color: #c90050; }
[data-theme="d"] .progress-fill { background: linear-gradient(90deg, #950140, #c90050); }
[data-theme="d"] .section-title::before { background: #c90050; }
[data-theme="d"] .combo.best { border-color: #c90050; background: #fbe9ef; }

/* ============================================================
   E · 闯关升级
   ============================================================ */
:root[data-theme="e"] {
  --bg: #12121f;
  --surface: #1e1e33;
  --ink: #f2f1fa;
  --ink2: #a5a3c2;
  --ink3: #6a688c;
  --line: #32324f;
  --brand: #7c5cff;
  --brand-2: #c90050;
  --brand-soft: #262640;
  --accent: #ffd166;
  --r-lg: 20px;
  --r-md: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
[data-theme="e"] body {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, .10) 0 1.5px, transparent 2px),
    radial-gradient(circle at 82% 32%, rgba(255, 255, 255, .08) 0 1.5px, transparent 2px),
    radial-gradient(circle at 46% 74%, rgba(255, 255, 255, .07) 0 1.5px, transparent 2px),
    radial-gradient(circle at 28% 92%, rgba(255, 255, 255, .06) 0 1.5px, transparent 2px),
    #12121f;
  background-size: 220px 220px, 260px 260px, 300px 300px, 240px 240px, auto;
}
[data-theme="e"] .card { border: 1px solid #32324f; }
[data-theme="e"] .card.hero { padding-top: 36px; }
[data-theme="e"] .card.hero h1 em { font-style: normal; color: #ffd166; }
[data-theme="e"] .card.hero .steps li { border-color: #32324f; color: #a5a3c2; }
[data-theme="e"] .card.hero .steps li b { color: #f2f1fa; }
[data-theme="e"] .card.hero .steps .n {
  border-radius: 12px; background: #262640; color: #ffd166; border: 1px solid #32324f;
}
[data-theme="e"] .card.hero .steps li::after {
  content: attr(data-lv); margin-left: auto; align-self: center;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #6a688c;
}
[data-theme="e"] .card.hero .steps li:first-child::after { color: #ffd166; }
[data-theme="e"] .hero-mark {
  width: 72px; height: 72px; border-radius: 22px; font-size: 34px;
  background: linear-gradient(145deg, #7c5cff, #c90050);
  box-shadow: 0 0 32px rgba(124, 92, 255, .5);
}
[data-theme="e"] .card.hero .muted { color: #6a688c !important; }
[data-theme="e"] .btn {
  border-radius: 999px; background: linear-gradient(100deg, #7c5cff, #c90050);
  box-shadow: 0 10px 28px rgba(124, 92, 255, .35);
}
[data-theme="e"] .btn.ghost { background: #1e1e33; color: #a5a3c2; border: 1px solid #32324f; box-shadow: none; }
[data-theme="e"] .opt { background: #1e1e33; border: 2px solid #32324f; }
[data-theme="e"] .opt .key { background: #262640; color: #a5a3c2; border: 0; }
[data-theme="e"] .opt.on { border-color: #3fd8b5; background: rgba(63, 216, 181, .10); }
[data-theme="e"] .opt.on .key { background: #3fd8b5; color: #0c1f1a; }
[data-theme="e"] .opt.dim { opacity: .3; }
[data-theme="e"] .field { background: #1e1e33; border-color: #32324f; color: #f2f1fa; }
[data-theme="e"] .q-index { color: #ffd166; }
[data-theme="e"] .q-hint { color: #6a688c; }
[data-theme="e"] .q-type { color: #ffd166; }
[data-theme="e"] .q-hint.multi-hint { background: #262640; color: #ffd166; border: 1px solid #32324f; }
[data-theme="e"] .pill.l5 { background: rgba(63, 216, 181, .16); color: #56e3c3; }
[data-theme="e"] .pill.l4 { background: rgba(63, 216, 181, .10); color: #46cdb0; }
[data-theme="e"] .pill.l3 { background: rgba(255, 209, 102, .14); color: #ffd166; }
[data-theme="e"] .pill.l2 { background: rgba(255, 157, 92, .14); color: #ffab6b; }
[data-theme="e"] .pill.l1 { background: rgba(255, 107, 157, .14); color: #ff8fb0; }
[data-theme="e"] .section-title::before { background: #ffd166; }
[data-theme="e"] .bar-track, [data-theme="e"] .hol .strip { background: #262640; }
[data-theme="e"] .combo { border-color: #32324f; }
[data-theme="e"] .combo.best { border-color: #7c5cff; background: #262640; }
[data-theme="e"] .report-head { border: 1px solid #32324f; }

/* ============================================================
   F · 启航航线
   ============================================================ */
:root[data-theme="f"] {
  --bg: #eef4f6;
  --surface: #ffffff;
  --ink: #10333d;
  --ink2: #577078;
  --ink3: #9db2b8;
  --line: #d5e5e8;
  --brand: #0e5a6d;
  --brand-2: #1495a8;
  --brand-soft: #dcf2f4;
  --accent: #ffb347;
  --r-lg: 20px;
  --r-md: 14px;
}
[data-theme="f"] .card.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, #0e5a6d 0%, #1495a8 78%);
  color: #fff; padding: 42px 22px 46px;
}
[data-theme="f"] .card.hero h1 { color: #fff; position: relative; z-index: 1; }
[data-theme="f"] .card.hero p { color: rgba(255, 255, 255, .85); position: relative; z-index: 1; }
[data-theme="f"] .card.hero .steps li { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .18); position: relative; z-index: 1; }
[data-theme="f"] .card.hero .steps li b { color: #fff; }
[data-theme="f"] .card.hero .steps .n { background: rgba(255, 255, 255, .16); color: #fff; }
[data-theme="f"] .card.hero .muted { color: rgba(255, 255, 255, .65) !important; }
[data-theme="f"] .card.hero .btn { background: #fff; color: #0e5a6d; }
[data-theme="f"] .card.hero .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
[data-theme="f"] .hero-mark { background: linear-gradient(140deg, #ffb347, #ff8f3d); color: #4a2a00; box-shadow: 0 10px 26px rgba(255, 179, 71, .35); }
[data-theme="f"] .outcome-box { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
[data-theme="f"] .outcome-head b, [data-theme="f"] .outcome-tx b { color: #fff; }
[data-theme="f"] .outcome-head span, [data-theme="f"] .outcome-tx small, [data-theme="f"] .outcome-note { color: rgba(255, 255, 255, .76); }
[data-theme="f"] .outcome { border-top-color: rgba(255, 255, 255, .18); }
[data-theme="f"] .outcome-icon { background: rgba(255, 255, 255, .16); color: #fff; }
[data-theme="f"] .btn { background: linear-gradient(120deg, #0e5a6d, #1495a8); }
[data-theme="f"] .btn.ghost { background: #fff; color: var(--ink2); border: 1.5px solid var(--line); box-shadow: none; }
[data-theme="f"] .opt.on { border-color: #1495a8; background: #dcf2f4; }
[data-theme="f"] .opt.on .key { background: #1495a8; border-color: #1495a8; }
[data-theme="f"] .section-title::before { background: #1495a8; }
[data-theme="f"] .combo.best { border-color: #1495a8; background: #dcf2f4; }

/* ------------------------------------------------------------ 减弱动效 */

@media (prefers-reduced-motion: reduce) {
  .cover-badge, .cover-sun, .hud-route .ship, .module-toast, .module-toast .toast-box,
  .progress-fill, .xpfill, .route-done { animation: none !important; transition: none !important; }
}
