@import "https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=DM+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap";:root{color:#303831;font-synthesis:none;--paper:#f4f0e5;--ink:#303831;--muted:#686c60;--line:#d8d8c9;--red:#d4513e;background:#f4f0e5;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:0 0;border:0;min-height:44px;padding:0 16px;transition:background .18s,color .18s}button:hover{background:#e5e5d7}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--red);outline-offset:4px}a{color:inherit}header{border-bottom:1px solid var(--line);z-index:2;justify-content:space-between;align-items:center;gap:22px;height:86px;padding:0 34px;display:flex;position:relative}.brand{letter-spacing:-.5px;white-space:nowrap;align-items:center;gap:15px;font-family:Space Mono,monospace;font-size:14px;text-decoration:none;display:flex}.brand b{color:var(--muted);font-weight:400}.brand svg{width:46px;color:var(--red)}.edition,.control-label,.eyebrow,.location>span,.hint{letter-spacing:1.5px;font:10px Space Mono,monospace}.edition{color:var(--muted)}nav{align-items:center;gap:8px;display:flex}nav button{font-size:12px}.dark{background:var(--ink);color:var(--paper);border-radius:4px}.dark:hover{background:#4b594d}nav span{margin-left:12px;font-size:17px}#stage{height:calc(100dvh - 186px);min-height:260px;position:relative;overflow:hidden}canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}canvas:active{cursor:grabbing}.intro{pointer-events:none;transition:opacity .6s;position:absolute;top:35px;left:40px}.eyebrow{color:var(--muted);align-items:center;gap:8px;display:flex}.live-dot{background:#658561;border-radius:50%;width:6px;height:6px}h1{letter-spacing:-2.2px;margin:16px 0 13px;font-size:clamp(28px,3.5vw,52px);font-weight:500;line-height:1.06}h1>span{color:var(--red)}.intro p{color:var(--muted);margin:0;font-size:13px}.location{text-align:right;pointer-events:none;position:absolute;top:39px;right:40px}.location>span{color:var(--muted);font-size:9px}.location h2{margin:8px 0;font-size:17px;font-weight:500}#hide-ui{background:#f4f0e5c9;border:1px solid #d8d8c9;border-radius:50%;width:44px;padding:0;font-size:23px;position:absolute;bottom:24px;right:25px}.hint{white-space:nowrap;color:#59614f;pointer-events:none;background:#f4f0e5d9;border:1px solid #d8d8c980;border-radius:24px;padding:12px 20px;font-size:9px;transition:opacity .5s;position:absolute;bottom:30px;left:50%;transform:translate(-50%)}.hint span{padding:0 20px;font-size:13px}footer{border-top:1px solid var(--line);z-index:2;justify-content:space-between;align-items:center;gap:24px;height:100px;padding:0 34px;display:flex;position:relative}.control-label{color:var(--muted);margin-bottom:5px;font-size:9px;display:block}.journey{min-width:180px}form{align-items:center;display:flex}input{background:0 0;border:0;min-width:0}#seed{width:125px;font-family:Space Mono,monospace;font-size:12px}form button{min-height:30px;padding:0 8px;font-size:19px}.travel{align-items:center;gap:8px;display:flex}.travel>button{border:1px solid var(--line);border-radius:4px;width:44px;padding:0;font-size:17px}.travel #drift{background:#e4e8da;border-color:#d5dcc9;width:140px;font-size:12px}#play-icon{margin-right:8px;font-size:10px}#drift[aria-pressed=true]{color:#fff;background:#344d3b}.speed{color:var(--muted);flex-direction:column;gap:7px;margin-left:8px;font-size:10px;display:flex}.speed input{accent-color:#627956;width:64px;height:8px}.light-options{border:1px solid var(--line);border-radius:4px;padding:2px;display:flex}.light-options button{border-radius:2px;min-height:32px;padding:0 12px;font-size:11px}.light-options button[aria-pressed=true]{background:#fffdf5;box-shadow:0 1px 4px #30383112}#sound{border:1px solid var(--line);border-radius:50%;width:44px;padding:0;font-size:20px}#sound[aria-pressed=true]{color:#fff;background:#344d3b}.immersive header,.immersive footer{display:none}.immersive .intro,.immersive .location,.immersive .hint{display:none}body[data-light=night]{--paper:#171f2c;--ink:#e3e3d0;--muted:#adb7b6;--line:#36434d;background:var(--paper);color:var(--ink)}body[data-light=night] .light-options button[aria-pressed=true]{background:#3c4c59}body[data-light=night] .travel #drift{background:#36434d}body[data-light=night] #hide-ui{color:#e3e3d0;background:#25323e}body[data-light=night] .hint{color:#e3e3d0;background:#25323edd;border-color:#36434d}#toast{color:#fffdf4;opacity:0;pointer-events:none;z-index:10;background:#303831;border-radius:5px;max-width:90vw;padding:12px 20px;font-size:12px;transition:all .2s;position:fixed;bottom:115px;left:50%;transform:translate(-50%,15px)}#toast.show{opacity:1;transform:translate(-50%)}dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;width:calc(100% - 30px);max-width:520px;padding:42px;box-shadow:0 20px 100px #17221b40}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#27332466}dialog h2{letter-spacing:-1.2px;font-size:34px;font-weight:500;line-height:1.12}dialog p{color:var(--muted);font-size:14px;line-height:1.8}dialog a{text-underline-offset:3px}.dialog-close{font-size:24px;position:absolute;top:8px;right:10px}.instructions{border-block:1px solid var(--line);grid-template-columns:1fr 1fr;gap:14px;padding:20px 0;font:10px Space Mono,monospace;display:grid}dialog .small{font-size:11px}#discovery{background:var(--paper);border:1px solid var(--line);border-radius:6px;width:280px;padding:24px;position:absolute;bottom:80px;left:34px;box-shadow:0 10px 40px #20302c26}#discovery h3{margin:12px 0;font-size:24px;font-weight:500}#discovery p{color:var(--muted);font-size:13px;line-height:1.6}#discovery button{border-bottom:1px solid var(--line);padding:0;font-size:12px}.sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=1600px){header,footer{padding-inline:48px}.intro{top:50px;left:54px}.location{top:50px;right:54px}}@media (width<=1050px){.edition,.speed{display:none}footer{gap:12px;padding-inline:24px}.atmosphere .control-label{display:none}.light-options button{padding-inline:9px}.journey{min-width:155px}}@media (width<=720px){header{gap:8px;height:66px;padding:0 16px}.brand{gap:8px;font-size:11px}.brand svg{width:34px}.brand span{flex-direction:column;display:flex}nav{gap:1px}nav button{padding:0 10px;font-size:10px}nav button:first-child{display:none}nav span{margin-left:4px}#stage{height:calc(100dvh - 206px)}.intro{top:25px;left:22px}.intro .eyebrow{font-size:8px}h1{letter-spacing:-1.5px;font-size:32px}.intro p{max-width:150px;font-size:11px;line-height:1.5}.location{top:28px;right:20px}.location h2{font-size:12px}.location>span{font-size:8px}.location>span:first-child{letter-spacing:.8px}footer{flex-wrap:wrap;gap:7px 10px;height:140px;padding:12px 18px}.journey{flex:1;min-width:140px}.travel{gap:5px}.travel #drift{width:110px}.travel>button{width:36px}.atmosphere{flex:1}.light-options{width:max-content}.light-options button{min-height:38px;padding-inline:14px}#sound{width:40px;min-height:40px}.hint{padding:10px 15px;font-size:8px;bottom:18px}.hint span{padding:0 8px}.hint{white-space:normal;text-align:center;max-width:calc(100% - 95px);left:20px;transform:none}#hide-ui{bottom:16px;right:18px}#discovery{bottom:68px;left:18px}#toast{bottom:154px}dialog{padding:30px 25px}dialog h2{font-size:30px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.location #meet{pointer-events:auto;border:1px solid var(--line);background:var(--paper);border-radius:3px;min-height:32px;margin:12px 0 0 auto;padding:0 10px;font-size:10px;display:block}.world-controls{border-bottom:1px solid var(--line);background:var(--paper);z-index:2;align-items:center;gap:30px;height:91px;padding:10px 34px;display:flex;position:relative}.world-choice{flex-direction:column;gap:3px;display:flex}.world-choice label{letter-spacing:1.4px;color:var(--muted);font:9px Space Mono,monospace}.world-choice select{color:var(--ink);background:var(--paper);cursor:pointer;border:0;border-radius:3px;max-width:240px;min-height:32px;padding:3px 22px 3px 0;font:13px DM Sans,sans-serif}.world-choice select:focus-visible{outline:2px solid var(--red);outline-offset:2px}.world-choice>span{color:var(--muted);font-size:10px}.style-input{align-items:center;gap:10px;display:flex}#palette-swatch{display:flex}#palette-swatch i{border:1px solid #fff3;width:13px;height:17px}#surprise{border:1px solid var(--line);white-space:nowrap;border-radius:4px;margin-left:auto;font-size:12px}#surprise span{margin-left:12px}.density-choice{align-self:center}.immersive .world-controls{display:none}@media (width<=1050px){.world-controls{gap:18px;padding-inline:24px}.world-choice>span{white-space:nowrap;text-overflow:ellipsis;max-width:250px;overflow:hidden}.world-controls .density-choice{margin-left:auto}.world-controls #surprise{margin-left:0}}@media (width<=720px){.world-controls{grid-template-columns:1fr 1fr;gap:6px 12px;height:124px;padding:10px 18px;display:grid}.world-choice>span{display:none}.world-choice select{width:100%;max-width:175px;min-height:32px;font-size:12px}.world-choice label{font-size:8px}.style-input{gap:5px}#palette-swatch i{width:8px;height:14px}.art-choice select{max-width:130px}.density-choice{flex-direction:row;align-items:center;gap:8px}.world-controls .density-choice{margin-left:0}.density-choice label{max-width:48px}.density-choice select{width:100px}.world-controls #surprise{width:100%;min-height:36px;padding:0 10px}#stage{height:calc(100dvh - 330px);min-height:220px}.intro{top:20px}.intro h1{font-size:27px}.intro p{max-width:160px}.location{top:22px}.location h2{font-size:11px}.location #meet{font-size:9px}.hint{display:none}.immersive #stage{height:100dvh}}@media (height<=620px) and (width>=721px){header{height:60px}.world-controls{height:76px}footer{height:80px}#stage{height:calc(100dvh - 216px)}.intro h1{font-size:30px}.intro{top:18px}.location{top:20px}}body[data-art=blueprint] .intro,body[data-art=blueprint] .location{color:#e2eeee}body[data-art=blueprint] .intro p,body[data-art=blueprint] .intro .eyebrow,body[data-art=blueprint] .location>span{color:#b5d2d8}body[data-art=pencil] #stage,body[data-art=chinese] #stage,body[data-art=crayon] #stage,body[data-art=photobash] #stage{color:#303831;--muted:#53604e}.world-controls{grid-template-columns:minmax(150px,1.15fr) minmax(160px,1fr) minmax(190px,1.2fr) minmax(95px,.6fr) auto;gap:18px;display:grid}.world-choice{min-width:0}.world-choice>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.world-choice select{width:100%;min-width:0;max-width:100%}.style-input{min-width:0}#palette-swatch{flex-shrink:0}#palette-swatch i{width:9px}.world-controls .density-choice{margin-left:0}@media (width>=721px) and (width<=1050px){.world-controls{grid-template-columns:1fr 1fr 1.1fr .65fr;gap:10px;padding-inline:18px}.world-controls #surprise{display:none}.world-choice select{font-size:12px}#palette-swatch i{width:6px}.style-input{gap:5px}}@media (width<=720px){.world-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 12px;height:172px;padding:8px 18px}.world-controls .palette-choice{grid-column:1/-1}.palette-choice .style-input{max-width:100%}.palette-choice select{max-width:none}#palette-swatch i{width:16px;height:17px}.art-choice select{max-width:100%}.world-choice>span{display:none}.density-choice select{max-width:100px}.world-controls #surprise{display:block}#stage{height:calc(100dvh - 378px)}.immersive #stage{height:100dvh}}#fullscreen{color:#303831;background:#f4f0e5e6;border:1px solid #d8d8c9;border-radius:50%;width:44px;padding:0;font-size:23px;position:absolute;bottom:24px;right:80px}#fullscreen[aria-pressed=true]{color:#fff;background:#344d3b}.instructions{gap:15px 20px;line-height:1.7}.instructions kbd{font:inherit;border:1px solid var(--line);white-space:nowrap;border-bottom-width:2px;border-radius:4px;padding:2px 5px}#about-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}@media (width<=720px){#fullscreen{bottom:16px;right:70px}.instructions{grid-template-columns:1fr;font-size:11px}}.world-controls{grid-template-columns:minmax(125px,1.1fr) minmax(125px,1fr) minmax(175px,1.2fr) minmax(125px,.9fr) minmax(85px,.6fr) auto;gap:12px}@media (width>=721px) and (width<=1100px){.world-controls{grid-template-columns:1fr 1fr 1.2fr 1fr .7fr}.world-controls #surprise{display:none}.world-choice select{font-size:11px}}@media (width<=720px){.world-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:220px}.locals-choice{grid-column:1/-1}.world-controls #surprise{display:block}#stage{height:calc(100dvh - 426px)}.immersive #stage{height:100dvh}}:is(body[data-palette-source=Nouns\ Calm],body[data-palette-dark=true]) .intro,:is(body[data-palette-source=Nouns\ Calm],body[data-palette-dark=true]) .location{color:#ece3d0;text-shadow:0 1px 5px #0c0f22,0 0 16px #0c0f22}:is(body[data-palette-source=Nouns\ Calm],body[data-palette-dark=true]) .intro p,:is(body[data-palette-source=Nouns\ Calm],body[data-palette-dark=true]) .intro .eyebrow,:is(body[data-palette-source=Nouns\ Calm],body[data-palette-dark=true]) .location>span{color:#ece3d0}:is(body[data-palette-source=Nouns\ Calm],body[data-palette-dark=true]) .location button{text-shadow:none;color:#303831}#palette-swatch.rich{grid-template-columns:repeat(6,7px);gap:0;display:grid}#palette-swatch.rich i{width:7px;height:9px}.gradient-controls{background:var(--paper);border-bottom:1px solid var(--line);align-items:center;gap:12px;height:44px;padding:0 34px;font-size:11px;display:flex}.gradient-controls label:first-child{letter-spacing:1.4px;font:9px Space Mono,monospace}.gradient-controls select{color:var(--ink);background:0 0;border:0;max-width:180px;min-height:40px;font:12px DM Sans,sans-serif}.gradient-controls input{accent-color:#658561;width:110px}.gradient-controls output{min-width:30px;font:10px Space Mono,monospace}#stage{height:calc(100dvh - 321px)}.immersive .gradient-controls{display:none}.immersive #stage{height:100dvh}@media (width<=720px){.gradient-controls{gap:7px;padding:0 18px}.gradient-controls select{max-width:125px}.gradient-controls input{width:65px}#stage{height:calc(100dvh - 470px)}.immersive #stage{height:100dvh}}@media (height<=620px) and (width>=721px){#stage{height:calc(100dvh - 260px)}.immersive #stage{height:100dvh}}#palette-seed{width:100px;min-width:70px;color:inherit;background:0 0;border:1px solid #91a27a;border-radius:4px;padding:6px;font:12px monospace}.gradient-controls{white-space:nowrap;overflow-x:auto}.gradient-controls>*{flex-shrink:0}#palette-reset:disabled{opacity:.4;cursor:default}.nature-controls summary{cursor:pointer;border-right:1px solid #91a27a;padding:12px 14px;font-size:12px}.nature-panel{z-index:40;box-sizing:border-box;color:#263c38;white-space:normal;background:#f4f0e5;border:1px solid #91a27a;border-radius:8px;gap:12px;width:280px;max-height:calc(100dvh - 250px);padding:18px;display:grid;position:fixed;top:225px;left:24px;overflow:auto;box-shadow:0 12px 40px #263c3833}.nature-panel label{justify-content:space-between;align-items:center;gap:8px;display:flex}.nature-panel p{margin:0;font-size:12px;line-height:1.5}.nature-panel input[type=range]{width:100%}.nature-panel select{width:100%;padding:8px}.nature-panel input[type=checkbox]{accent-color:#678975}@media (width<=700px){.nature-panel{max-height:calc(100dvh - 130px);top:100px;left:12px}}.nature-panel label:has(input[type=checkbox]){justify-content:flex-start}.nature-panel input[type=checkbox]{flex:none;width:16px}.quotes-toggle{align-items:center;gap:6px;padding:0 12px;display:flex}.quotes-toggle input{accent-color:#678975}#quote-card{box-sizing:border-box;color:#263c38;width:260px;max-width:calc(100% - 48px);text-shadow:none;z-index:3;background:#f4f0e5f0;border:1px solid #91a27a66;border-radius:8px;padding:16px 18px;position:absolute;bottom:76px;right:24px}#quote-card[hidden]{display:none}.quote-label{letter-spacing:1.4px;font:9px monospace}#quote-text{margin:12px 0;font-size:17px;line-height:1.45}#quote-hide{padding:5px 8px;font-size:18px;position:absolute;top:3px;right:7px}#quote-next{padding:5px 0;font-size:11px}.immersive #quote-card{display:none}@media (width<=700px){#quote-card{width:210px;padding:12px;bottom:60px;right:12px}#quote-text{margin:8px 0;font-size:14px}}.gradient-controls .quotes-toggle input{flex:none;width:16px;min-width:16px}.gradient-controls .quotes-toggle{flex:none;gap:6px}
