:root{color-scheme:light;--ink:#2b3a43;--muted:#747871;--paper:#fbf5e9;--line:#dcd3c3;--serif:'Noto Serif SC','Source Han Serif SC','Songti SC','SimSun',serif;--sans:'PingFang SC','Microsoft YaHei',system-ui,sans-serif}
@font-face{font-family:'LXGW WenKai Lite';src:url('/assets/fonts/LXGWWenKaiLite-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
*{box-sizing:border-box}html,body{width:100%;height:100%;overflow:hidden}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #456d80;outline-offset:5px;border-radius:5px}button:hover:not(:disabled){color:#194e65}button[hidden],[hidden]{display:none!important}a{color:inherit;text-decoration:none}.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}.shell{position:relative;width:100%;height:100dvh;min-height:0;overflow:hidden;background:#fbf3e4}.coordinate-space{position:absolute;inset:0}.terrain,.river-map,.map-labels{position:absolute;inset:0;width:100%;height:100%}.terrain{object-fit:cover;object-position:center center;opacity:.89;pointer-events:none}.river-map{overflow:visible}.watercolor-rivers{pointer-events:none;opacity:.98;filter:brightness(.91) saturate(.78) contrast(1.04)}.watercolor-reveal{opacity:1}.river-reveal-stroke,.river-reveal-tributary{fill:none;stroke-dasharray:100;stroke-dashoffset:0}.river-reveal-stroke{filter:blur(14px)}.river-reveal-tributary{stroke-width:96;filter:blur(8px)}.river-reveal-complete{opacity:1}.arriving .river-reveal-complete{opacity:0;animation:river-reveal-complete .01s step-end 3.15s both}.arriving .river-reveal-stroke{stroke-dashoffset:100;animation:river-reveal 2.65s cubic-bezier(.35,0,.2,1) var(--reveal-delay) both}.arriving .river-reveal-tributary{stroke-dashoffset:100;animation:river-reveal 1.25s cubic-bezier(.35,0,.2,1) var(--reveal-delay) both}.map-labels{pointer-events:none}.map-labels button{pointer-events:auto}.river-system{transition:opacity .22s ease-out}.river-system.subdued{opacity:.66}.river-hit{pointer-events:stroke;cursor:pointer}.river-label{position:absolute;width:13.55%;min-width:190px;max-width:256px;text-align:left;padding:16px 17px 12px;background:rgba(252,247,237,.95);border:1px solid rgba(238,223,199,.8);border-radius:19px;box-shadow:0 6px 20px #64584212;transition:box-shadow .2s,background .2s;z-index:2}.label-love{background:rgba(255,231,219,.94)}.label-survival{background:rgba(244,243,226,.96);width:14.6%}.label-ability{background:rgba(236,232,242,.95)}.river-label:hover,.river-label.selected{box-shadow:0 6px 22px #47626426;border-color:var(--river-accent)}.label-top{display:flex;align-items:center;gap:12px}.label-top>.icon{width:16px;margin-left:auto}.label-top strong{display:block;white-space:nowrap;font:600 clamp(18px,1.25vw,23px)/1.3 var(--serif);letter-spacing:.06em}.label-top small{display:block;color:#676e6a;font-size:12px;margin-top:6px}.river-symbol{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--river-accent) 23%,transparent)}.river-symbol>.icon{width:29px;height:29px}.label-bottom{display:block;border-top:1px solid #7b756529;margin-top:12px;padding-top:8px;font:12px var(--serif);letter-spacing:.05em;color:#5d625e}.label-bottom i{font-style:normal;padding:0 5px}.map-node{position:absolute;transform:translate(-50%,-50%);min-width:44px;min-height:44px;padding:0;display:grid;place-items:center;border-radius:50%;z-index:3}.node-dot{height:13px;width:13px;border:3px solid #fffcf2;background:var(--river-accent);border-radius:50%;box-shadow:0 0 0 1px #88745720,0 2px 5px #57615424}.map-node:hover .node-dot,.map-node.selected .node-dot{box-shadow:0 0 0 5px #fff9edb8,0 0 0 6px var(--river-accent)}.node-caption{position:absolute;left:22px;top:33px;white-space:nowrap;font:13px/1.55 var(--serif);text-align:left;color:#626962;text-shadow:0 1px 5px #fff9eb}.map-note{font:15px/1.55 'LXGW WenKai Lite',STKaiti,Kaiti SC,STKaiti,"Noto Serif SC",serif;position:absolute;color:#707671;letter-spacing:.08em}.map-note span{padding-left:12px}.note-love{left:15.85%;top:37.5%}.note-ability{left:29.7%;top:77%}.sidebar{position:absolute;inset:0 auto 0 0;width:12%;padding:25px 14px 24px;background:linear-gradient(90deg,#fcf8efd9,#fcf8ef8f);border-right:1px solid #d8d1c540;display:flex;flex-direction:column;z-index:8}.brand{display:flex;align-items:center;gap:12px;font:600 clamp(15px,1.32vw,24px) var(--serif);white-space:nowrap;letter-spacing:.03em;padding:0 8px}.brand .icon{width:30px;height:30px}.sidebar nav{display:grid;gap:7px;margin-top:40px}.nav-item{position:relative;display:flex;gap:16px;align-items:center;width:100%;min-height:53px;padding:11px 16px;text-align:left;font:16px var(--serif);border-radius:12px;white-space:nowrap}.nav-item.active{background:#e9dfd180}.nav-item.active:before{content:'';position:absolute;left:0;height:27px;width:2px;background:#445764;border-radius:2px}.nav-item small{font:9px var(--sans);margin-left:auto;opacity:.8}.nav-item:disabled{color:#7c817d;opacity:.75}.nav-item .icon{width:22px}.sidebar-bottom{margin-top:auto;padding:15px}.landscape-avatar{display:block;width:61px;height:61px;border-radius:50%;background:url('/assets/three-rivers/terrain-v1.png') 76% 11%/450px;filter:saturate(.5);border:1px solid #b3bdaf40}.sidebar-bottom p{font:14px/1.8 var(--serif);letter-spacing:.06em}.subtle-button{display:flex;align-items:center;gap:9px;font-size:11px;padding:8px 0;color:var(--muted)}.subtle-button .icon{width:17px;height:17px}.page-header{position:absolute;left:15.25%;top:8.8%;z-index:4;pointer-events:none}.page-header h1{font:500 clamp(31px,2.9vw,53px)/1.25 var(--serif);letter-spacing:.055em;margin:0 0 9px}.page-header p{font:clamp(12px,1.15vw,21px)/1.5 var(--serif);letter-spacing:.09em;margin:0;color:#53616a}.top-tools{position:absolute;right:3%;top:2.8%;z-index:9}.demo-badge{display:flex;gap:10px;align-items:center;padding:8px 13px;border-radius:20px;background:#fcf9f1a6;font-size:12px;color:#65736e}.demo-badge>span,.status-dot{width:6px;height:6px;background:#78917a;border-radius:50%}.demo-badge .icon{width:15px;height:15px;opacity:.7}.map-quote{font:italic clamp(15px,1.45vw,25px)/1.7 'LXGW WenKai Lite',STKaiti,Kaiti SC,STKaiti,"Noto Serif SC",serif;font-weight:400;position:absolute;right:3%;top:9%;letter-spacing:.15em;color:#736b5c;transform:rotate(-7deg)}.map-quote span{padding-left:23px}.action-area{position:absolute;right:2%;top:48.6%;width:18.2%;min-width:255px;max-width:360px}.action-card,.secondary-card{background:#fffaf0eb;border:1px solid #eadecb75;border-radius:14px;box-shadow:0 8px 23px #726b5612;display:flex;gap:13px;padding:18px}.action-symbol{display:grid;place-items:center;width:53px;height:53px;flex-shrink:0;border-radius:50%;background:#e5d8c5}.action-symbol .icon{width:34px;height:34px}.action-symbol.small{width:42px;height:42px;background:#eee4d5}.action-symbol.small .icon{width:25px;height:25px}.action-card h2{font:600 18px/1.3 var(--serif);margin:5px 0 8px}.action-card p{font:12px/1.6 var(--serif);margin:0 0 13px;color:#677069}.primary-button{display:inline-flex;gap:15px;align-items:center;justify-content:center;min-height:40px;border-radius:25px;padding:10px 22px;background:#303f49;color:#fffaf0;font:13px var(--serif)}.primary-button:hover:not(:disabled){background:#405864;color:#fff}.primary-button .icon{width:17px;height:17px}.secondary-card{margin-top:14px;width:100%;align-items:center;text-align:left;padding:14px 18px}.secondary-card strong{font:600 16px var(--serif);display:block}.secondary-card small{font:12px var(--serif);color:#69716c;display:block;margin-top:7px}.secondary-card>.icon{width:16px;margin-left:auto}.status-bar{position:absolute;left:14.65%;right:2%;bottom:3.6%;height:74px;padding:16px 30px;border-radius:17px;background:#fffaf1d9;border:1px solid #f0e7d8;box-shadow:0 8px 20px #71634a10;display:flex;align-items:center;gap:26px;z-index:7}.status-intro{display:flex;align-items:center;gap:10px;min-width:230px}.status-intro strong{display:block;font:13px var(--serif)}.status-intro small{display:block;color:#7a7d76;font:11px var(--serif);margin-top:7px}.stat{border-left:1px solid #d2cabe80;padding-left:30px;min-width:120px}.stat small{display:block;color:#7a7d76;font:11px var(--serif);margin-bottom:7px}.stat strong{font:15px var(--serif)}.text-button{display:inline-flex;align-items:center;gap:9px;text-align:left;font-size:12px;min-height:36px;color:#42606b;padding:7px 0}.text-button .icon{width:17px;height:17px}.summary-button{margin-left:auto;white-space:nowrap}.motion-controls{display:flex;gap:2px;border-left:1px solid #d2cabe80;padding-left:12px}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;padding:7px}.icon-button .icon{width:20px;height:20px}.icon-button:hover{background:#e9e2d57d}.river-preview,.detail-panel{position:absolute;background:#fffaf0f2;border:1px solid #e3d5bfb3;box-shadow:0 12px 32px #726e5720;border-radius:17px;z-index:10;width:300px;padding:20px 23px}.river-preview{right:2%;top:45%;animation:panel-in .2s ease-out}.detail-panel{right:2%;top:32%;width:clamp(290px,21%,360px);max-height:54%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5bfaf transparent;animation:panel-in .2s ease-out}.preview-heading,.panel-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-top{position:sticky;top:-20px;background:#fffaf0f5;margin-top:-7px;padding-top:7px;z-index:1}.eyebrow{font-size:10px;letter-spacing:.1em;color:#9a715c}.river-preview h2,.detail-panel h2{font:600 22px/1.5 var(--serif);margin:3px 0 13px;letter-spacing:.04em}.river-preview p,.detail-panel p,.detail-panel dd{font-size:12px;line-height:1.85;margin:9px 0}.muted{color:#7a7d73}.chips{display:flex;gap:6px;margin:12px 0}.chips span{padding:4px 8px;background:#ebe7dcb8;border-radius:5px;font-size:10px;color:#657569}.preview-actions{display:flex;justify-content:space-between;border-top:1px solid #dcd5c77d;margin-top:14px;padding-top:6px}.detail-meta{color:#8d8374;font-size:10px!important}.detail-panel blockquote{margin:16px 0;padding:13px 14px;background:#ece7dc77;border-left:2px solid #b7b1a3;font:13px/1.85 var(--serif);color:#697165}.detail-panel dt{font:600 12px var(--serif);margin-top:18px}.detail-panel dd{margin-left:0;color:#72796f}.detail-panel .primary-button{margin-top:10px}.direction-tabs{display:grid;gap:7px;margin-top:15px}.direction-tabs button{padding:10px;border:1px solid #dbd6c8;border-radius:7px;font-size:12px;text-align:left}.direction-tabs button[aria-pressed=true]{background:#e1e9e3;border-color:#aabeb4}.summary-river{border-bottom:1px solid #ded5c480;padding:7px 0 15px}.summary-river h3{font:600 17px var(--serif);margin-bottom:8px}.summary-river .text-button{display:flex}.water-flow{opacity:.46;animation:flow 14s linear infinite;animation-delay:var(--flow-delay);pointer-events:none}.flow-1{opacity:.25}.flow-2{opacity:.36}.flow-3{opacity:.22}.flow-4{opacity:.3}.flow-5{opacity:.18}.tributary-flow{opacity:.2}.unknown-mist,.arrival-mist,.confluence{pointer-events:none}.ambient-mist{opacity:.26}.mist-breath{opacity:.7;animation:mist-breathe 16s ease-in-out infinite alternate}.mist-breath:nth-child(2){animation-delay:-8s}.arrival-mist{opacity:0}.arriving .terrain{animation:terrain-in 1.7s ease-out 2.5s both}.arriving .map-node{animation:node-in .42s ease-out 3.4s both}.arriving .river-label{animation:node-in .42s ease-out 2.9s both}.arriving .confluence{animation:confluence-pulse 1.15s cubic-bezier(.22,1,.36,1) both}.arriving .arrival-mist{animation:mist-out 4.8s ease-out both}.arriving .map-note{animation:node-in .7s ease-out 3.5s both}.skip-intro{position:absolute;left:52%;top:64%;transform:translateX(-50%);padding:10px 20px;border-radius:25px;background:#fffaf1ed;border:1px solid #ded2bf;z-index:11;font-size:12px}.skip-intro .icon{width:16px;height:16px}.motion-paused .water-flow,.motion-paused .mist-breath,.page-hidden .water-flow,.page-hidden .mist-breath{animation-play-state:paused}.reduced-motion *{animation:none!important;transition:none!important}.reduced-motion .river-reveal-stroke,.reduced-motion .river-reveal-tributary{stroke-dashoffset:0}.reduced-motion .river-reveal-complete{opacity:1!important}.mobile-rivers{display:none}.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}.skip-link{position:fixed;left:20px;top:-100px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:10px}
@keyframes flow{to{stroke-dashoffset:var(--flow-offset)}}@keyframes river-reveal{0%{stroke-dashoffset:100;stroke-opacity:0}12%{stroke-opacity:.16}28%{stroke-opacity:.72}45%{stroke-opacity:1}100%{stroke-dashoffset:0;stroke-opacity:1}}@keyframes river-reveal-complete{to{opacity:1}}@keyframes confluence-pulse{0%{opacity:0;transform:scale(.35);transform-origin:884px 452px}45%{opacity:.2}100%{opacity:.58;transform:scale(1);transform-origin:884px 452px}}@keyframes mist-breathe{from{opacity:.68}to{opacity:.72}}@keyframes reveal{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}@keyframes terrain-in{from{opacity:.12}to{opacity:.89}}@keyframes node-in{from{opacity:0}to{opacity:1}}@keyframes core-in{from{opacity:0}to{opacity:1}}@keyframes mist-out{0%,65%{opacity:1}100%{opacity:0}}@keyframes panel-in{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}
@media(min-width:1850px){.river-label{padding:22px}.action-card h2{font-size:21px}.nav-item{font-size:18px}.action-area{max-width:400px}.detail-panel{max-height:57%}}
@media(max-height:850px) and (min-width:761px){.page-header{top:6.8%}.page-header h1{font-size:clamp(27px,2.5vw,43px)}.page-header p{font-size:clamp(11px,1vw,16px)}.river-label{padding:11px 14px}.label-top strong{font-size:clamp(15px,1.1vw,19px)}.label-bottom{margin-top:7px;padding-top:6px}.action-card,.secondary-card{padding:12px 15px}.action-card h2{font-size:16px}.action-card p{margin-bottom:8px}.status-bar{height:64px;padding:11px 22px}.status-intro small{margin-top:4px}.map-note{font-size:12px}.detail-panel{top:27%;max-height:58%}}
@media(max-width:1280px) and (min-width:761px){.sidebar{width:14%}.coordinate-space{left:0}.brand{gap:6px;font-size:16px}.brand .icon{width:23px}.nav-item{gap:9px;padding:10px;font-size:13px}.nav-item small{font-size:8px}.page-header{left:16%;top:8%}.river-label{min-width:172px;padding:12px;min-height:97px}.label-top{gap:7px}.river-symbol{width:35px;height:35px}.river-symbol .icon{width:24px;height:24px}.label-top strong{font-size:17px}.label-top small{font-size:10px}.label-bottom{font-size:10px;padding-top:6px;margin-top:8px}.action-area{min-width:215px}.action-card{padding:13px;gap:8px}.action-symbol{width:40px;height:40px}.action-symbol .icon{width:27px}.action-card h2{font-size:15px}.action-card p{font-size:10px}.primary-button{padding:10px 15px}.secondary-card{padding:12px}.secondary-card strong{font-size:14px}.secondary-card small{font-size:10px}.status-bar{left:16%;gap:15px;padding:13px 20px}.status-intro{min-width:170px}.stat{padding-left:16px;min-width:88px}.summary-button{font-size:11px}.map-note{font-size:12px}.river-preview,.detail-panel{width:270px}.map-quote{font-size:16px}.node-caption{font-size:11px}}
@media(max-width:760px){html,body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}.shell{min-height:100svh;height:auto;overflow:hidden;padding-bottom:18px;display:flex;flex-direction:column}.sidebar{position:relative;width:100%;height:65px;inset:auto;padding:13px 18px;border-right:0;border-bottom:1px solid #e7ddc7;display:flex;flex-direction:row;align-items:center;background:#fbf6eae6}.brand{font-size:19px;gap:8px;padding:0}.brand .icon{width:25px}.sidebar nav,.sidebar-bottom{display:none}.top-tools{top:18px;right:14px}.demo-badge{font-size:10px;padding:6px 9px}.demo-badge .icon{width:12px}.page-header{position:relative;left:auto;top:auto;padding:29px 24px 0;z-index:4}.page-header h1{font-size:30px}.page-header p{font-size:11px;letter-spacing:.035em}.coordinate-space{position:relative;order:2;inset:auto;flex:none;width:780px;height:439px;left:50%;transform:translateX(-56%);margin-top:-8px;pointer-events:auto}.sidebar{order:0}.page-header{order:1}.mobile-rivers{order:3;display:flex;position:relative;padding:0 18px;gap:7px;z-index:4;margin-top:-8px}.mobile-rivers button{flex:1;display:flex;gap:7px;align-items:center;justify-content:center;background:#fffaf0de;border:1px solid #dcd4c2;border-radius:12px;min-height:47px;font:13px var(--serif);padding:8px 6px;white-space:nowrap}.mobile-rivers .icon{width:20px;height:20px}.river-label{min-width:0;width:105px;padding:9px 8px;border-radius:12px}.label-top{gap:5px}.label-top strong{font-size:12px;letter-spacing:0}.label-top small{font-size:8px;margin-top:3px}.label-top>.icon{width:9px}.river-symbol{width:22px;height:22px}.river-symbol .icon{width:18px;height:18px}.label-bottom{font-size:8px;margin-top:6px;padding-top:5px;letter-spacing:0}.label-love{left:28%!important}.label-survival{left:62%!important}.label-ability{left:55%!important}.map-node{min-width:44px;min-height:44px}.node-caption{font-size:9px;top:29px;left:23px}.node-dot{height:12px;width:12px}.map-note{display:none}.map-quote{display:none}.action-area{position:relative;order:5;right:auto;top:auto;width:auto;min-width:0;max-width:none;margin:20px 18px 0;display:grid;grid-template-columns:1fr}.action-card{padding:16px 20px;gap:15px}.action-card h2{font-size:18px}.action-card p{font-size:12px}.secondary-card{margin-top:10px;min-height:65px}.secondary-card strong{font-size:15px}.secondary-card small{font-size:11px}.status-bar{position:relative;order:6;left:auto;right:auto;bottom:auto;height:auto;margin:16px 18px 0;flex-wrap:wrap;gap:12px;padding:14px 16px;border-radius:13px}.status-intro{min-width:0;flex:1}.status-intro strong{font-size:11px}.status-intro small{font-size:9px}.stat{display:none}.summary-button{font-size:11px;margin-left:0}.motion-controls{margin-left:auto;padding-left:6px}.icon-button{width:40px;height:40px}.river-preview,.detail-panel{position:relative;order:4;right:auto;top:auto;width:auto;margin:16px 18px 0;padding:18px 20px;max-height:none;border-radius:14px}.river-preview h2,.detail-panel h2{font-size:21px}.river-preview p,.detail-panel p,.detail-panel dd{font-size:13px}.panel-top{position:relative;top:auto}.preview-actions .text-button{font-size:13px;min-height:44px}.fork-label{font-size:10px;padding:8px}.skip-intro{top:390px;left:50%;font-size:11px}.shell[data-panel]:not([data-panel='']) .map-labels{opacity:.9}}
@media(max-width:760px){.label-love{left:33%!important}.river-preview,.detail-panel{scroll-margin-top:16px}.detail-panel .icon-button,.river-preview .icon-button{width:44px;height:44px}.node-caption{pointer-events:none}.status-intro{flex:1 0 100%}}
.shell[data-panel=future] .map-quote{visibility:hidden}


/* Stage 9 visual correction: soften the final mask handoff and keep flow center-to-outlet. */
.arriving .river-reveal-complete{opacity:0;animation:river-reveal-complete-soft 1.45s cubic-bezier(.22,1,.36,1) 2.75s both}.label-bottom,.map-note{display:none}.river-label{padding-bottom:14px}
@keyframes flow{to{stroke-dashoffset:var(--flow-distance)}}@keyframes river-reveal-complete-soft{from{opacity:0}to{opacity:1}}.label-bottom,.map-note{display:none}

/* Stage 10 clickable content prototype. It is intentionally isolated from the map layout. */
.explore-view,.explore-view body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}.explore-view #app{min-height:100dvh}
.explore-shell{position:relative;isolation:isolate;min-height:100dvh;overflow:auto;background:#fbf3e4;padding:28px 24px 60px}.explore-shell:before{content:'';position:fixed;z-index:-2;inset:0;background:url('/assets/three-rivers/terrain-v1.png') center/cover no-repeat;opacity:.89;pointer-events:none}.explore-shell:after{content:'';position:fixed;z-index:-1;inset:0;background:rgba(251,243,228,.12);pointer-events:none}.explore-header{max-width:980px;margin:0 auto 48px;display:flex;align-items:center;justify-content:space-between;color:#747871;font-size:12px}.explore-brand{font:600 19px var(--serif);color:var(--ink)}.explore-card{width:min(720px,100%);margin:0 auto;background:#fffaf1e8;border:1px solid #eadfcd;border-radius:24px;box-shadow:0 22px 55px #6b625318;padding:clamp(28px,5vw,58px)}.explore-card h1{font:500 clamp(28px,4vw,43px)/1.35 var(--serif);letter-spacing:.035em;margin:8px 0 14px}.explore-kicker,.card-kicker{color:#9a715c;font-size:11px;letter-spacing:.12em}.lead{font:16px/1.9 var(--serif);color:#5d6865;max-width:580px}.lead.small{font-size:14px}.promise-list{display:grid;gap:14px;margin:32px 0;padding-left:23px;line-height:1.7;color:#5f6965}.explore-progress{height:4px;background:#e7dfd2;border-radius:3px;overflow:hidden}.explore-progress span{display:block;height:100%;background:#718c82}.progress-text,.question-help,.selection-count{font-size:12px;color:#777d77;line-height:1.7}.progress-text{margin:10px 0 32px}.question-help{margin-bottom:24px}.selection-count{text-align:right}.explore-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.explore-option{display:flex;align-items:center;gap:12px;min-height:56px;padding:13px 16px;border:1px solid #ddd4c5;border-radius:13px;background:#fffdf7;text-align:left;line-height:1.5}.explore-option[aria-pressed=true]{border-color:#789085;background:#e8eee8;color:#294b46}.explore-option span{width:18px;color:#73877e}.explore-card textarea{width:100%;margin-top:14px;padding:14px 16px;resize:vertical;border:1px solid #d8d0c2;border-radius:12px;background:#fffdf8;color:var(--ink);font:14px/1.7 var(--sans)}.explore-card fieldset{border:0;border-top:1px solid #e0d7ca;margin:30px 0 0;padding:24px 0 0}.explore-card legend{padding:0 10px 0 0;font:14px var(--serif)}.explore-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:38px}.quiet-button{display:inline-flex;align-items:center;min-height:42px;padding:8px 4px;color:#64726d}.primary-button:disabled{opacity:.42}.understanding-list{display:grid;gap:16px;margin-top:28px}.understanding-card{padding:22px;border:1px solid #ded5c7;border-radius:16px;background:#fffdf8}.understanding-card h2{font:600 19px/1.5 var(--serif);margin:6px 0}.understanding-card>p:not(.card-kicker){line-height:1.75;color:#53625e}.understanding-card dl{display:grid;grid-template-columns:72px 1fr;gap:8px;margin:15px 0;font-size:12px;line-height:1.65}.understanding-card dt{font-weight:600}.understanding-card dd{margin:0;color:#727871}.card-actions{display:flex;gap:8px;border-top:1px solid #e6ded1;padding-top:14px}.card-actions button,.small-action{min-height:38px;padding:8px 14px;border-radius:20px;background:#eee8dc}.understanding-card.is-deleted{opacity:.58}.done-summary{display:flex;justify-content:space-between;margin-top:30px;padding:20px;border-radius:14px;background:#e8eee8}.done-summary span{color:#737b76}
.explore-card,.understanding-card,.understanding-card dd,.understanding-card p{min-width:0;overflow-wrap:anywhere}.understanding-card{overflow:visible}.explore-nav{position:relative;z-index:1}
.explore-sidebar{position:fixed;z-index:4}.explore-main{margin-left:12%;position:relative;z-index:1}.explore-nav-icon{width:24px;height:24px;display:inline-grid;place-items:center;font:20px var(--serif);flex:none}.result-highlight,.result-evidence,.unknown-list>div,.map-update-preview,.analysis-status{margin-top:28px;border:1px solid #ddd4c5;border-radius:16px;background:#fffdf8d9;padding:22px}.result-highlight{display:grid;gap:9px}.result-highlight span,.result-evidence>span{font-size:11px;color:#9a715c;letter-spacing:.08em}.result-highlight strong{font:600 20px/1.6 var(--serif)}.result-evidence h2{font:600 22px var(--serif)}.result-evidence p,.result-evidence dd,.unknown-list p,.preview-copy p,.analysis-status p{line-height:1.75;color:#68716d}.result-evidence dl{display:grid;grid-template-columns:80px 1fr;gap:12px;margin-top:22px}.result-evidence dd{margin:0}.unknown-list{display:grid;gap:12px}.unknown-list>div{margin-top:0}.unknown-list p{margin-bottom:0}.map-update-preview{display:block}.preview-copy{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.4fr);column-gap:24px;align-items:baseline}.preview-copy strong{font:600 14px var(--serif)}.preview-copy p{margin:5px 0 16px;font-size:12px}.analysis-status{position:relative;padding-left:58px}.analysis-status strong{font:600 16px var(--serif)}.analysis-status p{margin:7px 0 0}.analysis-pulse{position:absolute;left:24px;top:24px;width:16px;height:16px;border-radius:50%;background:#78969a;box-shadow:0 0 0 0 #78969a66;animation:analysis-pulse 1.7s ease-out infinite}.analysis-status.is-error{border-color:#d9bbae;background:#fff9f4e8}@keyframes analysis-pulse{70%{box-shadow:0 0 0 12px transparent}100%{box-shadow:0 0 0 0 transparent}}
@media(max-width:1280px) and (min-width:761px){.explore-main{margin-left:14%}}
@media(max-width:600px){.explore-shell{padding:18px 14px 36px}.explore-header{margin-bottom:24px}.explore-card{padding:28px 20px;border-radius:18px}.explore-options{grid-template-columns:1fr}.explore-option{min-height:52px}.understanding-card{padding:18px}.card-actions{flex-wrap:wrap}.done-summary{display:grid;gap:8px}}
@media(max-width:760px){.explore-shell{padding:0 14px 36px}.explore-sidebar{position:relative;width:calc(100% + 28px);margin:0 -14px 22px}.explore-sidebar .brand{display:flex}.explore-main{margin-left:0}.explore-header{padding:0 4px}.preview-copy{grid-template-columns:1fr}.explore-nav{flex-wrap:wrap}.explore-nav .primary-button{margin-left:auto}}
.save-error{margin-top:18px;padding:15px 18px;border:1px solid #d9bbae;border-radius:13px;background:#fff9f4e8}.save-error strong{font:600 14px var(--serif)}.save-error p{margin:6px 0 0;color:#756962;font-size:12px;line-height:1.7}.local-map-node .node-dot{background:#8a6f65}.local-map-node .node-caption{color:#625852}.danger-button{color:#925e50!important}

@media(max-width:1280px) and (min-width:761px){.nav-item:disabled small{position:absolute;bottom:2px;right:12px;font-size:8px}.nav-item:disabled{padding-bottom:17px}.detail-panel h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.arriving .terrain{opacity:.89}.arriving .river-reveal-stroke,.arriving .river-reveal-tributary{stroke-dashoffset:0}.arriving .river-reveal-complete{opacity:1}.arrival-mist{opacity:0}}

/* Stage 9: proof copy appears only after its node is opened. */
.node-caption{top:27px;color:#485653;padding:5px 8px;border-radius:8px;background:#fffaf0d9;box-shadow:0 3px 12px #514a3d14;text-shadow:none;opacity:0;visibility:hidden;transform:translateY(3px);transition:opacity .18s ease-out,transform .18s ease-out,visibility 0s linear .18s}
.map-node.selected .node-caption{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}



/* Stage 9: no code-generated ambient flow remains; the source river keeps its own static painted lines. */

/* 本地记录是列表入口，标签不依赖证明节点的选中状态。 */
.local-map-node .node-caption{opacity:1;visibility:visible;transform:none;transition:none;white-space:nowrap}
.river-preview{max-height:48%;overflow-y:auto;overscroll-behavior:contain}.river-record-count{margin-top:-8px!important;color:#81796d;font-size:10px!important;letter-spacing:.04em}.river-workspace-records{margin:15px 0 4px;padding:12px 0;border-top:1px solid #dcd5c77d;border-bottom:1px solid #dcd5c77d}.river-workspace-records h3{margin:0 0 7px;font:600 12px var(--serif);color:#5f6965}.river-workspace-records a{display:flex;align-items:center;gap:7px;min-height:32px;font-size:12px;color:#42606b}.river-workspace-records a span{flex:none;padding:2px 6px;border-radius:5px;background:#ebe7dcb8;color:#657569;font-size:9px}.river-workspace-records a .icon{width:14px;height:14px;margin-left:auto}.river-workspace-records p{margin:4px 0!important}.summary-river>.river-workspace-records{padding-left:0;padding-right:0}
@media(max-width:760px){.river-preview{max-height:none}.river-workspace-records a{min-height:40px;font-size:13px}}

/* A selected river needs a visible layer because the watercolor source is one merged image. */
.map-labels a{pointer-events:auto}.river-system.subdued{opacity:.48}.river-highlight{pointer-events:none;opacity:0;stroke-dasharray:100;stroke-dashoffset:100;transition:opacity .2s ease-out,stroke-dashoffset 0s .2s}.river-highlight-halo{filter:blur(5px);mix-blend-mode:screen}.river-system.emphasized .river-highlight{stroke-dashoffset:0;transition:opacity .3s ease-out,stroke-dashoffset .75s cubic-bezier(.22,1,.36,1)}.river-system.emphasized .river-highlight-halo{opacity:.34}.river-system.emphasized .river-highlight-line{opacity:.82}
.map-node{transition:opacity .2s ease-out}.map-node.river-subdued{opacity:.16;pointer-events:none}.map-node.river-active .node-dot{box-shadow:0 0 0 4px #fff9ed9c,0 0 0 5px var(--river-accent)}.workspace-map-node .node-caption{left:24px;top:25px}.workspace-map-node:hover .node-caption,.workspace-map-node:focus-visible .node-caption{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}.path-map-node .node-dot{width:16px;height:16px;background:#fffaf0;border:3px solid var(--river-accent);box-shadow:0 0 0 3px #fffaf0b8}.plan-map-node .node-dot{width:12px;height:12px;border-radius:3px;transform:rotate(45deg);background:var(--river-accent);box-shadow:0 0 0 3px #fffaf0c7}.plan-map-node:hover .node-dot,.plan-map-node:focus-visible .node-dot{transform:rotate(45deg);box-shadow:0 0 0 5px #fff9edb8,0 0 0 6px var(--river-accent)}
