*{box-sizing:border-box}[hidden]{display:none!important}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{color:#fff4df;--paper:#f1d39b;--panel:#232c27f2;--border:#e7c38d69;--gutter:clamp(14px, 3vw, 44px);--bottom:max(16px, env(safe-area-inset-bottom));background:#536e83;font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif}#summit,#view{width:100%;height:100%;position:relative}#view canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}#view canvas:active{cursor:grabbing}#view canvas:focus-visible{outline-offset:-4px;outline:2px solid #ffe3a3}.scene-title{inset:max(25px, env(safe-area-inset-top)) auto auto max(var(--gutter), env(safe-area-inset-left));pointer-events:none;text-shadow:0 2px 13px #16251e,0 1px 4px #182b25;border-left:2px solid #eec98bce;padding-left:13px;position:absolute}.scene-title h1,.panel-heading h2{margin:0;font-family:STZhongsong,Songti SC,SimSun,serif;font-weight:600;line-height:1.12}.scene-title h1{letter-spacing:.14em;font-size:clamp(30px,4.2vw,55px)}.scene-title p{letter-spacing:.16em;margin:7px 0 0;font-size:13px}.scene-tools{inset:max(25px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) auto auto;gap:6px;display:flex;position:absolute}button{min-height:42px;color:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:0 14px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.25}button:hover:enabled{background:#ffe7bb26}button:disabled{cursor:default}button:focus-visible{outline-offset:3px;outline:2px solid #fff0cf}.scene-tools button,.view-presets,.activity-panel,.walk-help,.game-message{border:1px solid var(--border);background:var(--panel);box-shadow:0 5px 20px #141b1760}.scene-tools button:hover{background:#3e4b40}.scene-tools #view-toggle{color:var(--paper)}.play-panels{inset:auto 12px calc(var(--bottom) + 43px) 12px;pointer-events:none;justify-items:center;gap:8px;display:grid;position:absolute}.play-panels:has(.activity-panel:not([hidden])){right:max(12px, env(safe-area-inset-right));justify-items:end}.activity-panel,.nearby-action{pointer-events:auto}.nearby-action,#ritual-action{background:var(--paper);color:#38291e;border:1px solid #ffe7b7;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:0 19px 0 12px;font-size:15px;font-weight:700;display:flex}.nearby-action{box-shadow:0 4px 14px #141b1780}.nearby-action:hover:enabled,#ritual-action:hover:enabled{background:#ffe7bb}kbd{text-align:center;vertical-align:1px;border:1px solid;border-radius:4px;min-width:21px;padding:2px 5px;font-family:inherit;font-size:11px;font-weight:500;line-height:1.25;display:inline-block}.activity-panel{border-radius:9px;width:min(352px,100%);padding:12px}.panel-heading{justify-content:space-between;align-items:center;gap:5px;margin-bottom:7px;display:flex}.panel-heading h2{color:#fae2b2;margin-left:3px;font-size:21px}.leave-action{color:#f4e5ca;min-height:35px;padding:0 7px}.activity-actions{grid-template-columns:1fr 1fr;gap:7px;display:grid}.activity-actions button{background:#efdfb415;border:1px solid #e9cf984c;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:59px;padding:7px 5px;font-size:15px;display:flex}.activity-actions small{color:#ead8b9;font-size:11px}.activity-actions button[aria-pressed=true]{background:#efdfb42b;border-color:#e9cf98a0}.activity-actions kbd,.leave-action kbd{color:#dbc79f}.ritual-steps{gap:5px;margin:4px 0 9px;padding:0;list-style:none;display:flex}.ritual-steps li{color:#dfd1b7;text-align:center;border-bottom:2px solid #efdab845;flex:1;padding:6px 0;font-size:12px}.ritual-steps li[aria-current=step]{color:#ffe7b5;border-color:var(--paper)}.ritual-steps li.done{color:#e2ecd3;border-color:#9fb492}#ritual-action{width:100%}#ritual-action:disabled{color:#fff0d6;background:#c9ba9270;border-color:#0000}.ritual-status{text-align:center;color:#eedbb8;margin:7px 4px 0;font-size:12px}.walk-help,.game-message{color:#fff0d5;border-radius:6px;width:max-content;max-width:100%;margin:0;padding:6px 10px;font-size:12px;line-height:1.2}.walk-help{left:max(var(--gutter), env(safe-area-inset-left));bottom:var(--bottom);pointer-events:none;position:absolute}.desktop-help{align-items:center;gap:clamp(7px,1.1vw,16px);display:flex}.touch-help{display:none}.view-presets{left:50%;bottom:var(--bottom);border-radius:8px;gap:4px;max-width:calc(100% - 20px);padding:5px;display:flex;position:absolute;transform:translate(-50%)}.view-presets button[aria-pressed=true]{background:var(--paper);color:#302318}.status{text-align:center;background:#202b25ee;border-radius:6px;max-width:calc(100% - 32px);margin:0;padding:12px 18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.touch-stick{display:none}@media (pointer:coarse) and (hover:none){.desktop-help{display:none}.touch-help{display:block}.touch-stick{bottom:calc(var(--bottom) + 37px);left:max(var(--gutter), env(safe-area-inset-left));touch-action:none;background:#23342bc4;border:1px solid #ffdea38c;border-radius:50%;place-items:center;width:96px;height:96px;display:grid;position:absolute}.touch-stick span{pointer-events:none;background:#dec697;border:1px solid #ffe2a7;border-radius:50%;width:41px;height:41px}.play-panels{justify-items:end}#walk-ui kbd{display:none}.activity-panel{width:min(352px,100%)}}@media (width<=590px){.scene-title{padding-left:9px}.scene-tools{gap:4px}.scene-tools button{padding:0 9px}.view-presets{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,342px);display:grid}.view-presets button{padding-inline:5px}.activity-panel{width:min(100%,326px)}}@media (height<=480px) and (pointer:coarse) and (hover:none){.touch-stick{width:79px;height:79px}.touch-stick span{width:33px;height:33px}}
