@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --cor-primaria: #000000;
    --cor-secundaria: #F6F6F6;
    --cor-terciaria: #22d4fd;
    --cor-sucesso: greenyellow;
    --cor-erro: #ff4444;
    --cor-card: rgba(0, 0, 0, 0.72);
    --cor-borda: rgba(34, 212, 253, 0.45);
    --fonte-primaria: "Krona One", sans-serif;
    --fonte-secundaria: "Montserrat", sans-serif;
    --fonte-terciaria: "Roboto", sans-serif;
}

/* =====================================================
   DESIGN SYSTEM — BOTÕES
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 42px;

    padding: 0 16px;

    border-radius: 14px;

    border: 1px solid transparent;

    font-family: var(--fonte-secundaria);
    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    text-decoration: none;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: scale(.98);
}

.btn--primario {
    border-color: var(--cor-terciaria);
    background: var(--cor-terciaria);
    color: #000;
}

.btn--primario:hover {
    box-shadow: 0 0 18px rgba(34, 212, 253, .18);
}

.btn--secundario {
    border-color: rgba(34, 212, 253, .32);
    background: rgba(255, 255, 255, .04);
    color: var(--cor-secundaria);
}

.btn--secundario:hover {
    background: rgba(34, 212, 253, .10);
    border-color: rgba(34, 212, 253, .52);
    box-shadow: 0 0 18px rgba(34, 212, 253, .14);
}

.btn--perigo {
    border-color: rgba(255, 68, 68, .45);
    background: rgba(255, 68, 68, .14);
    color: #ff7a7a;
}

.btn--perigo:hover {
    background: rgba(255, 68, 68, .22);
}

.btn--chip {
    min-width: 70px;
    height: 42px;

    padding: 0 14px;

    border-radius: 14px;
}

.btn--icone {
    width: 58px;
    height: 58px;

    min-width: 58px;

    padding: 0;

    border-radius: 16px;
}

.btn--avaliacao {
    border-color: rgba(255, 215, 0, .30);
    background: rgba(255, 255, 255, .04);
    color: #ffd54a;

    box-shadow: 0 0 14px rgba(255, 215, 0, .08);
}

.btn--avaliacao:hover {
    background: rgba(255, 215, 0, .08);
    border-color: rgba(255, 215, 0, .52);
    box-shadow: 0 0 18px rgba(255, 215, 0, .16);
}

.btn--favorito {
    border-color: rgba(34, 212, 253, .28);
    background: rgba(255, 255, 255, .04);
    color: var(--cor-terciaria);
}

.btn--favorito:hover {
    background: rgba(34, 212, 253, .12);
    border-color: var(--cor-terciaria);
    box-shadow: 0 0 18px rgba(34, 212, 253, .16);
}

.btn--favorito.ativo,
.btn--favorito.favoritado {
    background: rgba(34, 212, 253, .14);
    border-color: rgba(34, 212, 253, .32);
    box-shadow: 0 0 18px rgba(34, 212, 253, .18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--fonte-secundaria);
    color: var(--cor-secundaria);
    background: #000000;
    background-image: linear-gradient(rgba(0, 0, 0, .78), rgba(0, 0, 0, .86)), url('assets/BackSite.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

main {
    flex-grow: 1;
}

.cabecalho {
    padding: 2% 10%;
}

.cabecalho__menu {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.cabecalho__menu__link {
    color: var(--cor-secundaria);
    text-decoration: none;
    font-family: var(--fonte-terciaria);
    font-size: 18px;
    font-weight: 600;
}

.cabecalho__menu__link:hover {
    color: var(--cor-terciaria);
}

.apresentacao {
    width: 86%;
    margin: 0 auto 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.apresentacao__conteudo {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.apresentacao__conteudo__titulo {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.apresentacao__conteudo__paragrafo {
    font-size: 19px;
    line-height: 1.6;
    color: #e8e8e8;
}

.titulo-destaque {
    color: var(--cor-terciaria);
}

.titulo-destaque__novo {
    color: var(--cor-sucesso);
}

.painel {
    width: 86%;
    margin: 0 auto 48px;
}

.painel__cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.painel__titulo {
    font-size: 28px;
    color: var(--cor-terciaria);
}

.painel__subtitulo {
    color: #d6d6d6;
    margin-top: 8px;
}

.card,
.form-card {
    background: var(--cor-card);
    border: 1px solid var(--cor-borda);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .35);
}

.grid-prompts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card-prompt {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-prompt__titulo {
    font-size: 20px;
    color: var(--cor-secundaria);
}

.card-prompt__preview {
    color: #dddddd;
    line-height: 1.5;
}

.card-prompt__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: #cccccc;
}

.badge-categoria {
    display: inline-block;
    width: fit-content;
    border: 1px solid var(--cor-terciaria);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--cor-terciaria);
    font-size: 13px;
    font-weight: 700;
}

.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--cor-terciaria);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--cor-terciaria);
}

.apresentacao__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.apresentacao__links__navegacao,
.btn-primario,
.btn-secundario,
button {
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--fonte-secundaria);
}

.btn-primario,
button {
    border: 2px solid var(--cor-terciaria);
    background: var(--cor-terciaria);
    color: #000;
}

.btn-secundario,
.apresentacao__links__navegacao {
    border: 2px solid var(--cor-terciaria);
    background: transparent;
    color: var(--cor-secundaria);
}

.btn-secundario:hover,
.apresentacao__links__navegacao:hover {
    background: var(--cor-terciaria);
    color: #000;
}

.form-card {
    max-width: 720px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

label {
    font-weight: 700;
    color: var(--cor-terciaria);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    padding: 13px;
    background: rgba(0, 0, 0, .65);
    color: var(--cor-secundaria);
    font-family: var(--fonte-secundaria);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #222;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: .2s;
}

.toast--visivel {
    opacity: 1;
}

.toast--sucesso {
    border: 1px solid var(--cor-sucesso);
}

.toast--erro {
    border: 1px solid var(--cor-erro);
}

.rodape {
    background: var(--cor-terciaria);
    color: #000;
    text-align: center;
    padding: 18px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .grid-prompts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apresentacao {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .apresentacao {
        flex-direction: column;
        align-items: stretch;
    }

    .apresentacao__conteudo {
        width: 100%;
    }

    .grid-prompts {
        grid-template-columns: 1fr;
    }

    .cabecalho__menu {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .cabecalho {
        padding: 24px;
    }

    .painel,
    .apresentacao {
        width: 92%;
    }

    .apresentacao__conteudo__titulo {
        font-size: 25px;
    }
}


/* ===== CABEÇALHO AUTENTICADO ===== */
.cabecalho--logado {
    padding: 18px 4%;
    border-bottom: 1px solid rgba(34, 212, 253, .18);
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.cabecalho__menu--logado {
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
}

.cabecalho__logo {
    color: var(--cor-terciaria);
    text-decoration: none;
    font-family: var(--fonte-primaria);
    font-size: 18px;
    margin-right: auto;
}

.usuario-logado {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--cor-secundaria);
}

.avatar--pequeno {
    width: 38px;
    height: 38px;
    font-size: 13px;
    overflow: hidden;
}

.avatar--pequeno img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-dropdown {
    position: relative;
}

.menu-dropdown__botao {
    background: transparent;
    color: var(--cor-secundaria);
    border: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
}

.menu-dropdown__botao:hover {
    color: var(--cor-terciaria);
}

.menu-dropdown__conteudo {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: rgba(0, 0, 0, .94);
    border: 1px solid var(--cor-borda);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    z-index: 999;
}

/* Ponte invisível entre botão e menu */
.menu-dropdown__conteudo::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
}

.menu-dropdown__conteudo a {
    display: block;
    padding: 10px 12px;
    color: var(--cor-secundaria);
    text-decoration: none;
    border-radius: 8px;
}

.menu-dropdown__conteudo a:hover {
    background: var(--cor-terciaria);
    color: #000;
}

.menu-dropdown:hover .menu-dropdown__conteudo {
    display: block;
}

.separador {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid rgba(34, 212, 253, .25);
}

.lista-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== FEEDCOM ===== */
.feed-layout {
    width: min(1280px, 94%);
    margin: 0 auto 48px;

    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 680px) minmax(240px, 300px);

    gap: 24px;
    align-items: start;
    justify-content: center;
}

.feed-coluna--esquerda {
    display: flex;
    flex-direction: column;
    gap: 18px;

    position: sticky;
    top: 110px;
}

.feed-coluna--principal {
    width: 100%;
    max-width: 680px;
}

.feed-coluna--lateral {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 110px;
}

.feed-lista {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feed-card {
    width: 100%;
    max-width: 680px;

    box-sizing: border-box;

    background: #111827;
    border: 1px solid var(--cor-borda);
    border-radius: 14px;

    padding: 22px;

    box-shadow: 0 10px 32px rgba(0, 0, 0, .35);

    display: flex;
    flex-direction: column;

    gap: 14px;
}

.feed-card__topo p {
    color: var(--cor-terciaria);
    font-size: 13px;
    margin-top: 4px;
}

.feed-card__acoes {
    border-top: 1px solid rgba(34, 212, 253, .2);
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #d6d6d6;
}

.feed-sentinel {
    text-align: center;
    color: var(--cor-terciaria);
    padding: 24px;
}

@media (max-width: 1100px) {
    .cabecalho__menu--logado {
        gap: 14px;
    }

    .cabecalho__menu__link,
    .menu-dropdown__botao {
        font-size: 15px;
    }

    .feed-layout {
        grid-template-columns: 1fr;
    }

    .feed-coluna--esquerda,
    .feed-coluna--lateral {
        position: static;
    }
}

@media (max-width: 768px) {
    .usuario-logado {
        width: 100%;
        margin-left: 0;
    }

    .cabecalho__logo {
        width: 100%;
        margin-right: 0;
    }

    .menu-dropdown__conteudo {
        position: static;
        margin-top: 8px;
    }
}

.form-card button {
    margin-bottom: 14px;
}



.usuario-logado__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #22d4fd;
}

/* ===== AJUSTE FINAL DOS ÍCONES DO PROMPT CARD ===== */

.feed-card button:not(.feed-card__nota-media):not(.feed-card__favorito):not(.feed-card__editar):not(.feed-card__enviar):not(.comentario__acao):not(.js-comentarios-carregar-mais) {
    padding: 0;
    font-size: inherit;
    font-weight: 600;
    background: transparent;
    color: inherit;
    border: none;
    box-shadow: none;
}

.feed-card__acoes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(34, 212, 253, .18);
    padding-top: 14px;
}

.feed-card__acao {

    width: 96px;
    min-height: 86px;

    border-radius: 16px;

    background: transparent;

    color: #d6dce2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    transition: .18s ease;
}

.feed-card__acao:hover {

    background: rgba(34, 212, 253, .10);

    transform: translateY(-2px);
}

.feed-card__icone-circulo {

    width: 56px;
    height: 56px;

    border-radius: 16px;

    background: rgba(255, 255, 255, .03);

    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-card__icone-circulo img {

    width: 42px;
    height: 42px;

    object-fit: contain;
    display: block;
}

.feed-card__acao-texto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;

    font-size: 12px;
    line-height: 1;

    color: #d6dce2;
    font-weight: 600;

    white-space: nowrap;
}

@media (max-width: 768px) {
    .feed-card__acao {
        width: 66px;
        min-height: 60px;
    }

    .feed-card__icone-circulo img {
        width: 24px;
        height: 24px;
    }

    .feed-card__acao-texto {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .feed-card__acoes {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .feed-card__acao {
        width: 100%;
    }
}

/* ===== AUTOR DO PROMPT CARD ===== */

.feed-card__autor {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding-right: 76px;
}

.feed-card__avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    overflow: hidden;
    border: 2px solid rgba(34, 212, 253, .55);
    background: #111;
}

.feed-card__nome {
    font-size: 16px;
    color: var(--cor-secundaria);
    line-height: 1.2;
    margin-bottom: 4px;
}

.feed-card__meta {
    display: block;
    font-size: 13px;
    color: #aeb8c2;
    line-height: 1.3;
}

/* =====================================================
   CONTEÚDO DO PROMPT CARD
===================================================== */

.feed-card__titulo {
    margin-bottom: 12px;
}

/* ===== COMENTÁRIOS DO FEED ===== */

.feed-card__comentarios {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-card__comentarios.hidden {
    display: none;
}

.feed-card__comentario-item {
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(34, 212, 253, .12);
    border-radius: 14px;
    padding: 12px 14px;
}

.feed-card__comentario-item strong {
    display: block;
    color: var(--cor-terciaria);
    font-size: 13px;
    margin-bottom: 6px;
}

.feed-card__comentario-item p {
    color: #e8edf2;
    line-height: 1.5;
    font-size: 14px;
    word-break: break-word;
}

/* Campo rápido */

.feed-card__comentario-box {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feed-card__comentario-box.hidden {
    display: none;
}

.feed-card__comentario-input {
    flex: 1;
    height: 44px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(34, 212, 253, .18);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    padding: 0 16px;
    outline: none;
}

.feed-card__comentario-input:focus {
    border-color: var(--cor-terciaria);
}

.feed-card .feed-card__enviar {
    min-width: 82px;
    height: 40px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--cor-sucesso);
    border-radius: 999px;

    background: var(--cor-sucesso);
    color: #081000;

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;
}

.feed-card .feed-card__enviar:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(47, 255, 227, 0.22);
}

.feed-card .feed-card__enviar:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

.feed-card__enviar:hover {
    opacity: .92;
}

/* Mobile */

@media (max-width: 768px) {

    .feed-card__comentario-box {
        flex-direction: column;
        align-items: stretch;
    }

    .feed-card__enviar {
        width: 100%;
    }
}

/* ===== CURTIDA ATIVA ===== */

.btn-curtir.curtido .feed-card__icone-circulo {
    background: rgba(34, 212, 253, .18);
    border: 1px solid rgba(34, 212, 253, .35);
}

.btn-curtir.curtido img {
    transform: scale(1.08);
}

.btn-curtir img {
    transition: .18s ease;
}

/* ==========================================
   TOPO DO CARD
========================================== */

.feed-card {
    position: relative;
}

/* ===== TOPO ===== */

.feed-card__topo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}



/* ===== BLOCO DIREITO ===== */

.feed-card__topo-acoes {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== NOTA ===== */

/* ===== NOTA / AVALIAÇÃO ===== */

.feed-card__nota-media {

    min-width: 70px;
    height: 42px;

    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border-radius: 14px;

    background: rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 215, 0, .30);

    color: #ffd54a;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;

    box-shadow:
        0 0 14px rgba(255, 215, 0, .08);

    flex-shrink: 0;
}

.feed-card__nota-media:hover {

    background:
        rgba(255, 215, 0, .08);

    border-color:
        rgba(255, 215, 0, .52);

    box-shadow:
        0 0 18px rgba(255, 215, 0, .16);

    transform: translateY(-1px);
}

.feed-card__nota-media:active {
    transform: scale(.98);
}

.feed-card__nota-estrela {
    font-size: 15px;
    line-height: 1;
}

