*{box-sizing:border-box} :root{--ink:#244647;--ink2:#406365;--gold:#a47540;--cream:#fff8e9;--jade:#255954;--serif:"Noto Serif SC","Songti SC","STSong","SimSun",serif}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:"Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;color:var(--ink);background:#b3cac1;-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid #ae8647;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}#app{position:relative;isolation:isolate;--pad:clamp(22px,5.2vw,84px)}.sky,.tint,.stratus{position:absolute;pointer-events:none}.sky{inset:0;background:#afc8bf url(art/sky-wide.webp) center/cover no-repeat;z-index:-5}.tint{inset:0;z-index:-4;background:transparent;transition:background 2s} [data-phase=dusk] .tint{background:linear-gradient(160deg,#a3739aad,#e29a79a3 55%,#e7ad6670)}[data-phase=night] .tint{background:linear-gradient(160deg,#173851ef,#203e61d6 60%,#685976df)}[data-phase=night]{--ink:#f7f1dc;--ink2:#deebdd}[data-phase=night] .ticket,[data-phase=night] .sheet{--ink:#244647;--ink2:#406365;color:var(--ink)}.stratus{border-radius:100%;filter:blur(5px);z-index:-2;height:1.2%;width:18%;background:linear-gradient(90deg,transparent,#fff6db9c,transparent);animation:drift 26s ease-in-out infinite alternate}.stratus-a{left:69%;top:25%}.stratus-b{top:39%;left:4%;width:23%;opacity:.7;animation-delay:-15s}@keyframes drift{to{transform:translateX(25%)}}
header{position:absolute;inset:max(23px,env(safe-area-inset-top)) var(--pad) auto;display:flex;align-items:center;justify-content:space-between;z-index:3}.brand,.head-actions,.eyebrow,.coordinates,.gesture,.marker,footer,.kicker{display:flex;align-items:center}.brand{gap:10px}.emblem{display:block;width:40px;height:40px}.brand b{display:block;font-family:var(--serif);font-size:19px;line-height:1.25;letter-spacing:.18em}.brand small{display:block;font:9px/1.5 Georgia,serif;letter-spacing:.29em}.head-actions{gap:10px}.tool,.close{display:grid;place-items:center;background:#fcf7e770;border:1px solid #45676735;border-radius:50%;width:39px;height:39px}.tool svg,.close svg{width:18px;height:18px}.caption{position:absolute;z-index:2;top:24%;left:var(--pad);pointer-events:none}.eyebrow,.coordinates,.folio,.kicker,footer{font:10px/1.4 Georgia,"Microsoft YaHei",serif;letter-spacing:.17em}.eyebrow{gap:9px;font-size:11px}.eyebrow i,.kicker i,footer i,.folio i{display:inline-block;height:1px;background:currentColor;opacity:.52;width:25px}.eyebrow span{opacity:.42}.caption h1{margin:16px 0 10px;font:500 clamp(60px,6.5vw,104px)/1.16 var(--serif);letter-spacing:.075em;display:flex;align-items:flex-start}.seal{font:11px/1.15 var(--serif);letter-spacing:0;background:#a45f45;color:#fff3db;writing-mode:vertical-rl;border-radius:2px;padding:4px 3px;margin:5px 0 0 4px;outline:1px solid #a45f4570;outline-offset:2px}.caption p{font-size:14px;letter-spacing:.12em;color:var(--ink2);margin:0 0 25px}.coordinates{font-size:10px;letter-spacing:.16em;color:var(--ink2);gap:8px}.coordinates em{height:3px;width:3px;border-radius:100%;background:currentColor}.stage{position:absolute;left:29%;right:4%;top:7%;bottom:17%;touch-action:none}.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab}.stage canvas:active{cursor:grabbing}.orbit,.ticks{pointer-events:none;position:absolute;inset:12% 12% 15%;border:1px solid #fff4d143;border-radius:50%;transform:rotate(-13deg)}.ticks{inset:14% 14% 17%;border:1px dashed #fff8d43a}.marker,.folio{position:absolute;right:var(--pad);pointer-events:none}.marker{top:34%;gap:6px;font-size:11px;letter-spacing:.12em}.marker i{width:6px;height:6px;border-radius:9px;background:#c69551;box-shadow:0 0 0 3px #fff6d44a}.marker b{font-weight:400;opacity:.35}.folio{top:67%;display:flex;align-items:center;gap:7px;font-size:12px}.folio span{font-size:9px}.folio i{width:23px}.dock{position:absolute;bottom:max(15px,env(safe-area-inset-bottom));left:var(--pad);right:var(--pad);z-index:3}.gesture{justify-content:center;gap:6px;font-size:11px;letter-spacing:.1em;color:var(--ink2);margin:0 0 11px;pointer-events:none}.gesture svg{width:17px}.ticket{display:flex;justify-content:space-between;align-items:center;padding:17px 23px;background:linear-gradient(110deg,#fff9eaf5,#fbf4dfe8);border:1px solid #fff9e9;border-radius:16px;box-shadow:0 12px 34px #37504e1c,inset 0 0 0 3px #f4ebd950;gap:16px;max-width:840px;margin:auto}.kicker{font-size:9px;color:#896c45;gap:8px}.kicker i{width:16px}.ticket strong,.ticket-left small{display:block}.ticket strong{font:600 23px/1.5 var(--serif);letter-spacing:.08em;margin:3px 0}.ticket-left small{color:#627573;font-size:12px}.ticket-right{display:flex;align-items:center;gap:16px;flex-shrink:0}.primary,.secondary{border:0;border-radius:9px;background:var(--jade);color:#fff6df;padding:12px 17px;font-size:14px;letter-spacing:.05em;display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:43px}.primary:hover{background:#184940}.primary svg{width:17px;height:17px}.text-button{background:none;border:0;padding:7px 0;font-size:12px;color:#4b6c68;display:flex;align-items:center;justify-content:center;gap:4px}.text-button svg{width:13px;height:13px}footer{justify-content:center;gap:9px;font-size:8px;letter-spacing:.16em;color:var(--ink2);margin-top:12px}footer i{width:14px}footer b{font-size:9px;color:#9b7747}
.scrim{position:absolute;z-index:8;inset:0;background:#173d4150;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:12px}.scrim[hidden],[hidden]{display:none!important}.sheet{position:relative;border-radius:23px;background:linear-gradient(135deg,#fffaed,#f4efdd);width:min(100%,410px);padding:34px 28px 25px;box-shadow:0 12px 52px #0b36384a;max-height:95%;overflow:auto;color:#244647;scrollbar-width:thin}.close{position:absolute;right:16px;top:14px;width:33px;height:33px;background:transparent}.handle{display:none}.sheet h2{font:600 30px/1.45 var(--serif);letter-spacing:.08em;margin:10px 0 6px}.sheet h3{font:600 17px var(--serif);margin:18px 0 5px}.sheet p{font-size:13px;line-height:1.8;color:#56706a;margin:4px 0 15px}.sheet label{font-size:12px;display:block;color:#45615c;margin:12px 0 6px}.sheet input{width:100%;min-width:0;border:1px solid #bdc8b8;border-radius:8px;padding:12px;background:#fffdf4;color:#294d47;font-size:16px}.row{display:flex;gap:8px;align-items:stretch}.row input{flex:1}.secondary{border:1px solid #b3c5b7;color:#355e53;background:#eaf0e2;font-size:13px;white-space:nowrap;letter-spacing:0}.full{margin-top:14px;width:100%}.sheet .text-button{margin:8px auto 0}.note,.error{font-size:12px;line-height:1.7}.note{background:#ecebdb;color:#637168;padding:10px 12px;border-radius:8px;margin:13px 0 0}.error{color:#9a503a;margin-top:8px;min-height:0}.invite-code{font:600 30px Georgia,serif;letter-spacing:.12em;color:#305f51;padding:13px;background:#e7ecdc;border:1px dashed #9baa95;border-radius:9px;text-align:center;margin-top:12px;user-select:all}.detail-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #a5b5a14d}.detail-row svg{width:21px;height:21px;flex-shrink:0;color:#637f68}.detail-row b{font-size:14px}.detail-row small{display:block;line-height:1.6;font-size:12px;color:#64766d;margin-top:4px}.phase-row{display:flex;gap:8px}.phase-row button{flex:1}.selected{background:#315e52;color:#fffbea}.lights{display:flex;gap:6px;align-items:center;margin:17px 0}.lights i{width:14px;height:14px;clip-path:polygon(50% 0,62% 36%,100% 50%,63% 63%,50% 100%,37% 64%,0 50%,37% 36%);background:#d7d6ba}.lights i.lit{background:#ca9950}.lights small{margin-left:auto;color:#698173}#toast{position:absolute;bottom:24%;left:50%;transform:translate(-50%,10px);z-index:15;opacity:0;transition:.22s;pointer-events:none;background:#254b44ed;color:#fff6df;border-radius:22px;padding:10px 18px;font-size:13px;max-width:90%;text-align:center}#toast.on{opacity:1;transform:translate(-50%,0)}#fallback{position:absolute;bottom:13%;left:10%;right:10%;text-align:center;font-size:12px;color:#345d55}.stage.no-gl{background:url(art/postcard.webp) center/contain no-repeat}
@media(max-aspect-ratio:1/1){#app{--pad:22px}.sky{background-image:url(art/sky-portrait.webp)}header{top:max(21px,env(safe-area-inset-top))}.emblem{width:35px;height:35px}.brand{gap:7px}.brand b{font-size:17px}.brand small{font-size:8px}.tool{width:35px;height:35px}.head-actions{gap:8px}.caption{top:13%;left:7%}.caption h1{font-size:clamp(43px,10.5vw,70px);margin:7px 0 5px}.eyebrow{font-size:9px}.eyebrow i{width:18px}.caption p{font-size:12px;margin:0}.coordinates{display:none}.stage{left:0;right:0;top:24%;bottom:20%}.orbit{inset:10% 3% 13%}.ticks{inset:13% 6% 16%}.marker{right:6%;top:28%;font-size:9px}.folio{top:auto;bottom:22.5%;right:7%;font-size:10px}.folio i{width:14px}.dock{bottom:max(12px,env(safe-area-inset-bottom));left:16px;right:16px}.ticket{padding:14px 15px;gap:6px;border-radius:15px}.ticket strong{font-size:clamp(17px,4.4vw,24px);letter-spacing:.035em}.ticket-left small{font-size:10.5px}.ticket-right{flex-direction:column;gap:1px}.ticket .primary{min-height:38px;padding:10px 13px;font-size:13px}.ticket .text-button{min-height:28px;font-size:11px}.kicker{font-size:8px}.gesture{margin-bottom:11px;font-size:10px}footer{margin-top:9px}.scrim{align-items:flex-end;padding:0}.sheet{border-radius:24px 24px 0 0;width:100%;max-height:88%;padding:30px 25px max(23px,env(safe-area-inset-bottom))}.handle{display:block;position:absolute;top:8px;left:calc(50% - 17px);width:34px;height:3px;border-radius:3px;background:#aab6a8}}
@media(max-height:620px) and (min-aspect-ratio:1/1){header{top:10px}.caption{top:25%}.caption h1{font-size:47px;margin:8px 0}.dock{bottom:6px}.ticket{padding:7px 14px;max-width:640px}.ticket strong{font-size:17px}.gesture,footer{display:none}.stage{top:0;bottom:13%}.sheet{padding:22px 24px 14px}.sheet h2{font-size:24px}.coordinates{display:none}}@media(max-height:650px) and (max-aspect-ratio:1/1){.caption{top:13%}.caption h1{font-size:38px}.stage{top:25%;bottom:24%}.ticket{padding:9px 12px}.ticket-left small,footer,.marker{display:none}.folio{bottom:22%}}
#app{color:var(--ink)}[data-phase=night] .tool{color:#f8f1dd;background:#698a9560;border-color:#dce9df65}.stars{position:absolute;inset:0;z-index:-3;pointer-events:none;opacity:0;transition:opacity 2s}.stars:before,.stars:after{content:"";position:absolute;width:2px;height:2px;border-radius:50%;background:#fff5d4;box-shadow:4.3vw 2.1vh 2px .4px #fff0c8,42.0vw 23.3vh 0px 0px #fff0c8,79.8vw 44.4vh 0px 0px #fff0c8,17.5vw 65.6vh 0px .4px #fff0c8,55.2vw 14.8vh 0px 0px #fff0c8,92.9vw 36.0vh 2px 0px #fff0c8,30.7vw 57.1vh 0px .4px #fff0c8,68.4vw 6.3vh 0px 0px #fff0c8,6.1vw 27.5vh 0px 0px #fff0c8,43.9vw 48.7vh 0px .4px #fff0c8,81.6vw 69.8vh 2px 0px #fff0c8,19.3vw 19.0vh 0px 0px #fff0c8,57.1vw 40.2vh 0px .4px #fff0c8,94.8vw 61.3vh 0px 0px #fff0c8,32.5vw 10.5vh 0px 0px #fff0c8,70.2vw 31.7vh 2px .4px #fff0c8,8.0vw 52.9vh 0px 0px #fff0c8,45.7vw 2.0vh 0px 0px #fff0c8,83.4vw 23.2vh 0px .4px #fff0c8,21.2vw 44.4vh 0px 0px #fff0c8,58.9vw 65.6vh 2px 0px #fff0c8,96.6vw 14.7vh 0px .4px #fff0c8,34.4vw 35.9vh 0px 0px #fff0c8,72.1vw 57.1vh 0px 0px #fff0c8,9.8vw 6.3vh 0px .4px #fff0c8,47.5vw 27.4vh 2px 0px #fff0c8,85.3vw 48.6vh 0px 0px #fff0c8,23.0vw 69.8vh 0px .4px #fff0c8,60.7vw 18.9vh 0px 0px #fff0c8,98.5vw 40.1vh 0px 0px #fff0c8,36.2vw 61.3vh 2px .4px #fff0c8,73.9vw 10.5vh 0px 0px #fff0c8,11.7vw 31.6vh 0px 0px #fff0c8,49.4vw 52.8vh 0px .4px #fff0c8,87.1vw 2.0vh 0px 0px #fff0c8,24.8vw 23.2vh 2px 0px #fff0c8,62.6vw 44.3vh 0px .4px #fff0c8,0.3vw 65.5vh 0px 0px #fff0c8,38.0vw 14.7vh 0px 0px #fff0c8,75.8vw 35.8vh 0px .4px #fff0c8,13.5vw 57.0vh 2px 0px #fff0c8,51.2vw 6.2vh 0px 0px #fff0c8,89.0vw 27.4vh 0px .4px #fff0c8,26.7vw 48.5vh 0px 0px #fff0c8,64.4vw 69.7vh 0px 0px #fff0c8,2.1vw 18.9vh 2px .4px #fff0c8}.stars:after{transform:translate(8vw,8vh) scale(.78);opacity:.66}.stars{mask-image:linear-gradient(#000 60%,transparent)}[data-phase=night] .stars{opacity:1}.stage.no-gl #world{display:none}#fallback{background:#fff7e6dc;border-radius:8px;padding:7px}[data-phase=night] .tint{background:linear-gradient(155deg,#16354af2,#294b6ce3 55%,#696184c2)}@media(min-aspect-ratio:1/1){.stage{bottom:20%}}


/* The canvas keeps the same size while the camera travels between both compositions. */
#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}
#stage canvas{position:fixed;width:100%;height:100%}
#app .caption,#app .dock,#app .orbit,#app .ticks,#app .marker,#app .folio{transition:opacity .42s}
.at-wall .caption,.at-wall .dock,.at-wall .orbit,.at-wall .ticks,.at-wall .marker,.at-wall .folio{opacity:0;visibility:hidden;pointer-events:none}
#pier-enter{width:auto;border-radius:30px;gap:5px;display:flex;padding:0 12px;align-items:center;justify-content:center;font-size:12px}#pier-enter svg{width:17px;height:17px}#wall-exit{display:none}.at-wall #wall-exit{display:grid}.at-wall #pier-enter,.at-wall #book{display:none}.at-wall header{pointer-events:none}.at-wall header button{pointer-events:auto}
#wall-hud{position:absolute;inset:0;pointer-events:none;z-index:3;color:var(--ink)}
.wall-heading{position:absolute;left:var(--pad);top:max(87px,13%);text-shadow:0 1px 9px #f2eadab3}.wall-heading>span,.wall-ticket small{font:9px Georgia,serif;letter-spacing:.18em}.wall-heading i{display:inline-block;width:20px;height:1px;background:currentColor;vertical-align:middle}.wall-heading h2{font:500 clamp(26px,4.3vw,54px)/1.2 var(--serif);margin:7px 0 3px;letter-spacing:.10em}.wall-heading p{margin:0;font-size:11px;letter-spacing:.15em}
.wall-controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:max(16px,calc(50% - 295px));right:max(16px,calc(50% - 295px))}.wall-nav,.wall-ticket,.wall-buttons{display:flex;align-items:center}.wall-nav{justify-content:center;gap:4px;margin-bottom:8px}.wall-nav button{pointer-events:auto;background:#fbf6e9eb;border:1px solid #b4b6a5;border-radius:24px;color:#355b53;height:32px;padding:0 14px;font-size:11px}.wall-nav button:first-child,.wall-nav button:last-child{width:35px;font:23px/1 Georgia;padding:0}.wall-ticket{pointer-events:auto;justify-content:space-between;gap:8px;padding:12px 17px;background:linear-gradient(110deg,#fff9ecf5,#f4eddaef);color:#284c46;border:1px solid #fff8e9;border-radius:15px;box-shadow:0 8px 24px #293f3928}.wall-ticket small,.wall-ticket strong,.wall-ticket span{display:block}.wall-ticket small{font-family:system-ui,sans-serif;font-size:10px;letter-spacing:.06em;color:#806845}.wall-ticket strong{font:600 20px/1.4 var(--serif);margin:2px 0}.wall-ticket span{font-size:11px;color:#587168}.wall-buttons{flex-direction:column;gap:1px}.wall-buttons .primary{font-size:13px;white-space:nowrap;padding:10px 13px;min-height:38px}.wall-buttons .text-button{font-size:11px}.at-wall #toast{bottom:170px}
@media(min-aspect-ratio:1/1){.wall-heading{top:16%}.wall-controls{bottom:18px}.wall-nav{margin-bottom:4px}}
@media(max-height:620px){.wall-heading{top:17%}.wall-heading h2{font-size:23px}.wall-heading p{display:none}.wall-ticket{padding:5px 11px}.wall-ticket strong{font-size:15px}.wall-controls{bottom:5px}.wall-nav button{height:26px}}
.wall-heading{transition:opacity .35s}.at-wall.wall-inspect .wall-heading{opacity:0}

#stage.no-gl{background:none}

/* Boarding is deliberately separate from the protected atlas. */
[hidden]{display:none!important}body[data-locked] #app{display:none!important}body:not([data-locked]) #boarding{display:none}#boarding{height:100%;overflow:auto;display:grid;align-items:safe center;justify-items:center;padding:clamp(14px,4vh,44px) 18px;background:radial-gradient(ellipse at 14% 3%,#f3e4bf66,transparent 56%),repeating-linear-gradient(125deg,#ffffff08 0 1px,transparent 1px 7px),#c7d5c9;color:#254c46}.passport{margin:auto;width:min(100%,408px);border:1px solid #c6bfa5;background:#fff9eb;box-shadow:0 15px 50px #284b4424;border-radius:7px;overflow:hidden}.passport-top,.passport-foot{display:flex;align-items:center;justify-content:space-between;font:10px Georgia,serif;letter-spacing:.15em;color:#687c70;padding:12px 21px}.passport-art{position:relative;background:linear-gradient(130deg,#234c49,#3a625c 70%,#355950);height:clamp(95px,16vh,148px);overflow:hidden;color:#faedcc}.passport-art svg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.passport-art div{position:absolute;left:23px;top:50%;transform:translateY(-50%)}.passport-art small,.passport-art span,.serial{display:block;font:9px Georgia,serif;letter-spacing:.18em}.passport-art strong{display:block;font:600 clamp(32px,6vh,48px)/1.45 var(--serif);letter-spacing:.12em}.passport-art span{font-size:11px}.passport form{padding:clamp(15px,3.5vh,30px) 24px 12px}.serial{color:#94794e}.passport h1{font:600 27px var(--serif);margin:9px 0 4px}.passport p{font-size:13px;color:#60766b;margin:0 0 19px}.passport label,.passport input{display:block}.passport label{font-size:13px;margin:13px 0 6px}.passport input{min-width:0;width:100%;border:1px solid #b7c2b2;border-radius:7px;background:#fffdf5;padding:11px 12px;color:#21463d;font-size:16px}.email-line,.code-line{display:flex;align-items:center;gap:8px}.email-line{border:1px solid #b7c2b2;border-radius:7px;background:#fffdf5;padding-left:12px}.email-line span{color:#758573;font-size:13px}.email-line input{border:0}.code-line button{white-space:nowrap}.passport .full{margin-top:17px}.passport-foot{border-top:1px dashed #c4c4a8;font-size:8px}.passport-foot span{color:#a78248}#auth-note,#auth-error{font-size:12px;line-height:1.5;margin-top:7px}#auth-note{color:#62796c}#auth-error{color:#984a39}#update-app,#retry-auth{font-size:12px;padding:5px 0;min-height:30px}.pair-identity,.result-row{border:1px solid #c4c7af;border-radius:10px;padding:12px 14px;margin:12px 0;background:#f6f2df;display:flex;align-items:center;gap:9px;justify-content:space-between}.pair-identity small,.result-row small{display:block;color:#677969}.pair-identity b{letter-spacing:.13em}.result-row b{font-size:14px}.result-row button{padding:6px 9px;min-height:32px}.result-row button:last-child{margin-left:auto}.picker-hint{color:#6c7e70;font-size:12px}#toast{position:fixed}.scrim{z-index:20}body>#toast{z-index:28}#app:not([data-weather=clear]) .stars{opacity:.13}#app[data-weather=rain] .tint{background:linear-gradient(150deg,#6a8696dc,#9cabb7ce 55%,#9fada4af)}#app[data-weather=snow] .tint{background:linear-gradient(150deg,#c8d8dbe0,#e6e8dcd9 65%,#d2dcddce)}#app[data-phase=night][data-weather=rain] .tint{background:linear-gradient(150deg,#142939fa,#284154f5 65%,#505365ee)}#app[data-phase=night][data-weather=snow] .tint{background:linear-gradient(150deg,#273952fa,#465774ee 60%,#657281ee)}.marker{pointer-events:auto;cursor:pointer;border:0;background:transparent;color:inherit}.phase-row button{min-height:42px}.result-row+.result-row{margin-top:4px}
.auth-nav{display:flex;border-bottom:1px solid #d9d5bc;gap:20px;margin:0 0 14px}.auth-nav button{border:0;border-bottom:2px solid transparent;background:none;color:#68796d;padding:6px 0 8px;font-size:13px}.auth-nav [aria-pressed=true]{border-color:#9b773d;color:#244b40;font-weight:700}.recovery-ticket{display:block;padding:15px;background:#e7eddd;border:1px dashed #9cae91;border-radius:7px;user-select:all;overflow-wrap:anywhere;color:#295546;font:600 17px/1.6 monospace}.sheet .phase-row button{min-width:0}
#app[data-weather=meteor] .stars{opacity:.95}#app[data-weather=meteor] .tint{background:linear-gradient(165deg,#102839f5,#243a59ef 57%,#655879db)}#app[data-weather=rainbow] .tint{background:linear-gradient(155deg,#91b8c44a,#c6dcd12e 58%,#f5ce9b50)}
