/* ── Family School Video Engage v2.3 ── */
.fsve-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 4px;
    font-family: inherit;
}
.fsve-btn-like,
.fsve-btn-comentar {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 2px solid #FFFFFF;
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}
.fsve-btn-like:hover,
.fsve-btn-like.curtido {
    background: #4A0E5C;
    color: #FFD700;
    border-color: #4A0E5C;
}
.fsve-btn-comentar:hover {
    background: #4A0E5C;
    color: #ffffff;
    border-color: #4A0E5C;
}
.fsve-btn-like.curtido .fsve-like-count {
    color: #FFD700;
}
#fsve-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2147483640;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
#fsve-modal {
    background: #fff;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fsve-slide-up 0.25s ease;
}
@keyframes fsve-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
#fsve-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    background: #4A0E5C;
    flex-shrink: 0;
}
#fsve-modal-titulo {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
}
#fsve-fechar {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
#fsve-modal-lista {
    flex: 1;
    overflow-y: auto;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}
.fsve-comentario {
    background: #f9f4fc;
    border-left: 3px solid #4A0E5C;
    border-radius: 6px;
    padding: 10px 14px;
}
.fsve-comentario-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
.fsve-nome {
    font-weight: 700;
    color: #4A0E5C;
    font-size: 14px;
}
.fsve-data {
    color: #999;
    font-size: 12px;
}
.fsve-btn-apagar {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #cc0000;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}
.fsve-btn-apagar:hover { background: #ffe5e5; }
.fsve-texto {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
.fsve-sem-comentarios {
    color: #999;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}
#fsve-modal-form {
    border-top: 1px solid #eee;
    padding: 12px 18px;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#fsve-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #4A0E5C;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    resize: none;
    font-family: inherit;
    outline: none;
    display: block;
}
#fsve-textarea:focus { border-color: #FFD700; }
#fsve-publicar {
    width: 100%;
    background: #4A0E5C;
    color: #FFD700;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: block;
}
#fsve-publicar:hover { opacity: 0.85; }

/* ── Respostas aninhadas ── */
.fsve-btn-responder {
    background: transparent;
    border: none;
    color: #4A0E5C;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 0;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
}
.fsve-btn-responder:hover { text-decoration: underline; }

.fsve-form-resposta {
    margin-top: 8px;
}

.fsve-textarea-resposta {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #4A0E5C;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    resize: none;
    font-family: inherit;
    outline: none;
    display: block;
}
.fsve-textarea-resposta:focus { border-color: #FFD700; }

.fsve-resposta-btns {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.fsve-btn-enviar-resposta {
    background: #4A0E5C;
    color: #FFD700;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.fsve-btn-cancelar-resposta {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    color: #666;
}

.fsve-respostas {
    margin-left: 16px;
    margin-top: 8px;
    border-left: 2px solid #e0d0f0;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fsve-resposta {
    background: #f0eaf8;
    border-radius: 6px;
    padding: 8px 12px;
}

/* ── Botões nos artigos (fundo branco) ── */
.fsae-engage-wrap .fsve-btn-like,
.fsae-engage-wrap .fsve-btn-comentar {
    border-color: #4A0E5C !important;
    color: #4A0E5C !important;
}

.fsae-engage-wrap .fsve-btn-like:hover,
.fsae-engage-wrap .fsve-btn-like.curtido {
    background: #4A0E5C !important;
    color: #FFD700 !important;
    border-color: #4A0E5C !important;
}

.fsae-engage-wrap .fsve-btn-like.curtido .fsve-like-count {
    color: #FFD700 !important;
}

.fsae-engage-wrap .fsve-btn-comentar:hover {
    background: #4A0E5C !important;
    color: #ffffff !important;
    border-color: #4A0E5C !important;
}