/* style.css - VERSÃO LIMPA, UNIFICADA E DEFINITIVA 🚀 */

/* =========================================
   0. IMPORTAÇÃO E REGRAS GERAIS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* =========================================
   0. IMPORTAÇÃO E REGRAS GERAIS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* VARIÁVEIS DO MODO CLARO (PADRÃO) */
:root {
    --cor-fundo: #f0f2f5;
    --cor-card: #ffffff;
    --cor-texto: #050505;
    --cor-borda: #ddd;
}

* { box-sizing: border-box; }
* { box-sizing: border-box; }

body {
    background-color: var(--cor-fundo);
    margin: 0;
    padding: 60px 0 70px 0;
    color: var(--cor-texto);
    -webkit-tap-highlight-color: transparent;
}

body, .modal-card, .novo-flog-card, .fb-create-post-card {
    background-color: var(--cor-fundo) !important;
    color: var(--cor-texto) !important;
}

img, video { max-width: 100%; height: auto; }

body, button, input, select, textarea, h1, h2, h3, p, div:not(.material-icons-round), span:not(.material-icons-round) {
    font-family: Arial, Helvetica, sans-serif !important;
}

.material-icons-round {
    font-family: 'Material Icons Round' !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Força todas as telas a começarem ABAIXO do cabeçalho roxo */
.screen {
    padding: 80px 8px 0 8px !important;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Trava de telas (mata o bug dos vídeos embolando) */
.screen[style*="display: none"], 
.screen[style*="display:none"] {
    display: none !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

body.full-screen .main-header,
body.full-screen .bottom-nav {
    display: none !important;
}

/* =========================================
   1. HEADER (TOPO ROXO ANIMADO) E SIDEBAR
   ========================================= */
.main-header {
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 60px;
    background: linear-gradient(-45deg, #4b0082, #2c3e50, #8e44ad, #2980b9);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 15px; z-index: 2000; box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    color: white; 
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#header-app-name {
    font-family: 'Great Vibes', cursive !important;
    font-size: 28px !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    margin: 0; line-height: 60px; white-space: nowrap; 
    overflow: hidden; text-overflow: ellipsis; flex: 1; text-align: center; padding: 0 10px; 
}

@media (max-width: 480px) {
    #header-app-name { font-size: 22px !important; letter-spacing: 0.5px; }
}

.header-icon-img {
    height: 85px !important; width: auto; margin-right: 15px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7)); 
    vertical-align: middle; margin-top: -22px; position: relative; z-index: 2500;
    transition: transform 0.2s ease;
}
.header-icon-img:hover { transform: scale(1.1); }

/* SIDEBAR E OVERLAY MOBILE */
.sidebar-menu {
    position: fixed !important; top: 0; left: -285px !important; width: 280px; height: 100%;
    background: white; z-index: 10001 !important; transition: left 0.3s ease-in-out !important;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1); display: flex; flex-direction: column;
    border-top-right-radius: 20px !important; border-bottom-right-radius: 20px !important; overflow: hidden !important;
}
.sidebar-menu.aberto { left: 0 !important; }

.overlay-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 10000; display: none;
}
.overlay-menu.visivel { display: block; }

.modern-header { background: linear-gradient(135deg, #d35400 0%, #ff8a00 100%) !important; padding: 30px 20px 20px !important; border-bottom-right-radius: 25px !important; box-shadow: 0 4px 10px rgba(211, 84, 0, 0.2) !important; z-index: 2 !important; }
.modern-avatar { width: 70px !important; height: 70px !important; background: #eee !important; border-radius: 50% !important; margin: 0 auto 10px auto !important; background-size: cover !important; border: 3px solid #fff !important; box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; }
.modern-email { display: block !important; color: white !important; font-size: 16px !important; font-weight: 700 !important; }
.modern-scroll { padding: 15px 10px !important; background: #fdfdfd !important; flex: 1; overflow-y: auto;}
.menu-item { padding: 15px 20px; border-bottom: 1px solid #f0f2f5; color: #050505; cursor: pointer; display: flex; align-items: center; gap: 10px; border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important; transition: all 0.2s ease !important; }
.menu-item .material-icons-round { font-size: 22px !important; margin-right: 12px !important; color: #888 !important; }
.menu-item:hover, .menu-item:active { background-color: #fff0e6 !important; color: #d35400 !important; transform: translateX(5px) !important; }
.menu-item:hover .material-icons-round { color: #d35400 !important; }

/* =========================================
   2. RODAPÉ ESTILO KWAI / TIKTOK 🚀
   ========================================= */
.bottom-nav, #menu-rodape {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 55px !important;
    padding-bottom: env(safe-area-inset-bottom) !important; /* Proteção p/ iPhone */
    background: #000000 !important; /* Fundo Preto Premium */
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-item {
    background: transparent !important;
    border: none !important;
    color: #666666 !important; /* Ícones cinza quando desativados */
    flex: 1 !important;
    height: 100% !important;
    border-radius: 0 !important;
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    padding: 0 !important;
    width: auto !important;
}

.nav-item .material-icons-round { 
    font-size: 28px !important;
}

.nav-item.active {
    background: transparent !important;
    color: #ffffff !important; /* Ícone fica Branco vivo ao clicar */
    transform: scale(1.1) !important;
}

/* O BOTÃO CENTRAL DE CRIAR (Retangular com Gradiente) */
.nav-item.create-btn {
    background: linear-gradient(45deg, #ff0050, #00f2fe) !important;
    flex: none !important; 
    width: 48px !important; 
    height: 32px !important;
    margin: 0 !important; 
    border-radius: 10px !important; 
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(255, 0, 80, 0.3) !important;
}

.nav-item.create-btn .material-icons-round {
    font-size: 24px !important;
    font-weight: bold !important;
}

/* FOTO DE PERFIL NO RODAPÉ */
.nav-item.profile-btn {
    flex: 1 !important;
}

#rodape-avatar-mini {
    width: 28px !important; 
    height: 28px !important; 
    border-radius: 50% !important; 
    background-color: #333 !important; 
    background-size: cover !important; 
    background-position: center !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}

.nav-item.active #rodape-avatar-mini {
    border: 2px solid #ffffff !important; /* Acende a borda da foto quando na aba perfil */
}

/* =========================================
   3. LOGIN (FUNDO TOTAL E COMPONENTES) 🚀
   ========================================= */
#login-screen.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    z-index: 2147483647 !important; 
    align-items: center !important; justify-content: center !important;
    margin: 0 !important; padding: 0 !important;
   background: #000000 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

#login-screen .login-card-modern {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 40px 30px !important;
    border-radius: 25px !important;
    border: none !important;
    width: 90% !important;
    max-width: 350px !important;
    box-shadow: none !important;
    text-align: center;
}

#login-screen .login-card-modern,
#login-screen.active .login-card-modern {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 40px 30px !important;
    border-radius: 25px !important;
    border: none !important;
    width: 90% !important;
    max-width: 350px !important;
    box-shadow: none !important;
    text-align: center;
}

#email:focus, #senha:focus { border: 2px solid #ff0066 !important; background: #ffffff !important; }

#btn-login, #login-screen.active .btn-neon-rosa {
    width: 100% !important;
    background: linear-gradient(45deg, #f1c40f, #d35400) !important;
    color: #000 !important; font-weight: 900 !important; font-size: 16px !important;
    border-radius: 30px !important; padding: 16px !important;
    border: none !important; cursor: pointer !important;
    text-transform: uppercase !important;
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4) !important;
    margin-top: 10px !important; letter-spacing: 1px !important;
    display: block !important;
}

#login-screen.active button[onclick*="mostrarFormularioSolicitacao"] {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(5px) !important; -webkit-backdrop-filter: blur(5px) !important;
    color: #ffffff !important; font-size: 14px !important; font-weight: bold !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important; border-radius: 30px !important;
    padding: 14px !important; margin-top: 15px !important;
    cursor: pointer; display: block !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}

/* =========================================
   4. CHAT (WHATSAPP CLONE E TELA CHEIA FIX) 🚀
   ========================================= */
#chat-conversa-screen { 
    z-index: 2147483647 !important; /* Força sobreposição total */
    position: fixed !important; 
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important; max-height: 100vh !important;
    background-color: #efe7dd !important; background-image: none !important; 
    padding-top: 0 !important; margin-top: 0 !important;
    display: flex !important; flex-direction: column !important;
}

#chat-box { 
    flex: 1 !important; height: auto !important; 
    overflow-y: auto !important; -webkit-overflow-scrolling: touch; 
    padding-bottom: 70px !important; margin-top: 0 !important;
}

#chat-footer-bar, .chat-footer-container {
    display: flex !important; align-items: center !important; gap: 8px !important;
    position: absolute !important; bottom: 0 !important; left: 0 !important;
    width: 100% !important; height: 60px !important;
    z-index: 999999 !important; 
    background: #f0f2f5 !important; border-top: 1px solid #ddd !important;
    padding: 8px 10px !important; box-sizing: border-box !important;
}

