/* NY BLOQUE TRANSMISION - LA NUEVA RADIO YA */
/* Vinculado al Master Clock */

.ny-v10-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 25px; 
    margin: 30px 0; 
    align-items: stretch; 
}

.ny-video-box { 
    background: #000; 
    border-radius: 16px; 
    padding: 15px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 500px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    position: relative; 
    overflow: hidden;
}

/* FIX iOS: Forzar contenedor del tweet */
.ny-video-box .twitter-tweet,
.ny-video-box .twitter-tweet-rendered,
.ny-video-box twitter-widget {
    width: 100% !important;
    max-width: 100% !important;
}

.ny-video-box iframe[id^="twitter-widget"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.ny-header-red { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 15px; 
    border-bottom: 3px solid #cc0000; 
    padding-bottom: 8px; 
}

.ny-live-dot { 
    height: 12px; 
    width: 12px; 
    background-color: #cc0000; 
    border-radius: 50%; 
    display: inline-block; 
    animation: pulse-dot 1.5s infinite; 
}

@keyframes pulse-dot { 
    0% { opacity: 1; } 
    50% { opacity: 0.3; } 
    100% { opacity: 1; } 
}

.ny-sidebar-v10 { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.ny-side-title { 
    font-size: 16px; 
    font-weight: 900; 
    color: #111; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.ny-card-v10 { 
    display: flex; 
    gap: 12px; 
    background: #f9f9f9; 
    padding: 10px; 
    border-radius: 12px; 
    text-decoration: none; 
    border: 1px solid #eee; 
    transition: 0.3s; 
}

.ny-card-v10:hover { 
    background: #fff; 
    border-color: #cc0000; 
    transform: translateY(-2px); 
}

.ny-img-v10 { 
    width: 75px; 
    height: 75px; 
    min-width: 75px; 
    border-radius: 8px; 
    object-fit: cover; 
    object-position: top;
    display: block;
}

.ny-meta-v10 .tag { 
    color: #cc0000; 
    font-size: 10px; 
    font-weight: 800; 
    display: block; 
}

.ny-meta-v10 .title { 
    color: #111; 
    font-size: 14px; 
    font-weight: 700; 
    line-height: 1.2; 
    margin: 4px 0 0; 
}

.ny-loto-v10 { 
    margin-top: auto; 
    border-radius: 12px; 
    overflow: hidden; 
    display: block; 
    line-height: 0; 
}

/* LOADING STATE */
.ny-tw-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 40px 20px;
    text-align: center;
}

.ny-tw-loading svg {
    animation: pulse-dot 1.5s infinite;
}

.ny-tw-loading-text {
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
}

/* FALLBACK BUTTON */
.ny-tw-fallback {
    display: none;
    margin-top: 15px;
}

.ny-tw-fallback a {
    display: inline-block;
    background: #1d9bf0;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

/* RESPONSIVE */
@media (max-width: 900px) { 
    .ny-v10-grid { 
        grid-template-columns: 1fr; 
    } 
    .ny-video-box { 
        min-height: 400px; 
        padding: 5px; 
    } 
}

@media (max-width: 767px) {
    .ny-video-box {
        min-height: 350px;
        border-radius: 12px;
        padding: 5px;
        /* FIX iOS: Evitar problemas de scroll */
        -webkit-overflow-scrolling: touch;
    }
    
    .ny-video-box .twitter-tweet,
    .ny-video-box .twitter-tweet-rendered,
    .ny-video-box twitter-widget,
    .ny-video-box iframe[id^="twitter-widget"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

