/* Copter Stunts : page-specific styles (shared: arcade-kit.css, sim3d.css for the banner / result card) */
.cs-wrap { position: relative; width: 100%; }
.cs-wrap .ak-stage { background: #38bdf8; touch-action: none; user-select: none; -webkit-user-select: none; }
.cs-hud { position: absolute; inset: 0; pointer-events: none; font-family: system-ui, sans-serif; container-type: inline-size; }
.cs-hud button, .cs-hud .sim-result { pointer-events: auto; }
.cs-card { position: absolute; left: 10px; top: 10px; background: rgba(15, 23, 42, .8); color: #fff; border-radius: 12px; padding: 5px 12px; }
.cs-card b { display: block; font: 900 24px/1.1 system-ui, sans-serif; color: #fde047; font-variant-numeric: tabular-nums; } .cs-card span { display: block; font: 800 12px system-ui, sans-serif; color: #e2e8f0; }
.cs-combo { position: absolute; left: 50%; top: 12px; transform: translateX(-50%) scale(.8); background: rgba(219, 39, 119, .88); color: #fff; border-radius: 14px; padding: 4px 16px; text-align: center; opacity: 0; transition: opacity .2s, transform .2s; }
.cs-combo.is-on { opacity: 1; transform: translateX(-50%) scale(1); } .cs-combo b { display: block; font: 900 22px/1.1 system-ui, sans-serif; } .cs-combo span { font: 700 11px system-ui, sans-serif; }
.cs-pop { position: absolute; left: 50%; top: 32%; transform: translate(-50%, -50%); font: 900 clamp(20px, 3.6cqw, 32px) system-ui, sans-serif; color: #fff; text-shadow: 0 2px 8px rgba(15, 23, 42, .85); opacity: 0; white-space: nowrap; text-align: center; }
.cs-pop small { display: block; font-size: .55em; color: #fde047; } .cs-pop.is-bank { color: #4ade80; } .cs-pop.is-bad { color: #fca5a5; }
.cs-pop.is-on { animation: cs-pop 1.3s ease-out forwards; }
@keyframes cs-pop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.7); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%); } }
.cs-tb { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.cs-tb button, .cs-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; }
.cs-pad { position: absolute; left: 12px; bottom: 12px; display: none; gap: 8px; }
.cs-pad button { width: 66px; height: 66px; border-radius: 18px; border: 2px solid rgba(255, 255, 255, .55); background: rgba(15, 23, 42, .5); color: #fff; font-size: 28px; touch-action: none; }
.cs-thr { position: absolute; right: 14px; bottom: 14px; width: 76px; height: 76px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .6); background: rgba(234, 88, 12, .8); font-size: 30px; display: none; touch-action: none; }
.cs-pad button.is-on, .cs-thr.is-on { background: rgba(14, 165, 233, .85); }
.cs-hud.is-touch .cs-pad { display: flex; } .cs-hud.is-touch .cs-thr { display: block; }
.cs-hud .sim-banner { pointer-events: none; }
.cs-hud .sim-result[hidden] { display: none; }
.cs-hud.is-over .cs-tb, .cs-hud.is-over .cs-pad, .cs-hud.is-over .cs-thr { display: none; }
.cs-final { font: 900 36px system-ui, sans-serif; color: #fde047; margin: 4px 0; }
.cs-list { margin-top: 14px; } .cs-list h3 { margin: 0 0 6px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 8px; }
.cs-grid button { 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; }
.cs-grid button b { font-size: 13.5px; } .cs-grid button small { font-size: 12px; opacity: .8; } .cs-grid button em { font-style: normal; color: #fde047; font-size: 13px; }
.cs-grid button[aria-pressed="true"] { border-color: #ffd54a; background: rgba(255, 213, 74, .14); }
.cs-grid button:disabled { opacity: .45; cursor: not-allowed; }
@container (max-width: 600px) { .cs-card b { font-size: 18px; } .cs-tb { right: 6px; top: 6px; gap: 4px; } .cs-tb button, .cs-tb .ak-mute { width: 36px; height: 36px; font-size: 15px; } .cs-combo { top: 56px; } }
