/************************
CSS 2003-2026 BENGALESES.COM, EN BEISBOL MLB
Todos los Derechos Reservados 
Realiza: Ãngel Matos para Bengaleses.com*/
/************************/

        #mlb-pizarra-root { width: 100%; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
        .mlb-main-wrapper {
            display: flex; align-items: center; background: #fff;
            background: linear-gradient(to bottom, #a2a2a2 0%, #ffffff 5%, #ffffff 90%);
            border-bottom: 2px solid #e0e0e0; position: relative;
            width: 100%; min-height: 100px; clear: both;
        }
        .mlb-pizarra-container { display: flex; align-items: center; flex: 1; overflow: hidden; position: relative; }
        
        .mlb-nav { 
            width: 30px; height: 95px; border: none; border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; background: rgba(255,255,255,0.95); 
            cursor: pointer; font-size: 18px; color: #041d40; display: none; 
            align-items: center; justify-content: center; z-index: 100; position: absolute;
        }
        .mlb-nav:hover { background-color: #f0f0f0 !important; color: #d60000; }
        
        #mlb-prevBtn { left: 0; }
        #mlb-nextBtn { right: 0; }
        #mlb-scoreboard { display: flex; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; width: 100%; padding: 5px 0; margin: 0;}
        #mlb-scoreboard::-webkit-scrollbar { display: none; }
        
        .mlb-day-group { display: flex; align-items: stretch; }
        .mlb-date-sep {
            display: flex; flex-direction: column; align-items: center; justify-content: center; 
            padding: 0; background: transparent; margin: 0 16px; text-align: center; flex-shrink: 0; 
            order: 0; /* Siempre al inicio del grupo */
        }
        .mlb-date-sep .mlb-day { font-size: 17px; font-weight: 900; color: #041d40; line-height: 1.1; }
        .mlb-date-sep .mlb-month { font-size: 14px; font-weight: 700; color: #041d40; text-transform: uppercase; }
        
        .mlb-game { 
            min-width: 130px; padding: 10px 12px; border: 1px solid #c3c3c3; 
            border-radius: 5px; margin: 5px 4px; display: flex; flex-direction: column; 
            justify-content: center; background: #fff;
        }
        .mlb-game.is-live { 
            min-width: 155px; border-color: #d60000; box-shadow: 0 2px 4px rgba(214, 0, 0, 0.05); 
        }
        .mlb-game:hover { background-color: #f9f9f9; cursor: pointer; border-color: #bbb; }
        
        .mlb-content-layout { display: flex; justify-content: space-between; align-items: center; }
        .mlb-teams-col { flex: 1; }
        .mlb-team-row { display: flex; align-items: center; margin: 2px 0; gap: 5px; justify-content: space-between; }
        .mlb-team-info { display: flex; align-items: center; gap: 8px; overflow: hidden; }
        .mlb-team-info img { width: 22px; height: 16px; object-fit: contain; flex-shrink: 0; border: none; }
        .mlb-team-name { font-size: 13px; font-weight: 700; color: #222; }
        .mlb-team-record { font-size: 10px; font-weight: 400; color: #888; margin-left: 1px; }
        
        .mlb-score-area { display: flex; align-items: center; min-width: 25px; justify-content: flex-end; }
        .mlb-score-val { font-size: 16px; font-weight: 800; color: #222; }
        
        .mlb-live-indicator-col { display: flex; flex-direction: column; align-items: center; margin-left: 10px; padding-left: 10px; border-left: 1px solid #eee; min-width: 40px; }
        .mlb-diamond { position: relative; width: 18px; height: 18px; transform: rotate(45deg); margin-bottom: 4px; margin-top: 4px; }
        .mlb-base { position: absolute; width: 6px; height: 6px; border: 1px solid #ccc; background: #fff; }
        .mlb-base.occupied { background: #d60000; border-color: #d60000; }
        .mlb-b1 { top: 0; right: 0; }
        .mlb-b2 { top: 0; left: 0; }
        .mlb-b3 { bottom: 0; left: 0; }
        .mlb-outs-container { display: flex; gap: 3px; margin-bottom: 2px; }
        .mlb-dot-out { width: 6px; height: 6px; border-radius: 50%; background: #e0e0e0; border: 1px solid #ccc; }
        .mlb-dot-out.active { background: #d60000; border-color: #d60000; }
        
        .mlb-count { font-size: 10px; font-weight: 800; color: #888; margin-top: 1px; letter-spacing: 1px; }
        
        .mlb-status { font-size: 11px; font-weight: 700; margin-top: 2px; display: flex; align-items: center; gap: 4px; color: #666; }
        .mlb-status-final, .mlb-status-live { color: #d60000 !important; }
        .mlb-live-dot { width: 5px; height: 5px; background: #d60000; border-radius: 50%; animation: mlb-blink 1s infinite; }
        @keyframes mlb-blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }