:root{color-scheme:light;--ink:#fcf9e8;--line:#fff8e747;--panel:#13337a26;--ease:cubic-bezier(.16,1,.3,1)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#355fdd;color:var(--ink);font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif;transition:color 1s}body[data-biome="1"]{--ink:#594422;--line:#59442240;--panel:#fff3c63b}body[data-biome="2"]{--ink:#f9ffe5;--line:#f9ffe552;--panel:#254e1824}button,a,input{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid currentColor;outline-offset:6px}#world,canvas{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%}#flight{touch-action:none}.topbar{position:fixed;top:0;left:0;width:100%;display:flex;align-items:center;justify-content:space-between;padding:30px 40px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;gap:12px;text-decoration:none;align-items:center;font-size:12px;font-weight:650;letter-spacing:.18em}.brand svg{width:36px;height:36px}.brand small{display:block;font-size:10px;letter-spacing:.13em;font-weight:400;margin-top:6px;opacity:.72}.actions{display:flex;gap:22px}.actions button{padding:8px 0;background:none;border:0;font-size:12px;letter-spacing:.05em}.actions span{margin-left:8px;font-size:18px;vertical-align:middle}.intro{position:fixed;top:25%;left:7%;pointer-events:none;transition:opacity 1s,transform 1s var(--ease)}.eyebrow{font-size:10px;letter-spacing:.22em;opacity:.72}h1{font-family:Songti SC,"Noto Serif CJK SC",serif;font-weight:400;font-size:clamp(40px,4.4vw,68px);letter-spacing:.12em;margin:22px 0 20px;line-height:1.2}.intro p{font-size:13px;line-height:2.1;letter-spacing:.14em;opacity:.83;margin:0}.start-hint{display:flex;align-items:center;gap:9px;margin-top:32px;font-size:11px;letter-spacing:.035em}.start-hint i{width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px #fff8e716}.has-flown .intro{opacity:0;transform:translateY(-12px)}.biomes{position:fixed;right:40px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:20px}.biomes button{border:0;background:none;text-align:left;display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.1em;opacity:.62;padding:8px 0;transition:opacity .25s}.biomes button:hover,.biomes button[aria-pressed=true]{opacity:1}.biomes button span{font-size:9px;font-variant-numeric:tabular-nums}.biomes button i{width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:4px}.biomes button[aria-pressed=true] i{outline:1px solid currentColor;outline-offset:5px}.bottom{position:fixed;bottom:26px;left:40px;right:40px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;pointer-events:none}.bottom>*{pointer-events:auto}.keyboard{display:flex;gap:16px;align-items:center}.keys{display:flex;flex-direction:column;align-items:center;gap:4px}.keys>div{display:flex;gap:4px}kbd{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:4px;background:var(--panel);font:10px Avenir Next,sans-serif;transition:background .1s,transform .1s}kbd.pressed{background:var(--ink);color:#36509a;transform:translateY(2px)}.keyboard p{font-size:12px;letter-spacing:.1em;margin:0}.keyboard small{display:block;letter-spacing:.025em;font-size:10px;opacity:.7;margin-top:8px}.auto{font-size:10px;letter-spacing:.07em;display:flex;align-items:center;gap:9px;cursor:pointer;margin-bottom:8px}.auto input{position:absolute;opacity:0;width:30px;height:22px}.auto input:focus-visible+.switch{outline:2px solid currentColor;outline-offset:4px}.switch{pointer-events:none;width:26px;height:15px;border:1px solid var(--line);border-radius:20px;position:relative}.switch:after{content:"";position:absolute;top:3px;left:3px;width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.55;transition:transform .2s}.auto input:checked+.switch:after{transform:translate(11px);opacity:1}.distance{text-align:right;min-width:155px}.distance>span{font-size:28px;font-weight:400;letter-spacing:.08em;font-variant-numeric:tabular-nums}.distance small{display:block;font-size:9px;letter-spacing:.14em;opacity:.68;margin-top:4px}.touch-pad{display:none}.paused-label{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);font-family:Songti SC,serif;font-size:28px;letter-spacing:.15em;white-space:nowrap;text-align:center;pointer-events:none;opacity:0;transition:opacity .3s}.paused-label span{display:block;font-family:PingFang SC,sans-serif;font-size:11px;letter-spacing:.07em;margin-top:16px}body.is-paused .paused-label{opacity:1}body.is-paused .intro{opacity:0}#notice{position:fixed;bottom:110px;left:50%;transform:translate(-50%);font-size:12px;text-align:center;max-width:90vw}#notice:empty{display:none}@media(max-width:700px){.topbar{padding:22px}.brand{font-size:10px;gap:8px}.brand small{font-size:8px}.brand svg{width:29px;height:29px}.actions{gap:14px}.actions button{font-size:11px}.intro{left:26px;top:20%}h1{font-size:42px}.intro p{font-size:12px}.eyebrow{font-size:8px}.start-hint{font-size:10px;margin-top:22px;max-width:270px;line-height:1.8}.biomes{top:auto;bottom:195px;right:auto;left:25px;transform:none;flex-direction:row;gap:19px}.biomes button{font-size:10px;gap:5px}.biomes button span{display:none}.biomes button i{width:4px;height:4px;margin-right:6px}.bottom{left:24px;right:24px;bottom:24px;align-items:flex-end}.keyboard{display:none}.auto{position:fixed;left:25px;bottom:162px;font-size:9px}.distance{margin-left:auto}.distance>span{font-size:23px}.distance small{font-size:8px}.touch-pad{display:grid;position:fixed;left:24px;bottom:25px;grid-template-columns:42px 42px 42px;grid-template-rows:42px 42px;gap:5px}.touch-pad button{border:1px solid var(--line);background:var(--panel);border-radius:8px;font-size:20px;touch-action:none;user-select:none;-webkit-user-select:none}.touch-pad button:first-child{grid-column:2}.touch-pad button:nth-child(2){grid-column:1}.touch-pad button.pressed{background:var(--ink);color:#36509a}#notice{bottom:240px}.paused-label{font-size:23px}}@media(pointer:coarse)and (min-width:701px){.keyboard{visibility:hidden}.touch-pad{display:grid;position:fixed;left:40px;bottom:25px;grid-template-columns:42px 42px 42px;gap:4px}.touch-pad button{border:1px solid var(--line);border-radius:5px;background:var(--panel);height:40px;touch-action:none}.touch-pad button:first-child{grid-column:2}.touch-pad button:nth-child(2){grid-column:1}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}#sound{display:grid;place-items:center;width:26px;padding:0}#sound svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.sound-off,#sound[aria-pressed=false] .sound-waves{display:none}#sound[aria-pressed=false] .sound-off{display:block}@media(max-width:700px){.actions{gap:12px}.biomes{left:auto;right:23px;bottom:auto;top:48%;transform:translateY(-50%);flex-direction:column;gap:16px}.biomes button{width:28px;height:28px;overflow:hidden;font-size:0;letter-spacing:0;justify-content:center}.biomes button i{flex:none;margin:0}.biomes button span{display:none}}.world-map{position:fixed;right:32px;top:118px;width:126px;height:156px;border:1px solid #fff5db80;border-radius:3px;overflow:hidden;opacity:.88;pointer-events:none;box-shadow:0 2px 14px #28414712}.world-map #minimap{position:static;display:block;width:100%;height:100%}.world-map .north{position:absolute;top:8px;right:9px;font-size:9px;letter-spacing:.12em;color:#fffbe8;text-shadow:0 1px 3px #334b30}@media(max-width:700px){.world-map{right:22px;top:90px;width:82px;height:102px;opacity:.85}.world-map .north{font-size:8px;top:5px;right:5px}}.atlas-trigger{position:fixed;right:32px;top:290px;display:flex;align-items:center;gap:14px;border:0;background:#fff5da;color:#3c574f;padding:12px 16px;border-radius:3px;font-size:12px;box-shadow:0 3px #30473818}.atlas-trigger #project-count{font-size:10px;opacity:.68}.atlas-trigger:hover{background:#fff9eb}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.project-encounter{position:fixed;width:310px;color:#fff6df;text-shadow:0 1px 6px #233f5550;pointer-events:none;animation:encounter-in .5s cubic-bezier(.16,1,.3,1)}.project-encounter[hidden]{display:none}.folio-kicker{font-size:10px;letter-spacing:.16em;font-weight:500}.project-encounter h2{font-family:Songti SC,STSong,serif;font-size:25px;line-height:1.35;font-weight:500;letter-spacing:.015em;margin:12px 0 8px}.project-encounter p{font-size:12px;line-height:1.8;margin:0 0 16px;max-width:27em;opacity:.88}.project-encounter button{display:flex;align-items:center;gap:12px;padding:10px 16px 10px 10px;border:1px solid #fff5dfc0;border-radius:3px;background:#fff5df;color:#405853;font-size:12px;pointer-events:auto;min-height:44px}.project-encounter button kbd{display:inline-grid;width:auto;min-width:35px;height:24px;border:1px solid #40585338;color:inherit;background:transparent;box-shadow:0 2px #40585320}.project-encounter button:hover{transform:translateY(-2px)}body[data-biome="1"] .project-encounter{color:#594422;text-shadow:0 1px 4px #fff3d333}#project-reader{position:fixed;top:0;right:0;bottom:0;left:0;width:min(1060px,calc(100vw - 64px));height:min(860px,calc(100dvh - 64px));max-width:none;max-height:none;padding:0;border:1px solid #e7e3cc;border-radius:5px;background:#fbf7e9;color:#304d48;overflow:hidden;box-shadow:0 32px 120px #24495535;animation:paper-in .45s cubic-bezier(.16,1,.3,1)}#project-reader::backdrop{background:#274b5d55;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}#project-reader[open]{display:flex;flex-direction:column}#project-reader button,#project-reader a{-webkit-tap-highlight-color:transparent}#project-reader :focus-visible{outline:2px solid #43695e;outline-offset:4px}.reader-toolbar{display:flex;align-items:center;gap:24px;justify-content:space-between;flex-shrink:0;min-height:66px;padding:12px 32px;border-bottom:1px solid #52685426;font-size:11px;letter-spacing:.07em}.reader-toolbar button{border:0;padding:10px 0;background:none;font-size:12px;min-height:42px}.reader-toolbar button[hidden]{display:none}#reader-close{margin-left:auto;display:flex;align-items:center;gap:18px}#reader-close span{font-size:27px;font-weight:300;line-height:1}#reader-content{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-color:#9fae99 #fbf7e9}.project-paper,.atlas-paper{padding:32px clamp(24px,6vw,80px) 56px}.folio-mast{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #52685426;padding-bottom:16px}.folio-number{font-family:Baskerville,Songti SC,serif;font-size:56px;line-height:1;color:color-mix(in oklch,var(--project-color),#514f3b 20%)}#project-reader h1{font-family:Songti SC,STSong,serif;font-size:clamp(30px,3.4vw,45px);line-height:1.3;letter-spacing:.035em;margin:28px 0 14px;font-weight:500;max-width:19em}.project-category{font-size:11px;letter-spacing:.05em;margin:0;color:#667665}.project-lede{font-size:17px;line-height:1.95;margin:28px 0 40px;max-width:42em}.project-story{border-top:1px solid #52685426}.story-section{display:grid;grid-template-columns:28px 145px 1fr;gap:12px;padding:26px 0;border-bottom:1px solid #52685426}.story-number{font-size:10px;color:#81907c;padding-top:6px}.story-section h2{font-size:14px;font-weight:600;line-height:1.8;margin:0}.story-section p{font-size:14px;line-height:2;margin:0;max-width:48em;color:#506255}.project-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.folio-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;border:1px solid #5e71543d;border-radius:3px;background:transparent;font-size:12px;text-decoration:none;transition:background .2s,transform .2s}.folio-button.primary{background:#385c51;color:#fbf6de;border-color:#385c51}.folio-button:hover{background:#e6ebd9;transform:translateY(-1px)}.folio-button.primary:hover{background:#284a40}.atlas-paper{padding-top:40px}.atlas-lede{font-size:14px;line-height:1.8;margin:16px 0 32px;color:#64735f}.atlas-list{border-top:1px solid #52685435}.atlas-row{width:100%;display:flex;align-items:center;gap:22px;text-align:left;border:0;border-bottom:1px solid #52685426;background:none;padding:22px 0;transition:background .2s}.atlas-row:hover{background:#edf0e1}.atlas-index{font-family:Baskerville,serif;font-size:24px;width:32px;flex-shrink:0;color:#71816a}.atlas-info{flex:1;min-width:0}.atlas-info strong{font-size:15px;font-weight:500;display:block;line-height:1.6}.atlas-info small{font-size:10px;color:#73816b;display:block;margin-top:5px;line-height:1.6}.atlas-region{font-size:10px;white-space:nowrap;display:flex;align-items:center;gap:6px}.atlas-region:before{content:"";width:7px;height:10px;border-radius:50%;background:var(--project-color);display:block}.atlas-state{font-size:10px;color:#71816a;white-space:nowrap}.atlas-arrow{font-size:20px}.atlas-footnote{font-size:10px;color:#71816a;letter-spacing:.06em;margin-top:28px}#project-reader[data-view=flow]{width:calc(100vw - 40px);height:calc(100dvh - 40px)}#project-reader[data-view=flow] #reader-content{display:flex;flex-direction:column;overflow:hidden}.flow-header{padding:20px 32px;display:flex;justify-content:space-between;gap:24px;align-items:center}#project-reader .flow-header h1{font-size:22px;margin:0}.flow-window{font-size:11px;white-space:nowrap;text-underline-offset:5px}.flow-stage{position:relative;flex:1;min-height:0;background:#f8f9f7}.flow-stage iframe{display:block;width:100%;height:100%;border:0}.flow-loading{position:absolute;left:24px;top:12px;background:#fbf7e9;padding:8px;font-size:12px;z-index:1}.flow-caption{font-size:10px;text-align:center;padding:12px;margin:0;color:#72816c}.is-reading .paused-label{visibility:hidden}@keyframes paper-in{0%{opacity:0;transform:translateY(32px) scale(.97)}to{opacity:1;transform:none}}@keyframes encounter-in{0%{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@media(max-width:700px){.brand small{max-width:108px;font-size:8px;letter-spacing:.04em}.actions{gap:10px}.actions span{margin-left:3px}.atlas-trigger{top:206px;right:22px;gap:8px;font-size:10px;padding:10px;min-height:40px}.atlas-trigger #project-count{font-size:9px}.project-encounter{width:260px}.project-encounter h2{font-size:22px}.project-encounter p{font-size:11px}.project-encounter button kbd{display:none}.project-encounter button{padding:12px 18px}#project-reader{width:calc(100vw - 20px);height:calc(100dvh - 24px)}.reader-toolbar{padding:8px 18px;gap:12px;min-height:58px}#reader-location{font-size:9px}.reader-toolbar button{font-size:11px}#reader-close{gap:10px}.project-paper,.atlas-paper{padding:24px 22px 32px}.folio-number{font-size:44px}.folio-kicker{font-size:9px}#project-reader h1{font-size:29px;letter-spacing:.01em}.project-lede{font-size:14px;margin:24px 0 28px;line-height:1.95}.story-section{grid-template-columns:24px 1fr;gap:6px 8px;padding:22px 0}.story-section p{grid-column:2;font-size:13px;line-height:1.95}.story-section h2{font-size:13px}.project-actions{gap:8px}.folio-button{padding:10px 14px;font-size:11px}.atlas-row{gap:10px;padding:18px 0;flex-wrap:wrap}.atlas-info{flex-basis:calc(100% - 50px)}.atlas-info strong{font-size:14px}.atlas-region{margin-left:42px}.atlas-state{margin-left:auto}.atlas-arrow{font-size:16px}.atlas-lede{font-size:12px}.atlas-footnote{line-height:1.8}#project-reader[data-view=flow]{width:100vw;height:100dvh;border-radius:0}.flow-header{padding:14px 18px;gap:12px;align-items:flex-start;flex-direction:column}#project-reader .flow-header h1{font-size:19px}.flow-caption{font-size:9px}}@media(prefers-reduced-motion:reduce){#project-reader,.project-encounter{animation:none}.folio-button,.project-encounter button{transform:none!important}}
