html,body{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;background:#f4ead6;height:100%;margin:0;overflow:hidden}canvas{touch-action:none;display:block}.gate{top:max(8px, env(safe-area-inset-top));left:max(8px, env(safe-area-inset-left));place-items:center;width:64px;height:64px;display:grid;position:fixed}.gate svg{opacity:0;width:44px;height:44px;transition:opacity .2s;transform:rotate(-90deg)}.gate.holding svg{opacity:1}.gate circle{fill:#4a3a2a14;stroke:#4a3a2a;stroke-width:5px;stroke-linecap:round}.sheet-backdrop{color:#3b2a1e;background:#3a2c1e59;place-items:center;font-family:ui-rounded,SF Pro Rounded,system-ui,sans-serif;display:grid;position:fixed;inset:0}.sheet{touch-action:manipulation;background:#fbf5ea;border-radius:28px;width:min(440px,88vw);padding:28px 28px 24px;box-shadow:0 18px 50px #3a2c1e40}.sheet h2{margin:0 0 18px;font-size:24px}.sheet .row{border-top:1px solid #eadfcb;justify-content:space-between;align-items:center;gap:16px;min-height:60px;font-size:19px;font-weight:600;display:flex}.sheet button{font:inherit;min-width:72px;min-height:44px;color:inherit;background:#efe4cf;border:0;border-radius:14px;padding:0 16px;font-size:17px}.sheet .seg{gap:6px;display:flex}.sheet button.on{color:#fbf5ea;background:#4fb35a}.sheet input[type=range]{accent-color:#4fb35a;touch-action:pan-x;width:55%}.sheet .done{color:#fbf5ea;background:#3b2a1e;width:100%;min-height:52px;margin-top:18px;font-weight:700}
