:root{--ink:#4a3b35;--chip:#fffaf0db;color:var(--ink);font-family:ui-rounded,SF Pro Rounded,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}html,body{overscroll-behavior:none;background:linear-gradient(#86cbf0 0%,#c4e6f4 52%,#fdebc8 100%);height:100%;margin:0;overflow:hidden}#scene{touch-action:none;width:100%;height:100%;display:block;position:fixed;top:0;bottom:0;left:0;right:0}#ui{pointer-events:none;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));position:fixed;top:0;bottom:0;left:0;right:0}.chip{background:var(--chip);font:inherit;color:inherit;border:0;border-radius:14px;padding:8px 12px;font-size:13px;position:absolute;box-shadow:0 2px 10px #4a3b351f}.title{top:inherit;left:inherit;flex-direction:column;gap:2px;display:flex;top:12px;bottom:auto;left:12px;right:auto}.title strong{font-size:15px}.title span{opacity:.7;font-size:12px}.buttons{pointer-events:auto;gap:8px;display:flex;position:absolute;top:12px;bottom:auto;left:auto;right:12px}.actions{pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:8px;padding:0 12px;display:flex;position:absolute;top:auto;bottom:58px;left:0;right:0}.actions .chip,.buttons .chip{cursor:pointer;min-width:44px;min-height:40px;font-weight:600;position:static}.actions .chip:active,.buttons .chip:active{transform:scale(.96)}#stats{white-space:pre;margin:0;font-family:ui-monospace,Consolas,monospace;font-size:12px;line-height:1.5;top:64px;bottom:auto;left:auto;right:12px}.hint{white-space:nowrap;opacity:.85;font-size:12px;transition:opacity .6s;top:auto;bottom:12px;left:50%;right:auto;transform:translate(-50%)}.hint.gone{opacity:0}#crash{z-index:10;color:#7a2e1f;white-space:pre-wrap;word-break:break-word;background:#fff6ea;margin:0;padding:20px;font:13px/1.5 ui-monospace,Consolas,monospace;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.banner{text-align:center;flex-direction:column;align-items:center;gap:2px;max-width:calc(100% - 32px);padding:12px 20px;animation:.5s ease-out banner-in;display:flex;top:68px;bottom:auto;left:50%;right:auto;transform:translate(-50%)}.banner strong{font-size:17px}.banner span{opacity:.75;font-size:12px}.banner[hidden]{display:none}@keyframes banner-in{0%{opacity:0;transform:translate(-50%,-12px)}}.sheet{pointer-events:auto;max-width:520px;max-height:56%;padding:20px 20px max(20px, env(safe-area-inset-bottom));background:#fffbf3f5;border-radius:22px 22px 0 0;flex-direction:column;gap:12px;margin:0 auto;display:flex;position:absolute;top:auto;bottom:0;left:0;right:0;overflow-y:auto;box-shadow:0 -6px 30px #4a3b352e}.sheet[hidden]{display:none}.sheet h1,.sheet h2,.sheet p{margin:0}.sheet h1{font-size:26px}.sheet h2{font-size:19px}.sheet p{opacity:.85;font-size:14px;line-height:1.45}.sheet .error{color:#b23b2a;opacity:1}.sheet button,.sheet select,.sheet input{font:inherit;color:inherit;background:#efe7d8;border:0;border-radius:14px;min-height:46px;padding:0 16px}.sheet input,.sheet select{box-sizing:border-box;width:100%;font-size:16px}.sheet button{cursor:pointer;font-weight:600}.sheet button.primary{color:#fff;background:#3d82c4}.sheet button:active{transform:scale(.97)}.sheet .field{flex-direction:column;gap:6px;font-size:13px;display:flex}.sheet .rows{flex-direction:column;gap:10px;display:flex}.sheet .row{align-items:center;gap:10px;display:flex}.sheet .row-label{opacity:.8;flex:0 0 76px;font-size:13px}.sheet .options{flex-wrap:wrap;gap:8px;display:flex}.sheet .swatch{border-radius:50%;width:36px;height:36px;min-height:36px;padding:0;box-shadow:inset 0 0 0 2px #4a3b352e}.sheet .choice{min-height:36px;padding:0 14px;font-size:13px}.sheet [aria-pressed=true]{outline-offset:2px;outline:3px solid #3d82c4}.sheet-actions{gap:10px;display:flex}.sheet-actions .primary{flex:1}#ui.onboarding .actions,#ui.onboarding .hint{display:none}
