:root{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;color:#243e32;background:#b9dce0;font-synthesis:none;--green:#365c46;--paper:#fcfaf1;--muted:#7c8676;--line:#e3e5d6}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input{touch-action:manipulation}button{font:inherit;border:0;cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #b47b36;outline-offset:4px}button{transition:transform .18s,background .18s}button:active{transform:scale(.96)}[hidden]{display:none!important}#world{display:block;width:100vw;height:100dvh;position:fixed;inset:0;touch-action:none;outline:none}.topbar{position:fixed;inset:28px 34px auto;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:5}.topbar>*{pointer-events:auto}.brand{color:#294c3e;text-decoration:none;display:flex;align-items:center;gap:12px;font-size:21px;font-weight:700;letter-spacing:2px;text-shadow:0 1px 12px #eaf2da90}.brand small{display:block;font-size:9px;letter-spacing:2.8px;font-weight:600;margin-top:4px}.brand-emblem{height:43px;width:43px;border:1.5px solid #315a43;border-radius:50%;font-size:22px;display:grid;place-content:center;position:relative}.brand-emblem span{position:absolute;bottom:1px;right:6px;font-size:21px}.top-right{display:flex;gap:10px;align-items:center}.prototype-label{font-size:11px;letter-spacing:1px;background:#f8f8e9c9;padding:9px 13px;border-radius:20px;margin-right:3px}.round{width:42px;height:42px;border-radius:50%;background:#fffdf0e8;box-shadow:0 3px 14px #2543360c;font-size:21px;display:grid;place-items:center}.round:hover{background:#fff}.welcome{position:fixed;left:7.3vw;top:30%;z-index:4;pointer-events:none}.welcome>*{pointer-events:auto}.eyebrow{font-size:12px;letter-spacing:2px;display:flex;align-items:center;gap:9px}.eyebrow span{width:6px;height:6px;border-radius:50%;background:#365c46}.welcome h1{font-size:clamp(40px,5.1vw,76px);font-weight:650;line-height:1.25;letter-spacing:.02em;margin:23px 0 20px;text-shadow:0 1px 30px #eff1da80}.welcome p{font-size:15px;line-height:1.95;letter-spacing:1px;margin:0 0 30px;color:#395648}.primary{background:var(--green);color:var(--paper);padding:15px 22px;border-radius:9px;font-weight:600;font-size:14px}.primary:hover{background:#244d36}.enter{min-width:225px;display:flex;justify-content:space-between;align-items:center;padding:19px 23px;box-shadow:0 6px 24px #32534322;font-size:16px}.enter span{font-size:24px;line-height:1}.welcome-note{font-size:10px;letter-spacing:.8px;color:#50634e;margin-top:17px}.intro-caption{position:fixed;right:40px;bottom:40px;display:flex;flex-direction:column;gap:9px;text-align:right;color:#f8f7e3;text-shadow:0 2px 8px #244c4b80}.intro-caption>span{font-size:10px;letter-spacing:2px}.intro-caption strong{font-size:20px;font-weight:500;letter-spacing:2px}.intro-caption small{font-size:10px;opacity:.8}.status-strip{position:fixed;right:34px;top:91px;display:flex;align-items:center;gap:10px;border-radius:24px;padding:10px 15px;background:#faf9edee;font-size:11px;box-shadow:0 3px 16px #314f3b0d}.status-strip #level{border-left:1px solid #d7ddcc;padding-left:11px;color:#647660}.day-dot{width:7px;height:7px;border-radius:50%;background:#cda35b}.coin-symbol{color:#ad894d;font-size:17px}.quest-card{position:fixed;left:34px;top:111px;width:245px;border-radius:13px;background:#faf9efed;box-shadow:0 8px 24px #30452c0e;overflow:hidden}.quest-heading{display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px 18px;background:none;font-size:13px}.quest-heading>span:before{content:'✧';margin-right:8px;color:#9b854b}.quest-heading small{font-size:10px;font-weight:500;color:#86917b}#quest-body{border-top:1px solid #e3e4d5;margin:0 18px;padding:15px 0}.quest-overline{font-size:9px;letter-spacing:1px;color:#89917f}.quest-card h2{font-size:15px;margin:9px 0 7px}.quest-card p{font-size:11px;color:#75816d;margin:0;line-height:1.7}.text-button{background:none;padding:0;color:#45674b;font-size:11px;margin-top:14px;display:flex;width:100%;justify-content:space-between}.quest-track{height:3px;background:#e7e6d5}.quest-track span{display:block;height:100%;background:#b3b76c;transition:width .5s}.view-controls{position:fixed;right:34px;top:154px;display:flex;flex-direction:column;gap:9px}.view-controls .round{font-size:24px}.toolbar{position:fixed;bottom:43px;left:50%;transform:translateX(-50%);display:flex;align-items:center;padding:9px 12px;background:#fffdf1f5;border:1px solid #ffffff88;border-radius:18px;box-shadow:0 8px 30px #23433224;gap:4px}.toolbar button{background:transparent;display:flex;flex-direction:column;align-items:center;gap:6px;border-radius:10px;padding:7px 15px;min-width:80px;font-size:10px;white-space:nowrap}.toolbar button:hover{background:#eaeedc}.tool-icon{font-family:system-ui,sans-serif;font-size:25px;line-height:29px;color:#55725b}.tool-divider{height:36px;width:1px;background:#e4e7d8;margin:0 6px}.desktop-hint{position:fixed;bottom:17px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.8px;color:#eff4de;text-shadow:0 1px 5px #204b3a;white-space:nowrap}.desktop-hint i{font-style:normal;margin:0 8px}#labels{position:fixed;inset:0;pointer-events:none}#interact-wrap{position:fixed;bottom:154px;left:50%;transform:translateX(-50%);text-align:center;z-index:3}#near-detail{display:block;font-size:11px;color:#fffde7;text-shadow:0 1px 5px #25452f;margin-bottom:9px}#interact{background:#fffced;color:#32523b;display:flex;align-items:center;gap:15px;border-radius:30px;padding:10px 17px 10px 10px;box-shadow:0 4px 18px #223e3a25;font-size:13px;white-space:nowrap}kbd{font-family:inherit;font-size:11px;background:#e7ead9;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}#interact b{font-size:18px;font-weight:400}#toast{position:fixed;left:50%;top:100px;transform:translate(-50%,-15px);opacity:0;pointer-events:none;transition:all .3s;background:#294b3fee;border:1px solid #ffffff22;color:#fff8da;padding:13px 22px;border-radius:30px;font-size:12px;text-align:center;max-width:85vw;z-index:30}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #fff8;box-shadow:0 20px 90px #153c3550;background:var(--paper);color:#294a38;border-radius:20px;padding:32px;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 60px);overflow:auto}dialog::backdrop{background:#203b3144;backdrop-filter:blur(3px)}.close-panel{position:absolute;right:17px;top:15px;height:32px;width:32px;border-radius:50%;background:#e9eddf;font-size:24px;color:#75816b;z-index:1}.panel-kicker{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#88917b;margin-bottom:10px}dialog h2{font-size:25px;margin:8px 0 12px;letter-spacing:.5px;font-weight:600}dialog p{font-size:13px;line-height:1.9;color:#75806e}dialog .intro-text{font-size:14px;line-height:1.9;margin-bottom:20px}.dialogue{background:#edf0e2;border-radius:12px;padding:17px 20px;margin:18px 0;font-size:14px;line-height:1.9;color:#4a6650}.dialogue small{display:block;font-size:10px;margin-bottom:7px;color:#829177}.item-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.item-art{width:48px;height:48px;display:grid;place-items:center;background:#e9ead9;border-radius:12px;font-size:25px;flex-shrink:0}.item-info{flex:1}.item-info strong{font-size:13px;font-weight:600}.item-info small{display:block;color:#86907a;font-size:10px;margin-top:5px;line-height:1.7}.small-button{background:#e4ead5;border-radius:8px;padding:9px 12px;font-size:12px;white-space:nowrap}.small-button:hover{background:#d7e2c5}.wide{width:100%;margin-top:18px}.muted-note{font-size:10px!important;color:#89917e!important;line-height:1.8!important}.step-row{display:flex;gap:7px;margin:20px 0}.step-row>div{flex:1;text-align:center;border:1px solid #dde3d1;border-radius:10px;padding:13px 5px;font-size:11px;color:#8b927f}.step-row>div.done{background:#e1e9cd;color:#42663e;border-color:#c5d2ae}.build-preview{height:140px;border-radius:12px;background:#e8ecd9;position:relative;display:flex;align-items:center;justify-content:center;margin:20px 0}.tent-art{width:140px;height:85px;background:#cea254;clip-path:polygon(50% 0,100% 100%,0 100%);position:relative;filter:drop-shadow(0 5px 5px #62734033)}.tent-art:after{content:'';position:absolute;inset:24px 42px 0;background:#5d6751;clip-path:polygon(50% 0,100% 100%,0 100%)}.choice-row{display:flex;gap:8px}.choice-row button{flex:1;background:#e9ecde;border:1px solid transparent;border-radius:8px;padding:10px;font-size:11px}.choice-row button.selected{background:#dce7c8;border-color:#8ca66d}.cook-grill{height:128px;background:repeating-linear-gradient(90deg,#465348 0,#465348 7px,#344237 7px,#344237 12px);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:18px;overflow:hidden;margin:18px 0}.skewer{width:22px;height:90px;position:relative;background:linear-gradient(90deg,transparent 45%,#d4b57a 45%,#d4b57a 55%,transparent 55%);display:flex;flex-direction:column;justify-content:center;gap:4px}.skewer span{width:25px;height:18px;background:#d5964d;border-radius:5px}.skewer span:nth-child(2){background:#94a665}.cook-meter{position:relative;height:16px;border-radius:8px;background:#e7dfc8;overflow:hidden;margin:20px 0 12px}.cook-meter:before{content:'';position:absolute;left:38%;width:24%;height:100%;background:#a5bf7e}#cook-cursor{position:absolute;width:5px;height:100%;background:#35583f;left:0}#cook-status{text-align:center;font-size:12px;color:#78826b}.journal-list{list-style:none;padding:0;margin:18px 0}.journal-list li{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.quest-check{width:25px;height:25px;border-radius:50%;border:1px solid #ced7bd;display:grid;place-items:center;font-size:12px;color:#55734a;flex-shrink:0}.quest-check.done{background:#dce6c8;border:0}.journal-list strong{font-size:12px}.journal-list p{font-size:11px;margin:4px 0}.journal-list small{font-size:10px;color:#a08852}.map-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.map-grid button{background:#e9eddd;text-align:left;border-radius:10px;padding:17px;font-size:13px}.map-grid button span{display:block;font-size:10px;color:#829173;margin-top:6px}.map-grid button:hover{background:#dbe7c9}.rule-list{list-style:none;padding:0}.rule-list li{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}.rule-list b{font-size:11px;color:#9a9f83;line-height:1.9}.rule-list span{font-size:13px;line-height:1.9}.rule-list small{display:block;font-size:10px;color:#87927b}.source-link{font-size:10px;color:#6a8568;text-decoration:underline}.photo-img{width:100%;border-radius:12px}.photo-actions{display:flex;gap:10px}.photo-actions>*{flex:1;text-align:center;text-decoration:none;font-size:12px}#joystick{display:none}#loading{position:fixed;inset:0;background:#e9eddf;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity .5s}#loading h1{font-size:22px;letter-spacing:5px;font-weight:500}.load-mark{height:62px;width:62px;border:1px solid #8b9e79;border-radius:50%;display:grid;place-items:center;font-size:15px;letter-spacing:2px}#loading p{font-size:11px;letter-spacing:2px;color:#8b947e}.loading-line{height:2px;width:100px;background:#d3ddc4;margin-top:25px;overflow:hidden}.loading-line:after{content:'';display:block;height:100%;width:50%;background:#708d61;animation:loading 1s ease-in-out infinite alternate}@keyframes loading{to{transform:translateX(100%)}}#error{position:fixed;inset:20%;z-index:120;background:#fff9e8;padding:35px;border-radius:20px}#error h1{font-size:22px}#error button{padding:12px 20px;background:#dce4cc;border-radius:9px}#flash{position:fixed;inset:0;background:#fffae7;opacity:0;pointer-events:none;z-index:99}.night .brand{color:#f0e5bd;text-shadow:none}.night .brand-emblem{border-color:#e6dcba}.night .desktop-hint{color:#d0d6c7}.collapsed #quest-body{display:none}.recycle-progress{font-size:42px;font-weight:500;color:#7c9564;margin:25px 0}.bonfire-art{font-size:64px;text-align:center;margin:18px;color:#bd9457}.end-note{text-align:center;font-size:12px;line-height:1.8;color:#7e8c70}
@media(max-width:760px){.topbar{inset:20px 20px auto}.brand{font-size:17px;gap:9px;letter-spacing:1px}.brand small{font-size:7px;letter-spacing:2px}.brand-emblem{height:35px;width:35px;font-size:19px}.brand-emblem span{font-size:17px}.prototype-label{font-size:9px;padding:6px 9px;position:fixed;top:74px;right:20px}.round{height:36px;width:36px;font-size:18px}.top-right{gap:7px}.welcome{top:auto;bottom:10vh;left:26px}.welcome h1{font-size:47px;margin:16px 0}.welcome p{font-size:13px;margin-bottom:23px}.eyebrow{font-size:10px;letter-spacing:1px}.welcome-note{font-size:9px}.enter{min-width:210px;padding:17px 20px}.intro-caption{right:22px;bottom:23px}.intro-caption strong{font-size:13px}.intro-caption>span,.intro-caption small{display:none}.status-strip{top:76px;left:20px;right:auto;font-size:9px;padding:7px 11px;gap:7px}.status-strip #level{padding-left:7px}.quest-card{left:20px;top:119px;width:205px}.quest-heading{padding:12px 14px;font-size:11px}.quest-card h2{font-size:13px}.quest-card p{font-size:10px}#quest-body{margin:0 14px;padding:12px 0}.quest-overline{font-size:8px}.view-controls{right:20px;top:119px;gap:8px}.toolbar{bottom:max(18px,env(safe-area-inset-bottom));padding:7px 5px;gap:0;border-radius:15px;width:calc(100% - 28px);justify-content:space-evenly}.toolbar button{padding:5px 6px;min-width:0;font-size:8px;gap:4px}.tool-icon{font-size:23px;line-height:25px}.tool-divider{margin:0 3px;height:28px}.desktop-hint{display:none}#interact-wrap{bottom:113px;left:auto;right:19px;transform:none}#interact{padding:9px 13px;gap:8px;font-size:11px}#interact kbd{display:none}#near-detail{font-size:9px;max-width:160px}#joystick{position:fixed;left:25px;bottom:112px;width:87px;height:87px;border:1px solid #fffbe3a0;background:#f1f1d928;border-radius:50%;display:grid;place-items:center;touch-action:none;box-shadow:inset 0 0 20px #fff8}#joystick span{width:37px;height:37px;border-radius:50%;background:#f8f8e5bd;box-shadow:0 3px 9px #36584522;pointer-events:none}dialog{padding:26px 23px;max-height:calc(100dvh - 36px);border-radius:17px}dialog h2{font-size:22px}.close-panel{right:12px;top:12px}.intro-text{font-size:13px!important}#toast{top:auto;bottom:206px;font-size:11px;padding:12px 18px}.item-row{gap:10px}.item-art{width:42px;height:42px}.item-info strong{font-size:12px}.small-button{font-size:11px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
body:has(#welcome:not([hidden])):after{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#eef1d88c,transparent 61%);z-index:2}.welcome{z-index:4}.intro-caption{z-index:4}
@media(max-width:760px){body:has(#welcome:not([hidden])):after{background:linear-gradient(0deg,#eaf0dbaa 0%,#eaf0db55 43%,transparent 75%)}}
@media(max-width:420px){.prototype-label{top:60px;font-size:8px;padding:4px 8px}.status-strip{top:87px}.quest-card,.view-controls{top:130px}.status-strip #level{font-size:8px}}
@media(max-width:760px){.toolbar button{font-size:10px;padding:5px 4px}.toolbar .tool-divider{margin:0 2px}}
@media(max-width:760px){.toolbar .tool-label{font-size:0}.toolbar .tool-label:after{content:attr(data-short);font-size:10px}.toolbar button{min-width:40px}}
#panel{width:min(550px,calc(100vw - 24px));max-height:82dvh;padding:26px;color:#304d3e;background:#fff9e9;border:2px solid #fffcf3;box-shadow:0 14px 55px #1e392f44}#panel[data-layout=counter]{margin:auto 3vw 5vh auto;width:min(450px,94vw)}#panel[data-layout=counter]::backdrop{backdrop-filter:none;background:#1d43331a}.speech{background:#f7e7ba;padding:15px 18px;border-radius:16px;display:grid;gap:8px}.speech b{font-size:12px;color:#81562b}.speech span{font-size:14px;line-height:1.7}.tiles,.slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tile,.empty-slot{background:#f1eedb;border:1px solid #dfdfc8;border-radius:13px;min-height:78px;padding:8px;text-align:left;display:grid;gap:4px;align-content:center}.tile:hover{background:#e1e9c9}.tile i,.chapter i{font:normal 26px/1.1 system-ui}.tile strong{font-size:13px}.tile small,.chapter small{display:block;font-size:11px;color:#69765f;line-height:1.5}.empty-slot{background:#f5f2e5}.tabs,.pager,.ledger,.traits{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:14px 0}.tabs button,.pager button,.ledger button{background:#e8e8d5;border-radius:18px;padding:8px 13px;font-size:12px}.tabs .on,.numbers .taken{background:#42654d;color:white}.ledger,.pager{justify-content:space-between;font-size:12px}.plate{font-size:70px;text-align:center;background:#edf0d9;border-radius:18px;padding:16px}.recipe-parts span{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e1dfcc}.recipe-parts small{font-size:11px}.chapter{display:flex;gap:15px;align-items:center;border-bottom:1px solid #dedfce;padding:15px 4px}.chapter div{flex:1}.chapter>b{color:#a7a990}.chapter.earned>b{color:#447050}.traits b{font-size:11px;padding:8px 10px;background:#e6ecd5;border-radius:13px}.numbers{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}.numbers button{font-size:10px;padding:9px 1px;background:#e8edd9;border-radius:6px}#atlas{width:100%;border-radius:14px;cursor:crosshair}.slots .tile{align-items:center;text-align:center}.slots strong{font-size:11px}.performing #hud,.performing .topbar{visibility:hidden}#action-scene{position:fixed;left:50%;bottom:7vh;transform:translateX(-50%);width:min(345px,91vw);padding:18px 22px;border-radius:18px;display:grid;gap:10px;background:#fffae9f2;box-shadow:0 5px 25px #25372333;text-align:center}#action-scene span{font-size:13px}#action-scene button{border-radius:16px;padding:10px;background:#456b50;color:white}#action-scene .quiet{color:#58674f;background:transparent;padding:4px;font-size:11px}.meter,progress{height:10px;width:100%;border-radius:12px;accent-color:#5a8765}.meter{background:linear-gradient(90deg,#e7dec8 32%,#a5bf85 32% 68%,#e7dec8 68%);position:relative}.meter i{position:absolute;width:5px;height:13px;background:#31543f;top:-1px}.panel-kicker{letter-spacing:1px}#panel::backdrop{backdrop-filter:blur(1px)}@media(max-width:650px){#panel[data-layout=counter]{margin:auto auto 1vh;max-height:55dvh}#panel{padding:18px}.slots{gap:5px}.tile{padding:7px}.numbers{grid-template-columns:repeat(8,1fr)}}

body:has(#panel[open]) #hud,body:has(#panel[open]) #labels{visibility:hidden}#ask-aunt{margin:8px 0 0}.numbers .taken{outline:1px solid #6c806a}

#visitors{font-size:11px;white-space:nowrap;background:#e4ecd4;color:#355642;padding:5px 9px;border-radius:12px;font-weight:650}.visitor-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #dce1cd}.visitor-row div{flex:1;min-width:95px}.visitor-row small{display:block;font-size:11px;color:#68745f}.visitor-row button{background:#e7ebd8;color:#395141;padding:7px 9px;border-radius:12px;font-size:12px}.visitor-row button:disabled{opacity:.45}
body:is(.quiet-view,.hiking,.on-court) :is(#hud,.topbar,#labels,.intro-caption){display:none!important}
.view-tools,#volley-console{position:fixed;z-index:12;color:#fff8e6;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.view-tools{inset:0;pointer-events:none}
.view-tools button,#volley-console button{font:inherit;cursor:pointer;touch-action:manipulation}
.view-tools button,.view-bar .trail-distance{padding:.62rem 1rem;color:#fff8e6;background:#172c2ac4;border:1px solid #fff4;border-radius:100px;backdrop-filter:blur(10px);font-size:.83rem;letter-spacing:.03em}
.view-tools button:hover,.view-tools button:focus-visible{background:#365347}
.view-tools [hidden],#volley-console [hidden]{display:none}
.view-caption,.view-bar{position:absolute;left:clamp(16px,4vw,64px);transition:opacity .65s}
.view-caption{top:max(26px,7vh);text-shadow:0 2px 12px #132f2d;display:flex;align-items:center;gap:12px}
.view-caption span{width:27px;height:2px;background:#eee4bd}.view-caption b{font-size:clamp(18px,2.1vw,31px);letter-spacing:.09em;font-family:"Songti SC","STSong",serif}
.view-bar{bottom:max(23px,env(safe-area-inset-bottom));display:flex;gap:8px;align-items:center;flex-wrap:wrap;pointer-events:auto}
.view-clean .view-caption,.view-clean .view-bar{opacity:0}.view-clean .view-bar:hover,.view-clean .view-bar:focus-within{opacity:1}
.wish-choices{position:absolute;bottom:17%;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:center;padding:15px 20px;border-radius:14px;background:#332c21ed;pointer-events:auto;width:min(395px,88vw);box-shadow:0 12px 48px #0004}
.wish-choices small{display:block;width:100%;text-align:center;color:#edcea4;margin-bottom:4px}
.temple-pad{position:absolute;right:3vw;bottom:22px;display:grid;grid-template-columns:repeat(3,35px);gap:3px;pointer-events:auto}.temple-pad button{padding:4px;width:35px;height:35px;touch-action:none}.temple-pad button:first-child{grid-column:2}.temple-pad button:nth-child(2){grid-column:1}
#volley-console{left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(660px,93vw);background:#193e3cef;border:1px solid #fff4;border-radius:17px;padding:12px 17px;box-shadow:0 5px 36px #162b2a50}
#volley-console header,.court-controls,.court-controls div{display:flex;align-items:center;gap:7px}#volley-console header{justify-content:space-between}#volley-console header div{display:flex;align-items:center;gap:16px}.court-score{font-size:26px;font-variant-numeric:tabular-nums;color:#ffdda4}.court-team,.court-controls small{color:#d5e3d9}.court-phase{font-size:13px;margin:4px 0 7px}
#volley-console button{color:#f9f0d6;border:1px solid #faf2d44d;background:#ffffff08;padding:5px 10px;border-radius:15px;font-size:12px;white-space:nowrap}
#volley-console button.on,#volley-console [data-hit],#volley-console [data-practice]{background:#eac788;color:#233c33}#volley-console button:disabled{opacity:.48}
.court-controls{flex-wrap:wrap;justify-content:space-between}.court-controls div{gap:3px}.court-controls small{font-size:11px;margin-inline-end:4px}.ball-timing{background:#edf0d52b;height:4px;margin:7px 0 11px;border-radius:4px;overflow:hidden}.ball-timing i{display:block;background:#e6be87;height:100%}.ball-timing.ready i{background:#a3e3a0}
#panel[data-layout=atlas]{width:min(860px,95vw);max-height:min(88dvh,820px);color:#334d46;background:#f5f1df}
#atlas{width:100%;height:auto;display:block;max-height:none;object-fit:contain;border:1px solid #b5c1a5;border-radius:8px;background:#dfe5c7}
.map-legend,.map-fold,.place-book{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.map-legend{justify-content:space-between;color:#4f6359;font-size:11px;margin:8px 0 13px}.you-pin{color:#ae4b39}
.map-fold{margin:9px 0 12px;border-bottom:1px solid #d6d6bd;padding-bottom:8px}.map-fold button,.place-book button,.address-book button{cursor:pointer;border:1px solid #c7ceaf;border-radius:7px;padding:7px 12px;background:#fcf9e9;color:#355749;font:inherit;font-size:13px}.map-fold button.on{color:#fff7de;background:#436957}.map-fold button:last-child{margin-left:auto}.place-book{gap:6px}.address-book{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px}.address-book button{display:grid;gap:3px;text-align:left}.address-book small,.address-book span{font-size:10px;color:#6a7666}.address-book b{font-size:15px}
@media(max-width:650px){.view-caption{top:24px}.view-bar{left:12px;bottom:max(13px,env(safe-area-inset-bottom));gap:4px}.view-tools button,.view-bar .trail-distance{padding:8px 10px;font-size:12px}.inside-temple .view-bar{bottom:103px}.temple-pad{right:14px}.court-controls{justify-content:flex-start;gap:4px}.court-controls small{font-size:10px}.court-team{font-size:12px}#volley-console{padding:9px 12px}.court-score{font-size:20px}.court-phase{font-size:11px}#volley-console button{padding:5px 7px;font-size:11px}.map-fold button,.place-book button{font-size:12px;padding:6px 8px}.address-book{grid-template-columns:repeat(3,1fr)}}

#arrivals{position:fixed;z-index:18;top:max(78px,calc(env(safe-area-inset-top) + 57px));left:50%;transform:translateX(-50%);width:max-content;max-width:85vw;padding:9px 18px;border:1px solid #e5ddc5;border-radius:24px;background:#fffae9f0;color:#365a50;font-size:13px;pointer-events:none;box-shadow:0 3px 16px #28382c22}
.radio-head{display:flex;align-items:center;gap:12px;margin:16px 0}.radio-head label{display:flex;align-items:center;gap:6px;flex:1;font-size:13px}.radio-head input{width:100%;min-width:55px;accent-color:#477766}.radio-head output{min-width:3ch;font-size:12px;font-variant-numeric:tabular-nums}
.radio-list{border-top:1px solid #d9d6bd}.radio-list button{width:100%;display:grid;grid-template-columns:2em 1fr auto 1em;align-items:center;gap:7px;padding:10px 8px;text-align:left;border-bottom:1px solid #dcd9c3;background:transparent;color:#3a5145}.radio-list small,.radio-list em{font-size:11px;color:#657765;font-style:normal}.radio-list span{font-size:14px}.radio-list button[aria-pressed=true]{background:#e2ebd9;color:#274e3f}
.home-buttons,.tent-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.home-buttons button,.tent-choices button{border:1px solid #dad8c0;border-radius:12px;background:#efeddc;color:#3e5745;padding:12px}.tent-choices button{display:flex;gap:9px;align-items:center;text-align:left}.tent-choices button[aria-pressed=true]{background:#e3ebd7;border-color:#63836c}.tent-choices b,.tent-choices small{display:block}.tent-choices small{font-size:10px;margin-top:3px;color:#697361}.tent-choices b{font-size:13px}.tent-icon{width:38px;height:29px;background:var(--fabric);flex:none;position:relative;box-shadow:inset -4px 0 #0002}.tent-icon:after{content:"";position:absolute;bottom:0;left:27%;width:40%;height:57%;background:#4a554a;clip-path:polygon(50% 0,100% 100%,0 100%)}.tent-icon.tunnel{border-radius:40% 48% 3px 3px}.tent-icon.ridge{clip-path:polygon(0 100%,40% 9%,71% 1%,100% 100%)}.tent-icon.bell{clip-path:polygon(0 86%,11% 67%,49% 0,88% 66%,100% 89%,95% 100%,4% 100%)}.tent-icon.dome{border-radius:100% 100% 8% 8%}.tent-icon.cabin{clip-path:polygon(0 49%,43% 8%,61% 1%,100% 42%,96% 100%,4% 100%)}
.visitor-row .gesture-list{flex:0 0 100%;display:flex;flex-wrap:wrap;gap:6px}.field-pages{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.field-pages article{background:#edeadb;color:#6b7467;display:grid;padding:11px;border-radius:12px;gap:4px}.field-pages article.found{background:#dce9d7;color:#315543}.field-pages i{font-size:24px;font-style:normal}.field-pages b{font-size:12px}.field-pages small{font-size:11px}
#action-scene .call-keys,.pulse-steps{display:flex;justify-content:center;gap:8px}.call-keys button.lit{background:#dca553!important;color:#203f37!important}.pulse-steps i{width:15px;height:15px;border:2px solid #a0b8a4;border-radius:50%;background:#e5e6cf;transition:background 80ms}.pulse-steps i.lit{background:#d69e40;border-color:#aa752f;box-shadow:0 0 8px #dfb56c}.commons-progress{display:flex;justify-content:space-between;gap:5px}.commons-progress b{font-variant-numeric:tabular-nums}#action-scene [data-status]:empty,#action-scene [data-last]:empty{display:none}#action-scene [data-hold]{touch-action:none;user-select:none;-webkit-user-select:none}#action-scene [data-last]{color:#486658}
@media(max-width:620px){#panel[data-layout=counter]:has(.tent-choices){max-height:48dvh;margin:auto auto max(8px,env(safe-area-inset-bottom));padding:13px 16px}.tent-choices{margin:8px 0;gap:5px}.tent-choices button{padding:7px;gap:5px}.tent-icon{width:29px;height:22px}.view-bar{max-width:calc(100vw - 16px);justify-content:center;flex-wrap:wrap}.view-bar button{font-size:12px;padding:7px 9px}.radio-list button{min-height:40px}.field-pages{grid-template-columns:repeat(2,1fr)}}

.view-caption{align-items:flex-start;flex-direction:column;gap:5px}.view-caption span{width:auto;height:auto;background:none;font:600 12px/1.2 system-ui;letter-spacing:.08em;white-space:nowrap}.view-caption span:empty{display:none}

@media(min-width:700px){#action-scene.commons-tools{left:auto;right:clamp(22px,4vw,65px);transform:none;bottom:6vh;width:270px}}#action-scene .music-switch{background:#e6e7d2;color:#405546}

.style-preview{display:block;width:100%;height:auto;max-height:155px;object-fit:contain;background:#eee8d8;border-radius:12px}.tent-choices{margin-top:9px}@media(max-width:620px){#panel[data-layout=counter]:has(.style-preview){max-height:66dvh}.style-preview{max-height:122px}}

#voices{position:fixed;inset:0;z-index:17;pointer-events:none;overflow:hidden}.voice-token{position:absolute;top:0;left:0;display:grid;gap:3px;max-width:min(235px,56vw);padding:7px 12px;border-radius:15px;background:#fff9e7;color:#273f35;box-shadow:0 3px 12px #102c2b35;font-size:13px;line-height:1.45;font-weight:550;text-wrap:pretty}.voice-token b{font-size:10px;color:#4c5d4e;letter-spacing:.06em}.voice-token b:before,.look-swatch{content:"";display:inline-block;width:.78em;height:.78em;background:var(--voice-accent);border-radius:50%;margin-right:.4em}.voice-token[data-mode=speech]:after{content:"";position:absolute;width:9px;height:9px;background:#fff9e7;bottom:-3px;left:49%;transform:rotate(45deg)}.voice-token[data-mode=name]{border-radius:10px;padding:2px 7px;background:#203f38d9;box-shadow:none}.voice-token[data-mode=name] b{font-size:11px;color:#fff2d7}.voice-token[data-mode=name] span:empty{display:none}
#field-talk{position:fixed;z-index:19;right:max(18px,env(safe-area-inset-right));top:max(88px,12vh);text-align:right}#field-talk [data-palette],#near-keeper{background:#fff9e8f2;color:#294d43;box-shadow:0 2px 11px #253c3629;border:1px solid #ede3c6;border-radius:20px}#field-talk [data-palette]{padding:8px 14px;font-weight:680;font-size:13px}#field-talk [data-phrases]{position:absolute;right:0;top:41px;width:min(286px,86vw);background:#fff9e9;border:1px solid #e6dcc1;padding:7px;border-radius:13px;box-shadow:0 7px 30px #1b3e3630;display:grid;grid-template-columns:1fr 1fr;gap:4px}#field-talk [data-phrase]{border-radius:7px;padding:9px 5px;color:#325449;background:#eeeedd;font-size:12px}#near-keeper{position:fixed;z-index:12;left:50%;bottom:max(124px,17vh);transform:translateX(-50%);padding:5px 6px 5px 13px;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px}#near-keeper button{padding:7px 10px;color:#fff8e6;background:#466c5c;border-radius:15px}body:has(#near-keeper:not([hidden])) #interact-wrap{display:none}#voices [hidden],#near-keeper[hidden],#field-talk[hidden],#field-talk [hidden]{display:none}.can-locate{pointer-events:auto!important;cursor:pointer}
#panel[data-layout=service]{position:fixed;inset:auto 18px 18px auto;margin:0;width:min(363px,36vw);max-height:60dvh;z-index:22;padding:16px 19px}#panel[data-layout=service] h2{font-size:23px}#panel[data-layout=service] .tiles{grid-template-columns:repeat(2,1fr)}.look-swatch{width:12px;height:12px;box-shadow:inset 0 0 0 1px #102a361e}
@media(max-width:750px){#field-talk{right:10px;top:78px}#field-talk [data-palette]{font-size:11px;padding:6px 10px}#panel[data-layout=service]{inset:auto 6px max(6px,env(safe-area-inset-bottom)) 6px;width:auto;max-height:37dvh;padding:12px 16px}#near-keeper{bottom:116px}.voice-token{font-size:12px}}

#action-scene .bar-order [data-drinks]{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:5px}#action-scene .bar-order [data-drinks][hidden]{display:none}#action-scene .bar-order button{width:100%}#action-scene .venue-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}#action-scene.commons-tools{max-height:57dvh;overflow:auto;overscroll-behavior:contain}#action-scene .bar-order [data-order]{font-size:12px;background:#e2e8d8;color:#405e4b}.radio-list button span small{display:block;letter-spacing:0;color:#657b6d;font-size:11px;line-height:1.5}
@media(max-width:699px){#action-scene.commons-tools{max-height:39dvh;width:min(92vw,430px)}}

body:not(.performing):not(.on-court):not(.quiet-view) #field-talk{top:auto;bottom:max(108px,env(safe-area-inset-bottom));right:22px}body:not(.performing):not(.on-court):not(.quiet-view) #field-talk [data-phrases]{top:auto;bottom:43px}
@media(max-width:750px){body:not(.performing):not(.on-court):not(.quiet-view) #field-talk{right:10px;bottom:96px}#near-keeper{bottom:141px}}

#action-scene [data-change-seat][hidden]{display:none}

#field-talk [data-palette] i{position:relative;display:inline-block;width:14px;height:10px;margin-right:7px;border:1.5px solid currentColor;border-radius:5px;vertical-align:1px}#field-talk [data-palette] i:after{position:absolute;content:"";width:3px;height:3px;left:2px;bottom:-3px;background:#fff9e8;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:skewY(-34deg)}

@media(min-width:700px){#action-scene.commons-tools{max-height:77dvh}}

/* At dusk the invitation stays over the scene, leaving the centre clear. */
#sunset-signal { color:#77452d;background:#ffdfaa;border-radius:14px;border:1px solid #bd9060;padding:4px 10px;font-weight:700; }
#sunset-card { position:fixed;z-index:21;left:max(22px,env(safe-area-inset-left));bottom:108px;width:min(285px,88vw);padding:15px 17px 13px;border-radius:15px;border:1px solid #e6c298;background:#fff4ddf5;box-shadow:0 6px 25px #203f3e32;color:#354b40; }
#sunset-card[hidden],#sunset-signal[hidden] { display:none; }
.evening-heading { display:flex;align-items:center;gap:8px;color:#8b523c;font-size:11px;font-weight:700;letter-spacing:.1em; }
.evening-heading i { width:18px;height:11px;border-bottom:2px solid #a66343;background:radial-gradient(circle at 50% 90%,#dc8754 0 43%,transparent 46%); }
#sunset-card h2 { font-family:Georgia,"Songti SC",serif;font-size:21px;margin:7px 0 4px;color:#334a3d;line-height:1.28; }
#sunset-card p { font-size:12px;line-height:1.55;margin:0 0 9px; }
#sunset-card [data-evening-actions] { display:flex;flex-wrap:wrap;gap:6px;max-height:22dvh;overflow:auto; }
#sunset-card button,.voice-token .voice-action { border:0;border-radius:14px;padding:6px 11px;font-size:12px;color:#fff9e7;background:#456757;font-weight:650; }
#sunset-card button[data-evening=close],#sunset-card button[data-evening=decline],#sunset-card button[data-evening=cancel],#sunset-card button[data-evening=music] { color:#556250;background:#eae5d1; }
#sunset-card button:disabled { opacity:.64; }
.voice-token .voice-action { justify-self:start;pointer-events:auto;cursor:pointer; }
.voice-token .voice-action[hidden] { display:none; }
#action-scene [data-evening-board] { background:#ffe3b2;color:#64432e;border:1px solid #d2ad74; }
#action-scene [data-evening-board]:disabled { opacity:1;background:#f3ebdb;color:#586456; }
@media(max-width:699px){
 #sunset-card { left:9px;bottom:auto;top:116px;width:min(260px,80vw);max-height:37dvh;overflow:auto;padding:11px 12px; }
 #sunset-card h2 { font-size:18px; }
 #sunset-signal { position:fixed;top:78px;left:9px; }
 body:has(#sunset-card:not([hidden])) .quest-card { visibility:hidden; }
}

.voice-options { display:flex;gap:5px;align-items:center; }
.voice-options[hidden],.voice-options button[hidden] { display:none; }
.voice-decline { pointer-events:auto;background:none;color:#5e6657;font-size:11px;padding:5px; }
.on-lantern-walk #hud .quest-card,.on-lantern-walk #hud .toolbar,.on-lantern-walk #hud #interact-wrap,.on-lantern-walk .desktop-hint { display:none!important; }
@media(min-width:700px) { .on-lantern-walk #sunset-card { bottom:25px; } }

/* The dancers keep the centre of the portrait viewport, as on the volleyball court. */
#action-scene.dance-dock{gap:6px;text-align:left;color:#fff3da;background:rgba(38,68,61,.96);border:1px solid #f9dc9a5c;border-radius:16px;padding:13px 15px;}
#action-scene.dance-dock>b{display:none}
#action-scene.dance-dock .dance-heading{display:flex;gap:8px;align-items:center;font-size:12px}
.dance-heading [data-count]{white-space:nowrap}.dance-heading [data-stage-friends]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6d8af}.dance-heading [data-hits]{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
#action-scene.dance-dock .pulse-steps{justify-content:flex-start;gap:5px}
#action-scene.dance-dock .pulse-steps i{height:4px;min-width:20px;flex:1;border:0;border-radius:5px;background:#78928b}
#action-scene.dance-dock .pulse-steps i.lit{background:#ffcf80;box-shadow:none}
#action-scene.dance-dock .dance-actions,#action-scene.dance-dock .dance-options{display:flex;gap:6px}
#action-scene.dance-dock button{min-height:42px;padding:5px 10px;background:#41615b;color:#fff4dc;font-size:13px;border:1px solid #87a19868}
#action-scene.dance-dock button:disabled{opacity:.56}
#action-scene.dance-dock [data-step]{background:#f7cf84;color:#263f33;flex:1;border-color:#f7cf84;font-weight:750}
#action-scene.dance-dock [data-photo-line]{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px}
#action-scene.dance-dock [data-photo-line] button{min-height:36px}
#action-scene.dance-dock .dance-options{flex-wrap:wrap}
#action-scene.dance-dock [data-last]{display:none}#action-scene.dance-dock [data-status]{color:#f5ddad;font-size:12px;line-height:1.25}
#action-scene.dance-dock [hidden],#friend-arrival[hidden],#friend-arrival button[hidden]{display:none}
@media(max-width:699px){#action-scene.dance-dock{width:min(94vw,430px);max-height:25dvh;padding:10px 12px;bottom:max(10px,env(safe-area-inset-bottom));border-radius:14px}#action-scene.dance-dock>b{display:none}}
#invite-pal{white-space:nowrap}#friend-arrival{position:fixed;z-index:12;top:max(68px,12vh);left:50%;transform:translateX(-50%);width:max-content;max-width:94vw;display:flex;gap:8px;align-items:center;padding:7px 10px;border-radius:15px;color:#fff6dd;background:#284d45;font-size:13px}#friend-arrival button{padding:8px;border-radius:8px}
.meet-label{display:grid;gap:5px;font-size:14px;margin:12px 0;font-weight:650}.meet-label input{width:100%;font:inherit;font-weight:450;border:1px solid #b4bdb0;border-radius:9px;color:#284b42;background:#fffdf3;padding:11px}.meet-actions{display:flex;gap:8px;margin:14px 0}.meet-actions button{min-height:44px;border-radius:10px;padding-inline:15px}.table-list{display:grid;gap:7px}.table-dish{display:block;width:100%;padding:12px 14px;text-align:left;margin:4px 0;background:#e5ead9;color:#2d4d41;border-radius:10px}.table-dish:disabled{opacity:.8}.served-preview{font-size:52px;text-align:center;background:#eae4ca;border-radius:12px}.keepsake-img{-webkit-touch-callout:default;user-select:auto;display:block;width:100%;height:auto}
@media(max-width:699px){#invite-pal{font-size:12px;padding:5px 7px}.status-strip:has(#invite-pal){gap:4px}}

.keepsake-img[hidden],[data-download-card][hidden]{display:none}
