:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#e0eaf6;background:#081321;font-synthesis:none;--muted:#8b9fb4;--line:#253d53;--accent:#54adff;--cyan:#78dce5;
/* BEGIN JW_COPYRIGHT_CSS —— 版权指纹变量，并入原有 :root，不新建第二个 */
--copyright-owner:"动见地理";
--copyright-work-id:"GE-JW-20261015-A001";
--copyright-work-name:"GEOLOGY EXPLORER";
--copyright-year:"2026";
--copyright-version:"v1.2.2";
--copyright-license-id:"GE-JW-20261015-A001-ONLINE";
/* © 2026 动见地理. All rights reserved. | GEOLOGY EXPLORER | GE-JW-20261015-A001 */
/* END JW_COPYRIGHT_CSS */
}*{box-sizing:border-box}body{margin:0;font-size:14px;overflow:hidden}button,select,input{font:inherit}button,select{color:inherit;border:1px solid var(--line);background:#102236;border-radius:7px}button{cursor:pointer;padding:8px 12px;transition:background .15s,border-color .15s}button:hover{background:#1a3853;border-color:#497898}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #81daee;outline-offset:3px}button.active,button.primary{background:linear-gradient(135deg,#2364af,#3182d2);border-color:#4e9ade;color:white;box-shadow:0 3px 16px #1e77cd24}button:disabled{opacity:.35;cursor:default}select{padding:9px 10px;width:100%;cursor:pointer}header{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;border-bottom:1px solid #23374b;background:linear-gradient(100deg,#102235,#0a1624);gap:20px}.brand{display:flex;align-items:center;gap:13px;white-space:nowrap}.brand-icon{font-size:45px;color:#74b7e1;line-height:1}.brand h1{font-size:23px;letter-spacing:3px;margin:0 0 7px;font-weight:650}.brand p{font-size:10px;letter-spacing:3px;color:#85a2bd;margin:0}.brand p span{letter-spacing:1px;margin-left:7px}.views{display:flex;border:1px solid #2a4055;padding:4px;border-radius:10px;background:#091727;gap:3px}.views button{border-color:transparent;background:transparent;padding:10px 18px;color:#9db1c9}.views button.active{background:#245993;color:#e9f4ff;border-color:#3575b0}.header-tools{display:flex;gap:8px}.header-tools button{width:35px;height:35px;border-radius:50%;padding:0;font-size:20px;background:transparent;color:#b6cadd}.workbench{height:calc(100dvh - 90px);padding:16px 18px 14px;display:grid;grid-template-columns:252px minmax(330px,1fr) 280px;grid-template-rows:minmax(0,1fr) 94px;gap:14px;background:radial-gradient(ellipse at 51% 35%,#183149 0,#0b1a2b 48%,#081321 85%)}.panel{background:linear-gradient(135deg,#101f30ed,#0b1828ed);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px #00000012}.left-panel{padding:16px 14px;overflow-y:auto;grid-row:1/3;scrollbar-width:thin;scrollbar-color:#30485e transparent}.panel-title{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:600;margin-bottom:12px}.small-label{font-size:10px;letter-spacing:1px;font-weight:400;color:#7891aa}.muted{color:var(--muted);line-height:1.7}.intro{font-size:13px;margin:10px 0 15px;min-height:43px}.mode-tabs{display:flex;border-bottom:1px solid var(--line);margin:0 -2px}.mode-tabs button{border:0;border-radius:0;background:transparent!important;box-shadow:none;color:#8ba2bb;padding:10px 14px}.mode-tabs button.active{border-bottom:2px solid #66b5ff;color:#b3dbff}.section-title{margin-top:20px}.event-row{display:flex;align-items:center;border:1px solid transparent;border-radius:6px;margin-bottom:4px;padding:5px 4px;background:#15293b55;gap:4px}.event-row.selected{border-color:#3b729c;background:#173750}.event-row.disabled{opacity:.45}.event-row .event-name{flex:1;text-align:left;padding:4px 3px;background:transparent;border:0;font-size:14px}.event-index{color:#7894b0;font-size:11px;margin-right:7px}.event-row .tiny{padding:2px 4px;font-size:12px;background:transparent;border:0;color:#95b4d0}.event-row .toggle{font-size:14px;color:#78c7ee}.event-actions{display:flex;gap:2px}.add-row{display:flex;gap:6px;margin:11px 0 18px}.add-row select{min-width:0;padding:7px;font-size:13px}.add-row button{flex-shrink:0;padding:7px 9px;font-size:13px}.param-head{display:flex;justify-content:space-between;align-items:center;padding:12px 0 7px;border-top:1px solid var(--line)}.param-head b{font-size:14px}.param-tools{display:flex;gap:4px}.param-tools button{padding:2px 6px;border:0;background:transparent;color:#92afc7;font-size:12px}.param{display:block;margin:13px 0}.param-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:7px;gap:6px}.param output{font-variant-numeric:tabular-nums;color:#85c9fa;white-space:nowrap}.param-note{font-size:12px;color:#97b0c6;line-height:1.6;background:#132a3e;padding:9px;border-left:2px solid #5aaadd;border-radius:2px}input[type=range]{appearance:none;-webkit-appearance:none;background:#2c4256;height:4px;border-radius:6px;width:100%;cursor:pointer;accent-color:#5babed}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#b5e1ff;border:3px solid #438fe0;box-shadow:0 0 7px #2885d966}input[type=checkbox]{accent-color:#438ad1}.display-settings{border-top:1px solid var(--line);margin-top:19px;padding-top:14px}summary{cursor:pointer;color:#bad1e4;font-size:14px}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0;font-size:12px;color:#a8bfd5}.check-grid label{display:flex;gap:5px;align-items:center}.model-note{font-size:11px;color:#637e97;line-height:1.8;margin-top:20px}.center{position:relative;min-width:0;overflow:hidden;border-radius:12px}.scene-heading{position:absolute;top:7px;left:10px;right:10px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:2}.eyebrow{font-size:10px;letter-spacing:3px;color:#7194b2}.scene-heading h2{font-size:19px;letter-spacing:2px;font-weight:500;margin:8px 0}.status{border:1px solid #32516c;border-radius:20px;padding:5px 10px;color:#a3cbe8;font-size:11px;background:#0e2031}.scene-hints{position:absolute;top:83px;left:10px;display:flex;gap:20px;color:#7392ac;font-size:11px;pointer-events:none}.north{position:absolute;right:22px;top:110px;text-align:center;display:flex;flex-direction:column;color:#9fbed7;pointer-events:none}.north b{font-size:26px;font-weight:300}.north small{font-size:10px;color:#64839e}#viewport{position:absolute;inset:50px -10px 234px}#viewport canvas{display:block;width:100%;height:100%;outline:0}.stage-label{position:absolute;bottom:238px;left:16px;display:flex;gap:7px;align-items:center;font-size:11px;color:#9abbd3;pointer-events:none}.live-dot{width:5px;height:5px;background:#72c8eb;border-radius:50%;box-shadow:0 0 8px #65bce1}.section-dock{position:absolute;bottom:0;left:4px;right:4px;height:223px;padding:10px 14px;z-index:3;background:#0b192be8;backdrop-filter:blur(8px)}.dock-head{display:flex;justify-content:space-between;align-items:center;font-size:14px}.dock-head small{font-size:10px;color:#6d8aa3;margin-left:8px}.dock-head button{background:transparent;border:0;padding:0 2px;font-size:18px;color:#8aa8c1}.cyan{color:var(--cyan);margin-right:6px}.section-dock canvas{width:100%;height:143px;display:block}.section-tools{display:flex;align-items:center;gap:6px;font-size:11px}.section-tools button{font-size:11px;padding:4px 9px;background:#12263b}.section-tools label{display:flex;align-items:center;gap:8px;flex:1;color:#8ca8c1;padding:0 4px}.section-tools input{width:70%;min-width:30px}.section-dock.expanded{height:calc(100% - 80px)}.section-dock.expanded canvas{height:calc(100% - 58px)}.right-panel{display:flex;flex-direction:column;gap:11px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#30485e transparent}.right-panel .panel{padding:13px 14px}.right-panel .panel-title{font-size:14px;margin-bottom:8px}.map-panel canvas{width:100%;height:142px;border-radius:5px;display:block;cursor:crosshair;touch-action:none}.canvas-caption{font-size:10px;color:#7f9bb4;margin:7px 0 0}.legend-row{display:flex;align-items:center;padding:4px 2px;gap:9px;cursor:pointer;font-size:12px;border:1px solid transparent;border-radius:4px}.legend-row:hover,.legend-row.chosen{background:#21394c;border-color:#497790}.swatch{width:28px;height:15px;border-radius:2px;box-shadow:inset 0 1px 1px #ffffff44;background-image:repeating-linear-gradient(2deg,transparent,transparent 2px,#0000001a 3px)}.legend-code{color:#b4cde2;width:22px;font-size:11px}.legend-name{flex:1;color:#bfd0df}.age-note{font-size:10px;color:#738ba3;text-align:right;margin-top:5px}.text-button{background:none;border:none;color:#7eb8e6;padding:0;font-size:11px}.reading-panel{border-left:2px solid #4388b1}#reading{font-size:12px;line-height:1.8;color:#aabed0}#reading strong{color:#d4e6f5;font-weight:500}.question{font-size:14px;color:#d7e7f5;margin:5px 0 10px}.reading-tag{font-size:10px;color:#70bedc;margin-bottom:5px;letter-spacing:1px}.answer-btn{margin-top:10px;width:100%;font-size:12px}.probe-panel .muted{font-size:12px;margin:7px 0}.point-values{font-size:11px;color:#95b2ca;line-height:1.9}.core-list{display:flex;flex-direction:column;margin-top:8px;gap:2px}.core-segment{display:flex;align-items:center;font-size:11px;color:#bfd0dd;gap:8px}.core-segment .core-color{width:15px;min-height:8px}.core-segment span:last-child{margin-left:auto;color:#7f9db5;font-size:10px}.timeline{grid-column:2/4;display:flex;align-items:center;gap:22px;padding:14px 20px}.play-controls{display:flex;align-items:center;gap:8px}.play-controls button{border-radius:50%;width:32px;height:32px;padding:0;color:#aacce7}.play-controls .play{width:44px;height:44px;color:white;background:#245f9a;border-color:#5597cf;box-shadow:0 0 18px #206cac35}.timeline-main{flex:1;min-width:0}.timeline-top{display:flex;justify-content:space-between;font-size:12px;color:#a9c5db;margin-bottom:8px}.timeline-top span:last-child{color:#6baee1;font-size:11px}.timeline-main input{margin:0}.timeline select{width:72px;font-size:12px}#timeline-labels{display:flex;justify-content:space-between;font-size:10px;color:#718fa8;margin-top:8px}#timeline-labels button{font-size:10px;padding:0;background:none;border:0;color:#7e9cb4}#timeline-labels button.current{color:#b5e0ff}#toast{position:fixed;bottom:120px;left:50%;transform:translateX(-50%);border:1px solid #44718d;background:#132b3e;color:#cbe6f8;padding:12px 22px;border-radius:9px;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}dialog{background:#102236;color:#d5e5f3;border:1px solid #3e5d76;border-radius:15px;width:min(800px,90vw);max-height:85vh;padding:32px;line-height:1.8;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#020913bb;backdrop-filter:blur(6px)}dialog h2{font-size:26px;margin:0 0 8px}dialog h3{font-size:15px;color:#87c7f3}dialog p{font-size:14px}dialog a{color:#8fd3f5}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}dialog details{margin:18px 0}dialog>button.close-dialog:first-child{position:absolute;right:12px;top:10px;border:0;background:none;font-size:25px}
@media(min-width:1700px){.workbench{grid-template-columns:280px minmax(500px,1fr) 320px;gap:20px;padding:20px 24px}.right-panel .panel{padding:18px}.map-panel canvas{height:170px}.legend-row{font-size:14px;padding:6px 2px}#reading{font-size:14px}.section-dock{height:245px}.section-dock canvas{height:163px}#viewport{bottom:230px}.stage-label{bottom:260px}}
@media(max-width:1200px){header{height:78px;padding:0 15px;gap:10px}.brand h1{font-size:20px}.brand-icon{font-size:32px}.brand p span{display:none}.views button{padding:9px 11px;font-size:12px}.header-tools{gap:5px}.header-tools button{width:30px;height:30px}.workbench{height:calc(100dvh - 78px);grid-template-columns:220px minmax(280px,1fr) 235px;padding:10px;gap:10px}.left-panel{padding:13px 11px}.scene-heading h2{font-size:16px}.scene-hints span:last-child{display:none}.dock-head small{display:none}.section-tools button{padding:4px 5px}.right-panel .panel{padding:11px}.right-panel{gap:8px}.map-panel canvas{height:125px}}
@media(max-width:930px){body{overflow:auto}header{flex-wrap:wrap;height:auto;padding:15px;gap:13px}.brand{flex:1}.views{order:3;width:100%;justify-content:center}.workbench{height:auto;grid-template-columns:220px minmax(0,1fr);grid-template-rows:650px auto auto}.left-panel{grid-row:1/3}.center{grid-column:2;grid-row:1}.right-panel{grid-column:2;grid-row:3;display:grid;grid-template-columns:1fr 1fr;overflow:visible}.timeline{grid-column:2;grid-row:2;padding:12px;gap:10px}.play-controls{gap:4px}.timeline select{width:55px}.section-tools label{display:none}}
@media(max-width:620px){.brand h1{font-size:19px}.brand p{font-size:8px}.header-tools button{width:28px;height:28px}.header-tools{gap:4px}.workbench{display:flex;flex-direction:column}.center{height:620px;order:0}.timeline{order:1;min-height:85px}.left-panel{order:2;max-height:none}.right-panel{order:3;grid-template-columns:1fr}.scene-heading h2{font-size:18px}.map-panel canvas{height:210px}.guide-grid{grid-template-columns:1fr}.scene-hints{font-size:10px}.left-panel .intro{min-height:0}.event-row .event-name{font-size:14px}.param{margin:18px 0}#viewport{inset:60px -20px 210px}}

#application-reading{font-size:12px;line-height:1.8;margin-top:10px}.application-panel select{font-size:12px}#viewport canvas{touch-action:none}
@media(min-width:931px) and (max-width:1699px){.section-dock{height:190px}.section-dock canvas{height:110px}#viewport{bottom:202px}.stage-label{bottom:204px}.section-dock.expanded{height:calc(100% - 80px)}.section-dock.expanded canvas{height:calc(100% - 58px)}}
#timeline-labels{overflow-x:auto;gap:12px;scrollbar-width:thin}#timeline-labels button{flex-shrink:0}
[hidden]{display:none!important}
#regional-explorer .region-sidebar{width:270px;padding:19px;right:20px}#region-welcome h3{font-size:20px;line-height:1.45;margin:10px 0}#region-welcome p{font-size:12px;margin:10px 0 12px}#regional-explorer #region-list>button{padding-top:9px;padding-bottom:9px}#regional-explorer .explorer-intro{top:22px}#regional-explorer .explorer-intro h2{font-size:30px}#regional-explorer:after{background:linear-gradient(0deg,#071624dc,transparent 17%,transparent 91%,#12263915)}
.region-sidebar.focused #region-list{flex-direction:row;gap:3px}.region-sidebar.focused #region-list>button{flex:1;justify-content:center;padding:10px 3px;border:0;border-bottom:2px solid transparent;border-radius:0}.region-sidebar.focused #region-list>button.active{border-bottom-color:#88c6ed}.region-sidebar.focused #region-list strong{font-size:12px}.region-sidebar.focused #region-list small,.region-sidebar.focused .district-number,.region-sidebar.focused .district-arrow{display:none}.region-sidebar.focused #region-detail{border-top:0;margin-top:3px;padding-top:16px}
body[data-module="explorer"] header .views{display:none}
header{height:76px}.brand h1{font-size:22px}.brand p{font-size:9px}.brand-icon{color:#9ccfff}
.module-nav{position:absolute;top:15px;left:390px;z-index:7;display:flex;height:48px;align-items:center;gap:8px}.module-nav button{background:transparent;border:0;border-radius:0;font-size:15px;color:#94a9ba;padding:13px 18px;height:48px}.module-nav button.active{color:#87c9ff;border-bottom:2px solid #6cb8f4;box-shadow:none}.module-nav span{font-size:12px;margin-left:8px}
body[data-module="lab"] header .views{position:absolute;right:208px;top:84px;z-index:5;border:0;background:#0b1a2ae8}.workbench{height:calc(100dvh - 76px);padding-top:58px}
#regional-explorer{height:calc(100dvh - 76px);min-height:570px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 5% 15%,#bcb09a 0,#738b96 24%,#253e52 53%,#0a1a2a 90%)}
#regional-viewport{position:absolute;inset:0}#regional-viewport canvas{display:block;touch-action:none}
#regional-explorer:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#071624ee,transparent 22%,transparent 83%,#12263933);z-index:1}
.explorer-intro{position:absolute;left:32px;top:30px;pointer-events:none;z-index:2;text-shadow:0 2px 18px #101e26a0}.explorer-intro>span{font-size:10px;letter-spacing:3px;color:#dae3df}.explorer-intro h2{font-family:"Songti SC","Noto Serif SC",serif;font-size:32px;font-weight:500;letter-spacing:4px;margin:13px 0;color:#fff8e9}.explorer-intro p{font-size:12px;letter-spacing:2px;color:#e2e6df}
.region-sidebar{position:absolute;right:24px;top:26px;width:290px;max-height:calc(100% - 128px);overflow:auto;z-index:4;background:linear-gradient(135deg,#0b2131e8,#0a1928ed);border:1px solid #7997ab55;border-radius:12px;padding:23px;box-shadow:0 20px 60px #02101f40;backdrop-filter:blur(18px);scrollbar-width:thin;scrollbar-color:#486171 transparent}
.region-eyebrow{font-size:10px;letter-spacing:2px;color:#95b7cf}.region-sidebar h3{font-size:23px;line-height:1.55;font-weight:550;letter-spacing:1px;margin:12px 0}.region-sidebar p{font-size:13px;line-height:1.85;color:#b7cbd9;margin:10px 0 18px}
#region-list{display:flex;flex-direction:column;gap:5px}#region-list>button{display:flex;align-items:center;gap:12px;background:transparent;border:1px solid transparent;padding:12px 5px;text-align:left;box-shadow:none}#region-list>button+button{border-top-color:#45607450}#region-list>button.active{background:#2349636b;border-color:#669ab37a}#region-list strong{font-weight:500;font-size:15px;display:block;color:#e3eef2}#region-list small{display:block;color:#7198b2;font-size:8px;letter-spacing:1.5px;margin-top:5px}.district-number{font-size:11px;color:#83abc3}.district-arrow{margin-left:auto;color:#8cbad5}#region-detail{border-top:1px solid #3f5c7080;margin-top:15px;padding-top:20px}#region-detail h3{margin-top:7px}#district-steps{list-style:none;padding:0;margin:18px 0;font-size:12px;color:#b9cedd;line-height:1.75}#district-steps li{display:flex;gap:12px;margin:9px 0}#district-steps span{color:#719bb7;font-size:10px;line-height:2}.region-field{display:block;font-size:11px;color:#89a9bf;margin:18px 0 12px}.region-field select{margin-top:7px;font-size:12px;background:#152e40;border-color:#3c596d}.evidence-note summary{font-size:12px;color:#a9ccdf}.evidence-note p{font-size:12px;margin:8px 0 12px;padding-left:10px;border-left:2px solid #5d8ca8}.region-playback{margin:18px 0;color:#90b5cb}.region-playback>div{display:flex;gap:6px}.region-playback button{font-size:12px;background:#183348;border-color:#36566c}.region-playback #region-demo{flex:1}.region-playback input{margin:18px 0 7px}.region-playback>span{font-size:11px}#region-enter{width:100%;text-align:left;font-size:14px;padding:13px 15px;display:flex;justify-content:space-between;background:linear-gradient(110deg,#287ccc,#2667ae);border-color:#70b3e8}
#region-labels{position:absolute;inset:0;pointer-events:none;z-index:3}.terrain-label{position:absolute;pointer-events:auto;transform:translate(-50%,-100%);display:flex;align-items:center;gap:9px;white-space:nowrap;background:#102939dd;border:1px solid #b5d0d26b;box-shadow:0 4px 14px #07172466;padding:9px 13px;border-radius:6px;color:#f5f4e8;backdrop-filter:blur(8px);font-size:14px}.terrain-label.active{background:#235777;border-color:#b1d6e5}.terrain-label i{display:block;width:7px;height:7px;border-radius:50%;background:var(--pin);box-shadow:0 0 0 4px #cee0e51a}.terrain-label span{color:#a6c9d9;font-size:12px}.terrain-label:after{content:"";position:absolute;height:20px;width:1px;background:#d8e6e6b0;left:50%;top:100%}
.region-controls{position:absolute;z-index:5;bottom:32px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;white-space:nowrap;background:#0d2333e8;border:1px solid #5e839957;border-radius:10px;padding:8px 12px;box-shadow:0 12px 30px #020d1e44;backdrop-filter:blur(12px)}.region-controls button{font-size:13px;background:transparent;border-color:transparent;padding:9px 12px}.region-controls button:hover{background:#244c68}.region-controls label{font-size:12px;color:#bad1df;padding:8px;border-left:1px solid #53748b40;cursor:pointer}.region-controls input{vertical-align:middle;margin:0 5px 0 0;accent-color:#6aaada}.region-caption{position:absolute;bottom:39px;left:30px;z-index:2;display:flex;flex-direction:column;gap:7px;color:#83a3b8;font-size:10px}.region-caption b{font-size:12px;letter-spacing:2px;font-weight:500;color:#b8cedd}.region-mouse{position:absolute;right:28px;bottom:48px;z-index:2;color:#87a6bb;font-size:10px}
@media(min-width:1700px){.region-sidebar{width:320px;right:32px;top:34px;padding:27px}.region-sidebar p{font-size:14px}.explorer-intro{top:38px;left:40px}.explorer-intro h2{font-size:38px}}
@media(max-width:1200px){.module-nav{left:335px}.module-nav button{font-size:13px;padding:13px 10px}.region-sidebar{width:250px;right:16px;padding:17px;top:20px}.explorer-intro{left:24px;top:24px}.explorer-intro h2{font-size:26px}.region-mouse{display:none}.region-caption{left:22px;bottom:107px}.region-controls{bottom:24px}.workbench{padding-top:55px}}
@media(max-width:930px){header{height:76px;flex-wrap:nowrap}.module-nav{position:relative;left:auto;top:auto;height:48px;background:#0b1c2b;justify-content:center;border-bottom:1px solid #294054}.module-nav button{height:48px}#regional-explorer{height:calc(100dvh - 124px);min-height:650px}.region-sidebar{width:230px;max-height:calc(100% - 118px)}.explorer-intro>span{font-size:8px;letter-spacing:1px}.explorer-intro h2{font-size:24px}.explorer-intro p{display:none}.workbench{height:auto;padding-top:60px}body[data-module="lab"] header .views{top:133px;right:20px;width:auto}.region-controls{gap:0}.region-controls label{padding:7px}.terrain-label{font-size:12px;padding:8px}.region-caption{bottom:95px}.brand p span{display:none}}
@media(max-width:620px){header{padding:12px}.brand h1{font-size:18px}.brand-icon{font-size:28px}.header-tools{gap:4px}.region-sidebar{top:auto;bottom:92px;right:12px;width:210px;max-height:40%;padding:14px}.explorer-intro{left:18px;top:20px}.explorer-intro h2{font-size:25px}.region-sidebar h3{font-size:18px}.region-sidebar p{font-size:12px}#region-welcome h3,#region-welcome p{display:none}#region-list small{display:none}#region-list>button{padding:7px 3px}#region-list strong{font-size:13px}.region-controls{width:calc(100% - 20px);justify-content:space-around;padding:6px;bottom:18px}.region-controls button{font-size:11px;padding:8px 4px}.region-controls label{font-size:11px;padding:6px 4px}.region-caption{left:15px;font-size:8px;bottom:82px}.region-caption span{max-width:110px;line-height:1.6}#regional-explorer{min-height:650px}.terrain-label{font-size:11px;gap:5px}.terrain-label span{display:none}}

#regional-explorer:after{background:linear-gradient(0deg,#071624dc,transparent 17%,transparent 91%,#12263915)}
@media(max-width:930px){#regional-explorer .region-sidebar{width:230px;padding:16px;right:16px}}
@media(max-width:620px){#regional-explorer .region-sidebar{width:210px;padding:14px;right:12px}#regional-explorer .explorer-intro h2{font-size:25px}}

/* The section belongs to the sidebar; the 3D viewport uses all central space. */
#laboratory #viewport{inset:50px 0 10px}#laboratory .stage-label{bottom:14px}
#laboratory .section-dock{position:relative;inset:auto;height:auto;flex-shrink:0;padding:13px 14px;min-width:0}
#laboratory .section-dock canvas{width:100%;height:240px;display:block}
#laboratory .section-dock .dock-head small{display:none}
#laboratory .section-tools{flex-wrap:wrap;gap:6px}
#laboratory .section-tools label{display:flex;flex-basis:100%;order:2;margin:8px 0 2px}
#laboratory .section-tools input{flex:1;width:auto}
#laboratory #export-section{margin-left:auto}
#laboratory .section-dock.expanded{position:fixed;right:24px;top:140px;left:auto;bottom:auto;width:min(900px,calc(100vw - 48px));height:min(650px,calc(100dvh - 165px));z-index:15;box-shadow:0 20px 80px #0009}
#laboratory .section-dock.expanded canvas{height:calc(100% - 96px)}
#laboratory .map-panel canvas{height:auto;aspect-ratio:1.4}
@media(min-width:931px){#laboratory.workbench{grid-template-columns:252px minmax(280px,1fr) 350px}}
@media(min-width:1700px){#laboratory.workbench{grid-template-columns:280px minmax(400px,1fr) 390px}}
@media(min-width:931px) and (max-width:1200px){#laboratory.workbench{grid-template-columns:220px minmax(260px,1fr) 300px}}
@media(max-width:930px){#laboratory .section-dock{grid-column:1/-1}}
@media(max-width:620px){#laboratory .section-dock.expanded{top:130px;right:12px;width:calc(100vw - 24px)}}

/* ============================================================
   界面美化层 · 2026-09
   在原有 style.css 之后追加；仅改外观与几个面板的落位，
   不改动任何 DOM 结构、id、class 或脚本逻辑。
   ============================================================ */

:root{--glass:rgba(9,23,38,.62);--glass-2:rgba(11,24,40,.88);--edge:rgba(140,175,200,.22);--edge-soft:rgba(120,160,190,.18)}

/* —— 通用：胶囊化控件 —— */
button{border-radius:999px;padding:9px 18px;transition:background .15s,border-color .15s,color .15s,box-shadow .15s}
button:hover{background:rgba(36,89,147,.5);border-color:#4e9ade}
button.active,button.primary{box-shadow:0 3px 16px rgba(30,119,205,.28)}
select{border-radius:999px;padding:11px 14px;background:rgba(21,46,64,.8);border-color:var(--edge-soft)}
input[type=range]::-webkit-slider-thumb{box-shadow:0 0 8px rgba(40,133,217,.45)}
.panel{border-radius:16px;border-color:var(--edge-soft);background:linear-gradient(150deg,rgba(16,31,48,.82),var(--glass-2));backdrop-filter:blur(18px);box-shadow:0 12px 34px rgba(2,12,24,.28)}

/* —— 顶栏：单行，不再向下压占模型 —— */
header{height:62px;padding:0 22px;background:linear-gradient(180deg,rgba(11,25,41,.92),rgba(8,19,33,.78));backdrop-filter:blur(22px);border-bottom:1px solid rgba(120,160,190,.16)}
.brand-icon{font-size:30px}
.brand h1{font-size:19px;margin:0 0 4px}
.brand p{font-size:9px}
.header-tools button{width:34px;height:34px;font-size:15px;border:1px solid rgba(120,160,190,.2);background:rgba(16,34,54,.5)}
.header-tools button:hover{background:rgba(36,89,147,.55);border-color:#4e9ade;color:#e9f4ff}

/* 板块切换：居中胶囊组 */
.module-nav{position:absolute;left:50%;top:11px;transform:translateX(-50%);height:40px;gap:4px;padding:4px;border-radius:999px;background:rgba(9,23,39,.85);border:1px solid var(--edge-soft)}
.module-nav button{height:32px;padding:0 20px;border-radius:999px;font-size:14px;color:#9db1c9}
.module-nav button.active{color:#fff;border:1px solid #4e9ade;background:linear-gradient(135deg,#2364af,#3182d2);box-shadow:0 3px 16px rgba(30,119,205,.28)}
.module-nav button.active{border-bottom:1px solid #4e9ade}
.module-nav span{font-size:12px;margin-left:6px}

/* 观察视角：并入顶栏右侧，不再浮在模型上方 */
body[data-module="lab"] header .views{position:static;border:1px solid var(--edge-soft);background:rgba(9,23,39,.85);border-radius:999px;padding:3px;gap:3px;margin-left:auto}
.views button{border-radius:999px;padding:8px 15px;font-size:13px}
.views button.active{background:linear-gradient(135deg,#2364af,#3182d2);border-color:#4e9ade;color:#fff}
body[data-module="lab"] .header-tools{margin-left:10px}

/* 顶栏变矮后，工作区重新占满 */
.workbench{height:calc(100dvh - 62px);padding:14px 16px 16px}
@media(min-width:1200px){.workbench{padding-top:14px}}
#regional-explorer{height:calc(100dvh - 62px)}

/* ============================================================
   板块一 · 地质区域探索
   ============================================================ */
.explorer-intro{left:40px;top:34px}
.explorer-intro h2{font-size:34px;letter-spacing:5px}

/* 侧栏顶部对齐、内容高度自适应，为下方控制块让位 */
.region-sidebar{right:26px;top:26px;width:362px;max-height:calc(100% - 250px);border-radius:18px;padding:24px;border:1px solid var(--edge);background:linear-gradient(150deg,rgba(11,33,49,.78),rgba(9,23,38,.86));backdrop-filter:blur(22px);box-shadow:0 24px 70px rgba(2,12,24,.5)}
#region-list{gap:8px}
#region-list>button{padding:13px 12px;border-radius:12px;background:rgba(255,255,255,.02)}
#region-list>button.active{background:rgba(35,73,99,.55);border-color:rgba(102,154,179,.7)}
#region-list strong{font-size:16px}

/* 「剖开地下 / 植被 / 判读配色」从底部小条移到右侧栏底部，胶囊按钮，明显可点 */
.region-controls{left:auto;right:26px;bottom:26px;transform:none;width:362px;display:grid;grid-template-columns:repeat(6,1fr);gap:9px;padding:16px 18px 18px;border-radius:18px;border:1px solid var(--edge);background:linear-gradient(150deg,rgba(11,33,49,.78),rgba(9,23,38,.9));backdrop-filter:blur(22px);box-shadow:0 24px 70px rgba(2,12,24,.5)}
.region-controls button{grid-column:span 3;padding:9px 10px;font-size:13px;border-radius:999px;border:1px solid var(--edge-soft);background:rgba(16,34,54,.5)}
.region-controls button:hover{background:rgba(36,89,147,.5);border-color:#4e9ade}
.region-controls label{grid-column:span 2;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 6px;font-size:12.5px;white-space:nowrap;border:1px solid var(--edge-soft);border-left:1px solid var(--edge-soft);border-radius:999px;background:rgba(16,34,54,.45);color:#b6cadd}
.region-controls label:hover{border-color:rgba(126,196,255,.55);background:rgba(36,89,147,.35)}
.region-controls label:has(input:checked){border-color:rgba(126,196,255,.55);background:rgba(36,89,147,.45);color:#e6f3ff}

/* 原生方框改为小拨动开关 */
.region-controls input[type=checkbox],#laboratory .check-grid input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:none;width:22px;height:13px;margin:0;border-radius:999px;background:rgba(120,160,190,.35);position:relative;cursor:pointer;transition:background .15s}
.region-controls input[type=checkbox]::after,#laboratory .check-grid input[type=checkbox]::after{content:"";position:absolute;top:2px;left:2px;width:9px;height:9px;border-radius:50%;background:#d7e8f5;transition:transform .15s}
.region-controls input[type=checkbox]:checked,#laboratory .check-grid input[type=checkbox]:checked{background:#6fc0f5;box-shadow:0 0 10px rgba(111,192,245,.5)}
.region-controls input[type=checkbox]:checked::after,#laboratory .check-grid input[type=checkbox]:checked::after{transform:translateX(9px)}
.region-caption{left:40px;bottom:34px}
.region-mouse{left:50%;right:auto;transform:translateX(-50%);bottom:34px;font-size:11px;letter-spacing:1px;padding:8px 18px;border-radius:999px;background:rgba(10,24,39,.5);border:1px solid rgba(120,160,190,.14);backdrop-filter:blur(10px)}
.terrain-label{border-radius:999px;padding:9px 15px;background:rgba(16,41,57,.78);backdrop-filter:blur(12px)}

/* ============================================================
   板块二 · 过程与剖面实验室
   ============================================================ */
/* 显式网格：左栏与中间三维通栏，右栏上方是面板、下方是时间轴 */
@media(min-width:931px){
  #laboratory.workbench{grid-template-columns:296px minmax(0,1fr) 392px;grid-template-rows:minmax(0,1fr) auto}
  #laboratory .left-panel{grid-area:1/1/3/2}
  #laboratory .center{grid-area:1/2/3/3}
  #laboratory .right-panel{grid-area:1/3/2/4}
}
@media(min-width:1700px){#laboratory.workbench{grid-template-columns:310px minmax(0,1fr) 410px}}
@media(min-width:931px) and (max-width:1200px){#laboratory.workbench{grid-template-columns:230px minmax(0,1fr) 330px}}
.left-panel{border-radius:16px;padding:18px 16px}
.mode-tabs{border:1px solid var(--edge-soft);border-radius:999px;padding:3px;background:rgba(9,23,39,.85);margin:0}
.mode-tabs button{flex:1;border-radius:999px;padding:8px 0;color:#9db1c9}
.mode-tabs button.active{border-bottom:0;color:#fff;background:linear-gradient(135deg,#2364af,#3182d2)!important}
.event-row{border-radius:12px;padding:10px 12px;background:rgba(21,41,59,.5)}
.event-row.selected{background:rgba(23,55,80,.75);border-color:rgba(102,154,179,.6)}
.add-row select{border-radius:999px}
.add-row button{border-radius:999px;padding:9px 16px}
.param-note{border-radius:0 10px 10px 0;padding:11px 13px;background:rgba(19,42,62,.85)}
.center{border-radius:16px;border:1px solid rgba(120,160,190,.14);overflow:hidden}

/* 左栏不能用 backdrop-filter：它会成为定位包含块，把浮层面板裁掉 */
#laboratory .left-panel{backdrop-filter:none;background:linear-gradient(150deg,rgba(16,31,48,.96),rgba(11,24,40,.98))}

/* 「显示与观察」：从左下角移到模型区右上角的悬浮毛玻璃面板 */
#laboratory .display-settings{position:fixed;z-index:8;top:78px;right:calc(392px + 30px);width:236px;margin:0;padding:15px 16px;border:1px solid var(--edge);border-radius:16px;background:var(--glass);backdrop-filter:blur(20px);box-shadow:0 18px 50px rgba(2,12,24,.45)}
@media(min-width:1700px){#laboratory .display-settings{right:calc(410px + 30px)}}
#laboratory .display-settings summary{font-size:12px;letter-spacing:2px;color:#9fc0d6;list-style:none}
#laboratory .display-settings summary::-webkit-details-marker{display:none}
#laboratory .check-grid{grid-template-columns:1fr;gap:7px;margin:12px 0 0;font-size:13px}
#laboratory .check-grid label{gap:9px;padding:11px 14px;border-radius:999px;border:1px solid var(--edge-soft);background:rgba(16,34,54,.45);color:#b6cadd;cursor:pointer}
#laboratory .check-grid label:hover{border-color:rgba(126,196,255,.55);background:rgba(36,89,147,.35)}
#laboratory .check-grid label:has(input:checked){border-color:rgba(126,196,255,.55);background:rgba(36,89,147,.45);color:#e6f3ff}
#laboratory .check-grid input[type=checkbox]{margin:0}
.scene-heading{top:18px;left:22px;right:22px}
.scene-hints{top:auto;bottom:16px;left:150px}
#laboratory #viewport{inset:0}
#laboratory .stage-label{bottom:16px;left:22px}
.north{right:24px;top:auto;bottom:56px}
.status{border-radius:999px}

/* 右侧栏：剖面 / 地质图 / 图例 / 判读，末端接紧凑时间轴 */
.right-panel{gap:12px}
.right-panel .panel{padding:14px 15px;border-radius:16px}
.section-tools button{border-radius:999px;padding:6px 13px;font-size:11.5px;background:rgba(18,38,59,.8)}
.legend-row{border-radius:6px}

/* ============================================================
   帮助弹窗
   ============================================================ */
dialog{border-radius:20px;border:1px solid var(--edge);background:linear-gradient(150deg,rgba(16,34,53,.96),rgba(10,23,38,.98));backdrop-filter:blur(24px);box-shadow:0 30px 100px rgba(0,0,0,.6)}
dialog h2{font-family:"Songti SC","Noto Serif SC",serif;letter-spacing:2px}
dialog .guide-grid article{padding:16px 18px;border-radius:14px;border:1px solid var(--edge-soft);background:rgba(255,255,255,.02);margin:8px 0}
dialog .guide-grid{gap:4px 16px}
dialog>button.close-dialog:first-child{width:34px;height:34px;border-radius:50%;background:rgba(16,34,54,.6);border:1px solid var(--edge-soft);font-size:20px;line-height:1}

/* Separate exploration and display cards in one responsive right-hand stack. */
#regional-explorer .region-sidebar{display:flex;flex-direction:column;gap:14px;max-height:calc(100% - 52px);padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;overflow:visible}
#regional-explorer .region-menu,#regional-explorer .region-sidebar>.region-controls{border:1px solid var(--edge);border-radius:18px;background:linear-gradient(150deg,rgba(11,33,49,.78),rgba(9,23,38,.9));backdrop-filter:blur(22px);box-shadow:0 18px 50px rgba(2,12,24,.3);padding:19px}
#regional-explorer .region-menu{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#486171 transparent}
#regional-explorer .region-sidebar>.region-controls{position:static;inset:auto;transform:none;width:100%;flex-shrink:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;white-space:normal}
#regional-explorer .region-sidebar>.region-controls button{grid-column:span 1;min-width:0;padding:8px;font-size:12px}
#regional-explorer .region-sidebar>.region-controls label{grid-column:span 1;min-width:0;justify-content:center;gap:7px;padding:7px 8px;font-size:12px}
@media(max-width:620px){#regional-explorer .region-sidebar{max-height:65%;bottom:22px;gap:10px}#regional-explorer .region-menu,#regional-explorer .region-sidebar>.region-controls{padding:12px}#regional-explorer .region-sidebar>.region-controls{gap:5px}}

/* Keep laboratory display options in the left sidebar, clear of the model. */
#laboratory .left-panel>.display-settings{position:static;inset:auto;width:100%;margin:0 0 18px;padding:0 0 16px;border:0;border-bottom:1px solid var(--edge-soft);border-radius:0;background:none;backdrop-filter:none;box-shadow:none}
#laboratory .display-settings .check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px;font-size:12px}
#laboratory .display-settings .check-grid label{min-width:0;gap:6px;padding:9px 6px;white-space:nowrap;justify-content:center}
#laboratory .display-settings .check-grid label:last-child{grid-column:1 / -1;justify-content:flex-start;padding-left:12px}

/* Camera movement changes transforms only; avoid refiltering the live canvas. */
#regional-explorer .terrain-label{will-change:transform}
#regional-explorer.camera-moving .terrain-label,#regional-explorer.camera-moving .region-menu,#regional-explorer.camera-moving .region-controls,#regional-explorer.camera-moving .region-mouse,#laboratory.camera-moving .panel{backdrop-filter:none;-webkit-backdrop-filter:none}

/* Line legend: each sample sits on a small rock-coloured chip, as the lines appear on the model. */
.line-key{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 20px;font-size:10px;color:#c6d7e5}
.line-key span{display:inline-flex;align-items:center;gap:6px}
.line-key span::before{content:'';flex:none;width:24px;height:12px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.key-strata::before{background:linear-gradient(transparent 5px,#2e241e 5px 6.5px,transparent 6.5px),linear-gradient(#e2d2ad 0 50%,#c9a877 50%)}
.key-contour::before{background:linear-gradient(transparent 3px,rgba(132,86,44,.65) 3px 4px,transparent 4px 7px,#68401e 7px 9px,transparent 9px),#dccaa3}
.key-fault::before{background:linear-gradient(transparent 4px,#fff1d2 4px 5px,#ba3322 5px 7px,#fff1d2 7px 8px,transparent 8px),#dccaa3}

/* One section diagram with mutually exclusive horizontal / vertical modes. */
#laboratory .section-dock [hidden]{display:none!important}
#laboratory .section-dock .dock-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.section-actions{display:flex;gap:5px}
#laboratory .section-actions button{margin:0;padding:0;width:27px;height:27px;display:grid;place-items:center;font-size:17px;border:1px solid var(--edge-soft);border-radius:50%;color:#a5bfd2;background:transparent}
.section-mode-tabs{display:flex;gap:4px;padding:3px;border:1px solid var(--edge);border-radius:999px;background:#091b2c;margin-bottom:11px;flex-shrink:0}
.section-mode-tabs button{flex:1;padding:9px 4px;border:0;border-radius:999px;background:transparent;color:#93b0c7;font-size:13px;white-space:nowrap}
.section-mode-tabs button small{font-size:10px;margin-left:5px;opacity:.8}
.section-mode-tabs button.active{color:#fff;background:linear-gradient(115deg,#235fa4,#2e84cd);box-shadow:0 2px 9px #0b203c66}
.section-context{display:flex;align-items:center;gap:8px;font-size:11px;color:#92abc0;min-height:29px;margin:0 0 6px;flex-shrink:0}
.section-context output{color:#a7dcff;font-weight:600;font-variant-numeric:tabular-nums}
.section-context-hint{margin-left:auto;font-size:10px;color:#7294ae}
.vertical-context select{width:100px;padding:6px 9px;font-size:11px}
.vertical-context label{display:flex;align-items:center;gap:7px;flex:1;min-width:0;white-space:nowrap}
.vertical-context input{min-width:0;width:100%;margin:0;accent-color:#59b1f3}
#endpoint-settings{margin:0 0 6px;font-size:11px;color:#91abc0}
#endpoint-settings summary{cursor:pointer;padding:2px 0 5px;font-size:10px}
.endpoint-grid{display:grid;grid-template-columns:18px 1fr 1fr;gap:5px 8px;align-items:center;padding:6px 0}
.endpoint-grid span{font-size:10px;color:#7393ab}
.endpoint-grid input{width:100%;min-width:0;padding:5px 7px;color:#c7deed;background:#0b1d2e;border:1px solid var(--edge);border-radius:6px;font:inherit}
.section-plot{position:relative;min-height:0}
.section-plot.horizontal{padding-right:25px}
#laboratory .section-dock canvas{height:260px;width:100%;display:block}
#slice-rail{position:absolute;right:0;top:23px;bottom:26px;width:21px;display:flex;justify-content:center}
#slice-height{writing-mode:vertical-lr;direction:rtl;width:20px;height:100%;margin:0;background:linear-gradient(#2c4256,#2c4256) center/4px 100% no-repeat;accent-color:#63b7f5;cursor:ns-resize;touch-action:none}
#section-caption{margin:5px 0 0;font-size:10px;color:#7e9db5;line-height:1.5;flex-shrink:0}
#laboratory .section-dock.expanded{display:flex;flex-direction:column;overflow:auto}
#laboratory .section-dock.expanded .section-plot{flex:1;min-height:150px}
#laboratory .section-dock.expanded canvas{height:100%;min-height:0}
#laboratory .section-dock.expanded>.dock-head,#laboratory .section-dock.expanded>#vertical-controls{flex-shrink:0}
#laboratory .display-settings .check-grid label:last-child{grid-column:1/-1;justify-content:center}

.vertical-cut-option{display:flex;align-items:center;gap:7px;margin:0 0 8px;font-size:12px;color:#a7c5dd;cursor:pointer}
.vertical-cut-option input{margin:0;accent-color:#59b1f3}

.legend-rock-category{font-size:10px;color:#8fa9be;font-weight:400}
.legend-row .swatch,.legend-row .legend-code{flex-shrink:0}

/* ============================================================
   地质事件链：浮在三维画面底部的演化坞 + 参数浮层
   ============================================================ */
@media(min-width:931px){
 #laboratory.workbench{grid-template-columns:260px minmax(0,1fr) 350px;grid-template-rows:minmax(0,1fr);gap:12px}
 #laboratory .left-panel{grid-area:1/1/2/2}
 #laboratory .center{grid-area:1/2/2/3}
 #laboratory .right-panel{grid-area:1/3/2/4}
}
@media(min-width:1700px){#laboratory.workbench{grid-template-columns:290px minmax(0,1fr) 400px}}
@media(max-width:930px){#laboratory.workbench{grid-template-rows:650px auto}#laboratory .right-panel{grid-row:2}}

/* 左栏：模式切换紧接它所控制的判读卡 */
#laboratory .left-panel{display:flex;flex-direction:column}
#laboratory .left-panel>*{flex-shrink:0}
.left-panel .reading-panel{margin:12px 0 0;padding:13px 14px 12px;border:1px solid var(--edge-soft);border-left:2px solid #4388b1;border-radius:12px;background:rgba(19,42,62,.5)}
.left-panel .reading-panel .panel-title{font-size:13px;margin-bottom:6px}
#laboratory .left-panel>.display-settings{margin:18px 0 10px;padding:14px 0 0;border-top:1px solid var(--edge-soft);border-bottom:0}
#laboratory .left-panel>.display-settings summary{cursor:pointer;letter-spacing:1px}#laboratory .left-panel>.display-settings summary::after{content:'＋';float:right}#laboratory .left-panel>.display-settings[open] summary::after{content:'−'}
#laboratory .left-panel .model-note{margin-top:auto;padding-top:16px}

/* 画面说明让出底部，只留演化坞 */
#laboratory .stage-label{top:76px;bottom:auto;left:22px}
#laboratory .scene-hints{top:60px;bottom:auto;left:auto;right:22px;flex-direction:column;align-items:flex-end;gap:5px}
#laboratory .north{top:116px;bottom:auto;right:26px}

/* 演化坞：随内容收缩，居中浮于画面底部 */
#laboratory .event-dock{--tile:76px;--tile-h:64px;--gap:26px;--thumb:14px;position:absolute;left:0;right:0;bottom:14px;z-index:5;margin:0 auto;width:max-content;max-width:calc(100% - 28px);display:flex;align-items:center;gap:14px;padding:16px 16px 7px 14px;border:1px solid rgba(140,185,220,.24);border-radius:18px;background:linear-gradient(160deg,rgba(15,36,56,.8),rgba(8,21,36,.86));backdrop-filter:blur(16px) saturate(1.15);-webkit-backdrop-filter:blur(16px) saturate(1.15);box-shadow:0 18px 44px rgba(2,10,22,.5),inset 0 1px 0 rgba(255,255,255,.05)}
.dock-title{position:absolute;left:18px;top:0;transform:translateY(-50%);padding:3px 11px;border:1px solid rgba(140,185,220,.3);border-radius:999px;background:#0d2236;font-size:11.5px;font-weight:600;letter-spacing:1px;color:#d3e6f4;white-space:nowrap;pointer-events:none}
.dock-title small{margin-left:6px;font-size:10.5px;font-weight:400;letter-spacing:0;color:#80a5bf}
.dock-controls{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;align-self:stretch;padding:0 14px 6px 0;border-right:1px solid rgba(140,185,220,.16)}
#laboratory .dock-controls .play-controls{display:flex;align-items:center;gap:7px}
#laboratory .dock-controls .play-controls button{width:28px;height:28px;padding:0;font-size:10px;color:#a9cbe6;background:rgba(16,36,56,.6);border-color:rgba(140,185,220,.22);box-shadow:none}
#laboratory .dock-controls .play-controls .play{width:44px;height:44px;font-size:15px;color:#fff;background:linear-gradient(135deg,#2364af,#3490de);border-color:#5aa6e6;box-shadow:0 4px 18px rgba(40,130,220,.4)}
#laboratory .dock-controls select{width:64px;padding:3px 8px;font-size:11px;text-align:center;color:#a9c8de;background:rgba(16,36,56,.6);border-color:rgba(140,185,220,.2)}
#laboratory .event-track{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 2px 0;scrollbar-width:thin;scrollbar-color:#3c647c transparent;overscroll-behavior-x:contain}
.event-lane{display:flex;align-items:flex-start;gap:var(--gap);flex:none}
#event-list{display:flex;gap:var(--gap);list-style:none;margin:0;padding:0;flex:none}
.flow-origin,.event-card,.add-card{position:relative;flex:0 0 var(--tile);width:var(--tile);height:var(--tile-h);border-radius:12px}
.flow-origin{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed rgba(170,180,150,.38);background:rgba(44,54,46,.3);color:#b9c6b5}
.flow-origin>span{font-size:24px;line-height:1;color:#cdbd8c}.flow-origin b{font-size:12px;font-weight:500}
.event-card{border:1px solid rgba(120,170,205,.26);background:linear-gradient(160deg,rgba(28,56,80,.72),rgba(15,34,52,.72));color:#9fcbe3;cursor:grab;user-select:none;transition:border-color .15s,background .15s,box-shadow .15s}
.event-card:hover{border-color:rgba(120,190,235,.62);background:linear-gradient(160deg,rgba(34,68,96,.85),rgba(18,40,60,.85))}
.event-card.editing{border-color:#7cc6f2;background:linear-gradient(150deg,rgba(38,92,138,.92),rgba(22,55,82,.92));box-shadow:0 0 0 3px rgba(108,187,233,.2),0 8px 22px rgba(4,16,30,.5);color:#d4efff}
.event-card.is-current{border-color:#89e1cb;box-shadow:0 0 0 2px rgba(137,225,203,.35),0 0 18px rgba(137,225,203,.22)}
.event-card.is-future .event-icon{opacity:.45}
.event-card.disabled{border-style:dashed}.event-card.disabled .event-icon{opacity:.28}.event-card.disabled .event-card-name{color:#7f93a3}
.event-card.dragging{opacity:.35}
.event-select{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:100%;padding:7px 3px 5px;border:0;border-radius:12px;background:transparent!important;color:inherit;cursor:inherit;box-shadow:none!important}
.event-icon{display:block;width:30px;height:30px}.event-icon svg{width:100%;height:100%}.event-icon .accent{stroke:#eac087}
.event-card-name{font-size:12.5px;font-weight:600;letter-spacing:.5px;white-space:nowrap;color:#dcebf5}
.event-card-name small{margin-right:4px;font-size:9.5px;font-weight:500;letter-spacing:0;color:#7fa8c4}
.event-toggle,.event-remove{position:absolute;top:3px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:transparent;font-size:9px;line-height:18px;color:#79c1e3;opacity:0;box-shadow:none;transition:opacity .15s,background .15s}
.event-toggle{left:3px}.event-remove{right:3px;font-size:14px;color:#9fb4c3}
.event-card:hover :is(.event-toggle,.event-remove),.event-card:focus-within :is(.event-toggle,.event-remove),.event-card.editing :is(.event-toggle,.event-remove),.event-card.disabled .event-toggle{opacity:1}
.event-toggle:hover{background:rgba(80,150,200,.3)}.event-remove:hover{background:#6b3a45;color:#ffe0e0}
.event-toggle:disabled,.event-remove:disabled{display:none}
.event-lock{position:absolute;top:5px;right:6px;width:11px;height:11px;color:#e6c27f;pointer-events:none}
.event-lock svg{display:block;width:100%;height:100%}.event-lock rect{fill:currentColor}.event-lock path{stroke:currentColor;stroke-width:1.8}
.flow-origin::after,.event-card::after{content:'';position:absolute;top:calc(50% - 4px);left:calc(100% + var(--gap)/2 - 5px);width:7px;height:7px;border-top:1.5px solid #5d8fb0;border-right:1.5px solid #5d8fb0;transform:rotate(45deg);pointer-events:none}
#event-list .event-card:last-child::after{display:none}
.event-card.drop-before::before,.event-card.drop-after::before{content:'';position:absolute;top:6px;bottom:6px;left:calc(var(--gap)/-2 - 2px);width:3px;border-radius:3px;background:#8de4d3;box-shadow:0 0 9px #8de4d388}
.event-card.drop-after::before{left:auto;right:calc(var(--gap)/-2 - 2px)}
.flow-empty{display:flex;align-items:center;height:var(--tile-h);padding:0 2px;font-size:12px;white-space:nowrap;color:#8eb1c9}
.add-card{flex:none;align-self:flex-start;margin:2px 0 0 calc(var(--gap) - 14px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0;border:1px dashed rgba(110,185,240,.5);background:rgba(30,90,150,.12);color:#8fcaf5;box-shadow:none}
.add-card span{font-size:22px;font-weight:300;line-height:1}.add-card b{font-size:11.5px;font-weight:500}
.add-card:hover,.add-card[aria-expanded="true"]{border-style:solid;border-color:#6cbbe9;background:rgba(40,110,180,.3);color:#d6efff}

/* 进度轨：每个刻度正对一个事件图标，拖动即回看 */
.rail-row{display:flex;align-items:center;gap:12px;flex:none;height:20px}
.time-rail{position:relative;flex:none;height:20px;margin-left:calc(var(--tile)/2 - var(--thumb)/2);width:calc(var(--n,0)*(var(--tile) + var(--gap)) + var(--thumb))}
.rail-line{position:absolute;left:calc(var(--thumb)/2);right:calc(var(--thumb)/2);top:50%;height:2px;margin-top:-1px;border-radius:2px;background:rgba(120,165,200,.25)}
.rail-fill{position:absolute;left:0;top:0;bottom:0;width:calc(var(--p,1)*100%);border-radius:2px;background:linear-gradient(90deg,#3f8fdc,#8de4d3)}
#rail-ticks i{position:absolute;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#1d374c;border:1px solid rgba(140,185,220,.4)}
#rail-ticks i.passed{background:#8de4d3;border-color:#8de4d3}
#laboratory #time{position:absolute;inset:0;width:100%;height:100%;margin:0;background:transparent;cursor:pointer}
#laboratory #time::-webkit-slider-runnable-track{height:20px;background:transparent}
#laboratory #time::-webkit-slider-thumb{box-sizing:border-box;width:var(--thumb);height:var(--thumb);margin-top:3px;border:3px solid #4a9be6;background:#e4f4ff;box-shadow:0 0 10px rgba(80,170,240,.6)}
#laboratory #time::-moz-range-track{background:transparent}
#laboratory #time::-moz-range-thumb{box-sizing:border-box;width:var(--thumb);height:var(--thumb);border:3px solid #4a9be6;border-radius:50%;background:#e4f4ff}
#time-label{padding-right:4px;font-size:11px;letter-spacing:.5px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#a9c5db}
#laboratory .event-track.fade-end{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
#laboratory .event-track.fade-start{-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px);mask-image:linear-gradient(90deg,transparent,#000 28px)}
#laboratory .event-track.fade-start.fade-end{-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent)}

/* 浮层：参数面板与事件选择，从被点击的图标上方弹出 */
.flow-popover{position:absolute;z-index:7;display:flex;flex-direction:column;width:300px;max-width:calc(100% - 24px);border:1px solid rgba(130,190,235,.34);border-radius:16px;background:linear-gradient(165deg,rgba(20,44,66,.95),rgba(10,24,40,.96));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 22px 60px rgba(2,10,22,.6),inset 0 1px 0 rgba(255,255,255,.06);animation:pop-in .16s ease-out}
.flow-popover.wide{width:460px}
@keyframes pop-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.popover-arrow{position:absolute;left:var(--arrow-x,50%);bottom:-7px;width:13px;height:13px;margin-left:-6.5px;transform:rotate(45deg);background:#0b1b2d;border-right:1px solid rgba(130,190,235,.34);border-bottom:1px solid rgba(130,190,235,.34);pointer-events:none}
.center.dragging-event .flow-popover{opacity:0;pointer-events:none}
#event-params{min-height:0;overflow-y:auto;padding:14px 16px;scrollbar-width:thin;scrollbar-color:#30485e transparent}
.pop-head{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.pop-icon{flex:none;width:40px;height:40px;padding:5px;border:1px solid rgba(120,190,235,.3);border-radius:10px;background:rgba(40,95,140,.45);color:#a9dcf3}
.pop-icon svg{display:block;width:100%;height:100%}.pop-icon .accent{stroke:#eac087}
.pop-head>div{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.pop-head small{overflow:hidden;font-size:10.5px;white-space:nowrap;text-overflow:ellipsis;color:#89aec8}
.pop-head b{font-size:17px;font-weight:600;letter-spacing:1px;color:#eef7ff}
.pop-close{flex:none;align-self:flex-start;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;font-size:19px;line-height:1;color:#94afc4;box-shadow:none}
.pop-close:hover{background:rgba(120,170,210,.18);color:#fff}
.pop-tools{display:flex;gap:6px;padding-bottom:12px;border-bottom:1px solid rgba(130,175,210,.16)}
.pop-tools button{flex:1;padding:6px 0;font-size:12px;color:#b5cfe2;background:rgba(18,40,60,.7);border:1px solid rgba(130,175,210,.22);box-shadow:none}
.pop-tools button.on{color:#ffe2a8;border-color:rgba(234,192,135,.5);background:rgba(120,90,40,.25)}
.pop-tools .danger:hover{color:#ffe0e0;border-color:#c56b78;background:#6b3a45}
.pop-params{display:grid;grid-template-columns:minmax(0,1fr);gap:0 22px}
.flow-popover.wide .pop-params{grid-template-columns:repeat(2,minmax(0,1fr))}
#event-params .param{margin:12px 0 0}
#event-params .param-label{align-items:baseline;margin-bottom:7px;font-size:12.5px;color:#c9dbe8}
#event-params .param-note{margin:14px 0 0;font-size:11.5px;line-height:1.65}
.event-picker{width:340px;padding:14px 14px 12px}
.picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:14px}
.picker-heading button{width:26px;height:26px;padding:0;border:0;background:transparent;font-size:19px;box-shadow:none}
#event-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
#event-options button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:9px 3px;border-radius:10px;border-color:rgba(120,170,205,.3);background:rgba(24,52,74,.8);font-size:12px;color:#bddbe9}
#event-options button:hover{border-color:#6ebfea;background:#235078}
#event-options svg{width:30px;height:30px;color:#90cce8}#event-options .accent{stroke:#eac087}
.event-picker p{margin:12px 0 0;font-size:11px;color:#8aaac1}
#laboratory.camera-moving :is(.event-dock,.flow-popover){backdrop-filter:none;-webkit-backdrop-filter:none}
body[data-module="lab"] #toast{top:78px;bottom:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:is(.event-select,.event-toggle,.event-remove,.add-card,#event-options button,.pop-tools button,.pop-close):focus-visible{outline:2px solid #8de4d3;outline-offset:2px}
@media(max-width:1100px){#laboratory .scene-hints{display:none}}
@media(max-width:1450px){#laboratory .event-dock{--tile:72px;--gap:20px}#laboratory .event-card-name{font-size:12px;letter-spacing:0}}
@media(max-width:620px){#laboratory .event-dock{--tile:64px;--tile-h:60px;--gap:18px;bottom:8px;gap:10px;max-width:calc(100% - 16px);padding:15px 10px 6px}.dock-controls{padding-right:10px}.dock-title small{display:none}.event-card-name{font-size:11px;letter-spacing:0}.event-card-name small{margin-right:2px}.flow-popover.wide{width:360px}.pop-params{column-gap:14px}#event-params{padding:12px 14px}#event-params .param-label{font-size:12px}}
@media(min-width:1201px) and (max-width:1450px){body[data-module="lab"] .module-nav{left:300px;transform:none}body[data-module="lab"] .module-nav button{font-size:12px;padding:0 14px}body[data-module="lab"] .views button{font-size:12px;padding:8px 11px}}
@media(min-width:931px) and (max-width:1200px){body[data-module="lab"] header{height:102px;align-items:flex-start;padding-top:12px}body[data-module="lab"] header .views{position:absolute;right:20px;top:61px;margin:0}body[data-module="lab"] .header-tools{margin-left:auto}#laboratory.workbench{height:calc(100dvh - 102px)}}

/* ============================================================
   窄屏（≤930px）：顶栏分行，板块切换独占一行；实验室改为页面滚动，三维画面保持固定高度
   ============================================================ */
@media(max-width:930px){
 header{height:auto;min-height:60px;flex-wrap:wrap;padding:10px 16px;gap:10px 14px}
 .brand{flex:1;min-width:0}
 .header-tools{gap:6px}.header-tools button{width:30px;height:30px;font-size:14px}
 .module-nav{position:static;transform:none;left:auto;top:auto;margin:8px auto;width:max-content;max-width:calc(100% - 24px);height:40px}
 .module-nav button{height:32px;padding:0 16px;font-size:13px;border-bottom:0}
 .module-nav button.active{border-bottom:1px solid #4e9ade}
 .views button{padding:7px 11px;font-size:12px}
 body[data-module="lab"] header .views{position:static;margin-left:auto}
 #regional-explorer{height:calc(100dvh - 116px);min-height:560px}
 .workbench,#laboratory.workbench{height:auto}
 body[data-module="lab"] #toast{top:124px}
}
/* 顶栏放不下视角切换时，把它移到板块切换下方、三维画面上方 */
@media(max-width:780px){
 body[data-module="lab"] header{position:relative}
 body[data-module="lab"] header .views{position:absolute;left:50%;top:calc(100% + 56px);transform:translateX(-50%);z-index:6;width:max-content;margin:0}
 body[data-module="lab"] header .views button{white-space:nowrap}
 body[data-module="lab"] #laboratory.workbench{padding-top:62px}
}
@media(max-width:620px){
 header{padding:10px 12px;gap:8px}
 .brand{gap:9px}.brand-icon{font-size:26px}.brand h1{font-size:17px;letter-spacing:1px}.brand p{font-size:8px;letter-spacing:1.5px}
 .header-tools{gap:4px}.header-tools button{width:29px;height:29px}
 .module-nav button{padding:0 13px}
 .views button{padding:7px 9px}
 #laboratory.workbench{display:flex;flex-direction:column;gap:12px;padding:12px 12px 20px}
 body[data-module="lab"] #laboratory.workbench{padding-top:60px}
 #laboratory.workbench>*{flex-shrink:0;min-height:0}
 #laboratory .center{order:0;height:clamp(460px,calc(100svh - 200px),620px)}
 #laboratory .left-panel{order:1;max-height:none;overflow:visible}
 #laboratory .right-panel{order:2;overflow:visible}
}
/* 三维画面较窄时（平板竖屏、手机），播放控制移到事件链上方一行，留出更多位置给事件图标 */
#laboratory .center{container:lab-view/inline-size}
@container lab-view (max-width:560px){
 #laboratory .event-dock{flex-wrap:wrap;row-gap:9px}
 #laboratory .dock-controls{flex-direction:row;flex-basis:100%;justify-content:space-between;align-self:auto;padding:0 2px 9px;border-right:0;border-bottom:1px solid rgba(140,185,220,.16)}
 #laboratory .dock-controls .play-controls .play{width:38px;height:38px}
 #laboratory .event-track{flex:1}
 #laboratory .add-card{margin-left:0}
}
/* 手机上的区域探索：选择面板改为底部抽屉，让出标题和景观 */
@media(max-width:620px){
 #regional-explorer .region-sidebar{top:auto;left:12px;right:12px;bottom:12px;width:auto;max-height:52%;gap:8px}
 #regional-explorer .region-menu,#regional-explorer .region-sidebar>.region-controls{padding:10px 12px;border-radius:16px}
 #regional-explorer #region-welcome{margin-bottom:8px}
 #regional-explorer #region-list{flex-direction:row;gap:6px}
 #regional-explorer #region-list>button{flex:1;justify-content:center;padding:9px 4px;border-radius:10px;text-align:center}
 #regional-explorer #region-list strong{font-size:13px}
 #regional-explorer #region-list small,#regional-explorer .district-number,#regional-explorer .district-arrow{display:none}
 #regional-explorer .region-sidebar>.region-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 #regional-explorer .region-sidebar>.region-controls :is(button,label){padding:7px 2px;font-size:11.5px}
 #regional-explorer .region-caption,#regional-explorer .region-mouse{display:none}
 #regional-explorer .explorer-intro{left:18px;right:18px;top:18px}
}

/* ============================================================
   视觉层 · 暖光天空与毛玻璃（只改外观，不改结构与交互）
   ============================================================ */
:root{--muted:#b0c4d6;--glass-bg:linear-gradient(160deg,rgba(62,104,152,.42),rgba(16,40,72,.56) 55%,rgba(10,30,56,.62));--glass-border:rgba(200,228,255,.28);--glass-shadow:0 18px 44px rgba(6,22,44,.3),inset 0 1px 0 rgba(255,255,255,.18);--glass-blur:blur(22px) saturate(1.5);--soft:rgba(255,255,255,.07);--soft-hover:rgba(120,185,255,.2);--soft-border:rgba(205,230,255,.22);--active:linear-gradient(135deg,#2a78e4,#4fa7ff);--active-border:rgba(175,218,255,.8);--active-glow:0 4px 18px rgba(58,146,255,.45)}
body{color:#e9f2fa;background:
 radial-gradient(circle at 71% 43%,rgba(255,246,222,.95) 0,rgba(255,232,186,.75) 2.2%,rgba(255,214,150,.38) 7%,rgba(255,196,130,0) 16%),
 radial-gradient(ellipse 48% 22% at 70% 47%,rgba(255,206,140,.75),rgba(255,180,115,.3) 50%,rgba(255,170,110,0) 80%),
 radial-gradient(ellipse 20% 4.5% at 20% 17%,rgba(255,255,255,.34),rgba(255,255,255,0) 72%),
 radial-gradient(ellipse 15% 3.5% at 43% 11%,rgba(255,250,240,.28),rgba(255,255,255,0) 72%),
 radial-gradient(ellipse 24% 5.5% at 70% 20%,rgba(255,240,218,.34),rgba(255,255,255,0) 72%),
 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 220' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23dbe7ef' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cfdde8' stop-opacity='.85'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 220L0 83L16 85L32 82L48 76L64 73L80 72L96 75L112 81L128 88L144 98L160 93L176 83L192 76L208 71L224 69L240 70L256 73L272 74L288 69L304 66L320 66L336 70L352 76L368 86L384 97L400 102L416 104L432 108L448 113L464 113L480 114L496 118L512 123L528 118L544 114L560 109L576 103L592 101L608 101L624 104L640 105L656 99L672 95L688 94L704 95L720 99L736 106L752 104L768 95L784 84L800 75L816 68L832 65L848 65L864 68L880 72L896 67L912 63L928 63L944 65L960 71L976 79L992 90L1008 97L1024 98L1040 93L1056 88L1072 86L1088 87L1104 90L1120 96L1136 94L1152 91L1168 90L1184 93L1200 98L1216 106L1232 117L1248 129L1264 128L1280 124L1296 122L1312 123L1328 119L1344 115L1360 112L1376 106L1392 94L1408 84L1424 77L1440 73L1456 72L1472 74L1488 79L1504 76L1520 72L1536 71L1552 72L1568 76L1584 83L1600 92L1600 220Z' fill='%23a9c1d6'/%3E%3Cpath d='M0 220L0 118L20 126L40 133L60 134L80 137L100 143L120 152L140 162L160 165L180 159L200 151L220 144L240 139L260 138L280 140L300 132L320 127L340 125L360 127L380 131L400 139L420 138L440 130L460 122L480 118L500 116L520 118L540 114L560 109L580 107L600 109L620 115L640 123L660 128L680 129L700 133L720 138L740 138L760 141L780 141L800 136L820 134L840 135L860 141L880 149L900 155L920 149L940 145L960 145L980 148L1000 153L1020 152L1040 140L1060 130L1080 123L1100 119L1120 119L1140 121L1160 114L1180 110L1200 110L1220 113L1240 120L1260 129L1280 129L1300 129L1320 124L1340 121L1360 122L1380 126L1400 123L1420 119L1440 119L1460 122L1480 130L1500 140L1520 144L1540 147L1560 152L1580 160L1600 165L1600 220Z' fill='%2386a6c1'/%3E%3Cpath d='M0 220L0 168L24 173L48 171L72 171L96 168L120 167L144 168L168 161L192 158L216 158L240 162L264 168L288 169L312 171L336 176L360 184L384 188L408 185L432 181L456 181L480 184L504 187L528 183L552 178L576 176L600 178L624 183L648 183L672 177L696 170L720 167L744 166L768 164L792 158L816 156L840 158L864 164L888 168L912 168L936 171L960 173L984 174L1008 174L1032 170L1056 168L1080 170L1104 175L1128 182L1152 182L1176 185L1200 192L1224 195L1248 197L1272 186L1296 178L1320 173L1344 171L1368 172L1392 166L1416 162L1440 162L1464 166L1488 172L1512 172L1536 170L1560 166L1584 165L1608 166L1600 220Z' fill='%236a8fae'/%3E%3Crect y='150' width='1600' height='70' fill='url(%23h)'/%3E%3C/svg%3E") 0 36%/100% 17% no-repeat,
 radial-gradient(ellipse 30% 9% at 70% 54%,rgba(255,214,150,.55),rgba(255,214,150,0) 75%),
 linear-gradient(180deg,rgba(0,0,0,0) 0 52.4%,#6f97b5 52.5%,#4a7ba3 58%,#2b5d88 74%,#173f65 100%),
 linear-gradient(180deg,#1a4577 0%,#3070a8 18%,#7ba7cc 33%,#d9c7a4 43%,#f5c78c 49%,#f7b979 52.5%);
 background-attachment:fixed}
option{background:#16314f;color:#e8f2fb}

/* 通用控件：半透明胶囊，悬停提亮，选中为明亮蓝色 */
button,select{background:var(--soft);border-color:var(--soft-border);color:#e3eef8}
button:hover{background:var(--soft-hover);border-color:rgba(160,210,255,.6)}
button.active,button.primary,.module-nav button.active,.views button.active,.mode-tabs button.active,.section-mode-tabs button.active{background:var(--active)!important;border-color:var(--active-border);color:#fff;box-shadow:var(--active-glow)}
select{background-color:rgba(255,255,255,.08)}
input[type=range]{background:rgba(255,255,255,.2)}
input[type=range]::-webkit-slider-thumb{background:#fff;border-color:#3d92f5;box-shadow:0 0 10px rgba(80,160,255,.6)}
.muted{color:var(--muted)}

/* 顶栏与板块切换 */
header{background:linear-gradient(180deg,rgba(12,36,66,.62),rgba(12,36,66,.3));backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);border-bottom:1px solid rgba(210,232,255,.16);box-shadow:0 6px 24px rgba(6,22,44,.18)}
.brand-icon{color:#bfe0ff;text-shadow:0 0 18px rgba(120,190,255,.6)}
.brand h1{color:#fff;text-shadow:0 2px 14px rgba(6,24,48,.45)}
.brand p{color:#b9d2e8}
.module-nav,body[data-module="lab"] header .views{background:rgba(255,255,255,.08);border:1px solid var(--soft-border);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.module-nav button,.views button{color:#d7e6f4}
.header-tools button{background:rgba(255,255,255,.08);border-color:var(--soft-border);color:#e6f1fb}
.header-tools button:hover{background:rgba(120,185,255,.28);border-color:rgba(170,215,255,.7)}

/* 面板：统一毛玻璃 */
.panel,#laboratory .left-panel,#laboratory .section-dock.expanded{background:var(--glass-bg);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
#laboratory.workbench{background:transparent}
#laboratory.camera-moving .panel{backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
.panel-title,.dock-head strong{color:#f3f8fd}
.small-label,.legend-rock-category,.age-note,.canvas-caption,#section-caption,.model-note{color:#a9c1d6}
.mode-tabs,.section-mode-tabs{background:rgba(6,22,42,.28);border-color:var(--soft-border)}
.mode-tabs button,.section-mode-tabs button{color:#d3e3f1}
.left-panel .reading-panel{background:rgba(255,255,255,.06);border-color:var(--soft-border);border-left-color:#5fb0ff}
#reading{color:#d2e1ee}#reading strong{color:#fff}.reading-tag{color:#8fd8ff}
#laboratory .check-grid label{background:rgba(255,255,255,.06);border-color:var(--soft-border);color:#d6e5f2}
#laboratory .check-grid label:has(input:checked){background:rgba(70,150,245,.32);border-color:rgba(160,210,255,.7);color:#fff}
.param-note{background:rgba(255,255,255,.07);border-left-color:#5fb0ff;color:#d0e0ee}
.legend-row{color:#e0ecf6}.legend-name{color:#e6f0f8}.legend-code{color:#cfe0ee}
.legend-row:hover,.legend-row.chosen{background:rgba(120,185,255,.18);border-color:rgba(160,210,255,.5)}
.endpoint-grid input{background:rgba(255,255,255,.08);border-color:var(--soft-border);color:#eef5fb}
#laboratory .section-actions button{background:rgba(255,255,255,.07);border-color:var(--soft-border);color:#e1edf7}
.text-button{background:none!important;border:0!important;box-shadow:none!important;color:#9fd4ff}
.point-values,.core-segment{color:#d9e7f2}

/* 三维区：去掉深色画框，模型浮在天空与海面之上 */
.center,#laboratory .center{background:none;border:0;border-radius:18px}
.eyebrow{color:#d6e7f6;text-shadow:0 1px 8px rgba(6,24,48,.5)}
.scene-heading h2{color:#fff;font-weight:600;text-shadow:0 2px 16px rgba(6,24,48,.55)}
.status{background:rgba(255,255,255,.12);border-color:rgba(210,232,255,.4);color:#f1f8ff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.scene-hints,.stage-label,.north{color:#e8f2fb;text-shadow:0 1px 8px rgba(6,24,48,.6)}
.north small{color:#d0e2f2}.live-dot{background:#8ff0ff;box-shadow:0 0 10px #8ff0ff}

/* 事件链与浮层 */
#laboratory .event-dock{background:linear-gradient(160deg,rgba(66,110,160,.42),rgba(14,38,70,.58));border-color:var(--glass-border);box-shadow:0 18px 44px rgba(6,22,44,.34),inset 0 1px 0 rgba(255,255,255,.18);backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5)}
.dock-title{background:rgba(22,58,98,.85);border-color:rgba(205,230,255,.4);color:#fff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.dock-title small{color:#bcd6ec}
.dock-controls{border-color:rgba(210,232,255,.2)}
#laboratory .dock-controls .play-controls button,#laboratory .dock-controls select{background:rgba(255,255,255,.1);border-color:var(--soft-border);color:#eaf3fb}
#laboratory .dock-controls .play-controls .play{background:var(--active);border-color:var(--active-border);box-shadow:var(--active-glow)}
.event-card{background:rgba(255,255,255,.08);border-color:rgba(205,230,255,.26);color:#cfe8ff}
.event-card:hover{background:rgba(120,185,255,.2);border-color:rgba(170,215,255,.7)}
.event-card.editing{background:var(--active);border-color:var(--active-border);box-shadow:0 0 0 3px rgba(110,180,255,.25),var(--active-glow);color:#fff}
.event-card.editing .event-icon .accent{stroke:#ffe1a8}
.event-card-name{color:#f3f8fd}.event-card-name small{color:#b6d3ea}
.event-card.editing .event-card-name small{color:#e2f0ff}
.event-card.disabled .event-card-name{color:#a6b8c8}
.flow-origin{background:rgba(236,210,160,.14);border-color:rgba(240,215,165,.5);color:#f1e6cf}.flow-origin>span{color:#f4d99b}
.flow-origin::after,.event-card::after{border-color:rgba(215,235,255,.7)}
.add-card{background:rgba(90,165,255,.14);border-color:rgba(160,210,255,.65);color:#d8ecff}
.add-card:hover,.add-card[aria-expanded="true"]{background:rgba(90,165,255,.3);border-color:#9fd0ff;color:#fff}
.rail-line{background:rgba(255,255,255,.26)}
#rail-ticks i{background:rgba(20,50,86,.9);border-color:rgba(210,232,255,.55)}
#rail-ticks i.passed{background:#9ff0dd;border-color:#9ff0dd}
#time-label{color:#e6f1fa}
.flow-popover{background:linear-gradient(165deg,rgba(62,104,152,.55),rgba(14,38,70,.74));border-color:rgba(205,230,255,.36);box-shadow:0 24px 60px rgba(6,20,40,.45),inset 0 1px 0 rgba(255,255,255,.2);backdrop-filter:blur(24px) saturate(1.5);-webkit-backdrop-filter:blur(24px) saturate(1.5)}
.popover-arrow{background:rgba(16,42,76,.95);border-color:rgba(205,230,255,.36)}
.pop-icon{background:rgba(255,255,255,.1);border-color:rgba(205,230,255,.34);color:#dff0ff}
.pop-head small{color:#c1d7ea}
.pop-tools{border-color:rgba(210,232,255,.2)}
.pop-tools button{background:rgba(255,255,255,.08);border-color:var(--soft-border);color:#e3eef8}
#event-params .param-label{color:#e8f1f9}
#event-options button{background:rgba(255,255,255,.08);border-color:var(--soft-border);color:#e8f2fb}
#event-options button:hover{background:rgba(120,185,255,.26);border-color:rgba(170,215,255,.75)}
#laboratory.camera-moving :is(.event-dock,.flow-popover){background:rgba(18,46,82,.86)}

/* 区域探索：同一套毛玻璃 */
#regional-explorer{background:linear-gradient(180deg,#2a5d92,#8db3d3 30%,#f1d4a8 48%,#2b5b86)}
#regional-explorer:after{background:linear-gradient(0deg,rgba(8,30,56,.5),transparent 16%,transparent 92%,rgba(12,38,66,.12))}
#regional-explorer .region-menu,#regional-explorer .region-sidebar>.region-controls{background:var(--glass-bg);border-color:var(--glass-border);box-shadow:var(--glass-shadow);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
#region-list>button{background:rgba(255,255,255,.06)}
#region-list>button.active{background:rgba(70,150,245,.34);border-color:rgba(170,215,255,.75)}
#region-list small{color:#b3cde2}
.region-controls button,.region-controls label{background:rgba(255,255,255,.07)!important;border-color:var(--soft-border)!important;color:#e3eef8}
.region-controls label:has(input:checked){background:rgba(70,150,245,.34)!important;border-color:rgba(170,215,255,.7)!important;color:#fff}
.region-sidebar p,#district-steps{color:#d6e5f1}
.terrain-label{background:rgba(22,58,98,.55);border-color:rgba(215,235,255,.45);box-shadow:0 6px 18px rgba(6,22,44,.3)}
.terrain-label.active{background:var(--active);border-color:var(--active-border)}
.region-caption{color:#d3e3f0}.region-caption b{color:#fff}
.region-mouse{background:rgba(255,255,255,.1);border-color:var(--soft-border);color:#e6f1fa}

/* 弹窗与提示 */
dialog{background:linear-gradient(160deg,rgba(40,80,128,.78),rgba(12,34,62,.9));border-color:var(--glass-border);box-shadow:0 30px 90px rgba(4,14,30,.55),inset 0 1px 0 rgba(255,255,255,.16)}
dialog::backdrop{background:rgba(8,26,48,.45);backdrop-filter:blur(8px)}
dialog .guide-grid article{background:rgba(255,255,255,.06);border-color:var(--soft-border)}
#toast{background:rgba(22,58,98,.78);border-color:rgba(205,230,255,.4);color:#fff;backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);box-shadow:0 12px 30px rgba(6,22,44,.35)}
/* 事件链与浮层：固定的半透明纯色，不随背后画面或视角转动而变化 */
#laboratory .event-dock,#laboratory .flow-popover,#laboratory.camera-moving :is(.event-dock,.flow-popover){background:rgba(18,46,82,.86);backdrop-filter:none;-webkit-backdrop-filter:none}

/* Laboratory world backdrop only; the regional explorer retains its sky. */
body[data-module="lab"]{background:linear-gradient(180deg,#152a42,#1f3e5c 55%,#16293f)}
/* Choice parameters: segmented buttons spanning the full popover width. */
#event-params .param-choice{grid-column:1/-1}
.choice-group{display:flex;flex-wrap:wrap;gap:4px;padding:3px;border:1px solid var(--soft-border);border-radius:12px;background:rgba(6,22,42,.28)}
.choice-group button{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;padding:7px 10px;border:0;border-radius:9px;background:transparent;font-size:12px;color:#d3e3f1;box-shadow:none;white-space:nowrap}
.choice-group button:hover{background:rgba(120,185,255,.18)}
.choice-group button[aria-pressed="true"]{background:var(--active);color:#fff;box-shadow:var(--active-glow)}
.choice-group button:disabled{opacity:.45}
.choice-group i{flex:none;width:10px;height:10px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}
.rock-choice .choice-group button{flex:1 1 30%}
.choice-group button:focus-visible{outline:2px solid #8de4d3;outline-offset:1px}
/* Scenario picker: the choice that decides everything in the lab, so it reads as the panel's primary control. */
.scene-picker{position:relative;display:block;margin:4px 0 0}
.scene-picker-hint{display:block;margin:0 0 7px 4px;font-size:11px;letter-spacing:.5px;color:#9fd0ff}
#laboratory #scenario{appearance:none;-webkit-appearance:none;width:100%;padding:14px 48px 14px 18px;border:1.5px solid rgba(140,200,255,.85);border-radius:16px;font-size:17px;font-weight:650;letter-spacing:1px;color:#fff;cursor:pointer;
 background:linear-gradient(135deg,rgba(42,120,228,.55),rgba(79,167,255,.3));
 box-shadow:0 0 0 4px rgba(79,167,255,.14),0 8px 24px rgba(20,90,180,.35),inset 0 1px 0 rgba(255,255,255,.2);transition:box-shadow .15s,border-color .15s}
.scene-picker::after{content:'';position:absolute;right:13px;bottom:13px;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;pointer-events:none}
#laboratory #scenario:hover{border-color:#bfe2ff;box-shadow:0 0 0 5px rgba(79,167,255,.22),0 8px 24px rgba(20,90,180,.4),inset 0 1px 0 rgba(255,255,255,.2)}
#laboratory #scenario:focus-visible{outline:2px solid #8de4d3;outline-offset:3px}
#laboratory #scenario-desc{margin-top:12px}
/* Display options are always visible. */
.display-title{margin-bottom:2px;font-size:14px;letter-spacing:1px;color:#e6f0f8}
/* Line legend now sits under the rock legend in the right sidebar. */
.line-key-title{margin:12px 0 8px;padding-top:11px;border-top:1px solid var(--soft-border);font-size:12px;color:#cfe0ee}
.legend-panel .line-key{flex-direction:column;gap:7px;margin:0;font-size:12px;color:#e0ecf6}
.legend-panel .line-key span{gap:9px}
.legend-panel .line-key span::before{width:28px;height:14px}
.legend-panel .line-key .key-strata::before{background:linear-gradient(transparent 5px,#281808 4.5px 5.5px,#ffd64a 5.5px 7.5px,#281808 7.5px 8.5px,transparent 8px),linear-gradient(#c9a877 0 50%,#8a7a5c 50%)}
.legend-panel .line-key .key-contour::before{background:linear-gradient(transparent 3px,rgba(132,86,44,.65) 3px 4px,transparent 4px 8px,#68401e 8px 10px,transparent 10px),#dccaa3}
.legend-panel .line-key .key-fault::before{background:linear-gradient(transparent 5px,#e6eeff 5px 6px,#3a6ef0 6px 8px,#e6eeff 8px 9px,transparent 9px),#dccaa3}

/* Rock legend: sedimentary column with a 新↑老 axis, then igneous/metamorphic rocks. */
.legend-group{display:flex;gap:8px}
.legend-rows{flex:1;min-width:0}
.legend-axis{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 0;font-size:10px;color:#cfe0ee}
.legend-axis i{flex:1;width:2px;min-height:40px;border-radius:2px;background:linear-gradient(#e6f1fa,rgba(230,241,250,.25));position:relative}
.legend-axis i::before{content:'';position:absolute;left:-3px;top:-2px;border:4px solid transparent;border-bottom-color:#e6f1fa;border-top:0}
.legend-row .legend-code{width:26px;font-weight:600}
.legend-name b{font-weight:600;color:#f2f7fb;margin-right:6px}
.legend-name small.legend-rock-category{font-size:11px;color:#b3c8d9}
.legend-subtitle{margin:10px 0 4px;padding-top:9px;border-top:1px solid var(--soft-border);font-size:12px;color:#cfe0ee}
.legend-subtitle small{margin-left:6px;font-size:10px;color:#9fb6c9}
.legend-panel .line-key .key-erosion::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M0 7q3.5-3 7 0t7 0 7 0 7 0' fill='none' stroke='%232e241e' stroke-width='1.6'/%3E%3C/svg%3E") center/100% 100% no-repeat,linear-gradient(#e2d2ad 0 50%,#c9a877 50%)}

/* 剖开三维模型：浮在三维画面左上角（仅竖直剖切时显示） */
#laboratory .vertical-cut-option{position:absolute;top:104px;left:22px;z-index:4;display:flex;align-items:center;gap:9px;margin:0;padding:8px 14px 8px 10px;border:1px solid var(--soft-border);border-radius:999px;background:rgba(18,46,82,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:13px;color:#e3eef8;cursor:pointer;box-shadow:0 6px 18px rgba(6,22,44,.3)}
#laboratory .vertical-cut-option:hover{border-color:rgba(160,210,255,.6)}
#laboratory .vertical-cut-option:has(input:checked){background:var(--active);border-color:var(--active-border);color:#fff;box-shadow:var(--active-glow)}
#laboratory .vertical-cut-option input{appearance:none;-webkit-appearance:none;flex:none;width:26px;height:15px;margin:0;border-radius:999px;background:rgba(160,190,215,.4);position:relative;cursor:pointer}
#laboratory .vertical-cut-option input::after{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#fff;transition:transform .15s}
#laboratory .vertical-cut-option input:checked{background:rgba(255,255,255,.35)}
#laboratory .vertical-cut-option input:checked::after{transform:translateX(11px)}

/* 三维画面角落：右上角操作说明 + 剖开开关，右下角指北；“实时三维”只在出现警告时显示 */
#laboratory .scene-hints{top:24px;right:24px;left:auto;bottom:auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:12px;letter-spacing:.5px;line-height:1.4}
#laboratory .vertical-cut-option{top:82px;right:24px;left:auto}
#laboratory .north{top:auto;right:30px;bottom:150px;gap:2px}
#laboratory .north b{font-size:24px}
#laboratory #render-status{margin-left:16px;background:rgba(180,70,50,.8);border-color:rgba(255,200,180,.6)}
#laboratory .scene-heading{right:auto;justify-content:flex-start}
@media(max-width:1100px){#laboratory .vertical-cut-option{top:24px}}
@media(max-width:1100px){#laboratory .scene-hints{display:none}}

/* 等高线图例：白色细线与粗计曲线 */
.legend-panel .line-key .key-contour::before{background:linear-gradient(transparent 3px,rgba(255,255,255,.9) 3px 4px,transparent 4px 8px,#fff 8px 10px,transparent 10px),#8a9a6a}

/* ============================================================
   全屏三维 · 浮动面板（≥931px）：三维画面铺满窗口，顶栏、左右面板都浮在画面上方
   ============================================================ */
@media(min-width:931px){
 :root{--float-bg:rgba(14,36,64,.8);--float-edge:rgba(190,220,250,.24);--float-shadow:0 14px 36px rgba(4,16,32,.35);--lab-left:272px;--lab-right:360px;--gutter:16px}
 header,body[data-module="lab"] header{position:fixed;top:0;left:0;right:0;z-index:20;height:auto;padding:12px var(--gutter);align-items:center;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none}
 header>*{pointer-events:auto}
 .brand{padding:7px 20px 7px 12px;border:1px solid var(--float-edge);border-radius:999px;background:var(--float-bg);box-shadow:var(--float-shadow)}
 .brand-icon{font-size:24px}.brand h1{font-size:17px;letter-spacing:2px;margin:0 0 2px}.brand p{font-size:8.5px}
 .module-nav{position:fixed;top:12px;z-index:21;background:var(--float-bg);border-color:var(--float-edge);box-shadow:var(--float-shadow);backdrop-filter:none;-webkit-backdrop-filter:none}
 body[data-module="lab"] header .views{background:var(--float-bg);border-color:var(--float-edge);box-shadow:var(--float-shadow);backdrop-filter:none;-webkit-backdrop-filter:none}
 .header-tools{padding:4px;gap:4px;border:1px solid var(--float-edge);border-radius:999px;background:var(--float-bg);box-shadow:var(--float-shadow)}
 .header-tools button{border-color:transparent;background:transparent}
 /* 区域探索 */
 #regional-explorer{height:100dvh}
 #regional-explorer .explorer-intro{top:88px}
 #regional-explorer .region-sidebar{top:80px;max-height:calc(100% - 100px)}
 /* 实验室：画面铺满，面板浮动 */
 #laboratory.workbench{display:block;position:relative;height:100dvh;padding:0;background:transparent}
 #laboratory .center{position:absolute;inset:0;border:0;border-radius:0}
 #laboratory .left-panel,#laboratory .right-panel{position:absolute;z-index:6;top:76px;max-height:calc(100% - 92px);overflow-y:auto}
 #laboratory .left-panel{left:var(--gutter);width:var(--lab-left);height:auto}
 #laboratory .right-panel{right:var(--gutter);width:var(--lab-right);gap:10px;padding:0;background:none;border:0}
 #laboratory .left-panel,#laboratory .right-panel>.panel,#laboratory.camera-moving :is(.left-panel,.right-panel>.panel){background:var(--float-bg);border-color:var(--float-edge);box-shadow:var(--float-shadow);backdrop-filter:none;-webkit-backdrop-filter:none}
 /* 画面上的文字与控件，避开两侧面板 */
 #laboratory .scene-heading{top:84px;left:calc(var(--gutter) + var(--lab-left) + 24px)}
 #laboratory .stage-label{top:146px;left:calc(var(--gutter) + var(--lab-left) + 24px)}
 #laboratory .scene-hints{top:84px;right:calc(var(--gutter) + var(--lab-right) + 24px)}
 #laboratory .vertical-cut-option{top:140px;right:calc(var(--gutter) + var(--lab-right) + 24px)}
 #laboratory .north{right:calc(var(--gutter) + var(--lab-right) + 30px);bottom:150px}
 #laboratory .event-dock{left:calc(var(--gutter) + var(--lab-left) + 12px);right:calc(var(--gutter) + var(--lab-right) + 12px);bottom:16px;max-width:calc(100% - var(--lab-left) - var(--lab-right) - 2*var(--gutter) - 24px);background:var(--float-bg)}
 #toast,body[data-module="lab"] #toast{top:76px;bottom:auto}
}
@media(min-width:1700px){:root{--lab-left:290px;--lab-right:390px}}
@media(min-width:931px) and (max-width:1200px){
 :root{--lab-left:236px;--lab-right:300px;--gutter:12px}
 body[data-module="lab"] header{height:auto;align-items:center;padding-top:12px}
 body[data-module="lab"] header .views{position:fixed;top:64px;right:var(--gutter);margin:0}
 body[data-module="lab"] #laboratory .right-panel{top:118px;max-height:calc(100% - 134px)}
 .brand p{display:none}
}

/* ============================================================
   判读训练：作答时隐藏播放与时间轴；「核对答案」是事件链最右端的实心卡片
   ============================================================ */
#event-dock.quiz-answering .dock-controls,#event-dock.quiz-answering .rail-row{display:none}
.quiz-check{flex:none;align-self:flex-start;margin:2px 0 0 10px;width:var(--tile);height:var(--tile-h);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;border:1px solid var(--active-border);border-radius:12px;background:var(--active);color:#fff;box-shadow:var(--active-glow)}
.quiz-check span{font-size:19px;line-height:1}.quiz-check b{font-size:11.5px;font-weight:600;white-space:nowrap}
.quiz-check:hover{filter:brightness(1.08);background:var(--active);border-color:#d6ecff}
.quiz-check:disabled{opacity:1;background:rgba(255,255,255,.07);border:1px dashed rgba(160,210,255,.4);color:#9fb8cc;box-shadow:none;cursor:not-allowed;filter:none}
#event-dock.quiz-checked .quiz-check{background:rgba(255,255,255,.08);border:1px solid var(--soft-border);color:#dcebf6;box-shadow:none}
#event-dock.quiz-checked .quiz-check:hover{background:rgba(120,185,255,.22)}
.quiz-check:focus-visible{outline:2px solid #8de4d3;outline-offset:2px}
.quiz-card .event-select{cursor:grab}
#event-dock.quiz-checked .quiz-card .event-select{cursor:default}
/* 左栏对照结果 */
.quiz-score{display:inline-block;margin:2px 0 10px;padding:4px 12px;border-radius:999px;background:rgba(255,190,110,.18);border:1px solid rgba(255,200,140,.45);color:#ffe2b8;font-size:13px;font-weight:600}
.quiz-score.perfect{background:rgba(120,220,180,.2);border-color:rgba(140,230,190,.55);color:#c9f7e2}
.quiz-compare{display:grid;grid-template-columns:1fr 1fr auto;gap:4px 6px;align-items:center;margin:0 0 12px}
.quiz-head{font-size:10.5px;color:#a9c1d6}
.quiz-cell{min-height:26px;display:flex;align-items:center;padding:3px 9px;border-radius:7px;font-size:12px;white-space:nowrap;background:rgba(255,255,255,.07);border:1px solid rgba(205,230,255,.18);color:#e3eef8}
.quiz-cell.ok{background:rgba(120,220,180,.16);border-color:rgba(140,230,190,.5)}
.quiz-cell.wrong,.quiz-cell.extra{background:rgba(255,120,110,.16);border-color:rgba(255,150,140,.5)}
.quiz-cell.missing{border-style:dashed;border-color:rgba(255,210,150,.55);color:#ffd9a6;background:rgba(255,200,120,.1)}
.quiz-mark{min-width:30px;text-align:center;font-size:11px;font-weight:700}
.quiz-mark.ok{color:#9ff0cf}.quiz-mark.wrong,.quiz-mark.extra{color:#ffb0a8}.quiz-mark.missing{color:#ffd79a}

/* 钻孔取芯：最多 3 根柱状图，按海拔对齐 */
.probe-actions{display:flex;gap:12px}
.bore-grid{display:grid;gap:10px;margin:10px 0 6px}
.bore-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:4px;font-size:11px;color:#b9cfe0}
.bore-head b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#ffd389;color:#1b2b3c;font-size:12px}
.bore-col{position:relative;height:190px;border-radius:4px;background:rgba(255,255,255,.05);overflow:hidden}
.bore-col i{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:10px;font-weight:600;color:rgba(20,26,32,.8);box-shadow:inset 0 -1px rgba(30,24,20,.55)}
.bore-col i.chosen{outline:2px solid #fff;outline-offset:-2px;z-index:1}
.bore-depth{margin:8px 0 4px;padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.06);font-size:12px;line-height:1.8;color:#e3eef8}
.bore-depth-title{font-size:11px;color:#a9c1d6}
.bore-depth b{display:inline-block;width:20px;color:#ffd389}

/* ============================================================
   剖切面板：浮在三维画面右上角，“怎么切”集中在模型旁边；右侧栏只显示剖面结果
   ============================================================ */
#laboratory .cut-tool{position:absolute;z-index:5;top:16px;right:16px;width:300px;display:flex;flex-direction:column;gap:9px;padding:10px 12px 12px;border:1px solid rgba(190,220,250,.24);border-radius:16px;background:rgba(14,36,64,.8);box-shadow:0 14px 36px rgba(4,16,32,.35)}
.cut-tool-head{display:flex;align-items:center;gap:10px}
.cut-tool-title{flex:none;font-size:13px;font-weight:600;letter-spacing:1px;color:#eef5fb}
#laboratory .cut-tool .section-mode-tabs{flex:1;margin:0;padding:3px}
#laboratory .cut-tool .section-mode-tabs button{padding:6px 4px;font-size:12.5px}
.cut-rows{display:flex;flex-direction:column;gap:8px}
.cut-row{display:flex;align-items:center;gap:8px;min-width:0}
#laboratory .cut-tool .vertical-cut-option{position:static;inset:auto;flex:none;margin:0;padding:6px 12px 6px 8px;font-size:12.5px;box-shadow:none;background:rgba(255,255,255,.07);border:1px solid rgba(205,230,255,.22)}
#laboratory .cut-tool .vertical-cut-option:has(input:checked){background:var(--active);border-color:var(--active-border);box-shadow:var(--active-glow)}
#laboratory .cut-tool #section-direction{flex:1;min-width:0;width:auto;padding:6px 10px;font-size:12px}
.cut-slider{font-size:12px;color:#c9dbe8;cursor:pointer}
.cut-slider>span{flex:none;width:28px}
.cut-slider input{flex:1;min-width:0;margin:0}
#laboratory #cut-tool #slice-height{writing-mode:horizontal-tb;direction:rtl;width:auto;height:4px;background:rgba(255,255,255,.2);cursor:pointer}
#slice-height-value{flex:none;min-width:56px;text-align:right;font-weight:600;font-variant-numeric:tabular-nums;color:#a7dcff}
.cut-note{margin:0;font-size:10.5px;color:#9fb8cc}
/* 右侧“剖面图”标题旁显示当前方式 */
#laboratory .section-dock .dock-head small#section-mode-label{display:inline;margin-left:8px;font-size:11px;font-weight:400;color:#a9c9e2}
#laboratory #endpoint-settings{margin:8px 0 0}
@media(min-width:931px){#laboratory .cut-tool{top:140px;right:calc(var(--gutter) + var(--lab-right) + 24px)}}
@media(min-width:931px) and (max-width:1100px){#laboratory .cut-tool{top:84px;width:280px}}
@media(max-width:620px){#laboratory .cut-tool{top:10px;right:10px;width:250px;padding:8px 10px 10px}}

/* ============================================================
   三维画面右上角只放工具（剖切 + 钻孔）；操作说明移到标题下方一行
   ============================================================ */
#laboratory .scene-tools{position:absolute;z-index:5;top:16px;right:16px;width:272px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
#laboratory .scene-tools .cut-tool{position:static;inset:auto;width:auto;gap:8px;padding:8px 10px 10px}
#laboratory .scene-tools .cut-tool .section-mode-tabs button{padding:6px 4px;font-size:12.5px}
#laboratory .scene-hints{top:100px;left:22px;right:auto;bottom:auto;display:flex;flex-direction:row;gap:0;font-size:11px;letter-spacing:.5px;opacity:.72}
.drill-toggle{align-self:flex-end;display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 10px;border:1px solid rgba(190,220,250,.24);border-radius:999px;background:rgba(14,36,64,.8);box-shadow:0 14px 36px rgba(4,16,32,.35);font-size:12.5px;color:#e6f1fa;white-space:nowrap}
.drill-toggle:hover{background:rgba(40,80,130,.85);border-color:rgba(170,215,255,.6)}
.drill-icon{position:relative;flex:none;width:16px;height:16px;border:2px solid #ffd389;border-radius:50%}
.drill-icon::after{content:'';position:absolute;left:50%;top:-6px;bottom:-6px;width:2px;margin-left:-1px;background:#ffd389;border-radius:1px}
.drill-toggle.active{background:var(--active);border-color:var(--active-border);box-shadow:var(--active-glow);color:#fff}
.drill-toggle.active .drill-icon{border-color:#fff}.drill-toggle.active .drill-icon::after{background:#fff}
#laboratory.drilling #viewport canvas,#laboratory.drilling #section{cursor:crosshair}
@media(min-width:931px){
 #laboratory .scene-tools{top:84px;right:calc(var(--gutter) + var(--lab-right) + 24px)}
 #laboratory .scene-hints{top:172px;left:calc(var(--gutter) + var(--lab-left) + 24px)}
}
@media(max-width:620px){#laboratory .scene-tools{top:10px;right:10px;width:240px}}

/* ============================================================
   紧凑图例
   ============================================================ */
#laboratory .legend-panel{padding:12px 14px}
#laboratory .legend-panel .panel-title{margin-bottom:6px}
#laboratory .legend-row{padding:2px 4px;gap:8px;font-size:12px}
#laboratory .legend-row .swatch{width:22px;height:12px}
#laboratory .legend-row .legend-code{width:20px}
#laboratory .legend-name b{margin-right:5px}
#laboratory .legend-name small.legend-rock-category{font-size:10.5px}
#laboratory .legend-axis{font-size:9.5px;padding:2px 0}
#laboratory .legend-subtitle{margin:6px 0 2px;padding-top:6px;font-size:11px}
#laboratory .line-key-title{margin:8px 0 6px;padding-top:7px;font-size:11px}
#laboratory .legend-panel .line-key{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;font-size:11.5px}
#laboratory .legend-panel .line-key span{gap:7px}
#laboratory .legend-panel .line-key span::before{width:22px;height:11px}

/* 钻孔柱状图的海拔线：每 1000 m 一条，0 m 加粗 */
.bore-col s{position:absolute;left:0;right:0;height:0;border-top:1px dashed rgba(255,255,255,.28);z-index:2;pointer-events:none;text-decoration:none}
.bore-col s.sea{border-top:1.5px solid #7fd6ff;box-shadow:0 0 4px rgba(127,214,255,.6)}
.bore-axis .bore-col{background:none;overflow:visible;width:38px}
.bore-axis em{position:absolute;right:2px;transform:translateY(-50%);font-style:normal;font-size:9.5px;color:#a9c1d6;white-space:nowrap;font-variant-numeric:tabular-nums}
.bore-axis em.sea{color:#7fd6ff;font-weight:600}

/* 钻孔按钮旁的“清除”：有钻孔时才出现 */
.drill-row{align-self:flex-end;display:flex;align-items:center;gap:6px}
.drill-clear{padding:8px 14px;border:1px solid rgba(190,220,250,.24);border-radius:999px;background:rgba(14,36,64,.8);box-shadow:0 14px 36px rgba(4,16,32,.35);font-size:12.5px;color:#dce9f4}
.drill-clear:hover{background:rgba(150,60,60,.6);border-color:rgba(255,170,160,.6);color:#fff}

/* ============================================================
   阶段说明、构造 / 地貌标注、分步播放
   ============================================================ */
#laboratory .stage-caption{position:absolute;z-index:4;bottom:140px;top:auto;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 32px));padding:0;border:0;background:none;box-shadow:none;text-align:center;pointer-events:none;text-shadow:0 1px 3px rgba(4,14,28,.95),0 0 12px rgba(4,14,28,.8)}
.stage-caption-head{display:inline;margin:0}
#stage-caption-tag{display:inline;padding:0;border:0;background:none;font-size:13px;color:#ffd98f;font-variant-numeric:tabular-nums}
#stage-caption-title{display:inline;margin:0 8px 0 6px;font-size:13px;font-weight:600;color:#fff}
#stage-caption-title::after{content:'—';margin-left:8px;font-weight:400;color:rgba(255,255,255,.55)}
#stage-caption-text{display:inline;margin:0;font-size:13px;line-height:1.7;color:#e4eef7;animation:caption-in .45s ease}
@keyframes caption-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(min-width:931px){#laboratory .stage-caption{left:calc(50% + (var(--lab-left) - var(--lab-right))/2);width:min(600px,calc(100% - var(--lab-left) - var(--lab-right) - 2*var(--gutter) - 40px))}}
/* The parameter popover and the event picker open in the same place; hide the caption meanwhile. */
#laboratory .center:has(.flow-popover:not([hidden])) .stage-caption{display:none}
.stage-labels{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.stage-tag{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 5px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;color:#fff;background:rgba(10,26,44,.78);border:1px solid rgba(255,255,255,.22);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.stage-tag i{font-style:normal;font-size:10px;font-weight:600;padding:1px 6px;border-radius:999px}
.stage-tag.struct i{background:#e8b040;color:#2a1d0c}
.stage-tag.land i{background:#7ecb7a;color:#10301a}
.stage-tag.force i{background:#bfe3ff;color:#0e2440}
.dock-row{display:flex;align-items:center;gap:6px}
#laboratory .dock-controls .play-controls{gap:5px}
#laboratory .dock-controls .play-controls #restart{font-size:14px}
.step-play{padding:4px 10px;font-size:11px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid var(--soft-border);color:#eaf3fb;white-space:nowrap}
.step-play.active{background:var(--active);border-color:var(--active-border);color:#fff}
#laboratory .dock-controls select{width:58px}
/* Progress text beside the rail has a fixed width, so the dock does not resize as the text changes. */
#time-label{flex:none;width:11.5em;overflow:hidden;text-overflow:ellipsis;text-align:left}

/* 区域探索：区块名下附一句结论；关键地貌与构造标注 */
.terrain-label b{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-weight:600;line-height:1.2}
.terrain-label b small{font-size:11px;font-weight:400;color:#cfe3ee;letter-spacing:.3px}
.region-marks{position:absolute;inset:0;pointer-events:none}
.region-mark{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 4px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;color:#fff;background:rgba(10,26,44,.78);border:1px solid rgba(255,255,255,.22);box-shadow:0 4px 12px rgba(0,0,0,.3);will-change:transform}
.region-mark i{font-style:normal;font-size:10px;padding:1px 6px;border-radius:999px}
.region-mark.struct i{background:#e8b040;color:#2a1d0c}.region-mark.land i{background:#7ecb7a;color:#10301a}
#regional-explorer .region-caption{gap:5px}
#regional-explorer .region-caption b{font-size:14px;letter-spacing:1px;color:#fff}
#regional-explorer .region-caption span{font-size:12px;color:#d6e5f1}
/* Explorer backdrop is now a bright 3D sky: keep the title readable with a soft top-left scrim. */
#regional-explorer:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:radial-gradient(ellipse 46% 30% at 0 0,#0b1f33b0,#0b1f3360 45%,transparent 75%)}
#regional-explorer .explorer-intro{text-shadow:0 1px 3px #0a1a2acc,0 2px 22px #0a1a2a99}

/* Section-line switch: the hint says the line also appears on its own while adjusting. */
.cut-hint{font-size:11px;color:#8fa9bf;white-space:nowrap}

/* 显示与观察: a 2 × 3 grid; every switch sits at the same left inset whatever the label length. */
#laboratory .display-settings .check-grid label,#laboratory .display-settings .check-grid label:last-child{grid-column:auto;justify-content:flex-start;padding:9px 10px 9px 16px;gap:8px}

/* Compact right column: the section canvas height follows its 1:1 plot (set in main.js); the
   caption repeats what the plot already says; the line key sits on one row under the rocks. */
#laboratory .section-dock:not(.expanded) #section-caption{display:none}
#laboratory .section-dock #endpoint-settings{margin-top:4px}
#laboratory .legend-panel .panel-title{margin-bottom:4px}
#laboratory .legend-row{padding:1px 4px;line-height:1.3}
#laboratory .legend-panel .line-key{flex-direction:row;flex-wrap:wrap;gap:4px 12px;margin:8px 0 0;padding-top:8px;border-top:1px solid rgba(160,200,235,.18);font-size:11px}
#laboratory .legend-panel .line-key span{gap:5px}
#laboratory .legend-panel .line-key span::before{width:20px;height:10px}

/* 保存 / 打开 the classroom scene, in the scene panel's title row. */
.scene-file{display:inline-flex;gap:6px}
#laboratory .scene-file .text-button{padding:3px 10px;font-size:11.5px;border-radius:999px;border:1px solid rgba(160,205,240,.3);background:rgba(255,255,255,.05);color:#cfe3f3;cursor:pointer}
#laboratory .scene-file .text-button:hover{border-color:rgba(160,210,255,.65);background:rgba(70,150,245,.25);color:#fff}

/* Shorter screens (1600 × 900, or a 1080p monitor inside a browser window): tighten spacing so both side columns fit without scrolling. */
@media (max-height:990px){
 #laboratory .left-panel #scenario-desc{margin:8px 0 10px}
 #laboratory .left-panel .reading-panel{margin-top:10px}
 #laboratory .left-panel .display-settings{margin-top:12px;margin-bottom:6px}
 #laboratory .left-panel .model-note{padding-top:8px;font-size:10px;line-height:1.5}
 #laboratory .left-panel .model-note br{display:none}
 #laboratory .right-panel{gap:7px}
 #laboratory .right-panel .section-dock{padding-top:10px;padding-bottom:10px}
 #laboratory .right-panel .legend-panel,#laboratory .right-panel .probe-panel,#laboratory .right-panel .application-panel{padding-top:10px;padding-bottom:10px}
 #laboratory .application-panel select{padding-top:7px;padding-bottom:7px}
 #laboratory #application-reading{margin-top:6px;line-height:1.65}
}

/* A 1600 × 900 monitor inside a normal browser window leaves ~790 px: the long reading texts
   scroll inside their own boxes and the section canvas is capped, so the columns still fit. */
@media (max-height:820px){
 #laboratory .left-panel .reading-panel{max-height:190px;overflow:auto;scrollbar-width:thin}
 #laboratory .section-dock:not(.expanded) #section{max-height:170px}
 #laboratory #application-reading{max-height:4.1em;overflow:auto;scrollbar-width:thin}
 #laboratory .right-panel{gap:5px}
 #laboratory .probe-panel #probe .muted{font-size:11px;line-height:1.5;margin:0}
 #laboratory .legend-row{line-height:1.15}
}

/* Section toolbar inside the 剖面图 panel: mode tabs in the title row, then one row of switches
   and the slider. */
#laboratory .section-dock .dock-head{gap:8px}
#laboratory .section-dock .dock-head strong{flex:none}
#laboratory .section-dock .dock-head .section-mode-tabs{flex:none;margin:0 auto 0 4px;padding:2px;gap:2px}
#laboratory .section-dock .dock-head .section-mode-tabs button{padding:3px 10px;font-size:11.5px}
#laboratory .cut-bar{display:flex;flex-direction:column;margin:0 0 2px}
#laboratory .cut-bar .cut-rows{display:flex;flex-direction:column;gap:4px}
#laboratory .cut-bar .cut-row{display:flex;align-items:center;gap:6px}
#laboratory .cut-bar .cut-chip{flex:none;display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 7px;border:1px solid rgba(205,230,255,.22);border-radius:999px;background:rgba(255,255,255,.06);font-size:11.5px;color:#d6e5f2;cursor:pointer}
#laboratory .cut-bar .cut-chip:has(input:checked){background:var(--active);border-color:var(--active-border);color:#fff}
#laboratory .cut-bar .cut-chip input{appearance:none;-webkit-appearance:none;flex:none;width:22px;height:12px;margin:0;border-radius:999px;background:rgba(160,190,215,.4);position:relative;cursor:pointer}
#laboratory .cut-bar .cut-chip input::after{content:'';position:absolute;top:2px;left:2px;width:8px;height:8px;border-radius:50%;background:#fff;transition:transform .15s}
#laboratory .cut-bar .cut-chip input:checked{background:rgba(255,255,255,.35)}
#laboratory .cut-bar .cut-chip input:checked::after{transform:translateX(10px)}
#laboratory .cut-bar #section-direction{flex:1;min-width:0;width:auto;padding:4px 8px;font-size:11.5px;border-radius:999px}
#laboratory .cut-bar .cut-slider{font-size:11.5px}
#laboratory .section-dock.expanded .cut-bar{flex-shrink:0}
/* Borehole tools in the 钻孔取芯 panel title. */
#laboratory .probe-panel .probe-actions{display:inline-flex;align-items:center;gap:6px}
#laboratory .probe-panel .drill-toggle{align-self:auto;padding:3px 10px 3px 7px;font-size:11.5px;gap:6px}
#laboratory .probe-panel .drill-toggle .drill-icon{transform:scale(.8)}
#laboratory .probe-panel .text-button{padding:3px 8px;font-size:11.5px}

#laboratory .section-dock #endpoint-settings>summary{display:none}
#laboratory .section-dock #endpoint-settings:not([open]){margin:0}
#laboratory .cut-bar #endpoint-toggle{flex:none;padding:2px 8px;font-size:11px}
@media (max-height:990px){#laboratory .section-dock:not(.expanded) #section{max-height:185px}}
@media (max-height:820px){#laboratory .section-dock:not(.expanded) #section{max-height:150px}}
#laboratory .section-dock.expanded #section{height:100%!important;max-height:none}
/* 关于 */
.header-tools #about{display:grid;place-items:center}.header-tools #about.on{color:#fff;background:rgba(84,173,255,.22)}
dialog.about-dialog{width:min(880px,92vw);max-height:86vh;padding:26px 28px 30px;line-height:1.75;scroll-behavior:smooth}
.about-dialog .close-about{position:sticky;top:0;float:right;margin:-8px -10px 0 0;width:34px;height:34px;padding:0;border-radius:50%;background:rgba(16,34,54,.6);border:1px solid var(--soft-border);color:#cfe3f5;font-size:20px;line-height:1;z-index:1}
.about-head h2{margin:0}.about-head p{margin:2px 0 16px;font-size:13px}
.about-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.about-nav a{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:12px;border:1px solid var(--soft-border);background:rgba(255,255,255,.05);color:#e2eef9;text-decoration:none;transition:background .15s,border-color .15s}
.about-nav a:hover{background:rgba(84,173,255,.14);border-color:rgba(140,200,255,.45)}
.about-nav small{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#8fb6d6}.about-nav span{font-size:14px;font-weight:600}
.about-card{padding:16px 20px;margin:12px 0 0;border-radius:14px;border:1px solid var(--soft-border);background:rgba(255,255,255,.05);scroll-margin-top:8px}
.about-kicker{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#8fb6d6}
.about-card h3{font-size:18px;margin:2px 0 8px;color:#cfe3ff}.about-card h4{font-size:14px;margin:14px 0 4px;color:#9fd0f5}
.about-card p,.about-card li{font-size:13.5px;color:#d5e3f2}.about-card p{margin:4px 0}.about-card ul{margin:6px 0;padding-left:20px}.about-card li{margin:3px 0}
.about-summary{color:#e8f2fb!important;font-size:14px!important;padding-bottom:4px}
.about-rule{height:1px;background:var(--soft-border);margin:16px 0 10px}
.about-foot{font-size:12px!important;color:#9fb4c8!important;margin:2px 0!important}
@media(max-width:620px){dialog.about-dialog{padding:20px 16px}.about-nav{grid-template-columns:1fr}.about-card{padding:14px}}
/* 底部版权行：放在事件链与窗口底边之间的空隙里，不占布局，全屏时同样显示 */
#copyRight{position:fixed;left:0;right:0;bottom:0;height:16px;z-index:5;padding:0 12px;text-align:center;font-size:9px;line-height:16px;color:rgba(190,212,235,.5);letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;user-select:none;text-shadow:0 1px 2px rgba(4,14,28,.6)}
@media(min-width:931px){body[data-module="lab"] #copyRight{left:calc(var(--gutter) + var(--lab-left) + 12px);right:calc(var(--gutter) + var(--lab-right) + 12px)}}
@media(max-width:930px){#copyRight{position:static;height:auto;padding:6px 12px;white-space:normal}}

/* 网站版：右上角工具栏里的「标注」按钮与其他图标按钮一致，只显示图标。 */
.header-tools [data-modelhost-annotate-slot] button{display:inline-flex;align-items:center;justify-content:center}
.header-tools [data-modelhost-annotate-slot] button>span{display:none}
/* 免费版里上锁的事件按钮、参数区：锁放在右上角。 */
#event-options [data-tm-locked],.pop-params[data-tm-locked]{position:relative}
#event-options [data-tm-locked] .tm-lock.is-corner{top:6px;right:6px}
.pop-params[data-tm-locked] .tm-lock.is-corner{top:2px;right:0}
.header-tools [data-modelhost-annotate-slot] button>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