.feed-card__nota-valor {
    line-height: 1;
}

/* ===== FAVORITO ===== */
.feed-card__favorito {

    width: 70px;
    height: 70px;

    border-radius: 18px;

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(34, 212, 253, .28);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .18s ease;

    flex-shrink: 0;
}

.feed-card__favorito:hover {
    background: rgba(34, 212, 253, .12);
    border-color: var(--cor-terciaria);
    transform: scale(1.04);
}

.feed-card__favorito img {

    width: 42px;
    height: 42px;

    object-fit: contain;
}

/* ===== FAVORITO ATIVO ===== */

.feed-card__favorito.favoritado {
    background: rgba(34, 212, 253, .14);
    border: 1px solid rgba(34, 212, 253, .32);
    box-shadow: 0 0 18px rgba(34, 212, 253, .18);
}


/* ==========================================
   TOPO PADRÃO DAS PÁGINAS COM PROMPT-CARD
========================================== */

.pagina-prompts__topo {
    width: 100%;
    max-width: 1480px;
    margin: 24px auto 18px auto;
    padding: 0 24px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    box-sizing: border-box;
}

.pagina-prompts__topo-categorias {
    flex: 0 0 70%;
    max-width: 70%;
    min-width: 0;
}

.pagina-prompts__topo-busca {
    flex: 0 0 30%;
    max-width: 30%;
    min-width: 280px;

    display: flex;
    justify-content: flex-end;
}



/* =====================================================
   AVALIAÇÃO PROMPT DETALHADO
===================================================== */


.prompt-detalhado__avaliacao-opcoes {
    position: absolute;

    top: 64px;
    left: 50%;

    transform: translateX(-50%);
}

.feed-card__avaliacao-opcoes {
    position: absolute;

    top: 48px;
    right: 0;
}


/* =====================================================
   AVALIAÇÃO REUTILIZÁVEL
===================================================== */

.avaliacao-area {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.avaliacao-opcoes {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 8px;

    border-radius: 14px;

    background: #0b1220;

    border:
        1px solid rgba(34, 211, 238, 0.18);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.42);

    z-index: 100;
}

.avaliacao-opcoes.hidden {
    display: none;
}

.avaliacao-opcoes button {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 10px;

    background: #111827;

    color: var(--cor-terciaria);

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .18s ease,
        background .18s ease;
}

.avaliacao-opcoes button:hover {
    background: #162033;

    transform: translateY(-1px);
}

/* =====================================================
   JANELA
===================================================== */

.prompt-detalhado {
    position: fixed;

    top: 72px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 2000;

    width: min(960px, calc(100vw - 60px));

    height: calc(100vh - 96px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #111827;

    border:
        1px solid rgba(34, 211, 238, 0.16);

    border-radius: 20px;

    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.72);
}

.prompt-detalhado.hidden {
    display: none;
}

/* =====================================================
   BARRA SUPERIOR
===================================================== */

.prompt-detalhado__barra {
    height: 46px;
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 14px;

    background: #0b1220;

    border-bottom:
        1px solid rgba(34, 211, 238, 0.12);

    cursor: move;
    user-select: none;

    transition: none;
}

.prompt-detalhado__barra-titulo {
    color: var(--cor-secundaria);

    font-size: 13px;
    font-weight: 700;
}

/* =====================================================
   CONTROLES
===================================================== */

.prompt-detalhado__controles {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt-detalhado__controle {
    width: 28px;
    height: 28px;

    min-width: 28px;
    max-width: 28px;

    min-height: 28px;
    max-height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border-radius: 8px;

    border:
        1px solid rgba(34, 211, 238, 0.22);

    background: #0f172a;

    color: var(--cor-secundaria);

    cursor: pointer;

    font-size: 13px;
}

.prompt-detalhado__controle:hover {
    background: #162033;
}

/* =====================================================
   CORPO
===================================================== */

.prompt-detalhado__corpo {
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 18px 22px;

    background: #111827;
}

/* =====================================================
   CARD
===================================================== */

.prompt-detalhado__card {
    display: flex;
    flex-direction: column;

    gap: 18px;

    min-height: 100%;
}

/* =====================================================
   TOPO
===================================================== */

.prompt-detalhado__topo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;
}

.prompt-detalhado__topo-acoes {
    display: flex;
    align-items: center;
    gap: 12px;

    position: relative;
}

.prompt-detalhado__topo-acoes .feed-card__favorito {
    position: static;
}


/* =====================================================
   MENU DONO
===================================================== */

.prompt-detalhado__menu-dono {
    position: relative;
}

.prompt-detalhado__menu-botao {
    width: 44px;
    min-width: 44px;
    max-width: 44px;

    height: 58px;
    min-height: 58px;
    max-height: 58px;

    border-radius: 16px;

    border:
        1px solid rgba(34, 211, 238, 0.28);

    background: #0f172a;

    color: var(--cor-secundaria);

    font-size: 22px;

    cursor: pointer;
}

.prompt-detalhado__menu-opcoes {
    display: none;

    position: absolute;

    top: 64px;
    right: 0;

    min-width: 150px;

    padding: 8px;

    background: #0b1220;

    border:
        1px solid rgba(34, 211, 238, 0.18);

    border-radius: 12px;

    z-index: 20;
}

.prompt-detalhado__menu-dono:hover .prompt-detalhado__menu-opcoes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prompt-detalhado__menu-opcoes button {
    padding: 10px 12px;

    border: none;
    border-radius: 10px;

    background: transparent;

    color: var(--cor-secundaria);

    text-align: left;

    cursor: pointer;
}

.prompt-detalhado__menu-opcoes button:hover {
    background: #162033;
}

/* =====================================================
   CONTEÚDO
===================================================== */

.prompt-detalhado__conteudo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =====================================================
   OBJETIVO / IA
===================================================== */

.prompt-detalhado__campos {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;

    align-items: start;
}

