@font-face{font-family:PalaceZH;src:url(./ui-zh-walk.woff2) format("woff2");font-display:swap}
:root{color-scheme:dark;font:15px PalaceZH,system-ui,sans-serif;color:#f7f1e6;background:#242a38}*{box-sizing:border-box}body{margin:0}#stage{position:fixed;inset:0}canvas{display:block;width:100%;height:100%;touch-action:none}header,footer{position:fixed;pointer-events:none}header{inset:0 0 auto;padding:18px 22px 30px;background:linear-gradient(#171d2ded,transparent)}footer{inset:auto 0 0;display:flex;gap:8px 20px;align-items:center;justify-content:space-between;padding:24px 22px 14px;background:linear-gradient(transparent,#111724e8);font-size:.83rem;text-shadow:0 1px 3px #10131b}h1{font:32px PalaceZH,Georgia,serif;margin:.2rem 0 .65rem}.eyebrow{letter-spacing:.24em;font-size:.67rem;color:#f3dca9}nav{display:flex;gap:6px;flex-wrap:wrap}button{pointer-events:auto;background:#262c3ce8;color:inherit;border:1px solid #817761;border-radius:6px;padding:.51rem .72rem;font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}button[aria-pressed=true]{border-color:#e9cc91;background:#524733}a{pointer-events:auto;color:#f7ddac;white-space:nowrap}output{color:#f4dbab}.touch,.mobile{display:none}@media(pointer:coarse){.touch,.mobile{display:inline}}@media(max-width:650px){header{padding:12px 12px 26px}h1{font-size:24px}footer{padding:18px 12px 10px;flex-wrap:wrap;font-size:.72rem}button{font-size:.8rem;padding:.42rem .52rem}}

#walk-toggle:not(:disabled){border-color:#e9cc91}#walk-pad{position:fixed;left:16px;bottom:92px;display:grid;grid-template-columns:repeat(3,44px);gap:4px;touch-action:none;user-select:none}#walk-pad[hidden]{display:none}#walk-pad button{width:44px;height:44px;padding:0;font-size:1.35rem;background:#252b3be8}#walk-pad button:active{background:#6a5738}#walk-pad button:first-child{grid-column:2}#walk-pad button:nth-child(2){grid-row:2;grid-column:1}#walk-pad button:nth-child(3){grid-row:2;grid-column:2}#walk-pad button:nth-child(4){grid-row:2;grid-column:3}

@font-face{font-family:GateZH;src:url(./gate-zh.ttf) format("truetype");unicode-range:U+95E8;font-display:swap}button[data-view="gate"]{font-family:GateZH,PalaceZH,system-ui,sans-serif}
