@charset "UTF-8";
:root{--paper:#f7f9f6;--scene:#edf3f0;--ink:#203d36;--muted:#5f7069;--teal:#24695d;--line:#d8e1da;--sand:#c09552;--white:#fff;--body:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;--title:"Songti SC","STSong","Noto Serif CJK SC",serif}
[hidden]{display:none!important}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--body);color:var(--ink);background:var(--paper)}body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b78732;outline-offset:4px}button,a,input{touch-action:manipulation}button:hover{color:var(--teal)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}::selection{background:#d5e8db;color:#193e33}::-webkit-scrollbar{width:5px;height:4px}::-webkit-scrollbar-thumb{background:#b5c8bd;border-radius:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.masthead{height:78px;flex:none;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper);gap:20px}.identity{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:19px;font-weight:650;letter-spacing:.03em}.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--teal);color:#e3f2eb;border-radius:13px;overflow:hidden}.brand-icon svg{width:28px;height:28px;stroke-width:1.2}.identity small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:.05em;margin-top:5px}.header-actions{display:flex;gap:10px}.quiet-button{display:flex;align-items:center;gap:7px;padding:10px 12px;font-size:13px;border-radius:7px}.quiet-button:hover{background:#e5ede6}.lesson-nav{height:58px;flex:none;padding:0 34px;display:flex;align-items:stretch;gap:34px;border-bottom:1px solid var(--line);background:var(--paper);overflow-x:auto}.lesson-nav button{white-space:nowrap;padding:0 2px;position:relative;font-size:14px;color:var(--muted)}.lesson-nav button.active{color:var(--teal);font-weight:650}.lesson-nav button.active:after{content:"";height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--teal);border-radius:3px 3px 0 0}
.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 334px}.scene-panel{position:relative;overflow:hidden;background:var(--scene);min-height:340px}.scene-heading{position:absolute;left:34px;top:25px;z-index:2;pointer-events:none}.scene-heading h1{font-family:var(--title);font-size:clamp(25px,2.45vw,37px);line-height:1.25;font-weight:700;letter-spacing:.025em;margin:0 0 12px}.scene-heading p{margin:0;font-size:13px;color:var(--muted)}#canvas-host{position:absolute;inset:0}#canvas-host canvas{display:block;width:100%;height:100%;touch-action:none;outline:0}#scene-loading{position:absolute;inset:0;display:grid;place-content:center;background:var(--scene);color:var(--teal);font-size:16px;padding:40px;line-height:1.8;text-align:center;z-index:7}#scene-loading[hidden]{display:none}.scene-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}.landmark{position:absolute;display:flex;align-items:center;gap:7px;padding:8px 11px;background:#fffffff2;border:1px solid #d3dfd6;border-radius:5px;font-size:12px;white-space:nowrap;pointer-events:auto;box-shadow:0 3px 9px #173e3110;transform:translate(-50%,-100%);transition:background .2s,color .2s}.landmark:after{content:"";position:absolute;left:50%;top:100%;height:20px;width:1px;background:#557365}.landmark:before{content:"";position:absolute;left:calc(50% - 3px);top:calc(100% + 18px);width:6px;height:6px;border-radius:50%;background:#426554;border:2px solid #edf3f0}.landmark span{width:6px;height:6px;border-radius:50%;background:var(--sand)}.landmark.selected{background:var(--teal);color:white;border-color:var(--teal)}.landmark.selected span{background:#e8c778}.landmark:hover{background:#dcecdf}.view-tools{position:absolute;right:22px;top:26px;z-index:4;display:flex;align-items:center;background:#fffffff0;padding:4px;border:1px solid var(--line);border-radius:8px}.view-tools button{padding:7px 11px;font-size:12px;border-radius:5px;min-height:32px}.view-tools button.active{background:#dce9e1;color:var(--teal);font-weight:650}.view-tools button:hover{background:#ecf1ec}.view-tools svg{width:15px;height:15px;display:block}.scene-key{position:absolute;left:34px;bottom:65px;display:flex;gap:15px;font-size:11px;color:var(--muted);pointer-events:none}.scene-key span{display:flex;align-items:center;gap:5px}.scene-key i{width:9px;height:9px;border-radius:2px}.key-water{background:#1685b6}.key-sand{background:#d7be85}.key-ground{background:#8bac69}.gesture-tip{position:absolute;bottom:32px;left:34px;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;pointer-events:none}.gesture-tip svg{width:14px;height:14px}.scene-options{position:absolute;bottom:32px;right:23px;display:flex;gap:14px;font-size:12px}.scene-options label{display:flex;align-items:center;gap:5px;cursor:pointer}.scene-options input{accent-color:var(--teal);width:13px;height:13px;margin:0}.model-note{position:absolute;bottom:11px;left:34px;font-size:9px;letter-spacing:.04em;color:#718379;pointer-events:none}
.lesson-panel{background:var(--paper);border-left:1px solid var(--line);display:flex;flex-direction:column;overflow-y:auto}.lesson-body{padding:28px 26px 18px;flex:1}.topic-line{display:flex;justify-content:space-between;align-items:center;color:var(--teal);font-size:11px;letter-spacing:.04em;margin-bottom:17px}.topic-line svg{width:22px;height:22px;stroke-width:1.3}.lesson-panel h2{font-family:var(--title);font-weight:700;font-size:26px;line-height:1.3;margin:0 0 16px;letter-spacing:.02em}.lesson-description{font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 22px}.process-list{display:flex;flex-direction:column;gap:0;margin:0 0 20px}.process-item{position:relative;display:grid;grid-template-columns:25px 1fr;column-gap:11px;padding-bottom:16px}.process-item:last-child{padding-bottom:0}.process-item:not(:last-child):after{content:"";position:absolute;left:11px;top:25px;bottom:1px;border-left:1px dashed #b6c9bd}.process-item .step-num{width:24px;height:24px;border-radius:50%;border:1px solid #c9d9ce;color:var(--teal);display:grid;place-items:center;font-size:10px;font-variant-numeric:tabular-nums}.process-item strong{display:block;font-size:13px;font-weight:600;line-height:24px}.process-item p{font-size:11px;line-height:1.75;color:var(--muted);margin:4px 0 0}.process-item.current .step-num{background:var(--teal);color:white;border-color:var(--teal)}.takeaway{padding:16px 0;border-block:1px solid var(--line)}.takeaway>span{font-size:10px;color:var(--teal);font-weight:650}.takeaway p{font-size:14px;line-height:1.8;margin:6px 0 0;font-weight:550}.question{padding-top:20px}.question-label{font-size:11px;color:#886535;font-weight:600}.question>p{font-size:13px;line-height:1.8;margin:7px 0}.question button{display:flex;gap:3px;align-items:center;padding:6px 0;color:var(--teal);font-size:11px}.question button svg{width:14px;height:14px;transition:transform .2s}.question button[aria-expanded="true"] svg{transform:rotate(90deg)}#answer-text{font-size:12px;color:var(--muted);margin:7px 0 0}.lesson-source{font-size:9px;line-height:1.9;color:#77847c;padding:16px 26px 20px;border-top:1px solid var(--line);background:#f0f4ee}.section-diagram{margin-bottom:18px;padding:10px;background:#eaf0e7;border-radius:8px}.section-diagram svg{width:100%;height:90px;stroke-width:1;display:block}.section-diagram>div{font-size:10px;text-align:center;color:var(--muted);padding:3px}.section-diagram text{font-family:var(--body);font-size:9px;stroke:none;fill:var(--muted)}
.timeline-bar{height:112px;flex:none;display:flex;align-items:center;gap:32px;padding:19px 34px;background:#fff;border-top:1px solid var(--line);z-index:5}.timeline-intro{width:231px;flex:none}.timeline-intro strong{font-size:15px;font-weight:600;display:block;margin-bottom:8px}.timeline-intro span{font-size:10px;color:var(--muted);display:block;line-height:1.6}.timeline-main{flex:1;min-width:120px;max-width:850px}.timeline-readout{display:flex;justify-content:space-between;font-size:11px;color:var(--teal);margin-bottom:5px}.timeline-readout #stage-value{color:var(--muted);font-variant-numeric:tabular-nums}input[type="range"]{appearance:none;-webkit-appearance:none;width:100%;height:22px;background:transparent;cursor:pointer;margin:0}input[type="range"]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--teal) var(--progress,100%),#dce5de var(--progress,100%))}input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:15px;height:15px;border:3px solid white;border-radius:50%;background:var(--teal);box-shadow:0 0 0 1px var(--teal);margin-top:-5.5px}input[type="range"]::-moz-range-track{height:4px;background:#dce5de}input[type="range"]::-moz-range-progress{height:4px;background:var(--teal)}input[type="range"]::-moz-range-thumb{width:11px;height:11px;border:3px solid white;border-radius:50%;background:var(--teal)}.stage-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:1px}.playback{display:flex;align-items:center;gap:10px;margin-left:auto}.play-button{height:44px;padding:0 18px;background:var(--teal);color:white;display:flex;align-items:center;gap:8px;border-radius:7px;font-size:12px;white-space:nowrap}.play-button:hover{background:#19594e;color:white}.play-button svg{width:16px;height:16px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:7px}.icon-button:hover{background:#e6ede6}.icon-button svg{width:18px;height:18px}
dialog{border:0;border-radius:12px;max-width:min(940px,92vw);width:940px;padding:22px;background:var(--paper);color:var(--ink);max-height:92dvh;box-shadow:0 20px 80px #12342d38}dialog::backdrop{background:#16382dcc}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:start}.dialog-heading h2{font-size:19px;margin:0 0 6px}.dialog-heading p{font-size:12px;color:var(--muted);margin:0 0 15px}dialog img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}.reference-note{font-size:11px;color:var(--muted);text-align:center;margin:17px 0 0}#toast{position:fixed;bottom:133px;left:50%;transform:translateX(-50%) translateY(10px);padding:11px 20px;border-radius:8px;background:var(--ink);color:white;font-size:13px;pointer-events:none;z-index:20;opacity:0;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
@media(min-width:1500px){.workspace{grid-template-columns:minmax(0,1fr) 385px}.lesson-body{padding:35px 32px}.lesson-panel h2{font-size:30px}.lesson-description{font-size:15px}.process-item strong{font-size:15px}.process-item p{font-size:13px}.question>p{font-size:15px}.takeaway p{font-size:16px}.scene-heading{top:32px}.scene-heading p{font-size:15px}.landmark{font-size:14px}.lesson-nav button{font-size:16px}.lesson-source{font-size:11px}.scene-options{font-size:14px}}
@media(max-height:760px) and (min-width:901px){.masthead{height:62px}.lesson-nav{height:48px}.timeline-bar{height:97px}.lesson-body{padding:21px 23px 16px}.lesson-panel h2{font-size:23px;margin-bottom:12px}.lesson-description{font-size:12px;margin-bottom:17px}.process-item{padding-bottom:13px}.question{padding-top:15px}.lesson-source{padding:12px 23px}.scene-heading{top:22px}.scene-heading h1{font-size:27px}.view-tools{top:100px}.timeline-intro{width:210px}}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 298px}.masthead,.lesson-nav{padding-inline:22px}.lesson-nav{gap:23px}.scene-heading{left:24px}.scene-heading h1{font-size:27px}.scene-heading p{font-size:11px}.view-tools{top:108px;right:18px}.scene-options{bottom:65px;right:18px;gap:10px;font-size:10px}.scene-key,.gesture-tip,.model-note{left:24px}.lesson-body{padding:24px 21px 18px}.timeline-bar{padding-inline:24px;gap:23px}.timeline-intro{width:200px}.play-button{padding:0 13px}}
@media(max-width:760px){body{height:auto;min-height:100dvh;overflow:auto}.masthead{height:69px;padding:0 17px}.identity{font-size:15px;gap:9px}.identity small{font-size:9px}.brand-icon{width:35px;height:35px;border-radius:10px}.header-actions{gap:0}.quiet-button{padding:9px}.quiet-button span{display:none}.lesson-nav{height:51px;padding:0 17px;gap:25px;scrollbar-width:none}.lesson-nav button{font-size:12px}.workspace{display:flex;flex-direction:column}.scene-panel{height:540px;min-height:0;flex:none}.scene-heading{left:20px;top:23px}.scene-heading h1{font-size:26px;max-width:90%}.scene-heading p{font-size:11px;max-width:85%;line-height:1.8}.view-tools{top:105px;right:16px}.scene-key{bottom:66px;left:20px;font-size:10px}.scene-options{bottom:66px;right:16px;font-size:10px}.gesture-tip{left:20px;bottom:33px;font-size:10px}.model-note{left:20px}.landmark{font-size:10px;padding:6px 8px;gap:5px}.lesson-panel{border-left:0;border-top:1px solid var(--line);overflow:visible}.lesson-body{padding:27px 24px}.topic-line{margin-bottom:10px}.lesson-panel h2{font-size:27px}.lesson-description{font-size:14px;line-height:1.8}.process-item strong{font-size:14px}.process-item p{font-size:12px}.lesson-source{padding:16px 24px 22px;font-size:10px}.timeline-bar{position:sticky;bottom:0;height:auto;min-height:104px;padding:13px 18px;display:grid;grid-template-columns:1fr auto;gap:8px 19px}.timeline-intro{display:none}.timeline-main{min-width:0}.timeline-readout,.stage-labels{font-size:9px}.playback{gap:2px}.play-button{padding:0 12px;height:39px;font-size:10px}.playback .icon-button{width:28px}.timeline-bar .stage-labels{gap:9px}.section-diagram{max-width:420px}#toast{bottom:117px;font-size:11px;width:max-content;max-width:90vw}.reference-note{font-size:10px}}
@media(max-width:380px){.scene-panel{height:490px}.scene-options{bottom:88px;right:15px}.scene-heading h1{font-size:23px}.lesson-nav{gap:20px}.playback .icon-button{display:none}}
.bank-label{pointer-events:none}.outer-bank{transform:translate(0,-100%)}.outer-bank:after{left:0}.outer-bank:before{left:-3px}.inner-bank{transform:translate(-100%,-100%)}.inner-bank:after{left:100%}.inner-bank:before{left:calc(100% - 3px)}
#canvas-host,.scene-labels{top:70px;bottom:16px}.view-tools{top:26px}.scene-heading h1{max-width:none}.scene-heading{width:calc(100% - 46px);max-width:none}
.section-mode .lesson-body>:not(#section-reading){display:none}.geology-reading{padding:0;margin:22px 0;list-style:none;display:flex;flex-direction:column;gap:22px}.geology-reading li{display:flex;gap:12px}.geology-reading i{width:14px;height:14px;border-radius:3px;flex:none;margin-top:4px}.geology-reading strong{font-size:14px}.geology-reading p{font-size:12px;color:var(--muted);line-height:1.85;margin:7px 0 0}.swatch-sediment{background:#bd9d6e}.swatch-saturated{background:#76bcc9}.swatch-rock{background:#95717f}.geology-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:20px}.geology-note a{color:var(--teal);display:block;margin-top:7px;text-underline-offset:3px}.section-legend{position:absolute;bottom:91px;left:24px;display:flex;flex-wrap:wrap;gap:10px 15px;font-size:11px;background:#f7f9f6f5;padding:12px 15px;border-radius:8px;max-width:380px}.section-legend span{display:flex;gap:6px;align-items:center}.section-legend i{width:11px;height:11px;border-radius:2px}.section-legend small{width:100%;font-size:10px;color:var(--muted)}
@media(max-width:1450px){.view-tools{top:90px}.view-tools button{padding-inline:9px}.scene-heading h1{font-size:27px}.scene-heading{top:21px}}
@media(max-width:760px){#canvas-host,.scene-labels{top:85px;bottom:15px}.view-tools{top:104px;right:16px}.view-tools button{font-size:11px;padding:7px 9px}.section-legend{bottom:92px;left:17px;right:17px;padding:10px;font-size:10px;gap:8px 12px}.section-legend small{font-size:9px}.scene-heading h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Keep the source mountain clear of the view toolbar on classroom laptops. */
@media (min-width:761px) and (max-width:1100px){.view-tools{left:24px;right:auto;top:90px}}

.watershed-mode .lesson-body>:not(#watershed-reading){display:none}.swatch-divide{background:repeating-linear-gradient(90deg,#a65f2d 0 5px,transparent 5px 8px);height:3px!important;margin-top:10px!important}

.watershed-mode .scene-heading{background:var(--scene);padding-bottom:6px}
