/* Second presentation pass. No element that owns a hit region is shaken/scaled. */
.btn,.btn:hover,.btn:active,.dial button,.dial button:hover,.dial button:active,.pick button,.pick button:hover,.pick button:active,.icon-btn,.icon-btn:hover,.icon-btn:active{transform:none!important}
.control-face{display:flex;align-items:center;justify-content:inherit;gap:8px;width:100%;min-width:0;transition:transform var(--instant) var(--enter);pointer-events:none}
.btn .control-face .key{margin-left:auto}.pick button>.control-face{flex-direction:column;gap:0}
.dial button>.control-face{justify-content:center}
.btn:active>.control-face,.dial button:active>.control-face,.pick button:active>.control-face,.icon-btn:active>svg{transform:scale(.98)}
@media(hover:hover) and (pointer:fine){.btn:hover>.control-face,.dial button:hover>.control-face,.pick button:hover>.control-face,.icon-btn:hover>svg{transform:scale(1.01)}}
.icon-btn>svg{transition:transform var(--instant) var(--enter)}
.btn:disabled>.control-face{transform:none!important}
.fx-suspended *{animation-play-state:paused!important}
#app.jolt,.pt.zap{animation:none!important;transform:none!important}
.pt.zap #torso,.pt.zap #head{animation:art-impact var(--normal) var(--enter)}
@keyframes art-impact{20%{translate:-2px 0}45%{translate:2px 0}70%{translate:-1px 0}100%{translate:0 0}}
.fx-layer{position:absolute;inset:0;z-index:8;overflow:hidden;border-radius:inherit;pointer-events:none!important}
.fx-ring{position:absolute;display:block;border:1px solid var(--red);border-radius:50%;box-shadow:inset 0 0 18px #ff4d3d14;opacity:0;pointer-events:none!important}
.fx-ring-placed{border-color:var(--tq);box-shadow:0 0 0 5px #2bd4c014}
.fx-impact{position:absolute;inset:4px;z-index:32;border:1px solid #2bd4c077;border-radius:12px;box-shadow:inset 0 0 38px #2bd4c014;opacity:0;pointer-events:none!important}
.rhythm-cue{display:flex;align-items:center;justify-content:center;gap:8px;font:500 9px/1.5 var(--mono);color:var(--mut);letter-spacing:.04em;margin-top:15px}
.rhythm-cue i{width:6px;height:6px;flex:none;display:block;border-radius:50%;background:#365651}
#stage [data-fx-held=true]{box-shadow:inset 0 0 0 1px #2bd4c077}
#stage [data-fx-held=true] .ring{border-radius:50%;box-shadow:0 0 0 1px #2bd4c04d,0 0 38px #2bd4c014}
#blow[data-fx-held=true]{background:#2BD4C0;border-color:#2BD4C0;color:#0D1216}
.hand.held{filter:drop-shadow(0 8px 8px #0008) drop-shadow(0 0 3px #2bd4c088);outline:1px solid #2bd4c077;outline-offset:3px}
#aPwr.pulse,#aShock.pulse{animation:none;opacity:1}
#aPwr.pulse>circle:first-child,#aShock.pulse>circle:first-child{stroke:var(--tq);stroke-width:1.5px;animation:aed-halo 1s ease-in-out infinite}
#aShock.pulse>circle:first-child{stroke:var(--or)}
@keyframes aed-halo{0%,100%{stroke-opacity:.4}50%{stroke-opacity:1}}
#stage .toast{position:absolute;inset:auto 24px 24px auto;width:min(460px,calc(100% - 48px));height:auto;min-height:64px;padding:18px 22px;display:flex;justify-content:flex-start;background:#141b21fa;border:1px solid var(--line);border-left:3px solid var(--tq);border-radius:10px;box-shadow:0 12px 30px #0005;animation:none;pointer-events:none}
#stage .toast.red{border-left-color:var(--red);background:#141b21fa}
#stage .toast.or{border-left-color:var(--or)}
#stage .toast span{font:800 clamp(22px,2.5vw,32px)/1.1 var(--disp);text-align:left;max-width:100%;animation:none;transform:none;letter-spacing:.02em;color:var(--fg)}
.disp{border-left-width:2px}
.progress li{transition:color var(--fast) var(--enter)}
.progress li:before{transition:background var(--fast),box-shadow var(--fast)}
.posture-context{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);font:500 10px/1.6 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--fg)}
.posture-context span{display:block;font:400 12px/1.6 var(--body);text-transform:none;letter-spacing:0;color:var(--mut);margin-top:6px}
body:has(#stage[data-layout=posture]){overflow:visible}
#stage[data-layout=posture] .grow{background-size:auto,36px 36px,36px 36px;touch-action:pan-y;overflow:visible;min-height:min-content}
.pick.posture-options{max-width:780px;padding:22px;gap:16px;align-items:stretch}
.pick.posture-options button{position:relative;min-width:0;padding:18px 16px;background:linear-gradient(145deg,#1b2730,#121b22);border:1px solid #3b4c59;border-radius:12px;text-align:left;transition:border-color var(--fast),box-shadow var(--fast)}
.pick.posture-options button>.control-face{align-items:stretch}
.posture-option-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--mut);font:500 9px/1.5 var(--mono);text-transform:uppercase;letter-spacing:.1em}
.posture-option-dot{width:16px;height:16px;border:1px solid #6c808f;border-radius:50%;flex:none}
.pick.posture-options svg{width:100%;height:auto;max-height:290px;margin:12px 0 4px}
.pick.posture-options .pick-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:clamp(18px,1.8vw,25px);line-height:1.2;margin:0;padding-top:16px;border-top:1px solid var(--line)}
.posture-select{display:flex;justify-content:space-between;gap:8px;font:400 10px/1.6 var(--body);color:var(--mut);margin-top:10px}
.pick.posture-options button:focus-visible{outline-offset:4px;border-color:var(--tq);box-shadow:inset 0 0 0 1px #2bd4c044}
.pick.posture-options button:active{border-color:var(--tq)}
.pick.posture-options button[data-result=correct]{border-color:var(--tq);box-shadow:inset 0 0 0 1px #2bd4c044}
.pick.posture-options button[data-result=correct] .posture-option-dot{border-color:var(--tq);background:var(--tq);box-shadow:inset 0 0 0 4px #17252b}
.pick.posture-options button[data-result=incorrect]{border-color:var(--or)}
@media(hover:hover) and (pointer:fine){.pick.posture-options button:hover{border-color:#7d96a7;box-shadow:0 6px 24px #0003}.pick.posture-options button:hover .posture-option-dot{border-color:var(--fg)}}
@media(min-width:640px) and (max-width:1024px){.pick.posture-options{padding:14px;gap:12px;grid-template-columns:1fr}.pick.posture-options button{padding:14px}.pick.posture-options svg{max-height:190px;margin-block:0}.pick.posture-options .pick-label{font-size:22px}.posture-context{margin-top:24px}}
@media(max-width:639px){#stage[data-layout=posture] .grow{height:auto;min-height:0;flex:none;overflow:visible}.pick.posture-options{grid-template-columns:1fr;max-width:440px;padding:12px;gap:12px}.pick.posture-options button{padding:14px 16px}.pick.posture-options svg{max-height:160px;margin:2px 0}.pick.posture-options .pick-label{font-size:23px;padding-top:12px}.posture-select{margin-top:6px}.posture-context{display:none}#stage[data-layout=posture] h2 br{display:none}#stage[data-layout=posture] h2 br:after{content:' '}}
@media(max-width:639px){.rhythm-cue{font-size:8px;margin-top:10px}#stage .toast{inset:auto 12px 12px;width:calc(100% - 24px);min-height:54px;padding:15px 18px}.btn .control-face{justify-content:center}.fx-impact{inset:2px}}
@media(prefers-reduced-motion:reduce){.control-face,.btn:hover>.control-face,.btn:active>.control-face,.dial button:hover>.control-face,.dial button:active>.control-face,.pick button:hover>.control-face,.pick button:active>.control-face,.icon-btn:hover>svg,.icon-btn:active>svg{transform:none!important;transition:none!important}.pt.zap #torso,.pt.zap #head{animation:none!important;translate:none!important}.fx-impact{display:none}.fx-ring{opacity:.65}.rhythm-cue i{background:var(--tq)}#aPwr.pulse>circle:first-child,#aShock.pulse>circle:first-child{animation:none;stroke-opacity:.8}}
