:root{color-scheme:dark;--bg:#101917;--text:#eeeade;--muted:#a0ada0;--accent:#edb777}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;overflow:hidden}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:transparent}a{color:var(--accent);text-decoration:none}button:hover,a:hover{color:#ffd798}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}#map{position:absolute;inset:0 0 187px;background:#131e1b;z-index:0}.leaflet-container{font:inherit}.leaflet-tile-pane{filter:invert(1) hue-rotate(160deg) saturate(.3) brightness(.7)}body.light-map .leaflet-tile-pane{filter:none}.leaflet-control-attribution{font-size:10px!important;background:#101917df!important;color:#9fac9e!important}.leaflet-control-attribution a{color:#bbcab9!important}.leaflet-control-scale-line{background:#17241ce3;color:#c6cfbf;border-color:#90a083;font-size:11px}.map-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#101917e8,transparent 33%),linear-gradient(180deg,#101917ed,transparent 24%);z-index:1}header{height:95px;padding:25px 34px;display:flex;align-items:center;gap:35px;position:relative;z-index:4;pointer-events:none}header>*{pointer-events:auto}.brand{color:var(--text);display:flex;gap:12px;align-items:center;font-size:21px;letter-spacing:3px;min-width:185px}.brand small{display:block;font-size:10px;letter-spacing:2.6px;margin-top:5px;color:var(--muted)}.leaf{font-size:45px;color:var(--accent);line-height:1}.text-btn{margin-left:auto;font-size:13px;color:#b8c4b6;background:#14201dbb;border-radius:8px;padding:10px 15px}#searchForm{display:flex;align-items:center;position:relative;width:330px;border:1px solid #405044;border-radius:9px;background:#15231eef;padding:2px 10px}#searchForm>span{font-size:26px;color:#a8b49f}#search{width:100%;background:transparent;color:var(--text);border:0;padding:10px;outline:none;font-size:13px}#search::placeholder{color:#879a88}#searchResults{position:absolute;top:45px;left:0;right:0;background:#1c2b23;border:1px solid #53604d;border-radius:8px;padding:8px;box-shadow:0 10px 30px #0006;max-height:300px;overflow:auto}#searchResults button{display:block;text-align:left;width:100%;padding:10px;border-radius:5px}#searchResults button:hover{background:#334534}#searchResults small{display:block;color:#a5b39c;font-size:11px}.date{position:absolute;top:113px;left:36px;z-index:2;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2px;color:#8b9d89;margin-bottom:30px}.date>span{font-size:12px;letter-spacing:2px;color:#a5b49d}.date b{font-weight:400;color:var(--accent)}h1{font-family:Georgia,"Songti SC",serif;font-weight:400;font-size:44px;letter-spacing:1px;margin:12px 0}.date p{font-size:12px;color:#b3beaa;letter-spacing:2px}.model-tag{font-size:10px;letter-spacing:1px;color:#a9b59a;border:1px solid #52604588;border-radius:30px;padding:5px 9px;display:inline-block;margin-top:4px;background:#18241c99}.species-panel{position:absolute;z-index:3;left:35px;top:332px;width:245px;border:1px solid #3d4e3c;border-radius:10px;background:#13221ddd;backdrop-filter:blur(12px);max-height:calc(100dvh - 655px);min-height:46px;overflow:auto}.species-heading{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;text-align:left;position:sticky;top:0;background:#19271f;z-index:1}.species-heading span:nth-child(2){color:var(--accent);font-size:11px;margin-left:auto}.select-actions{display:flex;gap:8px;align-items:center;padding:12px 10px 7px;font-size:11px}.select-actions button{color:var(--accent)}.select-actions span{font-size:9px;color:#92a48b}.species-row{display:flex;align-items:center;padding:7px 13px;gap:8px;border-top:1px solid #42543b44}.species-row input{accent-color:var(--accent);width:14px;height:14px;margin:0;cursor:pointer}.swatch{width:9px;height:9px;border-radius:50%;flex-shrink:0}.species-name{text-align:left;flex:1;font-size:12px}.species-name small{font-size:9px;color:#90a283;display:block;font-style:italic;margin-top:2px}.species-row .solo{font-size:10px;color:#a8b49d}.map-tools{position:absolute;right:29px;top:41%;border:1px solid #485845;border-radius:9px;background:#19251feb;z-index:2}.map-tools button{display:block;width:38px;height:39px;font-size:22px}.map-tools button+button{border-top:1px solid #485845}.map-status{position:absolute;left:50%;top:103px;transform:translateX(-50%);display:flex;gap:12px;background:#19271ee8;border:1px solid #4e5b43;border-radius:25px;padding:8px 15px;font-size:11px;color:#b4c1a9;z-index:2;max-width:57%;pointer-events:none}.map-status span:first-child{white-space:nowrap;color:var(--accent)}.bottom-context{position:absolute;bottom:225px;left:36px;right:36px;display:flex;align-items:end;justify-content:space-between;pointer-events:none;z-index:2}.legend{width:220px;padding:12px;background:#142019d9;border-radius:7px}.legend>span{font-size:11px;color:#b7c2aa}.color-bar{height:5px;margin:12px 0 8px;border-radius:4px;background:linear-gradient(90deg,#426c47,#c7c456,#e7a447,#c8583d,#745044)}.legend-labels{display:flex;justify-content:space-between;color:#9fac95;font-size:10px}.location-chip{pointer-events:auto;padding:10px 13px;background:#18281fee;border:1px solid #4e6047;border-radius:8px;color:#bec9b2;font-size:12px}.location-chip button{color:var(--accent);margin-left:13px}footer{position:absolute;bottom:0;left:0;right:0;padding:16px 35px 19px;background:#101917f7;border-top:1px solid #344532;z-index:5}.timeline{margin-bottom:18px}.timeline-head{display:flex;justify-content:space-between;font-size:12px;color:#b1bfa7}.timeline-head small{color:#7e9378;margin-left:15px;font-size:10px}.timeline-head>span:last-child{color:var(--accent)}input[type=range]{width:100%;accent-color:var(--accent);height:4px;margin:18px 0 13px;cursor:pointer}.ticks{display:flex;justify-content:space-between;font-size:10px;color:#90a384}nav{display:flex;align-items:center;gap:25px}.play{border-radius:7px;background:#edb477;color:#222b21;padding:12px 17px;display:flex;gap:10px;align-items:center;font-size:13px;white-space:nowrap}.play:hover{background:#f6c591;color:#17221a}.nav-right{display:flex;align-items:center;gap:5px}.nav-right button{padding:10px 13px;color:#b6c2ac;font-size:15px;white-space:nowrap}.nav-right button span{font-size:12px;margin-left:5px}.nav-right button[aria-pressed=true]{color:#f0e5cc;background:#29372a;border-radius:7px}#googleLink{margin-left:auto;font-size:12px;white-space:nowrap}#panel{z-index:6;position:absolute;right:80px;top:105px;width:354px;max-height:calc(100dvh - 320px);overflow:auto;padding:24px;background:#192820f5;border:1px solid #4c6047;border-radius:12px;box-shadow:0 15px 45px #0005;line-height:1.8;backdrop-filter:blur(14px)}#panel h2{font-family:Georgia,"Songti SC",serif;font-size:25px;font-weight:400;margin:3px 0 12px}#panel h3{font-size:14px;margin:18px 0 8px}#panel p{color:#b8c5ad;font-size:13px}#panel .close{position:absolute;right:12px;top:8px;font-size:23px}#panel small{color:#9eaf91;font-size:11px}#panel label{display:flex;justify-content:space-between;margin:15px 0;gap:12px;font-size:13px}#panel select{background:#2b3d2e;color:#efeadb;padding:5px;border:1px solid #5e6e50;border-radius:5px;max-width:145px}.status{color:var(--accent);padding:9px 0;border-bottom:1px solid #46573d;font-size:13px}.source-links{display:flex;flex-wrap:wrap;gap:12px;font-size:12px}.source-list li{margin-bottom:10px}.source-list{padding-left:18px;font-size:12px;color:#b9c3ac}.metric{font-family:Georgia,serif;font-size:46px;line-height:1.3;color:#f2dbb8}.weather-days{margin:16px 0}.weather-day{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;border-top:1px solid #43533b66;padding:8px 0;font-size:12px}.weather-day span:last-child{text-align:right;color:#9cbbbd}.bad{color:#e3ab85!important}.action-btn{border:1px solid #637353;border-radius:6px;padding:7px 10px;color:#e7c397;margin:4px 0}.gradient-preview{height:15px;border-radius:5px;margin:14px 0}.model-summary{font-size:12px;color:#c6cfb8;display:grid;grid-template-columns:1fr 1fr;gap:8px}.model-summary b{display:block;color:var(--accent);font-weight:400}.progress-track{height:5px;background:#43583d;border-radius:3px;margin:16px 0;position:relative}.progress-track i{position:absolute;width:9px;height:9px;top:-2px;border-radius:50%;background:#f2c285;transform:translateX(-50%)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#1e3025;color:#dce2ce}.leaflet-popup-content{font-size:12px;line-height:1.8}.leaflet-popup-content small{color:#a6b79a}.leaflet-popup-content a{color:#f3c080}.leaflet-container a.leaflet-popup-close-button{color:#d4d9bd}dialog{width:min(1000px,94vw);max-height:90dvh;padding:25px;background:#18241e;color:var(--text);border:1px solid #677153;border-radius:14px;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#07130bdc;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-weight:400;margin:4px 0;font-size:24px}.dialog-head small{font-size:10px;letter-spacing:2px;color:var(--accent)}.dialog-head button{font-size:28px}dialog p{font-size:12px;color:#b3bea4}iframe{width:100%;height:55dvh;border:0;background:#fff;border-radius:8px;margin:10px 0}body.timeline-hidden #map{bottom:85px}body.timeline-hidden .bottom-context{bottom:110px}body.timeline-hidden .species-panel{max-height:calc(100dvh - 480px)}@media(max-height:850px) and (min-width:801px){.date{top:100px}.eyebrow{margin-bottom:15px}.species-panel{top:290px;max-height:calc(100dvh - 610px)}.date p{margin:5px 0}.model-tag{margin-top:8px}h1{font-size:37px;margin:7px 0}}@media(max-width:900px){header{padding:20px;gap:15px}.brand{min-width:auto;font-size:17px}.brand small{font-size:8px}.leaf{font-size:34px}#searchForm{width:280px}.text-btn{font-size:11px}.nav-right button{padding:10px 7px}.footer-note{display:none}nav{gap:10px}.species-panel{left:20px;width:210px}.date{left:22px}.bottom-context{left:20px;right:20px}#panel{right:70px;width:310px}#googleLink{font-size:10px}footer{padding:15px 20px 18px}}@media(max-width:650px){header{height:115px;flex-wrap:wrap;align-content:start;gap:10px;padding:15px 17px}.brand{width:170px}.text-btn{position:absolute;top:18px;right:15px}#searchForm{order:3;width:100%;height:37px}.date{top:126px;left:19px}.eyebrow{display:none}.date>span{font-size:10px}h1{font-size:30px;margin:8px 0}.date p{display:none}.model-tag{font-size:9px}.map-status{top:130px;left:auto;right:17px;transform:none;max-width:46%;font-size:9px;border-radius:8px;display:block;padding:7px 9px}.map-status span{display:block;line-height:1.6}.species-panel{top:245px;left:17px;width:192px;max-height:calc(100dvh - 590px)}.species-heading{padding:10px 12px;font-size:12px}.select-actions span{display:none}.species-row{padding:7px 10px}.species-name{font-size:11px}.species-name small{font-size:8px}.map-tools{right:17px;top:43%}.bottom-context{bottom:234px;left:17px;right:17px}.legend{width:147px;padding:8px}.legend>span{font-size:9px}.legend-labels{font-size:8px}.location-chip{font-size:10px;padding:7px;max-width:155px}.location-chip button{margin:0;font-size:9px}.timeline-head{font-size:11px}.timeline-head small{display:none}footer{padding:14px 17px 16px}nav{flex-wrap:wrap;gap:9px}.play{font-size:11px;padding:11px}.nav-right{flex:1;justify-content:space-between;gap:0}.nav-right button{font-size:17px;padding:6px}.nav-right button span{font-size:9px;display:block;margin:4px 0 0}#googleLink{width:100%;text-align:right;font-size:10px}#panel{left:14px;right:14px;top:122px;width:auto;max-height:calc(100dvh - 365px);padding:21px}.ticks{font-size:8px}#map{bottom:213px}.leaflet-control-attribution{max-width:90vw;font-size:8px!important}.leaflet-control-scale-line{font-size:9px}.source-links{font-size:11px}dialog{padding:18px}body.timeline-hidden #map{bottom:125px}body.timeline-hidden .bottom-context{bottom:154px}}

.history-chart{width:100%;height:auto;background:#10201880;border:1px solid #41553e;border-radius:8px;margin:12px 0 0}.history-chart text{font-size:10px;fill:#bec9ad}#referenceSite{display:block;margin:13px 0}.species-name small{line-height:1.4}

#panel .close{position:sticky;top:0;float:right;margin:-15px -11px 0 0;background:#192820;border-radius:50%;width:28px;height:28px;line-height:1;z-index:5}
/* The forest is the main surface; geography recedes behind the trees. */
:root{--bg:#080e0b;--muted:#a6ae9a;--accent:#edbb74}#map{background:#080e0b;bottom:174px}.map-shade{background:linear-gradient(90deg,#080e0bb3,transparent 28%),linear-gradient(180deg,#080e0bbf,transparent 26%)}.leaflet-tile-pane{filter:none}.forest-canvas{position:absolute;pointer-events:none}.city-label{background:none;border:0;color:#efe5b7;font-size:12px;white-space:nowrap;text-shadow:0 1px 3px #000,0 0 7px #000,0 0 12px #000}.city-label span:before{content:'';display:inline-block;width:4px;height:4px;background:#e5c577;border-radius:50%;margin-right:5px;vertical-align:middle}.city-label:hover{color:#fff6d9}.leaflet-control-attribution{background:#090f0baf!important;font-size:10px!important}.date{top:120px}.date .eyebrow{font-size:10px;letter-spacing:2.6px;margin-bottom:19px;color:#9eaa8b}.date h1{font-size:46px}.date p{font-size:13px;letter-spacing:1px}.model-tag{font-size:11px;background:#142016bb}.species-panel{top:324px;width:255px;max-height:calc(100dvh - 565px);background:#0f1b13e8;border-color:#35432f;border-radius:12px}.species-heading{background:#152019;font-size:14px}.species-row{gap:5px;padding:3px 12px;min-height:61px}.tree-thumb{width:39px;height:52px;flex-shrink:0;object-fit:contain}.species-name{font-size:14px}.species-name small{font-size:10px;line-height:1.4;font-style:normal}.species-row .solo{font-size:12px}.select-actions{font-size:12px}.select-actions span{display:none}.tree-specimen{height:240px;display:flex;justify-content:center;background:radial-gradient(ellipse at 50% 75%,#40503555,transparent 65%);margin:-8px -10px 12px}.tree-specimen canvas{width:180px;height:240px;object-fit:contain}.abundance-row{display:flex;align-items:center;gap:10px;font-size:12px;margin:10px 0}.abundance-row span{width:85px;flex-shrink:0}.abundance-row i{height:3px;background:#d9af64;max-width:120px;border-radius:3px}.abundance-row b{font-size:11px;font-weight:400;color:#b8bd9a}#panel{background:#111e16f7;border-color:#49523b}#panel .close{background:#142019}#panel p{font-size:14px}#panel small{font-size:12px}#panel h3{font-size:15px}.map-status{font-size:12px;background:#111c13cd;border-color:#39442d}.map-tools{background:#111d14e0;right:27px}.map-tools button:disabled{opacity:.3;cursor:default}.bottom-context{bottom:202px}.legend{background:#101b13c9}.legend>span{font-size:12px}.legend-labels{font-size:11px}.location-chip{font-size:13px;background:#111d14e3}footer{padding-top:15px;padding-bottom:15px;background:#0b130ffa;border-color:#34402e}.timeline{margin-bottom:14px}.timeline-head{font-size:14px}.timeline-head small{font-size:11px}.ticks{font-size:11px}.nav-right button span{font-size:14px}.play{font-size:14px}.text-btn{font-size:14px}#search{font-size:14px}#googleLink{font-size:12px}.source-list{font-size:14px}#panel label{font-size:14px}.source-links{font-size:13px}.legend .color-bar{height:4px}.brand small{font-size:10px}
@media(max-height:850px) and (min-width:801px){.date{top:106px}.date h1{font-size:38px}.date .eyebrow{margin-bottom:12px}.species-panel{top:284px;max-height:calc(100dvh - 514px)}}
@media(max-width:650px){#map{bottom:203px}.date{top:123px;left:18px}.date h1{font-size:35px}.date>span{font-size:11px}.date .model-tag{font-size:10px}.map-status{top:127px;font-size:10px;max-width:43%;right:17px}.species-panel{top:234px;left:17px;width:210px;max-height:calc(100dvh - 495px)}.species-heading{font-size:13px}.species-name{font-size:13px}.species-name small{font-size:10px}.species-row{min-height:58px}.tree-thumb{width:34px;height:46px}.bottom-context{bottom:225px}.legend{width:152px}.legend>span{font-size:10px}.legend-labels{font-size:10px}.location-chip{font-size:11px;max-width:150px}.location-chip button{font-size:11px}.timeline-head{font-size:12px}.ticks{font-size:10px}.nav-right button span{font-size:10px}.play{font-size:12px;padding:11px 9px}.text-btn{font-size:12px}#search{font-size:13px}#googleLink{font-size:11px}#panel{top:120px;max-height:calc(100dvh - 330px)}.tree-specimen{height:205px}.tree-specimen canvas{height:205px;width:154px}.brand small{font-size:9px}.city-label{font-size:11px}body.timeline-hidden .species-panel{max-height:calc(100dvh - 410px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Compact header filter; keep the forest unobstructed until it is opened. */
header{gap:24px}.brand{font-size:22px;letter-spacing:.4px;min-width:206px}.brand small{letter-spacing:2.3px}.header-actions{display:flex;align-items:center;gap:12px;margin-left:auto;pointer-events:auto}.header-actions .text-btn{position:static;margin:0;white-space:nowrap}.species-panel{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:auto!important;max-height:none!important;min-height:0;overflow:visible;background:transparent;backdrop-filter:none;border:0}.species-heading{position:static;background:#17231be8;border:1px solid #40503a;border-radius:9px;padding:10px 13px;white-space:nowrap;font-size:14px;gap:10px}.species-heading span:nth-child(2){font-size:12px}.species-panel #speciesBody{position:absolute;top:calc(100% + 10px);right:0;width:300px;max-height:min(650px,calc(100dvh - 230px));overflow:auto;background:#112017fa;border:1px solid #4b5b40;border-radius:12px;box-shadow:0 16px 45px #0007;padding-bottom:6px;z-index:9}.species-row{min-height:59px}.species-name{font-size:14px}.select-actions{position:sticky;top:0;z-index:1;background:#15231a;padding:12px 16px}.species-panel .select-actions span{display:none}#panel{z-index:6}.species-chinese{display:block;font-family:"PingFang SC",sans-serif;font-size:18px;color:#b8c6a8;margin-top:4px}.botanical-description{border-bottom:1px solid #40523b;padding-bottom:10px;margin-bottom:16px}.botanical-description p[lang=zh-CN]{color:#9eaf93!important;font-size:13px!important}.search-note{font-size:12px;color:#aebb9f;margin:7px;line-height:1.5}#searchResults button[aria-selected=true]{background:#34482e;color:#fff2c5}#searchResults small{font-size:12px}#searchResults button{font-size:14px}#searchResults{z-index:12;max-height:360px}.date h1{font-size:44px}.date p{max-width:280px;line-height:1.6;letter-spacing:0}.eyebrow{letter-spacing:1.6px!important}#panel .model-summary{gap:12px}.abundance-row span{width:130px}#map{bottom:174px}body.timeline-hidden #map{bottom:85px}.map-status{max-width:45%}nav .nav-right{margin-left:auto}
@media(max-width:1000px){header{gap:12px;padding:22px}.brand{min-width:175px;font-size:20px}#searchForm{width:250px}.header-actions{gap:7px}.header-actions .text-btn,.species-heading{font-size:12px;padding:10px}.species-heading{gap:7px}.species-heading span:nth-child(2){font-size:11px}}
@media(max-width:760px){header{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px;height:auto;align-items:center}.brand{width:auto;min-width:0;font-size:18px;gap:7px}.brand .leaf{font-size:32px}.brand small{font-size:8px}.header-actions{gap:6px;margin:0}.header-actions .text-btn{font-size:11px;padding:9px 6px}.species-heading{font-size:11px;padding:9px 7px;gap:5px}.species-heading span:nth-child(2){display:none}#searchForm{grid-column:1/-1;order:initial;width:100%;height:37px}#search{font-size:13px}.species-panel #speciesBody{position:fixed;top:110px;right:16px;width:min(310px,calc(100vw - 32px));max-height:calc(100dvh - 280px)}.date{top:127px}.date h1{font-size:34px}.map-status{top:131px}.model-tag{max-width:190px;font-size:9px}.bottom-context{bottom:204px}.location-chip{max-width:165px}.legend{width:147px}footer{padding:14px 16px 16px}.play{font-size:12px;padding:12px}.nav-right button{padding:7px 5px}.nav-right button span{font-size:10px}.nav-right{flex:1}.nav-right button#forecast span{max-width:42px;white-space:normal}nav{gap:8px;flex-wrap:nowrap}.timeline-head{font-size:12px}#map{bottom:190px}body.timeline-hidden #map{bottom:100px}body.timeline-hidden .bottom-context{bottom:124px}#panel{top:114px;max-height:calc(100dvh - 315px)}.ticks{font-size:10px}}
@media(max-width:370px){.brand{font-size:16px}.brand .leaf{display:none}.header-actions .text-btn{font-size:10px}.species-heading{font-size:10px}.play{padding:11px 7px;font-size:11px}}
@media(max-width:760px){header>.brand{grid-column:1;grid-row:1;font-size:16px}header>.brand .leaf{display:none}header>.header-actions{grid-column:2;grid-row:1}header>#searchForm{grid-column:1/-1;grid-row:2}.header-actions .species-heading{font-size:10px;padding:9px 6px}.header-actions .text-btn{font-size:10px;padding:9px 6px}.header-actions{gap:5px}.date{top:124px}.map-status{top:128px}}
@media(max-width:760px){.header-actions .species-heading,.header-actions .text-btn{font-size:12px}.species-heading #selectedCount{display:none}.species-heading>span:last-child{display:inline}.species-panel #speciesBody{max-height:calc(100dvh - 310px)}}
