.h415{--h415-bg: #07111f;--h415-card: #16263b;--h415-bar: #24374f;--h415-key: #2b3d55;--h415-text: #eef4ff;--h415-soft: #9fb3cc;--h415-cue: #9be8cf;--h415-cue-text: #0d3b2c;--h415-bad: #ff9a9a;position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:10px;padding:max(env(safe-area-inset-top),10px) 12px max(env(safe-area-inset-bottom),10px);background:var(--h415-bg);color:var(--h415-text);font-family:var(--font-body);-webkit-tap-highlight-color:transparent;touch-action:manipulation}.h415>*{width:100%;max-width:760px;margin-inline:auto}.h415 button{font:inherit;color:inherit;border:0;cursor:pointer}.h415 button:disabled{opacity:.4;cursor:default}.h415-top{display:flex;align-items:center;justify-content:space-between;padding:2px 6px;font-weight:700;font-size:15px}.h415-top span[data-on=false]{color:var(--h415-bad)}.h415-top span[data-on]{color:var(--h415-soft);font-size:13px}.h415-game{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 18px;border-radius:14px;background:var(--h415-bar);font-family:var(--font-heading);font-size:22px;font-weight:700;text-align:left}.h415-game b{font-size:16px}.h415-card{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px 14px;border-radius:16px;background:var(--h415-card);scrollbar-width:none}.h415-card::-webkit-scrollbar{display:none}.h415-flow{color:var(--h415-soft);font-size:14px;font-weight:700}.h415-cue{display:grid;grid-template-columns:56px 1fr 56px;min-height:56px;border-radius:12px;overflow:hidden;background:var(--h415-cue);color:var(--h415-cue-text);font-family:var(--font-heading);font-size:19px;font-weight:800}.h415-cue>*{display:grid;place-items:center;padding:6px;background:transparent;color:inherit;text-align:center}.h415-prompt{font-size:18px;font-weight:700;line-height:1.3}.h415-grid{display:grid;gap:8px}.h415-key{min-height:54px;padding:8px 12px;border-radius:12px;background:var(--h415-key);font-size:15px;font-weight:700;text-align:left;overflow-wrap:anywhere}.h415-key[data-ready=true]{outline:2px solid var(--h415-cue)}.h415-key[data-pressed=true]{background:var(--h415-cue);color:var(--h415-cue-text)}.h415-key[data-busy=true]{opacity:.65}.h415-key:active:not(:disabled){transform:scale(.98)}.h415-steps{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--h415-soft)}.h415-steps li[aria-current=step]{color:var(--h415-cue);font-weight:700}.h415-note{min-height:20px;padding:0 6px;font-size:13px;color:var(--h415-soft)}.h415-note[role=alert]{color:var(--h415-bad)}.h415-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.h415-tabs button{min-height:52px;border-radius:14px;background:#1b2c44;font-size:16px;font-weight:700}.h415-tabs button[aria-selected=true]{background:#3a5a70}.h415-sheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;max-width:none;display:flex;flex-direction:column;justify-content:flex-end;background:#0009}.h415-sheet>div{width:100%;max-width:760px;margin-inline:auto;max-height:82vh;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:16px 12px max(env(safe-area-inset-bottom),16px);border-radius:20px 20px 0 0;background:var(--h415-card)}.h415-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:24px}.h415-center input{width:220px;padding:12px;border-radius:14px;border:2px solid var(--h415-key);background:var(--h415-bg);color:var(--h415-text);font-family:var(--font-mono);font-size:40px;letter-spacing:.3em;text-align:center}.h415-go{min-height:54px;padding:0 28px;border-radius:14px;background:var(--h415-cue);color:var(--h415-cue-text)!important;font-weight:800;font-size:17px}.h415-thumb-cue{flex-shrink:0}@media(max-width:420px){.h415-tabs button{font-size:14px;padding-inline:2px}}.h415-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.h415-tabs button{min-width:0;padding-inline:1px;font-size:clamp(10px,2.85vw,15px)}