/* Remove apenas a caixa externa das IAs */
.prompt-detalhado__campos>.prompt-detalhado__ias-campo {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.prompt-detalhado__ias-toggle strong {
    color: var(--cor-terciaria);
    font-weight: 700;
    flex-shrink: 0;
}

.prompt-detalhado__campos>div {
    padding: 14px 16px;

    border-radius: 14px;

    border:
        1px solid rgba(34, 211, 238, 0.14);

    background: #0f172a;

    color: #dbe6ee;
}

.prompt-detalhado__campos strong {
    color: var(--cor-terciaria);
}

/* =====================================================
   TEXTO PRINCIPAL
===================================================== */

.prompt-detalhado__texto {
    flex: 1;

    min-height: 220px;
    max-height: none;

    overflow-y: auto;

    white-space: pre-wrap;
    word-break: break-word;

    padding: 18px;

    border-radius: 18px;

    border:
        1px solid rgba(34, 211, 238, 0.14);

    background: #0f172a;

    color: var(--cor-secundaria);

    line-height: 1.7;

    user-select: none;
}

/* =====================================================
   PROMPT DETALHADO — ÁREA DO TEXTO
   ===================================================== */

.prompt-detalhado__card .prompt-detalhado__texto {
    width: 100%;
    height: 360px;
    min-height: 360px;
    max-height: 360px;

    padding: 18px;

    overflow-y: scroll;
    overflow-x: hidden;

    /*
     * Preserva parágrafos, linhas e listas
     * existentes no conteúdo do prompt.
     */
    white-space: pre-wrap;

    overflow-wrap: anywhere;
    word-break: break-word;

    font-family: var(--fonte-secundaria);
    font-size: 16px;
    line-height: 1.55;

    /*
     * Evita que a rolagem interna continue
     * movimentando o modal ao chegar ao limite.
     */
    overscroll-behavior: contain;

    /*
     * Reserva o espaço da barra para o texto
     * não mudar de largura durante a rolagem.
     */
    scrollbar-gutter: stable;

    scrollbar-width: thin;
    scrollbar-color:
        var(--cor-terciaria) rgba(255, 255, 255, 0.06);
}


/* Chrome, Edge e navegadores WebKit */

.prompt-detalhado__card .prompt-detalhado__texto::-webkit-scrollbar {
    width: 8px;
}

.prompt-detalhado__card .prompt-detalhado__texto::-webkit-scrollbar-track {
    background:
        rgba(255, 255, 255, 0.04);

    border-radius: 999px;
}

.prompt-detalhado__card .prompt-detalhado__texto::-webkit-scrollbar-thumb {
    background:
        var(--cor-terciaria);

    border-radius: 999px;
}

.prompt-detalhado__card .prompt-detalhado__texto::-webkit-scrollbar-thumb:hover {
    opacity: 0.85;
}


/* =====================================================
   RESPONSIVIDADE
   ===================================================== */

@media (max-width: 768px) {

    .prompt-detalhado__card .prompt-detalhado__texto {
        height: 280px;
        min-height: 280px;
        max-height: 280px;

        padding: 14px;

        font-size: 14px;
        line-height: 1.5;
    }
}

/* =====================================================
   MÉTRICAS
===================================================== */

.prompt-detalhado__metricas {
    justify-content: space-between;
    flex-wrap: wrap;
}

/* =====================================================
   AÇÕES
===================================================== */

.prompt-detalhado__acoes {
    justify-content: space-between;
}



/* =====================================================
   MINIMIZADO
===================================================== */

.prompt-detalhado--minimizado {
    top: auto;
    left: 20px;
    bottom: 20px;

    transform: none;

    width: 320px;

    height: 46px;
    max-height: 46px;
}

.prompt-detalhado--minimizado .prompt-detalhado__corpo {
    display: none;
}

/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 768px) {

    .prompt-detalhado {
        top: 78px;

        width:
            calc(100vw - 20px);

        max-height:
            calc(100vh - 96px);
    }

    .prompt-detalhado__topo {
        flex-direction: column;
    }

    .prompt-detalhado__topo-acoes {
        width: 100%;
        justify-content: flex-end;
    }

    .prompt-detalhado__campos {
        grid-template-columns: 1fr;
    }

    .prompt-detalhado__acoes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

.prompt-detalhado__acoes .feed-card__icone-circulo {
    width: 58px;
    height: 58px;

    min-width: 58px;
    min-height: 58px;

    max-width: 58px;
    max-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 0;

    background: transparent;

    box-shadow: none;
}

.prompt-detalhado__acoes .feed-card__acao {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 12px;

    border: none;
    border-radius: 10px;

    background: transparent;

    color: var(--cor-secundaria);

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.prompt-detalhado__acoes .feed-card__acao:hover {
    background: #162033;
}

.prompt-detalhado__acoes .feed-card__acao img {
    width: 48px;
    height: 48px;

    object-fit: contain;
}

body.modal-aberto {
    overflow: hidden;
}

.prompt-detalhado__barra {
    cursor: move;
    user-select: none;
}

.prompt-detalhado--arrastando {
    transition: none;
}


.prompt-detalhado__comentario-box {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 14px;

    border-radius: 14px;
    border: 1px solid rgba(34, 211, 238, 0.14);

    background: #0f172a;
}

.prompt-detalhado__comentario-texto {
    width: 100%;
    min-height: 90px;

    resize: vertical;

    padding: 12px;

    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.18);

    background: #111827;
    color: var(--cor-secundaria);

    outline: none;
}

.prompt-detalhado__comentario-acoes {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}


.prompt-detalhado__ias-toggle {

    display: inline-flex;
    align-items: center;

    color: var(--cor-secundaria);

    font-size: 0.92rem;
    font-weight: 600;

    cursor: pointer;
}

/* =====================================================
   PROMPT DETALHADO — IAS RECOMENDADAS
===================================================== */

.prompt-detalhado__ias-campo {
    position: relative;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prompt-detalhado__ias-campo>strong {
    color: #22d3ee;
    font-size: 0.9rem;
    font-weight: 700;
}

.prompt-detalhado__ias-conteudo {
    position: relative;

    display: block;

    width: 100%;
    min-width: 0;

    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

/* Campo visual equivalente ao seletor do editor */
.prompt-detalhado__ias-toggle {
    width: 100%;
    height: 38px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid var(--cor-borda, #1f3b4d);
    border-radius: 6px;

    background: var(--cor-fundo-secundario, #111827);
    color: #e2e8f0;

    font: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prompt-detalhado__ias-toggle:hover,
.prompt-detalhado__ias-toggle:focus-visible {
    border-color: var(--cor-destaque, #22d3ee);
    outline: none;
}

/* Lista sobreposta: não desloca outros blocos do modal */
.prompt-detalhado__ias-lista {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 300;

    width: 100%;
    max-height: 230px;

    display: flex;
    flex-direction: column;
    gap: 0;

    padding: 4px 8px;

    overflow-y: auto;
    overflow-x: hidden;

    border: 1px solid rgba(34, 211, 238, 0.55);
    border-radius: 7px;

    background: #0f172a;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.prompt-detalhado__ias-lista.hidden {
    display: none !important;
}

/* Mesmo padrão visual dos itens do editor, sem checkbox */
.prompt-detalhado__ia-item {
    width: 100%;
    min-height: 30px;
    padding: 6px 8px;

    display: flex;
    align-items: center;

    border-radius: 6px;

    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.2;

    white-space: normal;
    overflow-wrap: anywhere;
}

.prompt-detalhado__ia-item:hover {
    background: rgba(34, 211, 238, 0.08);
}

/* =====================================================
   SUGESTÕES
===================================================== */

.prompt-detalhado__sugestoes {
    margin-top: 22px;

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid rgba(255, 255, 255, .06);
}

.prompt-detalhado__sugestoes-topo {
    margin-bottom: 16px;
}



.prompt-detalhado__sugestoes-topo h3 {
    font-size: 16px;
    font-weight: 700;

    color: var(--cor-texto);
}

.prompt-detalhado__sugestoes-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-bottom: 18px;
}

.prompt-detalhado__sugestoes-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prompt-detalhado__sugestoes-input {
    min-height: 90px;

    resize: vertical;

    padding: 14px;

    border-radius: 14px;

    border:
        1px solid rgba(255, 255, 255, .08);

    background:
        rgba(0, 0, 0, .18);

    color: var(--cor-texto);

    font-size: 14px;
}

.prompt-detalhado__sugestoes-enviar {
    align-self: flex-end;

    height: 42px;

    padding: 0 18px;

    border: none;
    border-radius: 12px;

    background: var(--cor-primaria);

    color: #fff;

    font-weight: 700;

    cursor: pointer;
}

/* =====================================================
   ITENS DE SUGESTÃO
===================================================== */

.prompt-detalhado__sugestao-item {
    padding: 14px;

    border-radius: 16px;

    background: #0f172a;

    border:
        1px solid rgba(34, 211, 238, 0.12);
}

.prompt-detalhado__sugestao-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 12px;
}

.prompt-detalhado__sugestao-usuario {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt-detalhado__sugestao-usuario strong {
    display: block;

    color: var(--cor-secundaria);

    font-size: 14px;
}

.prompt-detalhado__sugestao-usuario span {
    display: block;

    color: #94a3b8;

    font-size: 12px;
}

.prompt-detalhado__sugestao-status {
    padding: 5px 10px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .04em;
}

.prompt-detalhado__sugestao-status--pendente {
    background: rgba(234, 179, 8, .16);
    color: #facc15;
}

.prompt-detalhado__sugestao-status--aceita {
    background: rgba(34, 197, 94, .16);
    color: #4ade80;
}

.prompt-detalhado__sugestao-status--rejeitada {
    background: rgba(239, 68, 68, .16);
    color: #f87171;
}

.prompt-detalhado__sugestao-texto {
    margin: 0;
}

/* =====================================================
   OVERLAY PROMPT EDITOR
===================================================== */

.prompt-editor-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(6px);
}

.prompt-editor-overlay.hidden {
    display: none;
}

/* =====================================================
   PROMPT EDITOR
===================================================== */

.prompt-editor {
    width: min(960px, 94vw);
    max-height: 92vh;

    background: #111827;

    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: 12px;

    color: #f8fafc;

    overflow: hidden;

    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.65);
}

/* =====================================================
   BARRA SUPERIOR
===================================================== */

.prompt-editor__barra {
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 10px;

    background: #0b1120;

    border-bottom:
        1px solid rgba(0,
            212,
            255,
            0.22);

    cursor: move;
}

.prompt-editor__barra-espaco {
    min-width: 120px;
}

.prompt-editor__titulo {
    justify-self: center;

    font-size: 13px;
}

.prompt-editor__controles {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt-editor__controle {
    width: 34px;
    height: 34px;

    border: none;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
    color: var(--cor-secundaria);

    cursor: pointer;
}

.prompt-editor__controle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   FORMULÁRIO / CORPO
===================================================== */

.prompt-editor__form {

    display: flex;
    flex-direction: column;

    max-height: calc(92vh - 42px);

    overflow: auto;

    background: #111827;
}

/* =====================================================
   CORPO
===================================================== */

.prompt-editor__corpo {

    display: flex;
    flex-direction: column;

    gap: 14px;

    padding: 18px 22px;

    background: transparent;

    overflow: visible;
}

/* =====================================================
   AUTOR
===================================================== */

.prompt-editor__autor-area {

    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 4px;
}

.prompt-editor__avatar {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f8fafc;
    color: #0f172a;

    font-size: 0.85rem;
    font-weight: 800;

    overflow: hidden;
}

.prompt-editor__avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.prompt-editor__autor-info {

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.prompt-editor__autor-info strong {

    font-size: 0.92rem;
    font-weight: 700;

    color: #f8fafc;
}

/* =====================================================
   PRINCIPAL
===================================================== */

.prompt-editor__principal {

    display: flex;
    flex-direction: column;

    gap: 16px;
}

.prompt-editor__linha {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 16px;
}

/* =====================================================
   CAMPOS
===================================================== */

.prompt-editor__campo {

    display: flex;
    flex-direction: column;

    gap: 7px;
}

.prompt-editor__campo label {

    font-size: 0.86rem;
    font-weight: 600;

    color: #cbd5e1;
}

.prompt-editor__campo input,
.prompt-editor__campo select,
.prompt-editor__campo textarea {

    width: 100%;

    min-height: 42px;

    padding: 10px 12px;

    border-radius: 10px;

    border:
        1px solid rgba(34,
            197,
            94,
            0.18);

    background:
        rgba(15,
            23,
            42,
            0.82);

    color: #f8fafc;

    font-size: 0.92rem;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.prompt-editor__ia-item {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;

    padding: 8px 10px;

    border-radius: 8px;

    cursor: pointer;
}

.prompt-editor__ia-item:hover {
    background: rgba(34, 211, 238, 0.08);
}

.prompt-editor__ia-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 8px;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.82rem;
    cursor: pointer;
}

.prompt-editor__ia-item:hover {
    background: rgba(34, 211, 238, 0.08);
}

.prompt-editor__ia-checkbox {
    width: auto;
    min-height: auto;
    flex-shrink: 0;
}

.prompt-editor__ia-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.prompt-editor__campo input::placeholder,
.prompt-editor__campo textarea::placeholder {

    color:
        rgba(203,
            213,
            225,
            0.58);
}

.prompt-editor__campo input:focus,
.prompt-editor__campo select:focus,
.prompt-editor__campo textarea:focus {

    border-color:
        rgba(34,
            211,
            238,
            0.75);

    box-shadow:
        0 0 0 3px rgba(34,
            211,
            238,
            0.12);
}

.prompt-editor__campo textarea {

    min-height: 230px;

    resize: vertical;

    line-height: 1.55;
}

.prompt-editor__ia-checkbox {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
    flex: 0 0 16px;
    cursor: pointer;
}

.prompt-editor__ia-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 28px;
    padding: 4px 6px;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.84rem;
    line-height: 1.2;
    cursor: pointer;
}

.prompt-editor__ia-item span {
    display: inline-block;
    min-width: 0;
    color: #e2e8f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =====================================================
   ARQUIVO
===================================================== */

.prompt-editor__arquivo-box {

    display: flex;
    flex-direction: column;

    gap: 10px;

    padding: 14px;

    border-radius: 14px;

    background:
        rgba(15,
            23,
            42,
            0.55);

    border:
        1px solid rgba(148,
            163,
            184,
            0.14);
}

.prompt-editor__arquivo-box h3 {

    margin: 0;

    font-size: 0.95rem;
    font-weight: 700;

    color: #f8fafc;
}

.prompt-editor__arquivo-box p {

    margin: 0;

    font-size: 0.84rem;

    line-height: 1.4;

    color: #94a3b8;
}

/* =====================================================
   LATERAL
===================================================== */

.prompt-editor__lateral {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prompt-editor__box {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;

    padding: 16px;

    background: rgba(15, 23, 42, 0.75);
}

.prompt-editor__perigo {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;

    padding: 16px;

    background: rgba(15, 23, 42, 0.75);
}

.prompt-editor__box h3,
.prompt-editor__perigo h3 {
    margin: 0 0 8px;

    font-size: 1rem;
}

.prompt-editor__box p,
.prompt-editor__perigo p,
.prompt-editor__box small {
    color: #94a3b8;
    font-size: 0.88rem;
}

.prompt-editor__upload-input {
    display: none;
}

.prompt-editor__upload-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 110px;
    height: 42px;

    padding: 0;

    border-radius: 12px;

    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;

    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.22);
}

.prompt-editor__upload-botao:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.prompt-editor__perigo {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.16);
}

.prompt-editor__perigo.hidden {
    display: none;
}

/* =====================================================
   RODAPÉ
===================================================== */

.prompt-editor__rodape {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 12px;

    padding: 16px 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(15, 23, 42, 0.82);
}

/* =====================================================
   BOTÕES MODAIS
===================================================== */

.botao-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 118px;
    height: 42px;

    padding: 0 18px;

    border: none;
    border-radius: 12px;

    font-size: 0.92rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.botao-modal:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.botao-modal:active {
    transform: scale(0.98);
}

/* =====================================================
   UPLOAD
===================================================== */

.botao-modal--upload {
    width: 110px;
    min-width: 110px;

    background:
        rgba(34, 197, 94, 0.18);

    border:
        1px solid rgba(34, 197, 94, 0.35);

    color: #bbf7d0;

    box-shadow:
        0 10px 24px rgba(20,
            83,
            45,
            0.22);
}

/* =====================================================
   SALVAR
===================================================== */

.botao-modal--salvar {
    background:
        linear-gradient(135deg,
            #15803d,
            #22c55e);

    color: #ffffff;

    box-shadow:
        0 10px 28px rgba(22,
            163,
            74,
            0.28);
}

/* =====================================================
   CANCELAR
===================================================== */

.botao-modal--cancelar {
    background:
        rgba(148, 163, 184, 0.14);

    border:
        1px solid rgba(148,
            163,
            184,
            0.22);

    color: #e2e8f0;
}

/* =====================================================
   PERIGO
===================================================== */

.botao-modal--perigo {


    background:
        rgba(220, 38, 38, 0.9);

    color: #ffffff;

    box-shadow:
        0 10px 28px rgba(220,
            38,
            38,
            0.24);
}

/* =====================================================
   ESTADOS
===================================================== */

.prompt-editor--maximizado {
    width: 98vw;
    height: 96vh;
    max-height: 96vh;
}

.prompt-editor--maximizado .prompt-editor__form {
    max-height: calc(96vh - 64px);
}

.prompt-editor--minimizado {
    width: 360px;
    height: 64px;

    overflow: hidden;
}

.prompt-editor--minimizado .prompt-editor__form {
    display: none;
}

/* =====================================================
   BOTÃO CRIAR PROMPT FEEDCOM
===================================================== */

.btn-criar-prompt-feedcom {

    min-width: 180px;
    height: 52px;

    padding: 0 18px;

    border: none;
    border-radius: 12px;

    font-size: 0.92rem;
    font-weight: 700;

    cursor: pointer;

    background:
        linear-gradient(135deg,
            #2563eb,
            #3b82f6);

    color: #ffffff;

    box-shadow:
        0 10px 28px rgba(37,
            99,
            235,
            0.28);

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.btn-criar-prompt-feedcom:hover {
    transform: translateY(-1px);

    opacity: 0.98;

    background:
        linear-gradient(135deg,

            #9efa60);

    box-shadow:
        0 14px 32px rgba(37, 235, 96, 0.38);
}

.btn-criar-prompt-feedcom:active {

    transform: scale(0.98);
}


/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 860px) {
    .prompt-editor__layout {
        grid-template-columns: 1fr;
    }

    .prompt-editor__linha {
        grid-template-columns: 1fr;
    }

    .prompt-editor {
        width: 96vw;
    }
}

/* =====================================================
   PROMPT EDITOR — IAS RECOMENDADAS
===================================================== */

.prompt-editor__campo--ias {
    position: relative;
    min-width: 0;
}

/* Botão principal que abre a lista */
.prompt-editor__ias-toggle {
    width: 100%;
    height: 38px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    border: 1px solid var(--cor-borda, #1f3b4d);
    border-radius: 6px;

    background: var(--cor-fundo-secundario, #111827);
    color: #e2e8f0;

    font: inherit;
    font-size: 0.9rem;
    text-align: left;

    cursor: pointer;
}

.prompt-editor__ias-toggle:hover,
.prompt-editor__ias-toggle:focus-visible {
    border-color: var(--cor-destaque, #22d3ee);
    outline: none;
}

.prompt-editor__ias-seta {
    flex-shrink: 0;
    font-size: 14px;
}

/* Caixa suspensa */
.prompt-editor__lista-ias {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;

    width: 100%;
    max-height: 230px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(34, 211, 238, 0.55);
    border-radius: 7px;

    background: #0f172a;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.prompt-editor__lista-ias--fechada {
    display: none;
}

/* Somente a lista de opções possui rolagem */
#prompt-editor-ias-opcoes {
    flex: 1;
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 4px 8px;
}

/* Item individual */
.prompt-editor__ia-item {
    width: 100%;
    min-height: 30px;
    padding: 6px 8px;

    display: flex;
    align-items: center;
    gap: 10px;

    border-radius: 6px;

    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.2;

    cursor: pointer;
}

.prompt-editor__ia-item:hover {
    background: rgba(34, 211, 238, 0.08);
}

.prompt-editor__ia-checkbox {
    appearance: auto;
    -webkit-appearance: checkbox;

    width: 16px !important;
    height: 16px !important;

    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    flex: 0 0 16px;

    margin: 0 !important;
    padding: 0 !important;

    cursor: pointer;
}

.prompt-editor__ia-item span {
    min-width: 0;

    display: inline-block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #e2e8f0;
}

/* Barra fixa abaixo da lista */
.prompt-editor__ias-acoes {
    position: relative;
    z-index: 101;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    padding: 6px 8px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f172a;

    pointer-events: auto;
}

/* Mini botões */
.prompt-editor__ias-acao {
    width: auto;
    min-width: 56px;
    height: 28px;

    padding: 3px 10px;

    border: none;
    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    pointer-events: auto;
}

.prompt-editor__ias-acao--ok {
    background: #168b52;
    color: #ffffff;
}

.prompt-editor__ias-acao--ok:hover {
    background: #1ca866;
}

.prompt-editor__ias-acao--limpar {
    background: #b93636;
    color: #ffffff;
}

.prompt-editor__ias-acao--limpar:hover {
    background: #d14646;
}

.prompt-editor__ias-acao:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* =====================================================
   FEED CARD — CATEGORIA E OBJETIVO
===================================================== */

.feed-card__info-prompt {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;

    margin-top: 0.75rem;
    margin-bottom: 0.65rem;
    padding: 0.85rem;

    border-left: 4px solid #10b981;
    border-radius: 10px;

    background: linear-gradient(90deg,
            rgba(16, 185, 129, 0.08),
            rgba(16, 185, 129, 0.02));
}

.feed-card__categoria,
.feed-card__objetivo {
    display: block;
    width: 100%;

    font-size: 17px;
    line-height: 1.35;
    color: #ffffff;
}

.feed-card__categoria strong,
.feed-card__objetivo strong {
    color: #10b981;
    font-weight: 700;
}

.feed-card__mais {
    margin-left: 0.15rem;
    padding: 0;

    border: none;
    background: transparent;

    color: #10b981;
    font-weight: 700;

    cursor: pointer;
}

.feed-card__mais:hover {
    text-decoration: underline;
}

.prompt-detalhado__objetivo {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    display: flex;
    align-items: flex-start;
    gap: 4px;

    overflow: hidden;
}

.prompt-detalhado__objetivo strong {
    flex-shrink: 0;
}

.prompt-detalhado__objetivo span {
    min-width: 0;
    max-width: 100%;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================================================
   AÇÕES TEXTUAIS DOS COMENTÁRIOS
   ===================================================== */

.comentario__acoes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 8px;
}

.feed-card .comentario__acao,
.prompt-detalhado__card .comentario__acao {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;

    padding: 0;

    border: none;
    border-radius: 0;

    background: transparent;
    color: var(--cor-terciaria);

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    box-shadow: none;
    cursor: pointer;
}

.feed-card .comentario__acao:hover,
.prompt-detalhado__card .comentario__acao:hover {
    background: transparent;
    color: var(--cor-sucesso);

    text-decoration: underline;
    box-shadow: none;
}

.feed-card .comentario__acao:disabled,
.prompt-detalhado__card .comentario__acao:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

/* =====================================================
   RESPOSTAS DOS COMENTÁRIOS
   ===================================================== */

.comentario__resposta-box {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    margin-top: 10px;
}

.feed-card .comentario__resposta-input,
.prompt-detalhado__card .comentario__resposta-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    min-height: 38px;

    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.22);
    color: var(--cor-texto);

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 400;

    outline: none;
}

.feed-card .comentario__resposta-input:focus,
.prompt-detalhado__card .comentario__resposta-input:focus {
    border-color: var(--cor-terciaria);
}

.feed-card .comentario__resposta-enviar,
.prompt-detalhado__card .comentario__resposta-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 72px;
    height: 36px;
    min-height: 36px;

    padding: 0 14px;

    border: 1px solid var(--cor-sucesso);
    border-radius: 999px;

    background: var(--cor-sucesso);
    color: #081000;

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    box-shadow: none;
    cursor: pointer;
}

.feed-card .comentario__resposta-enviar:hover,
.prompt-detalhado__card .comentario__resposta-enviar:hover {
    border-color: var(--cor-sucesso);

    background: var(--cor-sucesso);
    color: #081000;

    opacity: 0.92;
    box-shadow: none;
}

.feed-card .comentario__resposta-enviar:disabled,
.prompt-detalhado__card .comentario__resposta-enviar:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.comentario__respostas {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 10px;
    margin-left: 18px;
    padding-left: 12px;

    border-left: 2px solid rgba(0, 229, 255, 0.22);
}

.comentario__resposta-item {
    padding: 9px 10px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.16);
}

.comentario__resposta-item strong {
    display: block;
    margin-bottom: 4px;

    font-size: 12px;
}

.comentario__resposta-item p {
    margin: 0;

    font-size: 13px;
    line-height: 1.45;
}

.comentario__data {
    display: block;
    margin-top: 6px;
}

.feed-card__comentario-item>.btn {
    margin-top: 6px;
    margin-right: 8px;
}

.feed-card .comentario__resposta-box.hidden,
.prompt-detalhado__card .comentario__resposta-box.hidden {
    display: none;
}

.feed-card .comentario__respostas.hidden,
.prompt-detalhado__card .comentario__respostas.hidden {
    display: none;
}

.prompt-detalhado__card .comentario__ver-respostas.hidden {
    display: none;
}

/* =====================================================
   COMENTÁRIOS — PROMPT DETALHADO
   MESMO PADRÃO VISUAL DO PROMPT CARD
   ===================================================== */

/* -----------------------------------------------------
   AÇÕES TEXTUAIS
   Responder, Ver respostas, Ocultar respostas
   ----------------------------------------------------- */

#prompt-detalhado-janela .comentario__acoes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 8px;
}

#prompt-detalhado-janela .comentario__acao {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;

    padding: 0;

    border: none;
    border-radius: 0;

    background: transparent;
    color: var(--cor-terciaria);

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    box-shadow: none;
    cursor: pointer;
}

#prompt-detalhado-janela .comentario__acao:hover {
    background: transparent;
    color: var(--cor-sucesso);

    text-decoration: underline;
    box-shadow: none;
}

#prompt-detalhado-janela .comentario__acao:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


/* -----------------------------------------------------
   BOTÃO MAIS COMENTÁRIOS
   ----------------------------------------------------- */

#prompt-detalhado-janela .js-comentarios-carregar-mais {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 32px;

    margin-top: 12px;
    padding: 7px 12px;

    border: 1px solid var(--cor-terciaria);
    border-radius: 999px;

    background: transparent;
    color: var(--cor-terciaria);

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
    box-shadow: none;
}

#prompt-detalhado-janela .js-comentarios-carregar-mais:hover {
    border-color: var(--cor-terciaria);

    background: rgba(0, 229, 255, 0.08);
    color: var(--cor-terciaria);

    text-decoration: none;
    box-shadow: none;
}


