/* hum.css - listening-room look: cream paper, ink, one vermilion needle. Scoped to .hm-* */
.hm-hud{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .75rem;margin-bottom:.5rem;font:600 .85rem ui-monospace,Menlo,Consolas,monospace;color:#efe6d2}
.hm-l{font-weight:800;color:#efe6d2}
.hm-pips{letter-spacing:.05em;color:#d8431f}
.hm-s{font-weight:800;color:#efe6d2}
.hm-st{color:#c9bfa6}
.hm-hud .hm-mini{margin-left:auto}
.hm-stage{position:relative;width:100%;max-width:388px;margin:0 auto;border-radius:6px;overflow:hidden;background:#efe6d2;box-shadow:0 2px 0 #1b1a17,0 10px 24px rgba(0,0,0,.35);min-height:380px}
.hm-cv{display:block;width:100%;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;outline:none}
.hm-cv:focus-visible{outline:3px solid #1f6f6a;outline-offset:-3px}
.hm-over{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;padding:1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom,0px));background:rgba(239,230,210,.94);text-align:center;color:#1b1a17}
.hm-over[hidden]{display:none}
.hm-over h2{font-size:2.1rem;line-height:1;font-weight:900;letter-spacing:-.02em;color:#1b1a17}
.hm-kick{font:700 .75rem ui-monospace,Menlo,Consolas,monospace;letter-spacing:.14em;text-transform:uppercase;color:#d8431f}
.hm-how{font-size:.9rem;line-height:1.45;color:#4a4436;max-width:30ch}
.hm-big{font-size:2.6rem;font-weight:900;color:#1f6f6a;font-variant-numeric:tabular-nums}
.hm-step{display:flex;align-items:center;gap:.6rem}
.hm-lv{display:flex;flex-direction:column;min-width:8.5rem}
.hm-lv strong{font-size:1.1rem;font-weight:800}
.hm-lv span{font-size:.8rem;color:#6f6755}
.hm-btn{min-height:48px;min-width:48px;padding:.5rem 1.1rem;border:2px solid #1b1a17;border-radius:4px;background:#efe6d2;color:#1b1a17;font:700 .95rem system-ui,sans-serif;cursor:pointer;touch-action:manipulation;box-shadow:0 3px 0 #1b1a17}
.hm-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #1b1a17}
.hm-btn:focus-visible{outline:3px solid #1f6f6a;outline-offset:2px}
.hm-btn:disabled{opacity:.35;cursor:default}
.hm-main{background:#d8431f;color:#fff8ea;min-width:13rem;font-size:1.05rem}
.hm-sq{font-size:1.5rem;padding:0}
.hm-mini{min-height:44px;font-size:.8rem;padding:.3rem .8rem;box-shadow:0 2px 0 #1b1a17}
.hm-row{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}
.hm-stats{font:600 .75rem ui-monospace,Menlo,Consolas,monospace;color:#6f6755}
.hm-note{margin:.75rem auto 0;max-width:388px;font-size:.78rem;line-height:1.4;color:#c9bfa6;text-align:center}
.hm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){.hm-btn:active{transform:none}}
@media (max-width:360px){.hm-over h2{font-size:1.8rem}.hm-main{min-width:11rem}}
.hm-hear{position:absolute;left:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:2;min-width:110px;background:#efe6d2}
#hm-hear[hidden]{display:none}

/* full screen (game-shell immersive or native): the stage column fills the screen */
html.pip-immersive .game-wrap.pip-stage,html.pip-native .game-wrap.pip-stage{display:flex;flex-direction:column;align-items:stretch;overflow:hidden;padding:calc(var(--pip-dock-h,52px) + 8px + env(safe-area-inset-top,0px)) calc(10px + env(safe-area-inset-right,0px)) 10px calc(10px + env(safe-area-inset-left,0px));background:#1b1a17}
html.pip-immersive .hm-note,html.pip-native .hm-note{display:none}
html.pip-immersive .hm-hud,html.pip-native .hm-hud{flex:none;width:100%;max-width:560px;margin:0 auto .4rem}
html.pip-immersive .hm-stage,html.pip-native .hm-stage{flex:1 1 0;min-height:0;height:auto;width:100%;max-width:560px;margin:0 auto}
html.pip-immersive .hm-cv,html.pip-native .hm-cv{position:absolute;left:0;top:0}
html.pip-immersive .hm-over,html.pip-native .hm-over{overflow:auto;justify-content:flex-start;padding-top:.8rem}
html.pip-immersive .hm-over>:first-child,html.pip-native .hm-over>:first-child{margin-top:auto}
html.pip-immersive .hm-over>:last-child,html.pip-native .hm-over>:last-child{margin-bottom:auto}
@media (orientation:landscape) and (max-height:520px){
  html.pip-immersive .hm-hud,html.pip-native .hm-hud{margin-bottom:.25rem}
  html.pip-immersive .hm-over,html.pip-native .hm-over{gap:.35rem;padding:.4rem 1rem}
  html.pip-immersive .hm-over h2,html.pip-native .hm-over h2{font-size:1.5rem}
  html.pip-immersive .hm-how,html.pip-native .hm-how{display:none}
  html.pip-immersive .hm-big,html.pip-native .hm-big{font-size:1.8rem}
  html.pip-immersive .hm-stats,html.pip-native .hm-stats{display:none}
}
.hm-stage{background:radial-gradient(120% 90% at 50% 20%,#f6eedb,#e7dcc2)}
