.gallery-ui{z-index:100;pointer-events:none;font-family:Georgia,serif;position:fixed;inset:0}.gallery-paper,.gallery-guidance{pointer-events:auto;border:2px solid;border-radius:12px;padding:20px;box-shadow:0 8px 30px #0003}.gallery-paper{box-sizing:border-box;background-image:repeating-linear-gradient(#0000 0 31px,#57465f0a 31px 32px);width:min(540px,90vw);max-height:78vh;position:absolute;top:10vh;right:3vw;overflow:auto}.gallery-paper header{justify-content:space-between;align-items:center;gap:16px;display:flex}.gallery-paper strong,.gallery-guidance strong{font:700 12px system-ui}.gallery-paper h2{margin:20px 0 12px}.gallery-paper p{line-height:1.6}.gallery-paper ul{padding:0;list-style:none}.gallery-paper li{border-bottom:1px solid #57465f33;padding:12px 0}.gallery-paper small{margin:7px 0;display:block}.gallery-paper label{gap:8px;display:grid}.gallery-paper input{font:inherit;padding:12px}.gallery-paper button,.gallery-guidance button,.gallery-world-button{cursor:pointer;color:inherit;font:inherit;background:0 0;border:1px solid;border-radius:7px;padding:8px 12px}.gallery-paper button:disabled{cursor:default;opacity:.5}.gallery-paper button[aria-pressed=true]{font-weight:700;text-decoration:underline}.gallery-paper button:focus-visible,.gallery-world-button:focus-visible{outline-offset:2px;outline:3px solid #ffc46b}.gallery-paper a{color:inherit}.gallery-preview{border:1px dashed;margin:16px 0;padding:20px}.gallery-guidance{max-width:min(460px,84vw);position:absolute;bottom:80px;left:16px}.gallery-world-button{white-space:nowrap;font:12px system-ui}.gallery-paper header{background:0 0;border-radius:0;width:auto;height:auto;padding:0;position:static;inset:auto;transform:none}.gallery-paper nav{gap:8px;display:flex;position:static}.gallery-ui button,.gallery-world-button{width:auto;max-width:100%;height:auto;min-height:36px;margin:3px;line-height:1.35}.gallery-paper input{box-sizing:border-box;width:100%;color:inherit}.gallery-paper fieldset{flex-wrap:wrap;gap:8px;display:flex}.desk-hud,.desk-journey{z-index:30;box-sizing:border-box;color:#57465f;background:#fff7ec;border:1px solid #d7b293;border-radius:12px;width:min(400px,100vw - 36px);max-height:calc(100dvh - 110px);padding:20px;font-size:14px;position:fixed;bottom:18px;right:18px;overflow-y:auto;box-shadow:0 8px 32px #30273633}.desk-hud button,.desk-journey button{width:auto;height:auto;min-height:36px;font:inherit;border:1px solid #d7b293;border-radius:7px;margin:3px;padding:6px 10px}.desk-heading{justify-content:space-between;align-items:center;display:flex}.desk-tools{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.desk-tools span{border:1px dashed #d7b293;border-radius:4px;padding:8px;font-size:12px}.desk-hud h2{margin:18px 0 8px;font-size:16px}.desk-hud .desk-clock{background:0 0;padding:0 10px 0 0;font:28px ui-monospace,monospace;display:inline;position:static}.desk-hud form{gap:6px;display:grid}.desk-hud input{font:inherit;box-sizing:border-box;max-width:100%;color:inherit;padding:8px}.desk-hud ul{padding:0;list-style:none}.desk-hud li{overflow-wrap:anywhere;border-bottom:1px solid #d7b293;padding:6px 0}.desk-hud li small{color:#855b39;display:block}.desk-hud small{font-size:11px}.desk-journey{width:auto}.garden-actions{z-index:20;flex-direction:column;gap:5px;max-height:45dvh;display:flex;position:fixed;bottom:80px;right:18px;overflow-y:auto}.garden-actions button,.light-presets button{border-radius:8px;width:auto;height:auto;min-height:38px;padding:8px 12px;font:13px system-ui}.light-presets{grid-template-columns:1fr 1fr;gap:5px;margin-top:12px;display:grid}.light-presets button[aria-pressed=true]{outline:2px solid #ae7292}html,body,#root,.app{width:100%;height:100%;margin:0;font-family:system-ui,sans-serif;overflow:hidden}.app{background:var(--sky);color:var(--ink)}canvas{touch-action:none}header,footer,nav,output{z-index:2;position:fixed}header{background:var(--panel);border-radius:20px;align-items:center;gap:16px;padding:12px 18px;display:flex;top:20px;left:20px}header span{color:var(--accent)}select{color:var(--ink);background:var(--panel);font:inherit;border:0}footer{background:var(--panel);border-radius:16px;max-width:65%;padding:12px 16px;font-size:13px;bottom:24px;left:24px}nav{gap:10px;display:flex;bottom:20px;right:20px}button{background:var(--panel);width:52px;height:52px;color:var(--ink);cursor:pointer;border:0;border-radius:18px;font-size:28px}button:focus-visible,select:focus-visible{outline:3px solid var(--accent)}output{background:var(--panel);border-radius:12px;padding:10px;font:12px monospace;top:88px;left:20px}.construction{white-space:nowrap;background:var(--panel);border-radius:8px;padding:8px 16px}.touch-help{display:none}.dev-controls{z-index:2;background:var(--panel);border-radius:12px;align-items:center;gap:8px;padding:6px 12px;font-size:12px;display:flex;position:fixed;top:20px;right:20px}.dev-controls button{width:auto;height:36px;padding:0 10px;font-size:12px}@media (pointer:coarse),(width<=600px){.dev-controls{top:70px;right:12px}output{top:124px}.desktop-help{display:none}.touch-help{display:inline}header{gap:10px;font-size:13px;top:12px;left:12px;right:12px}footer{max-width:48%;padding:10px;bottom:20px;left:12px}}footer{pointer-events:none}nav button{border-radius:14px;width:44px;height:44px;font-size:24px}#joystick{z-index:3;background:var(--panel);opacity:0;pointer-events:none;border-radius:50%;width:112px;height:112px;margin:-56px;transition:opacity .25s;position:fixed}#joystick.active{opacity:.65}#joystick i{background:var(--accent);width:40px;height:40px;transform:translate(var(--jx,0px), var(--jy,0px));border-radius:50%;margin:36px;display:block}@media (pointer:coarse),(width<=600px){footer{max-width:70%;padding:8px;font-size:11px;bottom:76px}}.presence-hud{z-index:25;background:var(--panel);border-radius:10px;max-width:calc(100vw - 40px);padding:8px 12px;font-size:12px;position:fixed;top:90px;left:20px}.presence-hud small{margin-top:4px;font-size:10px;display:block}.presence-hud summary{cursor:pointer;padding:6px 0}.presence-hud button{border-radius:6px;width:auto;height:34px;margin:2px;padding:4px 10px;font-size:12px}.world-loading{z-index:75;color:#fff1d5;letter-spacing:.025em;pointer-events:none;background:radial-gradient(at 50% 56%,#665680,#2a2460 76%);place-content:center;justify-items:center;gap:1rem;font-size:1.05rem;display:grid;position:fixed;inset:0}.loading-book{color:#ffd77a;background:linear-gradient(90deg,#6855a7 49%,#483777 50%,#7460af 53%);border:3px solid #e8b84a;border-radius:.6rem 1rem .8rem .5rem;place-items:center;width:4.5rem;height:3.4rem;font-size:1.45rem;display:grid;box-shadow:0 .27rem #f3e6d0,0 .43rem #a8683c,0 .95rem 1.5rem #1c17453d}