/* -----------------------------------------------------
   CAMPO DE RESPOSTA
   ----------------------------------------------------- */

#prompt-detalhado-janela .comentario__resposta-box {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    margin-top: 10px;
}

#prompt-detalhado-janela .comentario__resposta-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    min-height: 38px;

    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.22);
    color: var(--cor-texto);

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 400;

    outline: none;
}

#prompt-detalhado-janela .comentario__resposta-input:focus {
    border-color: var(--cor-terciaria);
}


/* -----------------------------------------------------
   BOTÃO ENVIAR RESPOSTA
   ----------------------------------------------------- */

#prompt-detalhado-janela .comentario__resposta-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 72px;
    height: 36px;
    min-height: 36px;

    padding: 0 14px;

    border: 1px solid var(--cor-sucesso);
    border-radius: 999px;

    background: var(--cor-sucesso);
    color: #081000;

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    box-shadow: none;
    cursor: pointer;
}

#prompt-detalhado-janela .comentario__resposta-enviar:hover {
    border-color: var(--cor-sucesso);

    background: var(--cor-sucesso);
    color: #081000;

    opacity: 0.92;
    box-shadow: none;
}

#prompt-detalhado-janela .comentario__resposta-enviar:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


/* -----------------------------------------------------
   LISTA DE RESPOSTAS
   ----------------------------------------------------- */

