*{box-sizing:border-box}body{margin:0}:root{font:16px system-ui,sans-serif;background:#f4e6ec;color:#53344b}main{max-width:520px;margin:auto;padding:12px 10px}a{color:#843e62;font-size:.8rem;font-weight:850}h1{margin:4px 0 10px;font-size:1.62rem}
#stage{height:clamp(315px,56dvh,530px);position:relative;border:2px solid #6d4a78;border-radius:15px;overflow:hidden}canvas{width:100%;height:100%;display:block}
#hud{display:flex;justify-content:space-between;position:absolute;inset:8px 8px auto;pointer-events:none}
#hud>*{padding:6px 9px;border-radius:8px;background:#f7ddb1;color:#613756;font-size:.83rem;font-weight:950}
#beat{position:absolute;bottom:9px;left:13px;right:13px;display:flex;align-items:center;justify-content:center;gap:9px;color:#fff6dc;background:#553567de;border-radius:10px;padding:7px}
#beat i{width:21px;height:21px;border:3px solid #ffcc77;border-radius:50%;transform:scale(var(--pulse,.58))}
[hidden]{display:none!important}
#choices{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:7px 0}
button{display:block;width:100%;min-height:45px;border:0;border-radius:8px;background:#775584;color:#fff;font:850 .88rem system-ui;touch-action:manipulation}
#choices button{color:#57364d;background:#fff2da;border:1px solid #ba8da8}
#meow{margin-top:8px;min-height:61px;background:#b55278;font-size:1.16rem}#meow:active{background:#703f6c}