/* =========================================
   5. FEED, POSTS E CARDS (ANIMAÇÃO GRADIENTE)
   ========================================= */
#feed-screen > div:first-child { padding-top: 15px !important; }

.fb-create-post-card {
    display: flex !important; align-items: center !important; gap: 12px !important;
    background: #ffffff !important; padding: 12px 16px !important; border-radius: 12px !important;
    margin-bottom: 15px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    width: 100% !important; box-sizing: border-box !important;
    visibility: visible !important; opacity: 1 !important; clear: both !important;
}

.fb-create-post-card > div:nth-child(2) {
    flex: 1 !important; background: #f0f2f5 !important; border-radius: 20px !important;
    height: 40px !important; display: flex !important; align-items: center !important;
    padding: 0 15px !important; min-width: 0 !important; 
}

/* Animação Card Feed */
@keyframes gradientCard {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.novo-flog-card {
    background: linear-gradient(90deg, #0b2218, #134e32, #113f2b, #0b2218) !important;
    background-size: 400% 400% !important;
    animation: gradientCard 10s ease infinite !important;
    will-change: background-position !important;
    border-radius: 24px !important; 
    border: 1px solid rgba(46, 204, 113, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(46, 204, 113, 0.15) inset !important;
    color: var(--cor-texto) !important; overflow: hidden !important; margin-bottom: 20px !important;
}

.novo-flog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.6); }

.novo-flog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.6); }

