/* Bus Jam : page-specific styles (shared: arcade-kit.css, sim3d.css for the banner / result card) */
.bj-wrap { position: relative; width: 100%; }
.bj-wrap .ak-stage { background: #e2e8f0; touch-action: manipulation; cursor: pointer; user-select: none; -webkit-user-select: none; }
.bj-hud { position: absolute; inset: 0; pointer-events: none; font-family: system-ui, sans-serif; container-type: inline-size; }
.bj-hud button, .bj-hud .sim-result { pointer-events: auto; }
.bj-card { position: absolute; left: 10px; top: 10px; background: rgba(15, 23, 42, .78); color: #fff; border-radius: 12px; padding: 5px 12px; }
.bj-card b { display: block; font: 900 15px/1.2 system-ui, sans-serif; } .bj-card span { display: block; font: 800 12px system-ui, sans-serif; color: #bae6fd; }
.bj-pop { position: absolute; left: 50%; top: 34%; transform: translate(-50%, 0); font: 900 clamp(18px, 3.4cqw, 30px) system-ui, sans-serif; color: #fff; text-shadow: 0 2px 8px rgba(15, 23, 42, .85); opacity: 0; white-space: nowrap; }
.bj-pop.is-ok { color: #4ade80; } .bj-pop.is-bad { color: #fde047; }
.bj-pop.is-on { animation: bj-pop 1.5s ease-out forwards; }
@keyframes bj-pop { 0% { opacity: 0; transform: translate(-50%, 20%) scale(.8); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.06); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -30%); } }
.bj-tb { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.bj-tb button, .bj-tb .ak-mute { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(15, 23, 42, .75); color: #fff; font-size: 17px; cursor: pointer; }
.bj-tb button i { position: absolute; right: -4px; bottom: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: #fde047; color: #0f172a; font: 900 11px/18px system-ui, sans-serif; font-style: normal; }
.bj-hud .sim-banner { pointer-events: none; }
.bj-hud .sim-result[hidden] { display: none; }
.bj-hud.is-over .bj-tb { display: none; }
.bj-stars { font-size: 26px; margin: 4px 0; }
.bj-opts { margin-top: 14px; } .bj-opts h3 { margin: 10px 0 6px; }
.bj-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; max-height: 220px; overflow-y: auto; padding: 2px; }
.bj-levels button { border-radius: 10px; padding: 6px 2px; border: 2px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.bj-levels button b { font-size: 15px; } .bj-levels button small { font-size: 10px; color: #fde047; letter-spacing: -1px; }
.bj-levels button[aria-pressed="true"] { border-color: #ffd54a; background: rgba(255, 213, 74, .14); }
.bj-levels button:disabled { opacity: .45; cursor: not-allowed; }
.bj-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bj-row button { text-align: left; border-radius: 12px; padding: 8px 12px; 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; }
.bj-row button b { font-size: 13.5px; } .bj-row button small { font-size: 12px; opacity: .8; }
.bj-row button[aria-pressed="true"] { border-color: #ffd54a; background: rgba(255, 213, 74, .14); }
@container (max-width: 600px) { .bj-tb { right: 6px; top: 6px; gap: 4px; } .bj-tb button, .bj-tb .ak-mute { width: 36px; height: 36px; font-size: 15px; } .bj-card { left: 6px; top: 6px; padding: 4px 9px; } .bj-card span { display: none; } }
@container (max-width: 400px) { .bj-tb button, .bj-tb .ak-mute { width: 33px; height: 33px; font-size: 14px; border-radius: 10px; } .bj-card b { font-size: 13px; } }
