/*
 * Basketball free board: the AI Free Throw Counter modal (iframe of the chromeless
 * embed). Extracted from basketball-scoreboard.blade.php's inline <style>.
 * No build step — bump asset_version on change.
 */
.ft-modal-overlay { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 0.75rem; }
.ft-modal-overlay[hidden] { display: none; }
.ft-modal-overlay .score-modal-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.7); cursor: pointer; }
.ft-modal-overlay .score-modal.ft-modal {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    background: #0f172a; border: 1px solid rgba(148,163,184,.18); border-radius: 16px;
    width: 100%; max-width: 520px; height: min(88vh, 780px); overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.5); color: #e2e8f0;
}
.ft-modal-overlay .score-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: .7rem 1rem; border-bottom: 1px solid rgba(148,163,184,.14); flex: 0 0 auto;
}
.ft-modal-overlay .score-modal-title { margin: 0; font-size: 1rem; color: #f8fafc; display: inline-flex; align-items: center; gap: .5rem; }
.ft-modal-overlay .score-modal-close { background: transparent; border: none; color: #94a3b8; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.ft-modal-body { flex: 1 1 auto; min-height: 0; }
#ft-frame { width: 100%; height: 100%; border: 0; display: block; background: #0f172a; }
body.ft-modal-open { overflow: hidden; }