#prompt-detalhado-janela .comentario__respostas {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 10px;
    margin-left: 18px;
    padding-left: 12px;

    border-left: 2px solid rgba(0, 229, 255, 0.22);
}

#prompt-detalhado-janela .comentario__resposta-item {
    padding: 9px 10px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.16);
}

#prompt-detalhado-janela .comentario__resposta-item strong {
    display: block;

    margin-bottom: 4px;

    color: var(--cor-terciaria);

    font-size: 12px;
}

#prompt-detalhado-janela .comentario__resposta-item p {
    margin: 0;

    font-size: 13px;
    line-height: 1.45;
}


/* -----------------------------------------------------
   CAMPO DE NOVO COMENTÁRIO PRINCIPAL
   ----------------------------------------------------- */

#prompt-detalhado-janela .feed-card__comentario-box {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    margin-top: 12px;
}

#prompt-detalhado-janela .feed-card__comentario-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    min-height: 44px;

    padding: 0 16px;

    border: 1px solid rgba(34, 212, 253, 0.18);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 400;

    outline: none;
}

#prompt-detalhado-janela .feed-card__comentario-input:focus {
    border-color: var(--cor-terciaria);
}


/* -----------------------------------------------------
   BOTÃO ENVIAR COMENTÁRIO PRINCIPAL
   ----------------------------------------------------- */

