      :root {
        --mlb-blue: #041e42;
        --mlb-red: #bf0d3e;
        --mlb-orange: #f98f3e;
        --accent: #22a3e0; 
        --bg-card: #ffffff;
        --text-dark: #222222;
        --border-color: #e1e4e8;
        --blue-official: #002d62; 
        --base-empty-bg: #f8f9fa;
        --score-bg: #f1f5f9;
        --text-muted: #b3b3b3;
    }

    .bgls-main-container {
        max-width: 280px;
        margin: 0 auto;
        font-family: 'Arial Black', 'Arial Bold', sans-serif;
        background: #f0f2f5;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .header-banner { background: #000926; color: white; text-align: center; padding: 14px 0px 0px 0px; display: flex; flex-direction: column; gap: 8px; }
    .banner-title { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
    .date-pill { background: rgba(255, 255, 255, 0.20); padding: 4px 12px; border-radius: 20px; font-size: 10px; font-weight: 400; text-transform: uppercase; }

    .pizarra-cards-container { padding: 0px; display: flex; flex-direction: column; gap: 0; }
    
    .game-card { background: #ffffff !important; width: 100%; box-sizing: border-box; border-bottom: 1px solid var(--border-color); border-radius: 0px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; z-index: 1; }
    .game-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); z-index: 2; }

    .game-header { padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; }
    .header-live { background: var(--mlb-orange) !important; color: white !important; }
    .header-final { background: var(--mlb-red) !important; color: white !important; }
    .header-preview { background: #00a3e0 !important; color: #fff !important; border-bottom: 1px solid #eee; }

    .matchup-title { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px 4px 10px; font-size: 16px; font-weight: 900; color: #767676; text-transform: capitalize; text-align: center; }
    .vs-box { background: #eee; color: #777; font-size: 9px; padding: 2px 5px; border-radius: 3px; border: 1px solid #ddd; text-transform: uppercase; flex-shrink: 0; }

    .venue-info { text-transform: capitalize; font-size: 11px; color: #888; margin-bottom: 2px; text-align: center; font-weight: 400; }
    .game-type-label { font-size: 13px; font-weight: 800; color: var(--accent); text-transform: capitalize; text-align: center; margin-bottom: 8px; letter-spacing: 0.3px; }

    .scoreboard { padding: 4px 10px 8px 10px; display: grid; grid-template-columns: 1fr 45px 60px 45px 1fr; align-items: center; text-align: center; }
    .team-box { display: flex; flex-direction: column; align-items: center; }
    .team-box img { width: 40px; height: 40px; object-fit: contain; margin-bottom: 4px; }
    .team-name { font-size: 12px; font-weight: 900; color: var(--mlb-blue); line-height: 1.1; }
    .team-record { font-size: 9px; font-weight: 400; color: #888; margin-top: 2px; font-family: sans-serif; }
    
    .score-num { background: var(--score-bg); color: var(--mlb-red); font-size: 26px; font-weight: 900; min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; margin: 0 5px; }

    .center-col { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
    .diamond-box { width: 38px; height: 38px; margin-bottom: -2px; }
    .outs-container { display: flex; gap: 4px; margin-top: -3px; justify-content: center; width: 100%; }
    .out-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--base-empty-bg); border: 1.5px solid var(--blue-official); box-sizing: border-box; }
    .out-dot.active { background: var(--blue-official); }
    .count-text { font-size: 11px; font-weight: 200; color: #767676; margin-top: 4px; }

    .che-container { margin: 0 8px 8px 8px; padding: 6px 8px; background: #f8f9fa; border-radius: 4px; border: 1px solid #eee; }
    .che-table { width: 100%; border-collapse: collapse; }
    .che-table th { color: #b3b3b3; font-weight: 900; padding: 2px 0; text-align: center; font-size: 10px; }
    .che-table td { font-weight: 900; font-size: 14px; text-align: center; padding: 2px 0; }
    .che-team-name { text-align: left !important; width: 55%; font-size: 14px !important; color: 767676); text-transform: capitalize; }
    .che-runs { color: var(--mlb-red) !important; }
    .che-dimmed { color: var(--text-muted) !important; font-weight: 700; }

    .pitcher-section { background: #fff; padding: 8px 12px; }
    .matchup-row { display: flex; align-items: flex-start; margin-bottom: 8px; }
    .role-badge { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 900; margin-right: 10px; color: white; flex-shrink: 0; margin-top: 2px; }
    .badge-p { background-color: var(--mlb-blue); } 
    .badge-v { background-color: var(--mlb-red); } 
    .badge-s { background-color: #28a745; } 
    .badge-b { background-color: #555; }
    .player-info-box { display: flex; flex-direction: column; text-align: left; }
    .role-label { font-size: 8px; font-weight: 900; color: var(--accent); text-transform: uppercase; }
    .player-name { font-size: 11px; color: #333; font-weight: 700; font-family: Arial, sans-serif; margin-top: 1px; }

    .media-actions { display: flex; width: 100%; padding: 0; background: #fff; border-top: 1px solid #eee; }
    .btn-action { 
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0; 
        font-size: 10px; font-weight: 900; text-decoration: none; color: #333; 
        background: var(--score-bg); border-right: 1px solid #ddd;
        transition: all 0.2s; text-transform: uppercase;
    }
    .btn-action:last-child { border-right: none; }
    .btn-action:hover { background: #000 !important; color: #fff !important; }
    .btn-action svg { width: 14px; height: 14px; }

    .footer-btn { 
        display: block; padding: 12px; background: var(--mlb-blue); color: white; 
        text-decoration: none; text-align: center; font-size: 12px; font-weight: 900; 
        text-transform: uppercase; border-radius: 0 0 6px 6px; transition: background 0.2s;
    }
    .footer-btn:hover { background: #00a3e0; }
    
    @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
    .live-tag { display: flex; align-items: center; gap: 5px; animation: blink 1.2s infinite; font-size: 10px; font-weight: 900; }
    .live-tag::before { content: ""; width: 7px; height: 7px; background: white; border-radius: 50%; }

    @media screen and (max-width: 1350px) { .bgls-main-container { display: none; } }