/***CUANDO HACE STREAM***/
/* Estilos generales del contenedor */
.infouser-container {
    background: transparent;
    width: 100%;
    margin: 0;
    padding: 8px;
}

.infouser-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.infouser-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

/* Sección del avatar */
.infouser-avatar-section {
    position: relative;
    flex-shrink: 0;
}

.infouser-avatar-halo {
    position: relative;
    display: inline-block;
}

.infouser-halo-effect {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9146FF, #BF94FF);
    opacity: 0.8;
    z-index: 1;
}

.infouser-avatar-container {
    position: relative;
    z-index: 2;
}

.infouser-avatar-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: block;
}

.infouser-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.infouser-avatar-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    background: #efeff1;
}

.infouser-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.infouser-live-indicator {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.infouser-live-badge {
    background: #e91916;
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}

.infouser-live-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.infouser-live-label {
    color: white;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

/* Sección de información */
.infouser-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.infouser-main-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infouser-channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infouser-channel-link {
    text-decoration: none;
    color: inherit;
}

.infouser-channel-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #0e0e10;
    line-height: 1.2;
}

.infouser-verified-badge {
    display: flex;
    align-items: center;
}

.infouser-verified-icon {
    color: #9146FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botones de acción */
.infouser-actions {
    display: flex;
    align-items: center;
}

.infouser-buttons-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infouser-follow-button {
    display: inline-block;
}

.infouser-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 8px;
}

.infouser-button-follow {
    background: #9146FF;
    color: white;
}

.infouser-button-follow:hover {
    background: #7d3ae6;
}

.infouser-button-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infouser-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.infouser-button-text {
    white-space: nowrap;
}

.infouser-button-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* Botones de suscripción */
.infouser-subscribe-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infouser-gift-button,
.infouser-subscribe-button {
    display: inline-block;
}

.infouser-button-gift,
.infouser-button-subscribe {
    background: rgba(0, 0, 0, 0.05);
    color: #0e0e10;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.infouser-button-gift:hover,
.infouser-button-subscribe:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Información del stream */
.infouser-stream-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.infouser-stream-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 70%;
}

.infouser-stream-title-section {
    margin: 0;
}

.infouser-stream-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0e0e10;
    line-height: 1.4;
}

.infouser-stream-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.infouser-game-category {
    display: inline-block;
}

.infouser-game-link {
    text-decoration: none;
    color: #9146FF;
    font-size: 14px;
    font-weight: 600;
}

.infouser-game-link:hover {
    color: #7d3ae6;
    text-decoration: underline;
}

.infouser-game-name {
    font-size: 14px;
}

/* Etiquetas */
.infouser-tags-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.infouser-tag {
    display: inline-flex;
    text-decoration: none;
    color: #53535f;
    background: rgba(173, 173, 184, 0.22);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.infouser-tag:hover {
    background: rgba(173, 173, 184, 0.35);
    color: #0e0e10;
    text-decoration: none;
}

.infouser-tag-content {
    display: flex;
    align-items: center;
}

/* Estadísticas - EN LA MISMA LÍNEA */
.infouser-stats-section {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: auto;
}

.infouser-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.infouser-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infouser-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #53535f;
}

.infouser-viewer-count {
    font-size: 16px;
    font-weight: 700;
    color: #0e0e10;
    margin: 0;
}

.infouser-viewer-label,
.infouser-time-label {
    margin: 0;
    font-size: 12px;
    color: #53535f;
    display: none;
}

.infouser-stream-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0e0e10;
    font-weight: 600;
}

/* Botones de utilidad */
.infouser-utility-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infouser-utility-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    color: #53535f;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.infouser-utility-button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #0e0e10;
}

.infouser-utility-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .infouser-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .infouser-avatar-section {
        align-self: flex-start;
    }
    
    .infouser-buttons-group {
        flex-wrap: wrap;
    }
    
    .infouser-stream-info {
        flex-direction: column;
        gap: 16px;
    }
    
    .infouser-stream-details {
        max-width: 100%;
    }
    
    .infouser-stats-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    
    .infouser-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .infouser-utility-buttons {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .infouser-channel-name {
        font-size: 20px;
    }
    
    .infouser-subscribe-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .infouser-gift-button,
    .infouser-subscribe-button {
        width: 100%;
    }
    
    .infouser-button-gift,
    .infouser-button-subscribe {
        width: 100%;
        justify-content: space-between;
    }
    
    .infouser-stream-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .infouser-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    .infouser-stats-section {
        gap: 16px;
    }
    
    .infouser-utility-buttons {
        align-self: flex-start;
        width: 100%;
        justify-content: flex-start;
    }
}