/* GALERIE STORIES */
.rvll-video-section { margin: 25px 0; }
.rvll-video-container { display: flex; gap: 15px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.rvll-video-container::-webkit-scrollbar { display: none; }
.rvll-video-item { flex: 0 0 auto; width: 85px; height: 85px; border-radius: 50%; border: 3px solid #ff4757; position: relative; padding: 2px; background: #fff; cursor: pointer; transition: transform 0.2s ease; }
.rvll-video-item:hover { transform: scale(1.08); }
.rvll-video-item img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.rvll-badge-video { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); background: #ff4757; color: white; font-size: 9px; font-weight: bold; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; white-space: nowrap; }

/* GRILLE SOCIALE */
.gloozee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding: 20px 40px; }
.video-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 9/16; background: #000; cursor: pointer; transition: all 0.3s ease; border: 2px solid #ddd; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.video-card:hover { transform: translateY(-5px); border-color: #ff4757; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 15px; opacity: 0; transition: opacity 0.3s ease; z-index: 2; }
.video-card:hover .video-card-overlay { opacity: 1; }

/* RECORDER MODAL FORCE MAXIMUM */
#rvll-recorder-modal { display: none; position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background: #000 !important; z-index: 2147483647 !important; justify-content: center; align-items: center; }
.rvll-recorder-content { position: relative !important; width: 100% !important; height: 100% !important; max-width: 600px; margin: 0 auto; background: #000; overflow: hidden; }
#rvll-preview { width: 100% !important; height: 100% !important; object-fit: cover !important; transform: scaleX(-1); }
#rvll-canvas-overlay { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; z-index: 5; pointer-events: none; }
.rvll-recorder-ui { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-around; align-items: center; padding: 0 20px; }
#rvll-close-recorder { position: absolute; top: 20px; right: 20px; z-index: 20; background: rgba(0,0,0,0.5); color: white; border-radius: 50%; width: 40px; height: 40px; border: 2px solid white; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* BOUTON RECORD */
#rvll-record-btn { width: 70px; height: 70px; border-radius: 50%; border: 5px solid white; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; outline: none; }
#rvll-record-red { width: 50px; height: 50px; background: red; border-radius: 50%; transition: all 0.3s; }

/* --- AJOUTS POUR NETTOYER L'INTERFACE --- */

/* 1. SUPPRESSION DÉFINITIVE DU BOUTON TEXTE DISGRACIEUX */
#tool-text, 
button[id="tool-text"], 
.rvll-recorder-ui button:not(#rvll-record-btn) { 
    display: none !important; 
}

/* 2. STYLE POUR LE SÉLECTEUR DE FILTRES (Optionnel mais pour que ce soit beau) */
#rvll-filter-select {
    background: rgba(0,0,0,0.6);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 20px;
    outline: none;
}

/* 3. CENTRE LE BOUTON D'ENREGISTREMENT MAINTENANT QU'IL EST SEUL */
.rvll-recorder-ui {
    justify-content: center;
    gap: 40px; /* Espace entre le filtre et le bouton record */
}