/* ============================================================
   Pergunte ao Pastor — Public CSS
   ============================================================ */
:root {
    --prf-primary:       #534AB7;
    --prf-primary-light: #534AB722;
    --prf-primary-dark:  #3C3489;
    --prf-featured:      #EF9F27;
    --prf-success:       #1D9E75;
    --prf-danger:        #A32D2D;
    --prf-radius:        10px;
    --prf-radius-sm:     6px;
    --prf-shadow:        0 1px 4px rgba(0,0,0,.07);
}

/* BASE */
.prf-qa-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.prf-qa-wrap { font-family: inherit; color: #1a1a1a; width: 100%; padding-bottom: 80px; overflow-x: hidden; box-sizing: border-box; }
/* Desktop — largura máxima centralizada para leitura confortável */
@media (min-width: 681px) {
    .prf-qa-wrap {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* Garantir alinhamento à esquerda em todos os textos de conteúdo */
.prf-card-title, .prf-card-preview,
.prf-fg label, .prf-fg input, .prf-fg textarea { text-align: left; }
/* Modal fora do .prf-qa-wrap — reset explícito */
.prf-modal, .prf-modal * { text-align: left; }
.prf-modal-title { text-align: left; font-size: 17px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; padding-right: 30px; line-height: 1.4; }
.prf-modal-details { text-align: left; font-size: 14px; color: #555; line-height: 1.65; margin-bottom: 12px; }
.prf-modal-answer-text { text-align: left; }
.prf-modal-answer-label { text-align: left; }
/* Exceções que devem permanecer centralizadas dentro do modal */
.prf-modal .prf-modal-meta { text-align: left; }

/* HERO */
.prf-hero { background: var(--prf-primary-light); padding: 28px 8px 24px; text-align: center; border-radius: var(--prf-radius); margin-bottom: 4px; }
.prf-pastor-photo-wrap { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 3px solid var(--prf-primary); position: relative; flex-shrink: 0; background-color: #eee; }
/* .prf-pastor-photo não é mais usado — imagem via background-image no wrapper */
.prf-site-title { font-size: 18px; font-weight: 600; color: #2a2580; margin-bottom: 16px; line-height: 1.35; }
.prf-qa-wrap .prf-btn-primary { display: block; width: 100%; background: var(--prf-primary) !important; color: #fff !important; border: none !important; border-radius: var(--prf-radius-sm) !important; padding: 13px 20px !important; font-size: 15px !important; font-weight: 500 !important; cursor: pointer !important; margin-bottom: 14px; font-family: inherit !important; transition: opacity .15s; box-shadow: none !important; }
.prf-qa-wrap .prf-btn-primary:hover { opacity: .88; }
.prf-search-wrap { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ddd; border-radius: var(--prf-radius-sm); padding: 10px 12px; }
.prf-search-icon { font-size: 16px; color: #888; }
.prf-search-input { border: none; outline: none; font-size: 14px; width: 100%; font-family: inherit; background: transparent; }

/* FILTROS */
.prf-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 8px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 32px;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}
.prf-filters > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.prf-dd-wrap { position: relative; min-width: 0; max-width: 100%; box-sizing: border-box; }
.prf-dd-btn { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px; background: #f5f5f7; border: 1px solid #ddd; border-radius: var(--prf-radius-sm); font-family: inherit; cursor: pointer; gap: 3px; overflow: hidden; }
.prf-dd-inner { display: flex; flex-direction: column; text-align: left; overflow: hidden; min-width: 0; flex: 1 1 0%; max-width: 100%; box-sizing: border-box; }
.prf-dd-label { font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: #888; }
.prf-dd-value { font-size: 12px; font-weight: 500; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.prf-dd-arrow { font-size: 8px; color: #888; transition: transform .15s; flex-shrink: 0; flex-grow: 0; }
.prf-dd-btn.open .prf-dd-arrow { transform: rotate(180deg); }
.prf-dd-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: max(100%, 140px);
    max-width: min(200px, 90vw);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--prf-radius-sm);
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
    box-sizing: border-box;
}
.prf-dd-menu-right { left: auto; right: 0; }
.prf-dd-menu.open { display: block; }
.prf-dd-item { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 13px; color: #1a1a1a; background: none; border: none; border-bottom: 1px solid #f0f0f0; cursor: pointer; font-family: inherit; }
.prf-dd-item:last-child { border-bottom: none; }
.prf-dd-item:hover { background: #f8f8f8; }
.prf-dd-item.active { color: var(--prf-primary); font-weight: 500; background: var(--prf-primary-light); }
.prf-dd-item-featured.active { color: #854F0B; background: #FAEEDA; }

/* Filtros em telas muito pequenas — font-size reduzido para caber */
@media (max-width: 360px) {
    .prf-dd-label { font-size: 8px; }
    .prf-dd-value { font-size: 11px; }
    .prf-dd-btn { padding: 6px 6px; }
}

/* BARRA DE RESULTADOS */
.prf-results-bar { padding: 8px 2px; font-size: 12px; color: #888; }

/* CARDS */
.prf-questions-list { overflow: visible; width: 100%; }
.prf-card { background: #fff; border: 1px solid #e8e8e8; border-radius: var(--prf-radius); padding: 14px; margin-bottom: 10px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; cursor: pointer; transition: box-shadow .15s, border-color .15s; width: 100%; box-sizing: border-box; overflow: visible; }
.prf-card:hover { border-color: #bbb; box-shadow: var(--prf-shadow); }
.prf-card.featured { border-left: 3px solid var(--prf-featured); }
.prf-vote-col { display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 2px; }
.prf-vote-btn { background: none; border: 1px solid #ddd; border-radius: var(--prf-radius-sm); width: 30px; height: 28px; font-size: 12px; cursor: pointer; color: #888; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.prf-vote-btn:hover { background: var(--prf-primary-light); border-color: var(--prf-primary); color: var(--prf-primary); }
.prf-vote-btn.voted { background: var(--prf-primary); border-color: var(--prf-primary); color: #fff; }
.prf-vote-btn.voted:hover { opacity: .85; }
.prf-vote-count { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.prf-vote-label { font-size: 9px; color: #aaa; }
.prf-featured-badge { display: inline-flex; align-items: center; gap: 4px; background: #FAEEDA; color: #854F0B; font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 20px; margin-bottom: 5px; }
.prf-card > div:last-child { min-width: 0; }
.prf-card-body { min-width: 0; max-width: 100%; overflow: hidden; }
.prf-card-body > * { min-width: 0; max-width: 100%; }
.prf-card-title { font-size: 14px; font-weight: 500; color: #1a1a1a; margin-bottom: 7px; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; }
.prf-card-preview { font-size: 12px; color: #666; margin-bottom: 7px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.prf-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.prf-card-meta > * { min-width: 0; max-width: 100%; }
.prf-badge { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 20px; background: var(--prf-primary-light); color: var(--prf-primary); white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.prf-answered { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: var(--prf-success); max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.prf-answered-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--prf-success); flex-shrink: 0; }
.prf-pending { font-size: 10px; color: #aaa; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.prf-card-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 6px; min-width: 0; max-width: 100%; }
.prf-card-foot > * { min-width: 0; max-width: 100%; }
.prf-card-foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; flex: 1 1 auto; max-width: 100%; }
.prf-card-foot-meta > * { min-width: 0; max-width: 100%; }
.prf-card-foot-actions { display: flex; justify-content: flex-end; align-items: flex-start; flex: 0 0 auto; min-width: 0; }
.prf-answer-chip { display: inline-flex; align-items: center; gap: 4px; background: #FCEBEB; color: var(--prf-danger); border-radius: 20px; padding: 3px 10px; font-size: 10px; font-weight: 500; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.prf-views { font-size: 10px; color: #aaa; }
.prf-date { font-size: 10px; color: #aaa; }
/* .prf-share-btn — estilo unificado na seção COMPARTILHAMENTO abaixo */

/* LOADING / EMPTY */
.prf-loading, .prf-empty { text-align: center; padding: 32px 16px; color: #aaa; font-size: 14px; }

/* LOAD MORE */
.prf-load-more-wrap { text-align: center; padding: 12px 0; }
.prf-qa-wrap .prf-btn-outline { background: none !important; border: 1px solid var(--prf-primary) !important; color: var(--prf-primary) !important; border-radius: var(--prf-radius-sm) !important; padding: 9px 22px !important; font-size: 13px !important; cursor: pointer !important; font-family: inherit !important; transition: background .15s; box-shadow: none !important; }
.prf-qa-wrap .prf-btn-outline:hover { background: var(--prf-primary-light) !important; }

/* MODAL PERGUNTA COMPLETA */
.prf-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 540px) { .prf-modal-overlay { align-items: center; } }
.prf-modal { background: #fff; border-radius: 16px 16px 0 0; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; overflow-x: visible; padding: 20px 18px; position: relative; }
@media (min-width: 540px) { .prf-modal { border-radius: 16px; } }
.prf-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: #888; line-height: 1; }
.prf-modal-title { font-size: 17px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; padding-right: 30px; line-height: 1.4; }
.prf-modal-details { font-size: 14px; color: #555; line-height: 1.65; margin-bottom: 12px; }
.prf-modal-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.prf-modal-answer { background: #f8f8f8; border-radius: var(--prf-radius-sm); padding: 14px; border-left: 3px solid var(--prf-primary); margin-top: 12px; }
.prf-modal-answer-label { font-size: 11px; font-weight: 500; color: var(--prf-primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.prf-modal-answer-text { font-size: 14px; color: #333; line-height: 1.65; margin-bottom: 10px; }
/* Exceção ao reset global — elementos HTML gerados pelo TinyMCE */
.prf-modal-answer-text p { margin-bottom: 12px; }
.prf-modal-answer-text p:last-child { margin-bottom: 0; }
.prf-modal-answer-text a { color: var(--prf-primary); text-decoration: underline; }
.prf-modal-answer-text a:hover { opacity: .8; }
.prf-modal-answer-text ul, .prf-modal-answer-text ol { margin: 8px 0 8px 20px; }
.prf-modal-answer-text li { margin-bottom: 4px; }
.prf-modal-answer-text strong { font-weight: 600; }
.prf-modal-answer-text em { font-style: italic; }
.prf-modal-answer-link { display: inline-flex; align-items: center; gap: 6px; color: var(--prf-danger); font-size: 13px; font-weight: 500; text-decoration: none; background: #FCEBEB; padding: 6px 14px; border-radius: 20px; }
.prf-modal-answer-link:hover { opacity: .85; }
.prf-modal-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; overflow: visible; }
/* Linha 1: botão de votar — largura total */
.prf-modal-foot-row1 { margin-bottom: 10px; }
/* Linha 2: visualizações à esquerda + compartilhar à direita */
.prf-modal-foot-row2 { display: flex; align-items: center; justify-content: space-between; }
.prf-modal-vote-btn { display: inline-flex; align-items: center; gap: 6px; width: auto; height: auto; background: var(--prf-primary-light); color: var(--prf-primary); border: 1px solid var(--prf-primary); border-radius: var(--prf-radius-sm); padding: 8px 16px; font-size: 13px; cursor: pointer; font-family: inherit; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: all .15s; }
.prf-modal-vote-btn.voted { background: var(--prf-primary); color: #fff; }
.prf-modal-foot-row2 .prf-views { font-size: 12px; color: #aaa; }
.prf-modal-foot-row2 .prf-share-wrap { position: relative; }
.prf-modal-foot .prf-share-modal-btn, .prf-share-modal-btn { font-size: 12px; color: var(--prf-primary); background: none; border: none; cursor: pointer; font-family: inherit; padding: 4px 0; }
/* Popup aparece ACIMA com z-index máximo */
.prf-modal-foot .prf-share-popup { bottom: calc(100% + 8px); right: 0; z-index: 9999; }

/* FORMULÁRIO GAVETA */
.prf-form-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; display: flex; align-items: flex-end; }
.prf-form-sheet { background: #fff; border-radius: 16px 16px 0 0; width: 100%; max-height: 90vh; overflow-y: auto; padding: 20px 16px 28px; }
.prf-form-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 15px; font-weight: 500; }
.prf-fg { margin-bottom: 12px; }
.prf-fg label { font-size: 12px; color: #666; display: block; margin-bottom: 4px; }
.prf-fg input[type=text], .prf-fg textarea, .prf-fg select { width: 100%; font-size: 14px; padding: 9px 11px; border-radius: var(--prf-radius-sm); border: 1px solid #ddd; background: #f8f8f8; color: #1a1a1a; font-family: inherit; outline: none; transition: border-color .15s; }
.prf-fg input[type=text]:focus, .prf-fg textarea:focus { border-color: var(--prf-primary); background: #fff; }
.prf-fg textarea { resize: vertical; min-height: 72px; }
.prf-optional { color: #aaa; font-size: 11px; }
.prf-required { color: var(--prf-danger); }
.prf-tags-chosen { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; min-height: 4px; }
.prf-tag-pill { background: var(--prf-primary-light); color: var(--prf-primary); font-size: 12px; padding: 3px 10px; border-radius: 20px; display: flex; align-items: center; gap: 5px; }
.prf-tag-pill button { background: none; border: none; color: var(--prf-primary); cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.prf-ip-note { font-size: 11px; color: #aaa; margin-bottom: 12px; }
.prf-form-feedback { padding: 10px 12px; border-radius: var(--prf-radius-sm); font-size: 13px; margin-bottom: 10px; }
.prf-form-feedback.success { background: #E1F5EE; color: #0F6E56; }
.prf-form-feedback.error   { background: #FCEBEB; color: var(--prf-danger); }
.prf-form-actions { display: flex; gap: 8px; }
.prf-qa-wrap .prf-form-actions .prf-btn-outline { flex: 1; background: transparent !important; border: 1px solid #bbb !important; color: #666 !important; border-radius: var(--prf-radius-sm) !important; padding: 11px !important; font-size: 14px !important; cursor: pointer !important; font-family: inherit !important; box-shadow: none !important; text-align: center !important; }
.prf-qa-wrap .prf-form-actions .prf-btn-primary { flex: 1; display: block; background: var(--prf-primary) !important; color: #fff !important; border: none !important; border-radius: var(--prf-radius-sm) !important; padding: 11px !important; font-size: 14px !important; font-weight: 500 !important; cursor: pointer !important; font-family: inherit !important; box-shadow: none !important; text-align: center !important; }
.prf-qa-wrap .prf-form-actions .prf-btn-primary:disabled { opacity: .45 !important; cursor: not-allowed !important; }
.prf-similar-box { background: #fffbe6; border: 1px solid #f0d070; border-radius: var(--prf-radius-sm); padding: 10px 12px; margin-top: 6px; }
.prf-similar-label { font-size: 12px; color: #854F0B; font-weight: 500; margin-bottom: 6px; }
.prf-similar-list { list-style: none; padding: 0; }
.prf-similar-list li { font-size: 12px; color: #444; padding: 3px 0; border-bottom: 1px solid #f0e8c0; cursor: pointer; }
.prf-similar-list li:last-child { border-bottom: none; }
.prf-similar-list li:hover { color: var(--prf-primary); }

/* BOTÃO FLUTUANTE */
.prf-float-btn { position: fixed; bottom: 22px; right: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--prf-primary); color: #fff; font-size: 26px; font-weight: 400; border: none; cursor: pointer; box-shadow: 0 3px 12px rgba(0,0,0,.2); z-index: 200; line-height: 1; display: flex; align-items: center; justify-content: center; transition: opacity .15s, transform .15s; }
.prf-float-btn:hover { opacity: .9; transform: scale(1.05); }
@media (min-width: 680px) { .prf-float-btn { display: none; } }

/* TOAST */
.prf-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: #1a1a1a; color: #fff; font-size: 13px; padding: 9px 18px; border-radius: 20px; z-index: 2000; opacity: 0; transition: opacity .25s; pointer-events: none; white-space: nowrap; }
.prf-toast.show { opacity: 1; }


/* EXPLICAÇÃO VOTAÇÃO */
.prf-vote-explain { font-size: 12px; color: #666; padding: 6px 8px; background: #f9f9f9; border-left: 3px solid var(--prf-primary); border-radius: 0 var(--prf-radius-sm) var(--prf-radius-sm) 0; margin-bottom: 6px; }
.prf-vote-explain-icon { color: var(--prf-primary); font-size: 11px; }

/* BOTÃO DESABILITADO */
.prf-btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.prf-char-hint { font-size: 11px; color: #aaa; margin-top: 3px; display: flex; justify-content: flex-end; }
.prf-char-count-warn { color: #E24B4A; font-weight: 500; }

/* COMPARTILHAMENTO — base comum para btn e native */
.prf-share-wrap { position: relative; margin-left: auto; flex-shrink: 1; min-width: 0; }
.prf-card-foot-actions .prf-share-wrap { margin-left: 0; flex-shrink: 1; min-width: 0; max-width: 100%; }

/* Estilo base compartilhado pelos dois tipos de botão de compartilhar */
.prf-share-btn,
.prf-share-native {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    border-radius: 20px;
    padding: 5px 11px;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    transition: opacity .15s, background .15s;
    /* Identidade visual explícita — não depende do tema */
    color: var(--prf-primary);
    background: var(--prf-primary-light);
    border: 1px solid var(--prf-primary);
}
.prf-share-btn:hover,
.prf-share-native:hover { opacity: .82; }

/* Ajuste responsivo mobile — botão mais compacto */
@media (max-width: 480px) {
    .prf-share-btn,
    .prf-share-native {
        font-size: 10px;
        padding: 4px 9px;
    }
}

/* Popup — posição e estrutura */
.prf-share-popup { position: absolute; bottom: calc(100% + 6px); right: 0; z-index: 9999; min-width: 175px; }
.prf-share-popup-inner {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--prf-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
}
/* Opções dentro do popup */
.prf-share-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    font-size: 13px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fff;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
}
.prf-share-option:last-child { border-bottom: none; }
.prf-share-option:hover { background: #f5f5f5; }
.prf-share-wa { color: #128C7E !important; }
.prf-share-wa:hover { background: #f0faf8 !important; }










@media (min-width: 681px) {
    .prf-questions-list,
    .prf-card,
    .prf-card-body { overflow: visible; }
    .prf-share-popup { z-index: 10020; }
}

@media (max-width: 680px) {
    .prf-questions-list { overflow-x: hidden; }
    .prf-card { overflow: hidden; }
    .prf-card-body { overflow: hidden; }
}
@media (max-width: 680px) {
    .prf-card-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }
    .prf-card-foot-meta {
        width: 100%;
    }
    .prf-card-foot-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .prf-card-foot-actions .prf-share-wrap {
        margin-left: auto;
        max-width: 100%;
    }
    .prf-card-foot-actions .prf-share-btn,
    .prf-card-foot-actions .prf-share-native {
        max-width: 100%;
    }
    .prf-card-preview {
        display: block;
        max-width: 100%;
        max-height: 3.2em;
        overflow: hidden;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* DUPLICATA badge */
.prf-duplicate-notice { background: #fff8e1; border: 1px solid #ffe082; border-radius: var(--prf-radius-sm); padding: 10px 14px; font-size: 13px; color: #6d4c00; margin-bottom: 10px; }
.prf-duplicate-notice a { color: var(--prf-primary); }


/* DUPLICATAS NO MODAL */
.prf-modal-duplicates { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; }
.prf-modal-dup-label { font-size: 11px; font-weight: 500; color: #888; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.prf-modal-dup-list { list-style: none; padding: 0; margin: 0; }
.prf-modal-dup-list li { font-size: 13px; color: #555; padding: 4px 0; border-bottom: 1px solid #f5f5f5; }
.prf-modal-dup-list li:last-child { border-bottom: none; }
.prf-dup-votes { font-size: 11px; color: #aaa; }

/* AVISO DUPLICATA NO ADMIN */
.prf-duplicate-of-notice { font-size: 12px; color: #854F0B; background: #fff8e1; border-radius: 4px; padding: 4px 8px; margin-bottom: 6px; display: inline-block; }
/* DARK MODE */
@media (prefers-color-scheme: dark) {
    .prf-dark-aware.prf-qa-wrap { color: #e0e0e0; }
    .prf-dark-aware .prf-hero { background: rgba(83,74,183,.15); }
    .prf-dark-aware .prf-site-title { color: #c8c4f0; }
    .prf-dark-aware .prf-hero { background: rgba(83,74,183,.18); }
    .prf-dark-aware .prf-search-wrap,
    .prf-dark-aware .prf-card,
    .prf-dark-aware .prf-modal,
    .prf-dark-aware .prf-form-sheet { background: #1e1e1e; border-color: #333; color: #e0e0e0; }
    .prf-dark-aware .prf-search-input,
    .prf-dark-aware .prf-card-title,
    .prf-dark-aware .prf-vote-count,
    .prf-dark-aware .prf-modal-title { color: #e0e0e0; }
    .prf-dark-aware .prf-filters { background: #121212; border-color: #333; }
    .prf-dark-aware .prf-dd-btn { background: #2a2a2a; border-color: #444; }
    .prf-dark-aware .prf-dd-value { color: #e0e0e0; }
    .prf-dark-aware .prf-dd-menu { background: #222; border-color: #444; }
    .prf-dark-aware .prf-dd-item { color: #e0e0e0; border-color: #333; }
    .prf-dark-aware .prf-dd-item:hover { background: #2a2a2a; }
    .prf-dark-aware .prf-fg input,
    .prf-dark-aware .prf-fg textarea,
    .prf-dark-aware .prf-fg select { background: #2a2a2a; border-color: #444; color: #e0e0e0; }
    .prf-dark-aware .prf-modal-answer { background: #2a2a2a; }
    .prf-dark-aware .prf-modal-answer-text { color: #ccc; }
    .prf-dark-aware .prf-modal-details { color: #aaa; }
    .prf-dark-aware .prf-card-preview { color: #999; }

    /* Dark mode — compartilhar */
    .prf-dark-aware .prf-share-btn,
    .prf-dark-aware .prf-share-native {
        color: #a8a2e8;
        background: rgba(83,74,183,.18);
        border-color: #534AB7;
    }
    .prf-dark-aware .prf-share-popup-inner {
        background: #2a2a2a;
        border-color: #444;
    }
    .prf-dark-aware .prf-share-option {
        background: #2a2a2a;
        color: #e0e0e0;
        border-color: #3a3a3a;
    }
    .prf-dark-aware .prf-share-option:hover { background: #333; }
    .prf-dark-aware .prf-share-wa { color: #4ECDC4 !important; }
    .prf-dark-aware .prf-share-wa:hover { background: #1a3030 !important; }
}
