/* ─── Container (wine-red console) ──────────────────────────────────── */
#game-root .bs-wrap {
    position: relative; padding: 0.85rem; max-width: 460px; margin: 0 auto;
    background: linear-gradient(180deg, #2a1010 0%, #5a1818 100%);
    border-radius: var(--jul-radius-lg, 20px); user-select: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
#game-root .bs-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.6rem; }
#game-root .bs-title { font-weight: 800; color: #ffd66b; font-size: 1.15rem; }
#game-root .bs-audio { display: flex; align-items: center; gap: 0.3rem; padding: 0.28rem 0.5rem; background: linear-gradient(180deg, #fff8e1 0%, #fbf0c8 100%); border: 1px solid rgba(0,0,0,0.12); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 4px rgba(0,0,0,0.18); }
#game-root .bs-mute { background: transparent; border: 0; width: 26px; height: 26px; cursor: pointer; font-size: 0.95rem; padding: 0; }
#game-root .bs-vol { width: 56px; cursor: pointer; accent-color: var(--jul-red-700, #8B0000); }

/* ─── Stage (canvas) ────────────────────────────────────────────────── */
#game-root .bs-stage { aspect-ratio: 600 / 800; max-width: 360px; margin: 0 auto; border: 3px solid #ffd66b; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.4), inset 0 0 16px rgba(0,0,0,0.3); }
#game-root #bs-canvas { display: block; width: 100%; height: 100%; }

/* ─── Controls ──────────────────────────────────────────────────────── */
#game-root .bs-controls { display: grid; gap: 0.4rem; margin-top: 0.7rem; }
#game-root .bs-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
#game-root .bs-row-label { min-width: 92px; font-size: 0.78rem; color: #fde9a8; font-weight: 700; }
#game-root .bs-opts { display: flex; gap: 5px; flex-wrap: wrap; }
#game-root .bs-opt {
    padding: 0.3rem 0.65rem; font-size: 0.76rem; font-weight: 700; border-radius: 999px; cursor: pointer;
    color: #fde9a8; background: rgba(0,0,0,0.28); border: 1px solid rgba(255,221,100,0.18);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#game-root .bs-opt:hover:not(.bs-opt--active) { background: rgba(0,0,0,0.42); color: #fff8d0; }
#game-root .bs-opt--active { background: linear-gradient(180deg, #fbd24a 0%, #d99b1e 100%); color: #4a1a05; border-color: #b8870b; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }

/* ─── Actions ───────────────────────────────────────────────────────── */
#game-root .bs-actions { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; margin-top: 0.8rem; }
#game-root .bs-btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 700; border-radius: 999px; cursor: pointer; transition: transform 0.08s ease, background 0.2s ease; }
#game-root .bs-btn--primary { background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%); color: #fff; border: 1px solid #7f1d1d; box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3); }
#game-root .bs-btn--primary:hover { background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%); transform: translateY(-1px); }
#game-root .bs-btn--primary:active { transform: translateY(1px); }
#game-root .bs-btn--ghost { background: rgba(255, 248, 225, 0.95); color: #4a1a05; border: 1px solid rgba(0,0,0,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 4px rgba(0,0,0,0.18); }
#game-root .bs-btn--ghost:hover { background: #fff; transform: translateY(-1px); }

@media (max-width: 480px) {
    #game-root .bs-wrap { padding: 0.6rem; }
    #game-root .bs-row-label { min-width: 76px; font-size: 0.72rem; }
    #game-root .bs-opt { font-size: 0.7rem; padding: 0.28rem 0.5rem; }
    #game-root .bs-vol { width: 46px; }
}
