:root{
  --teal:#0e6b6e; --teal-dark:#0a4f52; --ink:#1d2a2a; --muted:#5c6b6b;
  --card:#ffffff; --bg:#f4f7f6; --line:#dfe8e6; --gold:#c8a24a;
  --radius:14px;
}
*{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
html,body{margin:0;padding:0;}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);line-height:1.6;}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;}
.brand{font-weight:700;color:var(--teal-dark);font-size:17px;}
.brand span{color:var(--muted);font-weight:400;font-size:13px;margin-left:6px;}
.topbar-right{color:var(--muted);font-size:13px;}
main{max-width:860px;margin:0 auto;padding:20px 16px 40px;}
.screen{display:none;}
.screen.active{display:block;}
h1, h2.screen-title{font-size:24px;margin:8px 0 12px;color:var(--teal-dark);}
h2{font-size:18px;color:var(--teal-dark);}
.lead{font-size:16px;color:var(--ink);}
.intro-list{padding-left:20px;color:var(--muted);}
.notice{background:#fff8ec;border:1px solid #eed9a8;border-radius:var(--radius);padding:14px 16px;margin:18px 0;}
.notice h2{margin-top:0;font-size:16px;}
.notice p{margin:6px 0;font-size:14px;}
.btn{display:inline-block;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px;padding:10px 18px;font-size:15px;cursor:pointer;min-height:44px;}
.btn.primary{background:var(--teal);color:#fff;border-color:var(--teal);}
.btn.primary:active{background:var(--teal-dark);}
.btn.ghost{background:transparent;}
.btn.big{display:block;width:100%;margin-top:18px;font-size:17px;padding:14px;}
.btn:disabled{opacity:.5;cursor:not-allowed;}
.demo-banner{background:#eef4ff;border:1px solid #b9ccf5;color:#33508f;border-radius:10px;padding:8px 12px;font-size:13px;margin:10px 0 16px;}
.member-greet{background:#e7f4f2;border:1px solid #bcd9d6;color:#0c4a4a;border-radius:10px;padding:9px 12px;font-size:14px;margin:4px 0 12px;line-height:1.55;}
.field{display:block;margin:14px 0;font-size:15px;}
.field input{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:10px;font-size:17px;background:#fff;}
.code-row{display:flex;gap:10px;margin-top:6px;}
.code-row input{flex:1;margin-top:0;}
.field-err{color:#b3362b;font-size:14px;min-height:20px;}
.privacy-note{color:var(--muted);font-size:13px;}
.foot{text-align:center;color:var(--muted);font-size:12px;padding:16px;}
/* ---------- 测试舞台 ---------- */
.test-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px;}
.test-title{font-size:19px;font-weight:700;color:var(--teal-dark);}
.test-progress{color:var(--muted);font-weight:400;font-size:14px;margin-left:8px;}
.test-status{font-size:16px;color:var(--teal-dark);font-variant-numeric:tabular-nums;}
.test-stage{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.test-foot{margin-top:12px;display:flex;gap:12px;align-items:flex-start;}
@media (max-width:640px){
  .test-foot{flex-direction:column;align-items:stretch;}
  .test-foot .btn{margin-left:0 !important;align-self:flex-end;}
  .tutorial-bar{width:100%;box-sizing:border-box;}
  .tutorial-bar .tutorial{min-width:0;}
}
.test-foot .btn{flex:none;margin-left:auto;}
/* 练习说明条：固定在舞台下方与「跳过本项」同一行，出现时舞台卡片暂隐 */
.tutorial-bar{flex:1;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;box-shadow:0 6px 18px rgba(31,58,64,.05);}
.tutorial-bar .tutorial{flex:1;min-width:210px;background:transparent;padding:0;}
.tutorial-bar .btn{margin-left:0;}
.tutorial{background:#f2f7f7;border-radius:10px;padding:14px 16px;width:100%;font-size:15px;}
.tutorial h3{margin:0 0 6px;color:var(--teal-dark);}
.stage-actions{display:flex;gap:12px;justify-content:center;margin-top:16px;flex-wrap:wrap;}
.kbd-hint{color:var(--muted);font-size:13px;text-align:center;margin-top:8px;}
.hearts{font-size:18px;letter-spacing:2px;}
.timer{font-weight:700;}
.feedback{font-size:18px;min-height:28px;text-align:center;margin-top:10px;}
.feedback.good{color:#1e7a34;}
.feedback.bad{color:#b3362b;}
/* 判同异 / Stroop 等大按钮 */
.choice-row{display:flex;gap:14px;justify-content:center;margin-top:18px;width:100%;}
.choice-btn{flex:1;max-width:220px;min-height:60px;font-size:19px;border-radius:12px;border:2px solid var(--teal);background:#fff;color:var(--teal-dark);cursor:pointer;}
.choice-btn:active{background:var(--teal);color:#fff;}
.icon-boxes{display:flex;gap:16px;justify-content:center;margin-top:8px;}
.icon-box{border:2px solid var(--line);border-radius:12px;padding:12px;min-width:120px;min-height:90px;display:flex;flex-wrap:wrap;gap:6px;align-content:center;justify-content:center;background:#fbfdfd;}
.icon-cell{font-size:26px;width:34px;text-align:center;}
.icon-box.scatter{position:relative;display:block;padding:0;}
.icon-box.scatter .icon-cell{position:absolute;transform:translate(-50%,-50%);}
.stroop-word{font-size:64px;font-weight:800;text-align:center;margin:26px 0 6px;letter-spacing:4px;}
.big-number{font-size:72px;font-weight:800;color:var(--gold);text-align:center;min-height:96px;line-height:96px;}
.keypad{display:grid;grid-template-columns:repeat(3,72px);gap:10px;justify-content:center;margin-top:10px;}
.keypad button{min-height:56px;font-size:22px;border-radius:10px;border:1px solid var(--line);background:#fff;cursor:pointer;}
.keypad button:active{background:var(--teal);color:#fff;}
.seq-input{min-height:34px;font-size:24px;letter-spacing:6px;text-align:center;color:var(--teal-dark);font-weight:700;}
.input-timer{text-align:center;color:var(--muted);font-size:14px;margin-top:10px;}
.grid4{display:grid;grid-template-columns:repeat(4,64px);gap:10px;justify-content:center;margin-top:8px;}
.grid4 button{height:64px;border-radius:12px;border:2px solid var(--line);background:#fff;font-size:28px;cursor:pointer;}
.grid4 button.flash{background:var(--gold);border-color:var(--gold);}
.grid4 button.picked{background:var(--teal);color:#fff;border-color:var(--teal);}
.rot-wrap{display:flex;gap:22px;justify-content:center;align-items:center;margin-top:10px;}
.rot-cell{display:grid;grid-template-columns:repeat(3,26px);gap:3px;}
.rot-cell i{width:26px;height:26px;border-radius:5px;background:#e3ecea;display:block;}
.rot-cell i.on{background:#e8873a;}
.ctx-icons{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:420px;margin-top:8px;}
.ctx-icons .ctx-item{width:64px;height:64px;border-radius:12px;background:#fbf3dd;border:2px solid #eed9a8;display:flex;align-items:center;justify-content:center;font-size:32px;cursor:pointer;}
.ctx-icons .ctx-item.box{background:#7fa8c9;border-color:#7fa8c9;font-size:22px;color:#fff;}
.ctx-probe{font-size:20px;text-align:center;margin:10px 0;}
.ctx-probe .probe-icon{font-size:40px;vertical-align:middle;}
canvas.stage-canvas{max-width:100%;height:auto;border-radius:10px;background:#fbfdfd;border:1px solid var(--line);}
canvas.stage-canvas.rf-round{border-radius:50%;border:2px solid var(--line);background:transparent}
/* 桌面端规划棋盘放大，减少卡片内空白 */
@media (min-width:768px){
  [data-testid="plancup"]{width:88px!important;min-height:180px!important;border-width:4px!important;padding:7px!important;gap:6px!important}
  [data-testid="plancup"] .pl-block{height:34px!important;border-radius:8px!important}
}
.rate-row{display:flex;gap:8px;justify-content:center;margin-top:10px;flex-wrap:wrap;}
.rate-row button{min-width:44px;min-height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:16px;cursor:pointer;}
.rate-row button.sel{background:var(--teal);color:#fff;border-color:var(--teal);}
input[type=range]{width:min(420px,90%);}
/* ---------- 报告 ---------- */
.report-meta{color:var(--muted);font-size:14px;}
#radarCanvas{display:block;margin:6px auto;max-width:100%;height:auto;}
.dim-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 16px;margin:10px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;}
.dim-card .dim-name{font-weight:700;}
.dim-card .dim-one{color:var(--muted);font-size:14px;}
.dim-score{font-size:26px;font-weight:800;color:var(--teal-dark);white-space:nowrap;}
.band{font-size:12px;padding:2px 8px;border-radius:20px;margin-left:6px;vertical-align:middle;}
.band-hi{background:#e2f2e4;color:#1e7a34;}
.band-mid{background:#fdf3d7;color:#8a6d1d;}
.band-lo{background:#fbe3e0;color:#b3362b;}
.paywall{background:linear-gradient(180deg,#fff,#f7fbfa);border:2px dashed var(--gold);border-radius:var(--radius);padding:16px 18px;margin:22px 0;}
.paywall-note{color:var(--muted);font-size:13px;}
.long-dim{border-top:1px solid var(--line);padding:12px 0;}
.long-dim h3{margin:4px 0;color:var(--teal-dark);}
.long-dim p{margin:6px 0;font-size:15px;}
/* ---------- 桌面版 ---------- */
@media (min-width:768px){
  main{padding:28px 24px 56px;}
  h1, h2.screen-title{font-size:30px;}
  .test-stage{min-height:420px;padding:26px;}
  .icon-box{min-width:170px;min-height:120px;}
  .icon-cell{font-size:32px;width:42px;}
  .grid4{grid-template-columns:repeat(4,76px);}
  .grid4 button{height:76px;}
  .keypad{grid-template-columns:repeat(3,84px);}
  .choice-btn{min-height:64px;}
}
/* 减动效偏好 */
@media (prefers-reduced-motion: reduce){
  *{transition:none !important;animation:none !important;}
}
@media print{
  .topbar,.foot,.btn,.paywall-note{display:none !important;}
  body{background:#fff;}
}

/* ===== v2：动画与手感 ===== */
button,.choice-btn,.btn,[data-testid="plancup"]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:active{transform:scale(.965)}
.choice-btn,.btn{transition:transform .08s ease,background .15s ease,border-color .15s ease}
.screen.active{animation:screenIn .38s cubic-bezier(.22,.61,.36,1)}
@keyframes screenIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
#testStage>*{animation:stageIn .3s ease}
@keyframes stageIn{from{opacity:.25}to{opacity:1}}
.big-number.pop{animation:popN .3s ease}
@keyframes popN{0%{transform:scale(.6);opacity:.2}60%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
.feedback{animation:stageIn .25s ease}

/* 视觉序列：图案格 */
.tile-grid button{font-size:30px;background:#fff}
.tile-grid button.flash{animation:tileGlow .45s ease}
@keyframes tileGlow{0%{box-shadow:0 0 0 0 rgba(224,165,46,.0);transform:scale(1)}40%{box-shadow:0 0 0 6px rgba(224,165,46,.55);background:#fdf3d8;transform:scale(1.1)}100%{transform:scale(1)}}
.tile-grid button.picked{background:#e6f4ec;border-color:var(--brand)}

/* 规划：方块动画 */
.drop-in{animation:dropIn .28s cubic-bezier(.22,.61,.36,1)}
@keyframes dropIn{from{transform:translateY(-46px);opacity:.3}to{transform:none;opacity:1}}
/* 规划：方块被捏住时原地松动（浮起+轻晃+阴影） */
.pl-loose{animation:looseBob .5s ease-in-out infinite alternate;box-shadow:0 7px 13px rgba(20,40,45,.38);outline:2px solid rgba(255,255,255,.9);outline-offset:-2px;position:relative;z-index:2}
@keyframes looseBob{from{transform:translateY(-2px) rotate(-1.8deg)}to{transform:translateY(-6px) rotate(1.8deg)}}
.held-chip{animation:heldFloat 1s ease-in-out infinite}
@keyframes heldFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}

/* 推理：九宫格 */
.mx-grid{display:grid;grid-template-columns:repeat(3,86px);gap:8px;justify-content:center;margin:6px auto}
.mx-stemwrap{background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:22px 14px;margin:6px auto;max-width:540px;}
.mx-stem{font-size:27px;font-weight:700;text-align:center;color:var(--ink);letter-spacing:1px;line-height:1.5;}
.mx-stem.sm{font-size:19.5px;letter-spacing:0;}
.mx-sub{text-align:center;color:var(--muted);font-size:13.5px;margin-top:10px;}
.mx-strip{display:flex;gap:6px;justify-content:center;margin:6px auto;flex-wrap:wrap;}
.mx-strip .mx-cell{width:58px;height:58px;}
.mx-num{font-size:20px;font-weight:700;}
.mx-word{font-size:17px;font-weight:600;}
.mx-cell{width:86px;height:86px;background:#fff;border:1.5px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.mx-glyphs{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;align-items:center;max-width:76px;color:var(--brand-d);font-size:19px;line-height:1.05}
.mx-glyphs.n1,.mx-glyphs.n2{font-size:30px}
.mx-arrow{font-size:38px;color:var(--brand-d);line-height:1}
.mx-q{font-size:40px;color:var(--muted);font-weight:800}
.mx-opt{min-width:96px;min-height:64px}
.mx-opt .mx-glyphs{color:var(--ink)}

/* 反应速度 */
.react-circle{width:210px;height:210px;border-radius:50%;margin:16px auto 4px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;font-weight:800;cursor:pointer;user-select:none;box-shadow:0 8px 24px rgba(31,58,64,.18);transition:background .12s ease;}
/* 节奏同步 */
.rhythm-dot{width:74px;height:74px;border-radius:50%;background:#dfe9e7;margin:20px auto 14px;transition:transform .08s ease,background .08s ease;}
.rhythm-dot.on{background:var(--gold);transform:scale(1.22);}
.rhythm-tap{display:block;margin:0 auto;}
.rhythm-tap.hit{animation:popN .18s ease;}
/* 连线测验 */
.trail-board{position:relative;width:100%;max-width:480px;height:320px;margin:0 auto;background:#fbfdfd;border:1px solid var(--line);border-radius:12px;box-sizing:border-box;}
.trail-dot{position:absolute;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:#fff;border:2px solid var(--brand);color:var(--ink);font-size:18px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;user-select:none;}
.trail-dot.done{background:#1e8a46;border-color:#1e8a46;color:#fff;}
.trail-dot.wrong{background:#f6d9d5;border-color:#b3493f;}

/* 视觉工作记忆：数字圈 */
.wm-board{position:relative;width:min(92vw,380px);height:270px;margin:0 auto;background:#fbfdfd;border:1px solid var(--line);border-radius:12px}
.wm-circle{position:absolute;width:15%;aspect-ratio:1;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:700;cursor:pointer;box-shadow:0 2px 6px rgba(31,58,64,.25);transition:background .2s ease,transform .15s ease;user-select:none}
.wm-circle.hidden-num{background:#7d939a}
.wm-circle.done{background:#1e8a46;animation:popN .3s ease}
.wm-circle.shake{animation:shakeX .4s ease}
@keyframes shakeX{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}

/* 脑图：医学插画底图 + 区域光晕 */
.brain-view{position:relative;display:inline-block;line-height:0}
.brain-view img{width:100%;display:block;user-select:none;-webkit-user-drag:none}
.brain-glow{position:absolute;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(255,186,48,.92) 0%,rgba(255,152,24,.5) 45%,rgba(255,152,24,0) 72%);animation:brainGlowPulse 1.7s ease-in-out infinite}
@keyframes brainGlowPulse{0%,100%{opacity:.55}50%{opacity:1}}
/* 总览扫描：各脑区依次闪亮，其余时间微光待命 */
.brain-glow.scan{animation:brainScan 4.6s ease-in-out infinite;opacity:.15}
@keyframes brainScan{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}7%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}16%{opacity:.15;transform:translate(-50%,-50%) scale(1)}100%{opacity:.15;transform:translate(-50%,-50%) scale(1)}}
.brain-dual{display:inline-flex;justify-content:center;gap:2px;line-height:0}
.brain-wrap3d{display:flex;justify-content:center}
.brain-wrap3d .brain-view{width:158px;max-width:40vw;filter:drop-shadow(0 10px 14px rgba(31,58,64,.14))}
.brainbox{display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:center;margin:2px 0 8px;color:var(--muted);font-size:13px;text-align:center}
.brainbox .brain-view{width:86px}
.brainbox b{color:var(--brand-d)}
@media (prefers-reduced-motion: reduce){ .brain-wrap3d .brain-view,.brain-glow,.held-chip{animation:none} }

/* v3 报告：综合指数 / 脑区总览 / 分组雷达 / 仪表 */
.comp-card{background:linear-gradient(135deg,#0e6b6e,#0a4f52);color:#fff;border-radius:16px;padding:20px;text-align:center;margin:6px 0 14px;}
.comp-label{font-size:14px;opacity:.85;letter-spacing:2px;}
.comp-ev{font-size:56px;font-weight:800;line-height:1.15;}
.comp-sub{font-size:13px;opacity:.85;}
.rep-h{font-size:18px;margin:18px 0 10px;color:var(--brand-d);}
.zone-list{display:flex;flex-direction:column;gap:7px;}
.zone-row{display:flex;align-items:center;gap:10px;font-size:14px;}
.zone-name{width:52px;color:var(--ink);font-weight:600;}
.zone-bar{flex:1;height:10px;background:#e7efed;border-radius:99px;overflow:hidden;}
.zone-fill{display:block;height:100%;border-radius:99px;}
.zf-hi{background:#1e8a46;} .zf-mid{background:#d9a416;} .zf-lo{background:#d2691e;}
.zone-ev{width:30px;text-align:right;font-weight:700;}
.zone-band{width:64px;color:var(--muted);font-size:13px;}
.group-radars{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;}
@media (max-width:640px){ .group-radars{grid-template-columns:1fr;} }
.group-radar-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;}
.group-radar-card h4{margin:2px 0 6px;text-align:center;color:var(--brand-d);}
.group-radar{width:100%;height:auto;display:block;}
.gauge{position:relative;height:12px;border-radius:99px;overflow:visible;margin:10px 0 2px;background:#e7efed;}
.gauge-zone{position:absolute;top:0;height:12px;}
.gz-lo{left:0;width:33.3%;background:#f0b9a8;border-radius:99px 0 0 99px;}
.gz-mid{left:33.3%;width:33.4%;background:#f3dd8e;}
.gz-hi{left:66.7%;width:33.3%;background:#a9d9b4;border-radius:0 99px 99px 0;}
.gauge-needle{position:absolute;top:-5px;width:4px;height:22px;background:#173f42;border-radius:2px;transform:translateX(-50%);}
.gauge-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:8px;}
.region-line{margin:6px 0;color:var(--ink);}

/* 舒尔特方格 */
.schulte-head{font-size:17px;text-align:center;margin:4px 0 10px;}
.schulte-head b{font-size:22px;color:var(--brand-d);}
.schulte-err{color:#b3493f;font-size:14px;margin-left:8px;}
.schulte-grid{display:grid;gap:6px;width:min(92vw,430px);margin:0 auto;}
.schulte-cell{aspect-ratio:1;font-size:clamp(16px,4.6vw,24px);font-weight:700;background:#fff;border:2px solid var(--line);border-radius:10px;cursor:pointer;color:var(--ink);}
.schulte-cell.done{} /* 点过不留痕（Owner 2026-11-01）：done 仅逻辑标记，无常驻样式 */
.schulte-cell.hit{background:#1e8a46;border-color:#1e8a46;color:#fff;}
.schulte-cell.locked{background:#1e8a46;border-color:#1e8a46;color:#fff;} /* 仅练习（找感觉）模式：点对锁定变色 */
.schulte-cell.wrong{background:#f6d9d5;border-color:#b3493f;}
/* 复测变化 */
.dim-delta{font-size:20px;font-weight:700;color:#8a9a97;align-self:center;}
.dim-delta.up{color:#1e8a46;} .dim-delta.down{color:#b3493f;}

/* 规划力：提示区预留固定高度，捏住/未捏住只换字不跳版 */
.pl-hintslot{height:60px;display:flex;align-items:center;justify-content:center;text-align:center;margin-top:8px;}

/* 性别分段选择 */
.seg-row{display:flex;gap:10px;margin-top:6px;}
.seg-btn{flex:1;padding:11px 0;font-size:16px;background:#fff;border:2px solid var(--line);border-radius:10px;cursor:pointer;color:var(--ink);}
.seg-btn.on{border-color:var(--brand);background:#e8f4f3;color:var(--brand-d);font-weight:700;}

/* 长报告 v4：封面 / 双脑总览 / 同龄分布条 / 维度头 */
.report-cover{background:linear-gradient(135deg,#0e6b6e,#0a4f52);color:#fff;border-radius:18px;padding:26px 22px;margin-bottom:18px;}
.cover-brand{font-size:13px;letter-spacing:3px;opacity:.85;}
.report-cover h1{margin:6px 0 4px;font-size:30px;color:#fff;}
.cover-meta{opacity:.9;font-size:14px;margin:2px 0 10px;}
.cover-ev{display:flex;align-items:baseline;gap:12px;margin:10px 0 4px;}
.cover-ev span{font-size:14px;opacity:.85;}
.cover-ev strong{font-size:54px;line-height:1;font-weight:800;}
.cover-ev em{font-style:normal;font-size:14px;opacity:.9;}
.cover-note{font-size:12.5px;opacity:.75;margin:8px 0 0;line-height:1.6;}
.ov-wrap{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;}
.ov-brain{flex:none;text-align:center;}
.ov-brain .brain-view{width:104px;}
.ov-cap{font-size:12px;color:var(--muted);margin-top:2px;}
.ov-zones{flex:1;min-width:260px;}
.peer-bar{position:relative;height:12px;border-radius:99px;background:linear-gradient(90deg,#f0b9a8 0%,#f3dd8e 50%,#a9d9b4 100%);margin:8px 0 2px;}
.peer-fill{position:absolute;left:0;top:0;height:100%;border-radius:99px;background:rgba(23,63,66,.16);border-right:2px solid rgba(23,63,66,.35);}
.peer-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:6px;}
.ld-head{display:flex;align-items:center;gap:10px;}
.ld-head h3{margin:0;}
.ld-ev{margin-left:auto;font-size:30px;font-weight:800;color:var(--brand-d);}
.ld-level{margin:6px 0 2px;}
.ld-prev{color:var(--muted);margin:2px 0;}
.ld-detail{color:var(--muted);margin:2px 0;}

/* 脑区染色大图 */
.brain-tint{position:absolute;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:2;}
.brain-tinted .brain-view{width:min(212px,44vw);}
.ov-col{flex-direction:column;}
.ov-brain-big{text-align:center;width:100%;}
.zone-legend{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center;margin-top:8px;font-size:13px;color:var(--muted);}
.zone-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px;}
.zone-legend i.lg-orig{background:#cfe0d8;border:1px solid var(--line);}
.ov-zones-full{width:100%;margin-top:14px;}
.brain-labeled{width:100%;height:auto;display:block;}

/* 正式测试开始门 */
.formal-gate{text-align:center;padding:26px 10px 6px;}
.fg-badge{display:inline-block;background:#e8f4f3;color:var(--brand-d);font-weight:700;font-size:13px;padding:4px 12px;border-radius:99px;margin-bottom:10px;}
.formal-gate h3{margin:4px 0 8px;font-size:22px;}
.formal-gate p{color:var(--muted);line-height:1.7;max-width:420px;margin:0 auto;}

/* 点按响应优化：去双击缩放延迟、连线圆点加大热区 */
#testStage{touch-action:manipulation;}
#testStage button, #testStage .react-circle, #testStage .rhythm-tap{touch-action:manipulation;}
.trail-dot{width:54px;height:54px;font-size:19px;}
.trail-dot::after{content:'';position:absolute;inset:-12px;border-radius:50%;}
.react-circle{touch-action:manipulation;user-select:none;-webkit-user-select:none;}

/* V1.1 报告（任务得分口径）：头部 / 状态徽标 / 指标行 / 说明 */
.r2-head{margin:4px 0 12px}
.r2-title{font-size:20px;font-weight:800;color:var(--brand-d)}
.r2-meta{color:var(--muted);font-size:13.5px;margin-top:3px}
.r2-note{background:#fdf3d7;border:1px solid #e8cf7a;color:#7a5c14;border-radius:12px;padding:12px 14px;margin:10px 0;font-size:14.5px}
.r2-st{font-size:12px;padding:2px 8px;border-radius:20px;margin-left:6px;vertical-align:middle;background:#eef3f2;color:#41504f;white-space:nowrap}
.r2-st.st-completed{background:#e2f2e4;color:#1e7a34}
.r2-st.st-skipped,.r2-st.st-incomplete{background:#eceff0;color:#66706f}
.r2-st.st-invalid{background:#fdf3d7;color:#8a6d1d}
.r2-st.st-stopped_discomfort{background:#e3ecf7;color:#2c5d8a}
.r2-metric{color:var(--muted);font-size:13px;margin-top:3px}
.r2-disc{color:var(--muted);font-size:13px;line-height:1.7;margin-top:16px}