#prompt-detalhado-janela .feed-card__enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 82px;
    height: 40px;
    min-height: 40px;

    padding: 0 16px;

    border: 1px solid var(--cor-sucesso);
    border-radius: 999px;

    background: var(--cor-sucesso);
    color: #081000;

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    box-shadow: none;
    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;
}

#prompt-detalhado-janela .feed-card__enviar:hover {
    border-color: var(--cor-sucesso);

    background: var(--cor-sucesso);
    color: #081000;

    opacity: 0.92;
    transform: translateY(-1px);

    box-shadow:
        0 0 14px rgba(47, 255, 227, 0.22);
}

#prompt-detalhado-janela .feed-card__enviar:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}


/* -----------------------------------------------------
   ELEMENTOS OCULTOS
   ----------------------------------------------------- */

#prompt-detalhado-janela .comentario__resposta-box.hidden,
#prompt-detalhado-janela .comentario__respostas.hidden,
#prompt-detalhado-janela .comentario__ver-respostas.hidden,
#prompt-detalhado-janela .feed-card__comentario-box.hidden,
#prompt-detalhado-janela .feed-card__comentarios.hidden {
    display: none;
}


/* -----------------------------------------------------
   RESPONSIVIDADE
   ----------------------------------------------------- */

@media (max-width: 768px) {

    #prompt-detalhado-janela .feed-card__comentario-box,
    #prompt-detalhado-janela .comentario__resposta-box {
        flex-direction: column;
        align-items: stretch;
    }

    #prompt-detalhado-janela .feed-card__enviar,
    #prompt-detalhado-janela .comentario__resposta-enviar {
        width: 100%;
    }

    #prompt-detalhado-janela .comentario__respostas {
        margin-left: 8px;
    }
}

/* =====================================================
   PROMPT DETALHADO — COMENTÁRIOS
   PADRÃO VISUAL DO PROMPT CARD
   ===================================================== */


