:root{--brand-primary: #245b86;--brand-on-primary: #ffffff;--brand-accent: #e0b15a;--brand-on-accent: #1a1408;--brand-bg: #07080c;--brand-surface: #141820;--brand-text: #e7eef8;--brand-muted: #9aa3b2;--brand-border: #2c3444;--brand-success: #3fbf86;--brand-warning: #e0c15a;--brand-danger: #e05a6a;--brand-font-body: Inter, "Helvetica Neue", Arial, sans-serif;color:var(--brand-text);font-family:var(--brand-font-body);font-size:16px}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;touch-action:none;background:var(--brand-bg);user-select:none;-webkit-user-select:none}#view{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;touch-action:none}#top,#hint,#panel,#stick,#ping{position:fixed;z-index:2}#top,#hint{pointer-events:none}#top{top:0;left:0;right:0;display:flex;flex-wrap:wrap;gap:8px;padding:8px}#top span{background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:12px;padding:8px 12px;font-size:14px;min-height:44px;display:inline-flex;align-items:center}#hint{top:60px;left:50%;transform:translate(-50%);max-width:calc(100vw - 16px);text-align:center;background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:12px;padding:8px 12px;margin:0;color:var(--brand-muted)}#hint:empty{display:none}button{font:inherit;color:var(--brand-on-primary);background:var(--brand-primary);border:0;border-radius:12px;padding:8px 12px;min-height:44px;min-width:44px;cursor:pointer}button.alt{background:var(--brand-accent);color:var(--brand-on-accent)}button.warn{background:var(--brand-danger)}button.cool{opacity:.45}button:focus-visible{outline:2px solid var(--brand-accent)}#ping{right:max(12px,env(safe-area-inset-right));bottom:max(28px,env(safe-area-inset-bottom));z-index:3;min-width:76px;min-height:76px;border-radius:50%;font-weight:650}#stick{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));width:128px;height:128px;border-radius:50%;background:color-mix(in srgb,var(--brand-surface) 82%,transparent);border:2px solid var(--brand-border);z-index:3;touch-action:none}#knob{position:absolute;left:50%;top:50%;width:56px;height:56px;border-radius:50%;background:var(--brand-primary);transform:translate(-50%,-50%)}#panel{left:50%;top:18%;transform:translate(-50%);width:min(440px,calc(100% - 24px));max-height:48vh;overflow:auto;pointer-events:auto;display:flex;flex-direction:column;gap:8px;background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:16px;padding:12px;z-index:4}#panel[hidden]{display:none}#panel h2{margin:0;font-size:18px}#panel p{margin:0;color:var(--brand-muted)}#panel button{width:100%}.flash{outline:2px solid var(--brand-danger)}@media(max-width:480px){#top{gap:6px;padding:6px}#top span{font-size:13px;padding:6px 8px}#stick{width:112px;height:112px}#knob{width:48px;height:48px}#hint{top:52px;font-size:13px}#panel{top:14%}}@media(max-height:500px){#panel{top:8px;max-height:calc(100% - 150px)}#hint{display:none}}
