/* ============================================
   TELA CHEIA MOBILE (ESTILO TIKTOK)
   ============================================ */

/* Mobile - altura total da tela */
@media (max-width: 768px) {
    #feed-container {
        margin-top: 0;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }
    
    .video-item {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }
    
    .video-wrapper {
        height: 100%;
    }
    
    .video-wrapper iframe,
    .video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .video-info {
        padding: 100px 16px 16px;
    }
    
    .video-info h3 {
        font-size: 16px;
    }
    
    .video-info p {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .video-actions {
        gap: 10px;
    }
    
    .btn-curtir,
    .btn-compartilhar {
        padding: 6px 12px;
        font-size: 13px;
        backdrop-filter: blur(4px);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .user-name {
        font-size: 13px;
    }
    
    /* Esconde o header no feed mobile */
    .main-header {
        background: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(4px) !important;
        height: 50px !important;
        padding: 6px 12px !important;
        border-bottom: none !important;
    }
    
    .header-logo img {
        height: 28px !important;
    }
    
    .nav-link {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .video-info {
        padding: 80px 12px 12px;
    }
    
    .video-info h3 {
        font-size: 14px;
    }
    
    .video-info p {
        font-size: 12px;
    }
    
    .btn-curtir,
    .btn-compartilhar {
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* Correção para iPhone (webkit) */
@supports (-webkit-touch-callout: none) {
    #feed-container {
        height: -webkit-fill-available;
    }
    .video-item {
        height: -webkit-fill-available;
    }
}