.novo-flog-header { background: rgba(0,0,0,0.2) !important; padding: 15px !important; border: none !important; display: flex; align-items: center; justify-content: flex-start; }
.novo-flog-name { font-weight: 700 !important; font-size: 15px !important; color: #ffffff !important; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.novo-flog-date { font-size: 13px !important; color: #cccccc !important; margin-top: 2px; }

.novo-flog-caption { padding: 15px !important; color: #e0e0e0 !important; font-size: 15px !important; line-height: 1.6 !important; }

.novo-flog-caption { padding: 15px !important; color: #e0e0e0 !important; font-size: 15px !important; line-height: 1.6 !important; }

.novo-flog-media-wrapper { 
    width: 100% !important; 
    height: 380px !important; /* Altura fixa padrão para o card ficar uniforme e preencher tudo */
    overflow: hidden !important; 
    background: #000 !important; 
    position: relative !important; 
}

.novo-flog-img, .novo-flog-video { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; /* Estica e corta as bordas sutilmente para ocupar 100% da área sem tarjas */
}

.mini-info-bar-feed {
    width: 100% !important; display: flex !important; justify-content: space-between !important;
    align-items: center !important; padding: 10px 15px !important;
    background: rgba(0, 0, 0, 0.4) !important; margin-top: 0 !important;
}

.mini-pegaria-btn {
    background: linear-gradient(45deg, #ff0055, #ff3377) !important; color: white !important;
    border: none !important; padding: 6px 14px !important; border-radius: 20px !important;
    font-weight: 800 !important; font-size: 11px !important; cursor: pointer !important;
    display: flex !important; align-items: center !important; gap: 5px !important;
}

.novo-flog-actions-bar { 
    background: rgba(0,0,0,0.1) !important; border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 10px 16px !important; margin: 0 !important; display: flex; justify-content: space-between; 
}
.action-btn-item { color: #d1d1d1 !important; transition: color 0.3s !important; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: bold; }
.action-btn-item:hover { color: #ff0066 !important; }

.novo-flog-input-area { 
    padding: 10px 16px 15px 16px; 
    background: transparent !important; 
    display: none; 
    gap: 10px; 
    align-items: center; 
}

.novo-flog-input-area.visible { 
    display: flex !important; 
}
.novo-flog-input { flex: 1; border-radius: 20px !important; background: rgba(255,255,255,0.1) !important; padding: 10px 15px !important; color: #fff; border: none; font-size: 13px; outline: none; }

/* Estilo dedicado ao botão de comentar nos posts do feed */
.btn-comentar-post-feed {
    background: linear-gradient(135deg, #1877f2, #0056b3) !important;
    color: white !important;
    border: none !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 5px rgba(24, 119, 242, 0.4) !important;
    transition: transform 0.2s ease !important;
}
.btn-comentar-post-feed:hover {
    transform: scale(1.05);
}

.novo-flog-card .mimos-grid-container > div:nth-child(n+2),
.novo-flog-card .mimo-card-shiny:nth-child(n+2),
.novo-flog-card div[style*="display: flex"][style*="gap: 5px"] > div:nth-child(n+2) { display: none !important; }

/* =========================================
   6. STORIES E TELA DE VÍDEOS
   ========================================= */
#barra-online { display: flex !important; gap: 12px !important; padding: 5px 0 !important; overflow-x: auto !important; flex-wrap: nowrap !important; align-items: center !important; min-height: 90px !important; scrollbar-width: none !important; }
#barra-online::-webkit-scrollbar { display: none; }

.story-item, .story-create-card, #barra-online > div { display: flex !important; flex-direction: column !important; align-items: center !important; min-width: 75px !important; max-width: 75px !important; flex-shrink: 0 !important; cursor: pointer !important; }
.story-circle, .story-create-img { width: 58px !important; height: 58px !important; min-width: 58px !important; max-width: 58px !important; min-height: 58px !important; max-height: 58px !important; border-radius: 50% !important; border: 3px solid #ff0066 !important; background-size: cover !important; background-position: center !important; background-color: #333 !important; padding: 2px !important; background-clip: content-box !important; box-shadow: 0 2px 8px rgba(0,0,0,0.15); flex-shrink: 0 !important; }

#barra-online span, .story-name-fb { display: block !important; font-size: 11px !important; font-weight: 600 !important; color: var(--cor-texto) !important; text-align: center !important; width: 100% !important; margin-top: 5px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

#videos-screen { background-color: var(--cor-fundo) !important; }
#videos-screen.active { display: block !important; position: relative !important; top: 0 !important; min-height: 100vh !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; padding-bottom: 150px !important; background: #000 !important; z-index: 50 !important; }

/* PLAYER STORIES FULL SCREEN */
#story-player-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #111; z-index: 999999; display: none; flex-direction: column; }
.story-player-header { position: absolute; top: 0; left: 0; width: 100%; padding: 15px 10px 10px 10px; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); z-index: 10; }
.story-progress-container { display: flex; gap: 4px; margin-bottom: 12px; }
.story-progress-bar { flex: 1; height: 3px; background-color: rgba(255,255,255,0.3); border-radius: 3px; overflow: hidden; }
.story-progress-fill { height: 100%; background-color: #fff; width: 0%; }
.story-user-info { display: flex; align-items: center; gap: 10px; }
#story-player-avatar { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; border: 2px solid #ff0066; }
#story-player-nick { color: #fff; font-weight: 600; font-size: 14px; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.story-close-btn { position: absolute; top: 25px; right: 15px; background: none; border: none; color: white; font-size: 30px; cursor: pointer; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.story-media-container { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; height: 100vh; }
#story-img, #story-vid { max-width: 100%; max-height: 100vh; object-fit: contain; }
.story-click-left { position: absolute; top: 0; left: 0; width: 30%; height: 100%; z-index: 5; cursor: pointer; }
.story-click-right { position: absolute; top: 0; right: 0; width: 70%; height: 100%; z-index: 5; cursor: pointer; }

/* =========================================
   7. PERFIL E BOTÕES LADO A LADO
   ========================================= */
.profile-cover { width: 100%; height: 200px; background-color: #777; background-size: cover; background-position: center; border-radius: 0 0 12px 12px; position: relative; }
.profile-avatar { width: 140px; height: 140px; border-radius: 50%; border: 4px solid white !important; background-color: #ddd; display: inline-block; position: relative !important; overflow: visible !important; margin-top: -70px; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; }

#display-nickname, #ver-nickname { display: flex !important; align-items: center !important; flex-wrap: wrap !important; justify-content: center; font-size: 22px; font-weight: 800; margin: 5px 0; color: var(--cor-texto); }

.pro-tabs { display: flex; gap: 10px; overflow-x: auto; border-bottom: 1px solid #ddd; margin-top: 20px; padding-bottom: 10px; scrollbar-width: none; }
.pro-tab { white-space: nowrap; padding: 8px 16px; font-size: 14px; font-weight: bold; color: #65676b; cursor: pointer; border-radius: 20px; background: transparent; transition: all 0.2s; border-bottom: 3px solid transparent; }
.pro-tab.active { color: #1877f2; border-bottom: 3px solid #1877f2; border-radius: 0; }
.tab-content { display: none; background: var(--cor-fundo); padding: 15px 0; }
.tab-content.active { display: block; }

/* FIX DEFINITIVO: BOTÕES PROPORCIONAIS LADO A LADO */
.botoes-perfil-novo, .visitor-controls {
    display: flex !important; flex-direction: row !important; justify-content: center !important;
    gap: 8px !important; padding: 10px 15px !important; width: 100% !important; box-sizing: border-box !important; flex-wrap: wrap !important;
}

.botoes-perfil-novo button, .visitor-controls .btn-profile-primary, .visitor-controls .btn-profile-secondary {
        flex: 1 1 20% !important; min-width: 60px !important; max-width: 120px !important; height: 40px !important;
        padding: 0 5px !important; border-radius: 8px !important; border: none !important; font-weight: 800 !important;
        font-size: 11px !important; display: flex !important; align-items: center !important; justify-content: center !important;
        gap: 4px !important; cursor: pointer !important; color: white !important; margin: 0 !important; text-transform: uppercase;
    }
    
    /* Botão Seguindo no Feed estilizado, limpo e com destaque moderno */
    .novo-flog-header button[id*="seguir"],
    button.seguindo {
        background: linear-gradient(135deg, #2c3e50, #1a252f) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    }

.botoes-perfil-novo .material-icons-round { font-size: 16px !important; }
.btn-azul { background: #1877f2 !important; }
.btn-cinza { background: #e4e6eb !important; color: #1c1e21 !important; }
.btn-vermelho, .btn-match-full { background: linear-gradient(45deg, #e74c3c, #c0392b) !important; color: white !important;}
.btn-rosa { background: #ff4d94 !important; }

/* Botão Recomendar Limpo */
.btn-recomendar-limpo, .btn-recommend-flat { background: transparent !important; color: #888 !important; border: 1px solid #ddd !important; border-radius: 20px !important; padding: 8px 20px !important; font-size: 12px !important; font-weight: bold !important; cursor: pointer !important; width: 100%; height: 35px; display: block; text-align: center; line-height: 18px; margin-top: 10px; }

/* Botão Certificar */
.btn-certificar-verde { background: linear-gradient(135deg, #2ecc71, #27ae60) !important; color: white !important; border: none !important; padding: 12px 20px !important; border-radius: 20px !important; font-weight: 900 !important; font-size: 13px !important; text-transform: uppercase !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; cursor: pointer !important; box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3) !important; transition: transform 0.2s, box-shadow 0.2s !important; margin: 15px auto; }
.btn-certificar-verde:hover { transform: scale(1.02); box-shadow: 0 6px 15px rgba(46, 204, 113, 0.5) !important; }

/* Botão Publicar Confissão */
#btn-publicar-confissao { width: 100% !important; padding: 16px !important; border-radius: 30px !important; background: linear-gradient(45deg, #d35400, #e67e22) !important; color: white !important; font-size: 15px !important; font-weight: 900 !important; border: none !important; box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4) !important; cursor: pointer !important; text-transform: uppercase !important; margin-top: 20px !important; display: flex !important; align-items: center !important; justify-content: center !important; letter-spacing: 1px !important; }
#confessar-screen textarea { border-radius: 15px !important; border: 1px solid #ccc !important; padding: 15px !important; font-size: 15px !important; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important; width: 100%; box-sizing: border-box; }

/* =========================================
   8. SELOS E BADGES (NOME E PAINEL)
   ========================================= */
.selo-verificado { display: inline-flex !important; align-items: center; justify-content: center; width: 15px; height: 15px; background: linear-gradient(135deg, #00a2ff, #0066ff) !important; color: white !important; border-radius: 50%; margin-left: 5px; font-size: 9px !important; vertical-align: middle; border: 1px solid rgba(255,255,255,0.3); flex-shrink: 0; }
.selo-verificado::after { content: '✓'; font-weight: bold; }
.selo-novo { display: inline-flex !important; align-items: center; justify-content: center; background: linear-gradient(135deg, #2ecc71, #27ae60) !important; color: white !important; border-radius: 10px; padding: 2px 6px; margin-left: 5px; font-size: 9px !important; font-weight: 900; vertical-align: middle; box-shadow: 0 2px 4px rgba(46, 204, 113, 0.3); border: 1px solid rgba(255,255,255,0.5); }
.badge-role { display: inline-flex !important; align-items: center; justify-content: center; padding: 2px 6px; border-radius: 8px; color: white !important; font-size: 9px !important; font-weight: bold; margin-left: 2px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.badge-fundador { background: linear-gradient(135deg, #d4af37, #b8860b); }
.badge-admin { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.badge-mod { background: linear-gradient(135deg, #2ecc71, #27ae60); }

/* SELO VIP NOME */
.selo-vip-nome { background: linear-gradient(45deg, #FFD700, #F39C12); color: #fff !important; font-size: 10px !important; font-weight: 900 !important; padding: 2px 6px; border-radius: 6px; margin-left: 6px; text-transform: uppercase; box-shadow: 0 0 8px rgba(255, 215, 0, 0.6); display: inline-flex; align-items: center; letter-spacing: 0.5px; vertical-align: middle; border: 1px solid rgba(255,255,255,0.5); text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.selo-vip-nome::before { content: '👑'; margin-right: 3px; font-size: 11px; }

/* SELO VIP PAINEL/MOBILE */
span.selo-vip-painel, .selo-vip-painel { background-color: #f1c40f !important; color: #000 !important; font-weight: 900 !important; font-size: 11px !important; padding: 2px 8px !important; border-radius: 4px !important; margin-left: 10px !important; border: 1px solid #000 !important; display: inline-flex !important; align-items: center !important; box-shadow: 2px 2px 0px #000 !important; text-transform: uppercase !important; line-height: 1 !important; height: 18px !important; vertical-align: middle !important; }

/* BADGES FOTO VIP */
.avatar-vip-border { position: relative; border: 3px solid #ffd700 !important; box-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important; transition: all 0.3s ease; border-radius: 50% !important; padding: 3px !important; background-clip: content-box; }
.avatar-vip-border::before { content: ''; position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px; border: 2px solid #ffd700; border-radius: 50%; opacity: 0; animation: pulseDourado 2s infinite; pointer-events: none; }
@keyframes pulseDourado { 0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); } 100% { transform: scale(1.15); opacity: 0; box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); } }

.vip-ribbon { display: flex !important; align-items: center !important; justify-content: center !important; content: 'VIP' !important; position: absolute !important; bottom: -10px !important; left: 50% !important; transform: translateX(-50%) !important; background: #FFD700 !important; color: #000 !important; font-size: 11px !important; font-weight: 900 !important; padding: 3px 12px !important; border-radius: 12px !important; border: 2px solid #fff !important; z-index: 100 !important; box-shadow: 0 2px 5px rgba(0,0,0,0.4) !important; text-transform: uppercase !important; letter-spacing: 1px !important; }

/* LIMPEZA PARA AVATARES GRANDES vs PEQUENOS */
#display-avatar, #ver-avatar-container, .profile-avatar { border: 4px solid #fff !important; box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important; position: relative !important; overflow: visible !important; }
#display-avatar.anel-vip, #ver-avatar-container.anel-vip, .profile-avatar.anel-vip { border: 4px solid #fff !important; }

.feed-avatar-small.anel-vip, .story-circle.anel-vip, .radar-avatar.anel-vip { border: 2px solid #FFD700 !important; position: relative !important; overflow: visible !important; }

/* TARJA DE PROMOÇÃO VIP NO TOPO */
#top-promo-banner { background: linear-gradient(90deg, #111111 0%, #2c2c2c 100%) !important; color: #f1c40f !important; border-bottom: 2px solid #f1c40f !important; box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important; padding: 10px 20px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; }
#top-promo-banner .promo-text { font-size: 15px !important; font-weight: bold !important; letter-spacing: 0.5px !important; text-shadow: 1px 1px 3px #000000 !important; display: flex !important; align-items: center !important; gap: 8px !important; }
#top-promo-banner .promo-btn { background: linear-gradient(45deg, #FFD700, #F39C12) !important; color: #111 !important; border: none !important; padding: 8px 20px !important; border-radius: 25px !important; font-weight: 900 !important; font-size: 12px !important; cursor: pointer !important; box-shadow: 0 2px 10px rgba(241, 196, 15, 0.4) !important; text-transform: uppercase !important; transition: transform 0.2s !important; margin-right: 10px !important; }
#top-promo-banner .promo-btn:hover { transform: scale(1.05) !important; }
#top-promo-banner .promo-close { color: #ffffff !important; background: rgba(255, 255, 255, 0.15) !important; border: none !important; border-radius: 50% !important; width: 28px !important; height: 28px !important; font-size: 18px !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; }
#top-promo-banner .promo-close:hover { background: rgba(255, 0, 0, 0.6) !important; }

/* TRAVA DE VÍDEO VIP */
.video-vip-lock { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 10; border-radius: 10px; text-align: center; padding: 10px; }
.video-vip-lock span { color: #f1c40f; font-size: 30px; margin-bottom: 5px; }
.video-vip-lock p { color: white; font-size: 11px; font-weight: bold; margin-bottom: 10px; }
.btn-lock-vip { background: linear-gradient(45deg, #f1c40f, #f39c12); color: #111; border: none; padding: 8px 15px; border-radius: 20px; font-weight: 900; font-size: 10px; cursor: pointer; }

/* =========================================
   9. LOJA VIP E ADMIN
   ========================================= */
.vip-plans-grid { display: flex; flex-direction: column; gap: 15px; padding: 0 15px 30px 15px; max-width: 600px; margin: 0 auto; }
@media (min-width: 768px) { .vip-plans-grid { flex-direction: row; align-items: center; justify-content: center; } }
.vip-plan-modern { background: #fff; border-radius: 16px; padding: 25px 20px; text-align: center; border: 1px solid #eee; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative; transition: transform 0.2s; cursor: pointer; flex: 1; }
.vip-plan-modern:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.vip-plan-modern.destaque { border: 2px solid #f1c40f; background: linear-gradient(to bottom, #fffdf0, #ffffff); transform: scale(1.03); box-shadow: 0 8px 30px rgba(241, 196, 15, 0.2); z-index: 2; }
.vip-plan-modern.destaque:hover { transform: scale(1.05); }
.vip-ribbon-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(45deg, #f1c40f, #e67e22); color: white; font-size: 10px; font-weight: 900; padding: 4px 15px; border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.vip-plan-title { font-size: 14px; font-weight: 800; color: #888; letter-spacing: 1px; margin-bottom: 10px; }
.vip-plan-modern.destaque .vip-plan-title { color: #d35400; }
.vip-plan-price { font-size: 32px; font-weight: 900; color: #1c1e21; margin-bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.vip-coin-icon { font-size: 20px; }
.vip-plan-desc { font-size: 13px; color: #666; margin-bottom: 20px; }
.vip-plan-btn { width: 100%; background: #f0f2f5; color: #333; border: none; padding: 12px; border-radius: 25px; font-weight: bold; font-size: 13px; cursor: pointer; transition: background 0.2s; }
.vip-plan-btn.destaque-btn { background: linear-gradient(45deg, #f1c40f, #f39c12); color: white; box-shadow: 0 4px 10px rgba(241, 196, 15, 0.4); }

.store-packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1000px; margin: 20px auto; }
.coin-package-card { background: #fff; border-radius: 15px; padding: 25px; text-align: center; border: 1px solid #eee; box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; align-items: center; position: relative; }
.coin-amount-text { font-size: 24px; font-weight: 900; color: #2f3542; margin: 10px 0 2px 0; }
.coin-bonus-text { font-size: 11px; color: #2ecc71; font-weight: bold; margin-bottom: 15px; min-height: 15px; }
.btn-buy-package { background: #f1f2f6; color: #2f3542; border: none; padding: 10px 0; border-radius: 20px; font-weight: bold; font-size: 15px; width: 90%; cursor: pointer; }
.coin-package-card.popular .btn-buy-package { background: #ff4757; color: white; }
.coin-package-card.best-value .btn-buy-package { background: linear-gradient(45deg, #f1c40f, #e67e22); color: white; }

#admin-screen input { width: 100% !important; max-width: 400px !important; padding: 10px !important; margin: 5px 0 15px 0 !important; border: 1px solid #ddd !important; border-radius: 8px !important; display: block !important; }
#admin-screen h4 { margin-bottom: 20px; color: #333; }
#admin-screen label { font-size: 12px; font-weight: bold; color: #666; display: block; }

/* =========================================
   10. MODO ESCURO E MODAIS GENÉRICOS 🌙
   ========================================= */
body.dark-mode {
    --cor-fundo: #18191a !important; 
    --cor-card: #242526 !important;  
    --cor-texto: #ffffff !important; 
    --cor-borda: #3e4042 !important; 
    background-color: var(--cor-fundo) !important;
}
body.dark-mode #chat-footer-bar, body.dark-mode .chat-footer-container { background-color: #242526 !important; border-color: #3e4042 !important; }
body.dark-mode .chat-input-field, body.dark-mode #msg-input { background-color: #3a3b3c !important; color: #ffffff !important; }
body.dark-mode #chat-footer-bar button, body.dark-mode .chat-icon-btn { color: #e4e6eb !important; }
body.dark-mode #barra-online span { color: #fff !important; }
body.dark-mode .coin-package-card { background-color: #242526 !important; border: 1px solid #3e4042 !important; }
body.dark-mode .coin-amount-text { color: #fff !important; }

.modal-padrao { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); align-items: center; justify-content: center; }
.modal-card { background: white; width: 90%; max-width: 400px; padding: 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

/* =========================================
   11. DESKTOP/PC REGRAS DE LAYOUT GERAIS
   ========================================= */
@media (min-width: 992px) {
    .main-header, .sidebar-menu, .bottom-nav, #top-promo-banner, .container { display: none !important; }
    /* Exceção: As telas precisam respeitar o menu lateral se ele existir */
    .screen { margin-left: 280px !important; width: calc(100% - 280px) !important; padding-left: 30px !important; padding-right: 30px !important; }
    
    .sidebar-menu { display: flex !important; left: 0 !important; top: 0 !important; width: 280px !important; height: 100vh !important; max-height: 100vh !important; flex-direction: column !important; border-radius: 0 !important; border-right: 1px solid var(--cor-borda) !important; box-shadow: none !important; z-index: 1500 !important; background: var(--cor-card) !important; position: fixed !important; }
    .sidebar-menu .modern-header { padding: 25px 20px !important; border-radius: 0 !important; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 15px !important; text-align: left !important; box-shadow: none !important; border-bottom: 1px solid rgba(255,255,255,0.2) !important; }
    .sidebar-menu .modern-avatar { width: 50px !important; height: 50px !important; margin: 0 !important; flex-shrink: 0 !important; border-width: 2px !important; }
    .sidebar-menu .modern-email { font-size: 15px !important; margin: 0 !important; word-break: break-word !important; }
    .sidebar-menu .menu-scroll-area { padding: 15px 10px 90px 10px !important; background: transparent !important; }
    .sidebar-menu .menu-item { padding: 12px 15px !important; margin-bottom: 4px !important; font-size: 13px !important; border-radius: 8px !important; }
    .sidebar-menu .menu-item .material-icons-round { font-size: 20px !important; margin-right: 12px !important; }
    
    .main-header { display: flex !important; width: calc(100% - 280px) !important; left: 280px !important; top: 0 !important; }
    #top-promo-banner { display: flex !important; position: absolute !important; top: 60px !important; left: 280px !important; width: calc(100% - 280px) !important; z-index: 1400 !important; box-sizing: border-box !important; }
    
    main.container, .container { display: block !important; margin-left: 280px !important; width: calc(100% - 280px) !important; max-width: 100% !important; padding-top: 110px !important; padding-bottom: 100px !important; }
    .screen { max-width: 900px !important; margin-left: auto !important; margin-right: auto !important; }

    .bottom-nav, #menu-rodape { display: flex !important; justify-content: center !important; gap: 60px !important; padding-left: 280px !important; height: 70px !important; }
    .main-header button[onclick="window.toggleMenu()"] { display: none !important; }
    .overlay-menu { display: none !important; }

    /* Centraliza vídeos no PC */
    #videos-screen.active { left: 280px !important; width: calc(100% - 280px) !important; display: block !important; height: calc(100vh - 60px) !important; top: 60px !important; background: var(--cor-fundo) !important; overflow-y: auto !important; }
    #feed-somente-videos { max-width: 500px !important; margin: 0 auto !important; padding: 20px 10px !important; display: flex; flex-direction: column; gap: 15px; }
    #feed-somente-videos video { max-height: 80vh !important; width: 100% !important; object-fit: contain !important; border-radius: 12px; background: #000; }

    /* Perfil PC (Sexlog Style) */
    #perfil-screen, #ver-perfil-screen { max-width: 850px !important; margin: 20px auto !important; background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); padding-bottom: 20px !important; }
    .profile-cover { height: 250px !important; border-radius: 8px 8px 0 0 !important; }
    #perfil-screen > div:nth-child(2), #ver-perfil-screen > div:nth-child(2) { position: relative; }
    .profile-avatar { position: absolute !important; top: -90px !important; left: 30px !important; width: 160px !important; height: 160px !important; border: 4px solid #fff !important; margin: 0 !important; }
    #display-nickname-container, #ver-nickname-container, #display-identidade, #ver-identidade, #perfil-screen > div > div[style*="display:flex; gap:15px;"], #ver-perfil-screen > div > div[style*="display:flex; gap:15px;"] { text-align: left !important; justify-content: flex-start !important; margin-left: 210px !important; }
    #display-nickname-container, #ver-nickname-container { padding-top: 10px !important; font-size: 26px !important; }
    .profile-actions-row { margin-left: 210px !important; justify-content: flex-start !important; padding: 0 !important; }
    .btn-profile-primary, .btn-profile-secondary { max-width: 150px !important; }
    .pro-tabs { justify-content: flex-start !important; padding-left: 30px !important; border-top: none !important; }
    .pro-tab { min-width: auto !important; padding: 15px 25px !important; font-size: 14px !important; }

   /* CHAT PC — OCUPA TODA A ÁREA AO LADO DO MENU */
#chat-conversa-screen {
    position: fixed !important;
    top: 0 !important;
    left: 280px !important;
    right: 0 !important;
    width: calc(100% - 280px) !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

#chat-footer-bar,
.chat-footer-container {
    left: 280px !important;
    width: calc(100% - 280px) !important;
    bottom: 0 !important;
}
}

/* Barra de Matches do Chat */
.matches-container { display: flex; gap: 15px; padding: 15px 15px 10px 15px; overflow-x: auto; scrollbar-width: none; background: var(--cor-fundo); border-bottom: 1px solid var(--cor-borda); }
.matches-container::-webkit-scrollbar { display: none; }
.match-item { display: flex; flex-direction: column; align-items: center; min-width: 65px; max-width: 65px; cursor: pointer; transition: transform 0.2s ease; }
.match-item:hover { transform: scale(1.05); }
.match-avatar-wrapper { position: relative; padding: 3px; border-radius: 50%; background: linear-gradient(45deg, #ff4b2b, #ff416c); margin-bottom: 6px; box-shadow: 0 4px 10px rgba(255, 65, 108, 0.3); }
.match-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--cor-card); background-size: cover; background-position: center; background-color: #ddd; }
.match-name { font-size: 11px; font-weight: 800; color: var(--cor-texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; text-align: center; }
.matches-title-row { padding: 15px 15px 0 15px; background: var(--cor-fundo); display: flex; justify-content: space-between; align-items: center; }
.matches-title-row h3 { margin: 0; font-size: 15px; font-weight: 900; color: var(--cor-texto); display: flex; align-items: center; gap: 6px; }
.matches-badge { background: linear-gradient(45deg, #ff0066, #ff5e00); color: white; font-size: 10px; font-weight: 900; padding: 2px 8px; border-radius: 12px; }

/* =========================================
   12. CORREÇÃO DEFINITIVA DE LEGENDA E NOMES NO MODO CLARO 🚀
   ========================================= */

/* =========================================================
   CORREÇÃO DEFINITIVA: NOME DE QUEM PUBLICOU NO FEED 🚀
   ========================================================= */



/* 2. MODO ESCURO -> Força o nome a ser BRANCO (#ffffff) */
body.dark-mode .novo-flog-name,
/* Nomes no feed atualizados com a tag "seguir" na frente idêntica ao perfil */
.novo-flog-header .novo-flog-name::after,
.novo-flog-name::after {
    content: 'seguir';
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1877f2 !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 2px 6px !important;
    margin-left: 6px !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}
    font-weight: 800 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
}

/* 2. Garante que as datas no card fiquem cinza-claras e visíveis */
.novo-flog-card .novo-flog-date,
.novo-flog-card .novo-flog-header .novo-flog-date {
    color: #cccccc !important;
}

/* 3. Garante que os nomes nos Stories, Perfil e Matches fiquem escuros no modo claro e brancos no modo escuro */
body:not(.dark-mode) #barra-online span,
body:not(.dark-mode) .story-name-fb,
body:not(.dark-mode) #display-nickname,
body:not(.dark-mode) #ver-nickname,
body:not(.dark-mode) .match-name,
body:not(.dark-mode) .matches-title-row h3 {
    color: #050505 !important;
}
/* =========================================================
   CORREÇÃO DEFINITIVA: NOMES SEMPRE VISÍVEIS NO CARD VERDE 🚀
   ========================================================= */

/* 1. Como o card é verde escuro em TODOS os modos, força todo texto, link e 
      nome no cabeçalho da publicação a ser BRANCO (#ffffff) e com sombra nítida! */
.novo-flog-card,
.novo-flog-card .novo-flog-name,
.novo-flog-card .novo-flog-header *,
.novo-flog-card .novo-flog-header a,
.novo-flog-card .novo-flog-header span,
.novo-flog-card .novo-flog-header strong,
.novo-flog-card .novo-flog-header h1,
.novo-flog-card .novo-flog-header h2,
.novo-flog-card .novo-flog-header h3,
.novo-flog-card .novo-flog-header h4,
.novo-flog-card .novo-flog-header p,
.novo-flog-card .novo-flog-caption,
body:not(.dark-mode) .novo-flog-card .novo-flog-name,
body:not(.dark-mode) .novo-flog-card .novo-flog-header *,
body:not(.dark-mode) .novo-flog-card .novo-flog-header a,
body:not(.dark-mode) .novo-flog-card .novo-flog-header span,
body:not(.dark-mode) .novo-flog-card .novo-flog-header strong {
    color: #ffffff !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* 2. Mantém a data e hora da postagem num cinza claro para diferenciar do nome */
.novo-flog-card .novo-flog-date,
.novo-flog-card .novo-flog-header .novo-flog-date,
body:not(.dark-mode) .novo-flog-card .novo-flog-date {
    color: #d1d1d1 !important;
    font-size: 13px !important;
    font-weight: normal !important;
}

/* 3. Garante que na caixa de CRIAR publicação (que tem fundo branco no Modo Claro), o texto fique escuro para dar leitura */
body:not(.dark-mode) .fb-create-post-card,
body:not(.dark-mode) .fb-create-post-card span,
body:not(.dark-mode) .fb-create-post-card strong {
    color: #050505 !important;
}
/* Força as telas a começarem mais perto do topo roxo (60px da altura do header) */
.screen {
    padding: 10px 8px 0 8px !important;
}

/* Remove a margem superior do primeiro bloco dentro da tela de feed */
#feed-screen > div:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
button.seguindo,

/* ========================================================
   SELO EMPRESA UNIVERSAL (PC E MOBILE) 🚀
   ======================================================== */
.anel-vip, 
#display-avatar.anel-vip, 
#ver-avatar-container.anel-vip, 
.feed-avatar-small.anel-vip,
.story-circle.anel-vip,
.radar-avatar.anel-vip {
    border: 3px solid #FFD700 !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7) !important;
    position: relative !important;
    overflow: visible !important;
    display: block !important;
}

.anel-vip::after {
    content: 'EMPRESA' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(45deg, #f1c40f, #d35400) !important;
    color: #000 !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    border: 1px solid #fff !important;
    z-index: 100 !important;
    display: flex !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4) !important;
}

/* Fix para a foto de perfil visitante (aquela que fica pendurada na capa) */
#ver-avatar-container.anel-vip {
    z-index: 50 !important;
}

/* ========================================================
   CORREÇÃO DEFINITIVA: ALINHAMENTO DOS VÍDEOS 🚀
   ======================================================== */
#videos-screen.active {
    display: block !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: 100vh !important;
    z-index: 50 !important;
    background: var(--cor-fundo) !important;
    overflow-y: auto !important;
    padding-bottom: 120px !important;
    box-sizing: border-box !important;
}

#videos-screen #feed-somente-videos {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
}

/* ========================================================
   CORREÇÃO DEFINITIVA: CARD DE VÍDEO ESTICADO NA TELA TODA 🚀
   ======================================================== */
#videos-screen #feed-somente-videos {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 0 !important;
}

#videos-screen #feed-somente-videos .novo-flog-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
    background: #18191a !important;
    border-radius: 0 !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#videos-screen #feed-somente-videos .novo-flog-media-wrapper {
    width: 100% !important;
    height: auto !important;
    min-height: 400px !important;
    max-height: 75vh !important;
    background: #000 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#videos-screen #feed-somente-videos .novo-flog-video {
    width: 100% !important;
    height: auto !important;
    max-height: 75vh !important;
    object-fit: contain !important;
    background: #000 !important;
    filter: none !important;
}

/* Garante visibilidade total da barra de ações (curtir e comentar) */
#videos-screen #feed-somente-videos .novo-flog-actions-bar {
    background: #242526 !important;
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #3e4042 !important;
    position: relative !important;
    z-index: 10 !important;
}

#videos-screen #feed-somente-videos .action-btn-item {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    opacity: 1 !important;
}

/* ========================================================
   CORREÇÃO DEFINITIVA: PLAYER DE VÍDEO ESTÁVEL 🚀
   ======================================================== */
#videos-screen #feed-somente-videos {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 0 !important;
}

#videos-screen #feed-somente-videos .novo-flog-card {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    background: #18191a !important;
    border-radius: 0 !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#videos-screen #feed-somente-videos .novo-flog-media-wrapper {
    width: 100% !important;
    height: 75vh !important; /* Altura de 75% da tela para ficar estilo Reels/TikTok */
    min-height: 400px !important;
    background: transparent !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

#videos-screen #feed-somente-videos .novo-flog-video,
#videos-screen #feed-somente-videos video {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important; /* MÁGICA AQUI: O 'cover' faz o vídeo preencher tudo e matar as tarjas pretas */
    background: transparent !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Garante visibilidade total da barra de ações (curtir e comentar) */
#videos-screen #feed-somente-videos .novo-flog-actions-bar {
    background: #242526 !important;
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #3e4042 !important;
    position: relative !important;
    z-index: 10 !important;
}

#videos-screen #feed-somente-videos .action-btn-item {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    opacity: 1 !important;
}

/* ========================================================
   MODO FACEBOOK: CARDS EM TELA TODA (EDGE-TO-EDGE)
   ======================================================== */

/* 1. Remove o espaçamento lateral da tela para o card encostar nas bordas */
#feed-screen {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
}

/* 2. Achata o card, remove animações verdes e adiciona o separador clássico */
.novo-flog-card {
    width: 100vw !important; /* Força a largura total da tela */
    max-width: 100% !important;
    background: var(--cor-card) !important;
    border-radius: 0 !important; /* Remove o arredondamento */
    border: none !important;
    border-bottom: 8px solid #c9ccd1 !important; /* Barra cinza grossa de separação */
    box-shadow: none !important;
    margin-bottom: 0 !important;
    animation: none !important; /* Mata o efeito de cor piscando */
}

/* 3. Garante que os textos e ícones não fiquem colados nas bordas laterais do celular */
.novo-flog-header, 
.novo-flog-caption, 
.novo-flog-actions-bar, 
.novo-flog-stats-bar, 
.novo-flog-input-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 4. No Modo Escuro, a barra separadora vira preta para não ofuscar a vista */
body.dark-mode .novo-flog-card {
    border-bottom: 8px solid #000000 !important;
}

/* 5. Garante que as fotos e vídeos estiquem perfeitamente de ponta a ponta */
.novo-flog-media-wrapper, 
.novo-flog-img, 
.novo-flog-video {
    width: 100% !important;
    border-radius: 0 !important;
}

/* ========================================================
   CORREÇÃO DEFINITIVA FACEBOOK: CORES, TEXTOS E CABEÇALHO
   ======================================================== */

/* 1. Fundo do card todo branco e o separador cinza clássico no rodapé */
.novo-flog-card {
    background: #ffffff !important;
    border: none !important;
    border-bottom: 8px solid #c9ccd1 !important; /* Barra de separação idêntica ao Face */
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* 2. Remove o fundo cinza feio do cabeçalho */
.novo-flog-header {
    background: transparent !important;
    padding: 12px 15px !important;
}

/* 3. MATA o desfoque (sombra) e deixa o texto escuro e nítido no Modo Claro */
body:not(.dark-mode) .novo-flog-card,
body:not(.dark-mode) .novo-flog-card .novo-flog-name,
body:not(.dark-mode) .novo-flog-card .novo-flog-header *,
body:not(.dark-mode) .novo-flog-card .novo-flog-caption,
body:not(.dark-mode) .novo-flog-card .novo-flog-header a,
body:not(.dark-mode) .novo-flog-card .novo-flog-header span {
    color: #050505 !important;
    text-shadow: none !important; /* Aqui removemos o borrão preto */
    font-weight: 600 !important;
}

/* 4. A data/hora precisa ficar cinza clarinho */
body:not(.dark-mode) .novo-flog-card .novo-flog-date {
    color: #65676b !important;
    font-size: 12px !important;
    font-weight: normal !important;
}

/* 5. Linhas de separação fininhas na área de Curtir/Comentar */
.novo-flog-actions-bar {
    background: transparent !important;
    border-top: 1px solid #ced0d4 !important;
    border-bottom: 1px solid #ced0d4 !important;
    padding: 4px 16px !important;
}

/* 6. Cor dos botões de Curtir e Comentar */
body:not(.dark-mode) .action-btn-item {
    color: #65676b !important;
    font-weight: 600 !important;
}
@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
/* =========================================
   ESTILIZAÇÃO PREMIUM DO MENU LATERAL (SIDEBAR) 🚀
   ========================================= */

.sidebar-menu {
    background: #ffffff !important;
    border-top-right-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.15) !important;
}

/* Cabeçalho do Menu com Gradiente Sofisticado */
.sidebar-menu .modern-header {
    background: linear-gradient(135deg, #4b0082 0%, #8e44ad 100%) !important;
    padding: 35px 20px 25px !important;
    border-bottom-right-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.3) !important;
}

.sidebar-menu .modern-avatar {
    width: 75px !important;
    height: 75px !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
}

.sidebar-menu .modern-email {
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Área de Rolagem dos Itens */
.sidebar-menu .modern-scroll, 
.sidebar-menu .menu-scroll-area {
    padding: 15px 12px !important;
    background: #fafafa !important;
}

/* Estilo Individual dos Itens do Menu */
.sidebar-menu .menu-item {
    padding: 14px 18px !important;
    margin-bottom: 8px !important;
    border-radius: 14px !important;
    border: none !important;
    background: transparent !important;
    color: #2c3e50 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar-menu .menu-item .material-icons-round {
    font-size: 22px !important;
    margin-right: 14px !important;
    color: #7f8c8d !important;
    transition: color 0.25s ease !important;
}

/* Efeito Hover Fluido (Ao passar o rato) */
.sidebar-menu .menu-item:hover, 
.sidebar-menu .menu-item:active {
    background: linear-gradient(135deg, #ff0050 0%, #ff3377 100%) !important;
    color: #ffffff !important;
    transform: translateX(6px) !important;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3) !important;
}

.sidebar-menu .menu-item:hover .material-icons-round,
.sidebar-menu .menu-item:active .material-icons-round {
    color: #ffffff !important;
}

/* Adaptação Automática para o Modo Escuro */
body.dark-mode .sidebar-menu {
    background: #18191a !important;
    border-right: 1px solid #3e4042 !important;
}

body.dark-mode .sidebar-menu .modern-scroll, 
body.dark-mode .sidebar-menu .menu-scroll-area {
    background: #18191a !important;
}

body.dark-mode .sidebar-menu .menu-item {
    color: #e4e6eb !important;
}

body.dark-mode .sidebar-menu .menu-item:hover,
body.dark-mode .sidebar-menu .menu-item:active {
    background: linear-gradient(135deg, #ff0050 0%, #ff3377 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3) !important;
}

/* CORREÇÃO FINAL — CAMPO DE DIGITAÇÃO DOS COMENTÁRIOS */
.novo-flog-input-area .novo-flog-input,
.novo-flog-input-area input.novo-flog-input {
    background-color: #f0f2f5 !important;
    background-image: none !important;
    color: #050505 !important;
    border: 1px solid #d1d5db !important;
    opacity: 1 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.novo-flog-input-area .novo-flog-input::placeholder {
    color: #65676b !important;
    opacity: 1 !important;
}

body.dark-mode .novo-flog-input-area .novo-flog-input,
body.dark-mode .novo-flog-input-area input.novo-flog-input {
    background-color: #3a3b3c !important;
    color: #fff !important;
    border-color: #555 !important;
}
/* CORRIGE ESPAÇO CINZA ACIMA DO CHAT NO PC */
@media (min-width: 992px) {
    body:has(#chat-conversa-screen.active) main.container,
    body:has(#chat-conversa-screen.active) .container {
        padding-top: 0 !important;
    }

    #chat-conversa-screen.active {
        top: 0 !important;
        margin-top: 0 !important;
        transform: none !important;
    }
}
/* LAYOUT PC - CLUBE DOS DESEJOS */
@media (min-width: 992px) {

    /* Esconde o menu lateral */
    #sidebar-menu,
    #overlay-menu {
        display: none !important;
    }

    /* Esconde a barra inferior do celular */
    #menu-rodape {
        display: none !important;
    }

    /* Centraliza a área principal */
    body {
        padding-left: 0 !important;
        padding-bottom: 0 !important;
    }

    main,
    main.container,
    .main-content {
        margin-left: auto !important;
        margin-right: auto !important;
        left: auto !important;
    }
}
/* CABEÇALHO PC IGUAL AO CELULAR */
@media screen and (min-width: 992px) {

    #main-header,
    .main-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        height: 60px !important;
        padding: 0 15px !important;

        background: linear-gradient(
            -45deg,
            #4b0082,
            #2c3e50,
            #8e44ad,
            #2980b9
        ) !important;

        background-size: 400% 400% !important;
        animation: gradientAnimation 15s ease infinite !important;

        box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
    }

    #header-app-name {
        font-family: 'Great Vibes', cursive !important;
        font-size: 28px !important;
        color: white !important;
        text-align: center !important;
        flex: 1 !important;
        margin: 0 !important;
        padding: 0 10px !important;
        white-space: nowrap !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
    }

    .header-icon-img {
        height: 85px !important;
        width: auto !important;
        margin-right: 15px !important;
        margin-top: -22px !important;
        filter: drop-shadow(0 0 15px rgba(255,215,0,0.7)) !important;
    }

    #menu-horizontal-pc {
        flex: 0 1 auto !important;
    }
}
/* STORIES ABAIXO DO CABEÇALHO SOMENTE NO PC */
@media screen and (min-width: 992px) {
    #feed-screen {
        padding-top: 110px !important;
    }

    body .bottom-nav,
    body #menu-rodape {
        display: none !important;
        visibility: hidden !important;
    }
}
/* CORREÇÃO EVENTOS E RESENHAS — SOMENTE PC */
@media screen and (min-width: 992px) {

    #casas-screen {
        display: block;
        width: calc(100% - 280px) !important;
        max-width: none !important;
        margin-left: 280px !important;
        margin-right: 0 !important;
        padding: 110px 25px 40px !important;
        box-sizing: border-box !important;
    }

    #lista-eventos {
        display: block !important;
        width: 100% !important;
        max-width: 900px !important;
        margin: 0 auto !important;
    }
}
/* =========================================
   CASAS, EVENTOS E RESENHAS — VISUAL MODERNO
   ========================================= */

#casas-screen {
    background: var(--cor-fundo) !important;
    min-height: 100vh;
}

#casas-screen #lista-eventos {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto 50px;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
    align-items: start;
}

/* Cards de eventos */
#casas-screen #lista-eventos > .fb-card {
    background: var(--cor-card) !important;
    border: 1px solid var(--cor-borda) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09) !important;
    margin: 0 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#casas-screen #lista-eventos > .fb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16) !important;
}

/* Títulos */
#casas-screen #lista-eventos h3 {
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.35;
    color: var(--cor-texto) !important;
}

/* Fotos dos eventos */
#casas-screen #lista-eventos .fb-card img {
    width: 100% !important;
    max-height: 320px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
}

/* Botões */
#casas-screen #lista-eventos button {
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-weight: 800 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

#casas-screen #lista-eventos button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* Formulário de publicação */
#casas-screen #form-criar-evento {
    background: var(--cor-card) !important;
    border: 1px solid var(--cor-borda) !important;
    border-radius: 22px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 850px;
    margin: 20px auto;
}

#casas-screen #form-criar-evento input,
#casas-screen #form-criar-evento textarea,
#casas-screen #form-criar-evento select {
    max-width: 100%;
    border-radius: 12px !important;
    border: 1px solid var(--cor-borda) !important;
    padding: 12px !important;
    font-size: 14px !important;
}

/* Desktop */
@media (min-width: 992px) {
    #casas-screen #lista-eventos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Celular */
@media (max-width: 767px) {
    #casas-screen #lista-eventos {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 8px;
    }

    #casas-screen #form-criar-evento {
        padding: 16px !important;
        margin: 12px 8px;
    }

    #casas-screen #lista-eventos h3 {
        font-size: 18px !important;
    }
}
/* EVENTOS E RESENHAS — FORMULÁRIO MAIOR NO PC */
@media screen and (min-width: 992px) {

    #casas-screen {
        width: calc(100% - 280px) !important;
        max-width: none !important;
        margin-left: 280px !important;
        margin-right: 0 !important;
        padding: 110px 30px 50px !important;
    }

    #casas-screen #form-criar-evento {
        display: block;
        width: 100% !important;
        max-width: 950px !important;
        margin: 20px auto !important;
        padding: 35px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }

    #casas-screen #form-criar-evento input:not([type="checkbox"]),
    #casas-screen #form-criar-evento select,
    #casas-screen #form-criar-evento textarea {
        width: 100%;
        min-height: 45px;
        font-size: 15px !important;
    }

    #casas-screen #form-criar-evento label {
        font-size: 14px !important;
    }

    #casas-screen #form-criar-evento button {
        font-size: 15px !important;
        padding: 13px 20px !important;
        border-radius: 12px !important;
    }
}

.btn-confessionario {
    background: linear-gradient(110deg, #ff174e, #ff762a);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    padding: 11px 18px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 0 14px rgba(255, 55, 95, 0.55);
    animation: brilhoConfessionario 2.5s ease-in-out infinite;
    transition: transform 0.2s;
}

.btn-confessionario:hover {
    transform: scale(1.06);
}

@keyframes brilhoConfessionario {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255,55,95,0.4);
    }
    50% {
        box-shadow: 0 0 22px rgba(255,100,40,0.85);
    }
}

@media (max-width: 600px) {
    .btn-confessionario {
        font-size: 10px;
        padding: 9px 11px;
        letter-spacing: 0;
    }
}
