/* 独立实验台：画面、快速对比和详细面板分层。 */
#stage{background:radial-gradient(ellipse at 40% 40%,#101e2d 0,#05070d 70%)}
#view{position:absolute;top:115px;left:0;width:100%;height:calc(100% - 225px);touch-action:none}
.stage-head{position:absolute;top:22px;left:28px;right:28px;pointer-events:none}
.stage-head .eyebrow{font-size:11px;letter-spacing:2px;color:#7fa2ba;margin:0 0 6px}
.stage-head h2{font-size:18px;font-weight:550;margin:0;color:#e6edf6}
.scene-tabs{display:flex;gap:4px;margin-top:14px;pointer-events:auto;width:max-content;padding:4px;background:#101824;border:1px solid #293748;border-radius:10px}
button{font:inherit;font-size:12px;background:#172230;color:#b8c8da;border:1px solid #314154;border-radius:7px;padding:8px 11px;min-height:36px;cursor:pointer;transition:background .15s,border-color .15s}
button:hover{background:#223449;border-color:#6886a1}button:focus-visible{outline:2px solid #7cdef0;outline-offset:3px}
button.on{background:#ffc94a;color:#171c25;border-color:#ffc94a}
.scene-tabs button{border-color:transparent;background:transparent;min-width:100px}.scene-tabs button.on{color:#ffc94a;background:#302a1d;border-color:#695632}
.stage-bottom{position:absolute;bottom:44px;left:28px;right:28px;text-align:center}
#stageConclusion{font-size:15px;font-weight:500;color:#d8e6f3;margin:0 0 10px}
.quick-actions{display:flex;gap:6px;justify-content:center}.quick-actions button{min-width:82px;background:#111c28}
.quick-actions button.on{background:#24352f;border-color:#68b8a2;color:#b1f0dc}
#hint{top:auto;bottom:12px;background:none;font-size:11px;padding:0;color:#8d9eb3}
.learn-fab{left:auto;right:20px;top:28px;bottom:auto;transform:none;background:transparent}
#panel{width:330px;padding:22px 20px;background:#0e1520;border-color:#253143}
#panel h1{font-size:18px;font-weight:600;margin-bottom:6px}#panel .learn-link{color:#809ab2;margin-bottom:20px}
#panel section{padding:18px 0}#panel h2{color:#a5bad0;font-size:12px;letter-spacing:1px;margin-bottom:12px}
.readout{background:linear-gradient(130deg,#182b36,#141d2b);border-color:#2f4859!important;padding:14px!important;margin-bottom:4px}
.readout .big{font-size:13px;color:#8ee0d1;font-weight:500;gap:6px}.readout .big:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.readout dl{gap:9px 10px;margin-top:14px;font-size:12px}.readout dd{text-align:right;font-variant-numeric:tabular-nums;color:#e6edf5}.readout .note{border-top:1px solid #2a3b49;padding-top:10px;margin-top:12px;line-height:1.7}
.slider{grid-template-columns:32px 1fr 82px;gap:5px;margin-bottom:12px}.slider span{font-size:12px;color:#a5bad0}.slider output{font-size:11px;color:#cfdae5}input[type=range]{min-height:28px}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.note{line-height:1.75}#panel section>button{margin:3px 0}#records{font-size:11px;line-height:1.7;margin-top:8px;color:#c0d9e6}#records div{padding:6px 0;border-bottom:1px solid #283647}
#panel .foot{font-size:11px;color:#73869d}.observe-actions{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:1000px){.learn-fab{top:26px;right:16px;font-size:11px}.stage-head{left:20px}.stage-head h2{font-size:16px}}
@media(max-width:760px){.stage-head{top:16px;left:18px;right:18px}.stage-head .eyebrow{font-size:10px}.stage-head h2{font-size:16px}.scene-tabs{margin-top:12px}.scene-tabs button{min-width:90px;min-height:38px}#panelToggle{top:65px;right:14px;font-size:11px;min-height:42px;padding:6px 10px;border-radius:8px}.learn-fab{top:17px;right:14px;padding:3px 8px}#view{top:117px;height:calc(100% - 230px)}.stage-bottom{bottom:43px;left:12px;right:12px}#stageConclusion{font-size:13px}.quick-actions button{min-height:40px;font-size:11px;min-width:87px}#panel{width:auto;padding:18px 20px;max-height:66%}#hint{bottom:13px;font-size:11px;width:100%;max-width:100%}}
@media(max-height:650px) and (min-width:761px){#view{top:105px;height:calc(100% - 200px)}.stage-head{top:12px}.stage-head .eyebrow{display:none}.scene-tabs{margin-top:8px}.stage-bottom{bottom:32px}#hint{bottom:6px}}
@media(prefers-reduced-motion:reduce){button,#panel{transition:none}}
