*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0}
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}
input,textarea{-webkit-user-select:text;user-select:text}
.stage{position:relative;height:330px;perspective:900px;perspective-origin:50% 30%;overflow:hidden;touch-action:pan-y;outline:0}
.bar{position:absolute;left:0;right:0;top:34px;height:7px;border-radius:4px;background:linear-gradient(#b9b2a3,#7d766a);box-shadow:0 3px 6px rgba(0,0,0,.25);z-index:200}
.hang{position:absolute;top:34px;left:50%;width:148px;padding:0;border:0;background:none;cursor:pointer;transform-origin:50% 0;will-change:transform,opacity;font:inherit;color:inherit}
.hook{position:absolute;top:-6px;left:50%;width:26px;height:22px;margin-left:-13px;border:3px solid #8a8274;border-bottom:0;border-radius:14px 14px 0 0}
.face{margin-top:16px;border-radius:12px;overflow:hidden;box-shadow:0 10px 18px rgba(0,0,0,.28);text-align:center}
.hang.on .face{box-shadow:0 18px 30px rgba(0,0,0,.4);outline:2px solid var(--accent,#fff)}
.nav{display:flex;justify-content:center;gap:12px;align-items:center;padding:6px 0 2px}
.nav button{width:40px;height:40px;border-radius:50%;border:0;font-size:20px;cursor:pointer}
.nav span{font-size:13px;min-width:54px;text-align:center}
.panel{transition:opacity .22s,transform .22s}
.panel.sw{opacity:0;transform:translateY(8px)}
@media (prefers-reduced-motion:reduce){.panel{transition:none}}
