/* Helicopter Cave : page-specific styles (shared: arcade-kit.css, sim3d.css for the banner / result card) */
.hcv-wrap { position: relative; width: 100%; }
.hcv-wrap .ak-stage { background: #1c1917; touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
.hcv-hud { position: absolute; inset: 0; pointer-events: none; font-family: system-ui, sans-serif; container-type: inline-size; }
.hcv-hud button, .hcv-hud .sim-result { pointer-events: auto; }
.hcv-card { position: absolute; left: 10px; top: 10px; background: rgba(15, 23, 42, .78); color: #fff; border-radius: 12px; padding: 4px 12px; display: flex; flex-direction: column; }
.hcv-card b { font: 900 24px/1.1 system-ui, sans-serif; font-variant-numeric: tabular-nums; } .hcv-card span { font: 800 13px system-ui, sans-serif; color: #fde68a; }
.hcv-prog { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: min(280px, 40%); height: 14px; border-radius: 7px; background: rgba(15, 23, 42, .7); overflow: hidden; border: 2px solid rgba(255, 255, 255, .5); }
.hcv-prog[hidden] { display: none; }
.hcv-prog i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #22c55e, #fde047); }
.hcv-pop { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%); font: 900 clamp(22px, 4.2cqw, 38px) system-ui, sans-serif; color: #fde047; text-shadow: 0 2px 8px rgba(15, 23, 42, .8); opacity: 0; white-space: nowrap; text-align: center; }
.hcv-pop small { display: block; font-size: .5em; color: #fff; }
.hcv-pop.is-on { animation: hcv-pop 1.6s ease-out forwards; }
@keyframes hcv-pop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.7); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%); } }
.hcv-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(185, 28, 28, .88); color: #fff; font: 800 15px system-ui, sans-serif; border-radius: 999px; padding: 8px 18px; transition: opacity .5s; white-space: nowrap; }
.hcv-hint.is-gone { opacity: 0; }
.hcv-tb { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.hcv-tb button, .hcv-tb .ak-mute { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(15, 23, 42, .7); color: #fff; font-size: 17px; cursor: pointer; }
.hcv-tb button:focus-visible { outline: 3px solid #ffd54a; }
.hcv-hud .sim-banner { pointer-events: none; }
.hcv-hud .sim-result[hidden] { display: none; }
.hcv-hud.is-over .hcv-tb, .hcv-hud.is-over .hcv-hint { display: none; }
.hcv-final { font: 900 34px system-ui, sans-serif; margin: 4px 0; color: #fde047; }
.hcv-goals, .hcv-levels { margin-top: 14px; } .hcv-goals h3, .hcv-levels h3 { margin: 0 0 6px; }
.hcv-goals ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hcv-goals li { font-size: 13.5px; opacity: .75; } .hcv-goals li.is-done { opacity: 1; color: #fde047; }
.hcv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.hcv-lvl { text-align: left; border-radius: 12px; padding: 8px 10px; border: 2px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.hcv-lvl b { font-size: 13.5px; } .hcv-lvl small { font-size: 12.5px; color: #fde047; }
.hcv-lvl[aria-pressed="true"] { border-color: #ffd54a; background: rgba(255, 213, 74, .14); }
.hcv-lvl:disabled { opacity: .45; cursor: not-allowed; } .hcv-lvl:disabled small { color: inherit; }
@container (max-width: 600px) {
  .hcv-card { left: 8px; top: 8px; } .hcv-card b { font-size: 20px; } .hcv-card span { font-size: 12px; }
  .hcv-prog { left: auto; right: 8px; transform: none; top: 56px; width: 40%; }
  .hcv-tb { right: 6px; top: 6px; gap: 4px; } .hcv-tb button, .hcv-tb .ak-mute { width: 36px; height: 36px; font-size: 15px; }
  .hcv-hint { font-size: 13px; }
}