/* =====================================================
   BOTÕES TEXTUAIS
   Responder, Ver respostas, Ocultar respostas,
   Ver comentário completo e Mais respostas
   ===================================================== */

.prompt-detalhado__card .comentario__acao {
    width: auto;
    min-width: 0;

    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    border: none;
    border-radius: 0;

    background: transparent;
    color: var(--cor-terciaria);

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    box-shadow: none;
    cursor: pointer;
}

.prompt-detalhado__card .comentario__acao:hover {
    border: none;

    background: transparent;
    color: var(--cor-sucesso);

    text-decoration: underline;
    box-shadow: none;
}

.prompt-detalhado__card .comentario__acao:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


/* =====================================================
   ÁREA DAS AÇÕES DO COMENTÁRIO
   ===================================================== */

.prompt-detalhado__card .comentario__acoes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 8px;
}


/* =====================================================
   BOTÃO MAIS COMENTÁRIOS
   ===================================================== */

.prompt-detalhado__card .js-comentarios-carregar-mais {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 32px;
    height: auto;

    margin-top: 10px;
    padding: 7px 12px;

    border: 1px solid var(--cor-terciaria);
    border-radius: 999px;

    background: transparent;
    color: var(--cor-terciaria);

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;
    box-shadow: none;

    cursor: pointer;
}

.prompt-detalhado__card .js-comentarios-carregar-mais:hover {
    border-color: var(--cor-terciaria);

    background: rgba(0, 229, 255, 0.08);
    color: var(--cor-terciaria);

    text-decoration: none;
    box-shadow: none;
}


/* =====================================================
   CAMPO DE NOVO COMENTÁRIO
   ===================================================== */

.prompt-detalhado__card .feed-card__comentario-box {
    display: flex;
    align-items: center;

    width: 100%;

    gap: 10px;
    margin-top: 12px;
}

.prompt-detalhado__card .feed-card__comentario-input {
    flex: 1;

    width: auto;
    min-width: 0;

    height: 44px;
    min-height: 44px;

    padding: 0 16px;

    border: 1px solid rgba(34, 212, 253, 0.18);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 400;

    outline: none;
}

.prompt-detalhado__card .feed-card__comentario-input:focus {
    border-color: var(--cor-terciaria);
}


/* =====================================================
   BOTÃO ENVIAR COMENTÁRIO PRINCIPAL
   ===================================================== */

.prompt-detalhado__card .feed-card__enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: auto;
    min-width: 82px;

    height: 40px;
    min-height: 40px;

    margin: 0;
    padding: 0 16px;

    border: 1px solid var(--cor-sucesso);
    border-radius: 999px;

    background: var(--cor-sucesso);
    color: #081000;

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    box-shadow: none;
    cursor: pointer;
}

.prompt-detalhado__card .feed-card__enviar:hover {
    border-color: var(--cor-sucesso);

    background: var(--cor-sucesso);
    color: #081000;

    opacity: 0.92;
    transform: translateY(-1px);

    box-shadow:
        0 0 14px rgba(47, 255, 227, 0.22);
}

.prompt-detalhado__card .feed-card__enviar:disabled {
    cursor: not-allowed;

    opacity: 0.55;
    transform: none;
    box-shadow: none;
}


/* =====================================================
   CAMPO DE RESPOSTA
   ===================================================== */

.prompt-detalhado__card .comentario__resposta-box {
    display: flex;
    align-items: center;

    width: 100%;

    gap: 8px;
    margin-top: 10px;
}

.prompt-detalhado__card .comentario__resposta-input {
    flex: 1;

    width: auto;
    min-width: 0;

    height: 38px;
    min-height: 38px;

    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.22);
    color: var(--cor-texto);

    font-family: var(--fonte-secundaria);
    font-size: 13px;
    font-weight: 400;

    outline: none;
}

.prompt-detalhado__card .comentario__resposta-input:focus {
    border-color: var(--cor-terciaria);
}


/* =====================================================
   BOTÃO ENVIAR RESPOSTA
   ===================================================== */

.prompt-detalhado__card .comentario__resposta-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: auto;
    min-width: 72px;

    height: 36px;
    min-height: 36px;

    margin: 0;
    padding: 0 14px;

    border: 1px solid var(--cor-sucesso);
    border-radius: 999px;

    background: var(--cor-sucesso);
    color: #081000;

    font-family: var(--fonte-secundaria);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    box-shadow: none;
    cursor: pointer;
}

.prompt-detalhado__card .comentario__resposta-enviar:hover {
    border-color: var(--cor-sucesso);

    background: var(--cor-sucesso);
    color: #081000;

    opacity: 0.92;
    box-shadow: none;
}

.prompt-detalhado__card .comentario__resposta-enviar:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


/* =====================================================
   LISTA DE RESPOSTAS
   ===================================================== */

.prompt-detalhado__card .comentario__respostas {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 10px;
    margin-left: 18px;

    padding-left: 12px;

    border-left:
        2px solid rgba(0, 229, 255, 0.22);
}

.prompt-detalhado__card .comentario__resposta-item {
    padding: 9px 10px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.16);
}


/* =====================================================
   ELEMENTOS OCULTOS
   ===================================================== */

.prompt-detalhado__card .comentario__resposta-box.hidden,

.prompt-detalhado__card .comentario__respostas.hidden,

.prompt-detalhado__card .comentario__ver-respostas.hidden,

.prompt-detalhado__card .feed-card__comentario-box.hidden,

.prompt-detalhado__card .feed-card__comentarios.hidden {
    display: none;
}


/* =====================================================
   RESPONSIVIDADE
   ===================================================== */

@media (max-width: 768px) {

    .prompt-detalhado__card .feed-card__comentario-box,

    .prompt-detalhado__card .comentario__resposta-box {
        flex-direction: column;
        align-items: stretch;
    }

    .prompt-detalhado__card .feed-card__enviar,

    .prompt-detalhado__card .comentario__resposta-enviar {
        width: 100%;
    }
}

/* =====================================================
   PROMPT DETALHADO — BARRA DE ROLAGEM EXTERNA
   ===================================================== */

.prompt-detalhado__corpo {
    scrollbar-width: thin;

    scrollbar-color:
        var(--cor-terciaria) rgba(255, 255, 255, 0.05);
}

.prompt-detalhado__corpo::-webkit-scrollbar {
    width: 9px;
}

.prompt-detalhado__corpo::-webkit-scrollbar-track {
    background:
        rgba(255, 255, 255, 0.05);

    border-radius: 999px;
}

.prompt-detalhado__corpo::-webkit-scrollbar-thumb {
    background:
        var(--cor-terciaria);

    border: 2px solid rgba(10, 16, 35, 0.9);

    border-radius: 999px;
}

.prompt-detalhado__corpo::-webkit-scrollbar-thumb:hover {
    background:
        var(--cor-sucesso);
}

/* =====================================================
   COMENTÁRIOS — AÇÃO EXCLUIR
   ===================================================== */

.feed-card .comentario__acao--excluir,
.prompt-detalhado__card .comentario__acao--excluir {
    color: #ff7b7b;
}

.feed-card .comentario__acao--excluir:hover,
.prompt-detalhado__card .comentario__acao--excluir:hover {
    background: transparent;
    color: #ff4d4d;

    text-decoration: underline;
}

.feed-card .comentario__acao--excluir:disabled,
.prompt-detalhado__card .comentario__acao--excluir:disabled {
    color: #ff7b7b;
    opacity: 0.5;
}

/* =====================================================
   SEPARADOR DO CABEÇALHO AUTENTICADO
===================================================== */

.cabecalho__separador {
    color: rgba(34, 212, 253, 0.55);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;

    user-select: none;
    pointer-events: none;
}