@font-face {
    font-family: "Pappnp";
    src: url("Pappnp-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --fundo: #f4efe7;
    --papel: #fffaf2;
    --branco: #fffdf9;
    --texto: #2d2925;
    --cinza: #756d64;
    --borda: #d8cdbd;
    --laranja: #ee7f4d;
    --laranja-escuro: #c55e34;
    --amarelo: #fff0cf;
}

html.tema-escuro {
    --fundo: #15120f;
    --papel: #211c18;
    --branco: #29231e;
    --texto: #f3e9dd;
    --cinza: #b8aa9b;
    --borda: #504338;
    --laranja: #ef8d60;
    --laranja-escuro: #ffab80;
    --amarelo: #45331f;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    color: var(--texto);
    background:
        radial-gradient(circle at 12% 15%, #ffe6c8 0, transparent 23%),
        radial-gradient(circle at 88% 80%, #f7d1be 0, transparent 20%),
        var(--fundo);
    transition: color .2s ease, background-color .2s ease;
}

html.tema-escuro body {
    background:
        radial-gradient(circle at 12% 15%, #3b2a1d 0, transparent 23%),
        radial-gradient(circle at 88% 80%, #38231d 0, transparent 20%),
        var(--fundo);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.pagina {
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: 58px 0 34px;
}

.cabecalho {
    margin-bottom: 28px;
}

h1 {
    margin: 0;
    font-family: "Pappnp", sans-serif;
    max-width: 620px;
    font-size: clamp(36px, 6vw, 65px);
    line-height: .95;
    letter-spacing: -3px;
}

.area-principal {
    overflow: hidden;
    border: 1px solid var(--borda);
    border-radius: 24px;
    background: rgba(255, 250, 242, .92);
    box-shadow: 0 22px 55px #6c4b2c18;
}

html.tema-escuro .area-principal {
    background: rgba(33, 28, 24, .94);
    box-shadow: 0 22px 55px #00000038;
}

.entradas {
    display: grid;
    grid-template-columns: 1fr 65px 1fr;
    gap: 16px;
    align-items: end;
    padding: 28px 30px 24px;
}

.campo span {
    display: block;
    margin-bottom: 7px;
    color: var(--cinza);
    font-size: 12px;
    font-weight: bold;
}

.campo input {
    width: 100%;
    min-width: 0;
    padding: 11px 0 9px;
    border: 0;
    border-bottom: 2px solid var(--borda);
    outline: none;
    color: var(--texto);
    background: transparent;
    font-size: clamp(25px, 4vw, 38px);
    font-weight: bold;
}

.campo input:focus {
    border-color: var(--laranja);
}

.mais {
    padding-bottom: 10px;
    color: var(--laranja-escuro);
    text-align: center;
    font-size: 33px;
    font-weight: bold;
}

.mais-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.mais {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;

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

    color: var(--laranja-escuro);
    background: transparent;
    box-shadow: none;

    text-align: center;
    font-size: 33px;
    font-weight: bold;
    line-height: 1;
    overflow: hidden;
}

.simbolo-ativo {
    display: block;
}

.simbolo-ativo.animar-subida {
    animation: subir-simbolo .18s ease;
}

@keyframes subir-simbolo {
    0% {
        transform: translateY(14px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.menu-operacao {
    position: absolute;
    left: 50%;
    bottom: calc(100% - 2px);
    transform: translateX(-50%);

    display: flex;
    gap: 3px;
    padding: 7px;

    border: 1px solid var(--borda);
    border-radius: 12px;

    background: rgba(255, 250, 242, .95);
    box-shadow: 0 10px 22px #6a4d3216;
}

.menu-operacao button {
    width: 48px;
    height: 48px;
    padding: 0;

    border: 0;
    border-radius: 8px;

    color: var(--laranja-escuro);
    background: transparent;
    box-shadow: none;

    text-align: center;
    font-size: 33px;
    font-weight: bold;
    line-height: 1;
}

.menu-operacao button:hover {
    background: #f4e7d8;
}

html.tema-escuro .menu-operacao {
    background: rgba(33, 28, 24, .97);
    box-shadow: 0 10px 22px #00000038;
}

html.tema-escuro .menu-operacao button:hover {
    background: #3a3028;
}

.menu-operacao.animar-subida-painel {
    animation: subir-painel-operacao .18s ease;
    transform-origin: bottom center;
}

@keyframes subir-painel-operacao {
    0% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.menu-operacao.escondido {
    display: none;
}

.barra-acoes {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 30px;
    border-top: 1px solid #e7ded2;
    border-bottom: 1px solid #e7ded2;
    background: #f8f1e7;
}

html.tema-escuro .barra-acoes {
    border-color: #493d34;
    background: #251f1a;
}

.barra-acoes button {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    font-weight: bold;
}


#combinar {
    color: white;
    background: var(--laranja);
    box-shadow: 0 5px 14px #c55e3428;
}

.secundario {
    color: var(--texto);
    background: #e9dfd2;
}

html.tema-escuro .secundario {
    background: #3a3028;
}

html.tema-escuro #erro {
    color: #ff9d84;
}

#erro {
    margin-left: auto;
    color: #a5422d;
    font-size: 12px;
    font-weight: bold;
}

.separacao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 22px 30px;
}

.separacao-bloco {
    min-width: 0;
}

.separacao-bloco small {
    display: block;
    margin-bottom: 9px;
    color: var(--cinza);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.silabas {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.silaba {
    padding: 6px 9px;
    border: 1px solid var(--borda);
    border-radius: 8px;
    background: var(--branco);
    font-size: 14px;
    font-weight: bold;
}

.resultados {
    padding: 0 30px 30px;
}

.resultados-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 5px 0 13px;
}

.resultados-topo h2 {
    margin: 0;
    font-size: 19px;
}

#quantidade {
    color: var(--cinza);
    font-size: 12px;
}

.lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

.resultado {
    position: relative;
    min-height: 124px;
    padding: 16px 17px 15px 18px;
    border: 1px solid var(--borda);
    border-radius: 15px;
    background: var(--branco);
}

.resultado::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 4px;
    height: 32px;
    border-radius: 0 5px 5px 0;
    background: var(--laranja);
}

.resultado-numero {
    display: block;
    margin-bottom: 4px;
    color: var(--laranja-escuro);
    font-size: 11px;
    font-weight: bold;
}

.resultado h3 {
    margin: 0 0 8px;
    font-size: 25px;
    letter-spacing: -.6px;
    overflow-wrap: anywhere;
}



.resultado-palavra {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.resultado-palavra h3 {
    flex: 1;
    margin-bottom: 0;
}

.ouvir-palavra {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: grid;
    place-items: center;

    padding: 0;
    border: 1px solid var(--borda);
    border-radius: 10px;

    background: var(--papel);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;

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

.ouvir-palavra:hover {
    background: var(--amarelo);
    transform: translateY(-1px);
}

.ouvir-palavra:active {
    transform: translateY(0);
}

.ouvir-palavra.falando {
    animation: foneFalando .45s ease-in-out infinite alternate;
}

@keyframes foneFalando {
    from { transform: rotate(-5deg) scale(.96); }
    to { transform: rotate(5deg) scale(1.05); }
}

.resultado p {
    margin: 0;
    color: var(--cinza);
    font-size: 13px;
    line-height: 1.42;
}

.vazio {
    grid-column: 1 / -1;
    padding: 25px;
    border: 1px dashed var(--borda);
    border-radius: 14px;
    color: var(--cinza);
    text-align: center;
    font-size: 13px;
}

.observacao {
    position: relative;
    width: fit-content;
    max-width: 520px;
    margin: 22px 0 0;
    padding: 11px 14px 11px 44px;

    border: 1px solid #dfd1bf;
    border-radius: 12px;

    color: var(--cinza);
    background: rgba(255, 250, 242, .7);

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

.observacao::before {
    content: "i";
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);

    width: 17px;
    height: 17px;

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

    border: 1px solid #e5b98d;
    border-radius: 50%;

    color: var(--laranja-escuro);
    background: #fff2dc;

    font-size: 11px;
    font-weight: bold;
    line-height: 1;
}

html.tema-escuro .observacao {
    border-color: var(--borda);
    background: rgba(33, 28, 24, .78);
}

html.tema-escuro .observacao::before {
    border-color: #7b5940;
    background: #3c2d20;
}

.controle-som {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 18;

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

    padding: 8px 10px;
    border: 1px solid var(--borda);
    border-radius: 12px;

    background: rgba(255, 250, 242, .94);
    box-shadow: 0 5px 18px #59422c18;
    backdrop-filter: blur(5px);
}

html.tema-escuro .controle-som {
    background: rgba(33, 28, 24, .95);
    box-shadow: 0 5px 18px #00000040;
}

.controle-som span {
    width: 18px;
    color: var(--laranja-escuro);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.controle-som input {
    width: 95px;
    accent-color: var(--laranja);
    cursor: pointer;
}

.botao-historico {
    position: fixed;
    top: 105px;
    left: 0;
    z-index: 15;
    min-height: 42px;
    padding: 0 12px 0 10px;
    border: 1px solid var(--borda);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    color: var(--texto);
    background: var(--papel);
    box-shadow: 4px 5px 16px #59422c16;
    font-size: 12px;
    font-weight: bold;
}

.botao-historico:hover {
    background: #f8eee1;
}

.botao-ajuda {
    position: fixed;
    top: 154px;
    left: 0;
    z-index: 15;

    min-height: 38px;
    padding: 0 12px 0 10px;

    border: 1px solid var(--borda);
    border-left: 0;
    border-radius: 0 12px 12px 0;

    color: var(--texto);
    background: var(--papel);
    box-shadow: 4px 5px 16px #59422c12;

    font-size: 12px;
    font-weight: bold;
}

.botao-ajuda:hover {
    background: #f8eee1;
}

.botao-creditos {
    position: fixed;
    top: 199px;
    left: 0;
    z-index: 15;

    min-height: 38px;
    padding: 0 12px 0 10px;

    border: 1px solid var(--borda);
    border-left: 0;
    border-radius: 0 12px 12px 0;

    color: var(--texto);
    background: var(--papel);
    box-shadow: 4px 5px 16px #59422c12;

    font-size: 12px;
    font-weight: bold;
}

.botao-creditos:hover {
    background: #f8eee1;
}

html.tema-escuro .botao-historico:hover,
html.tema-escuro .botao-ajuda:hover,
html.tema-escuro .botao-creditos:hover {
    background: #332a23;
}

.ajuda {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 31;

    width: 380px;
    height: 100vh;
    padding: 18px 18px 24px;

    border-right: 1px solid var(--borda);
    background: var(--papel);
    box-shadow: none;

    transform: translateX(calc(-100% - 40px));
    transition: transform .2s ease, box-shadow .2s ease;
}

.ajuda.aberta {
    transform: translateX(0);
    box-shadow: 12px 0 30px #2d29251c;
}

.ajuda-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 3px 2px 15px;
    border-bottom: 1px solid var(--borda);
}

.ajuda-topo h2 {
    margin: 0;
    font-size: 21px;
}

.fechar-ajuda {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 8px;

    color: var(--texto);
    background: #e9dfd2;

    font-size: 17px;
}

html.tema-escuro .fechar-ajuda,
html.tema-escuro .fechar-creditos,
html.tema-escuro .fechar-historico {
    background: #3a3028;
}

.ajuda-conteudo {
    height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 14px 2px 20px;
}

.ajuda-intro {
    margin: 0 0 14px;
    color: var(--cinza);
    font-size: 12px;
    line-height: 1.5;
}

.operacao-ajuda {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 11px;

    padding: 13px 0;
    border-bottom: 1px solid #e1d7ca;
}

html.tema-escuro .operacao-ajuda,
html.tema-escuro .credito-item,
html.tema-escuro .historico-item {
    border-color: #493d34;
}

.operacao-ajuda:last-child {
    border-bottom: 0;
}

.simbolo-ajuda {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid #e5c9ab;
    border-radius: 10px;

    color: var(--laranja-escuro);
    background: #fff1df;

    font-size: 24px;
    font-weight: bold;
}

html.tema-escuro .simbolo-ajuda {
    border-color: #76543c;
    background: #3c2d20;
}

.operacao-ajuda h3 {
    margin: 1px 0 5px;
    font-size: 14px;
}

.operacao-ajuda p {
    margin: 0;
    color: var(--cinza);
    font-size: 12px;
    line-height: 1.45;
}

.exemplo-ajuda {
    display: block;
    margin-top: 5px;
    color: var(--texto);
    font-weight: bold;
}

.creditos {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 31;

    width: 380px;
    height: 100vh;
    padding: 18px 18px 24px;

    border-right: 1px solid var(--borda);
    background: var(--papel);
    box-shadow: none;

    transform: translateX(calc(-100% - 40px));
    transition: transform .2s ease, box-shadow .2s ease;
}

.creditos.aberta {
    transform: translateX(0);
    box-shadow: 12px 0 30px #2d29251c;
}

.creditos-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 3px 2px 15px;
    border-bottom: 1px solid var(--borda);
}

.creditos-topo h2 {
    margin: 0;
    font-size: 21px;
}

.fechar-creditos {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 8px;

    color: var(--texto);
    background: #e9dfd2;

    font-size: 17px;
}

.creditos-conteudo {
    display: grid;
    align-content: start;
    gap: 11px;
    padding: 18px 2px;
    height: calc(100vh - 76px);
    overflow-y: auto;
}

.credito-item {
    padding: 16px;
    border: 1px solid #e1d7ca;
    border-radius: 13px;
    background: var(--branco);
}

.credito-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--texto);
    font-size: 16px;
}

.credito-item span {
    display: block;
    color: var(--cinza);
    font-size: 12px;
    line-height: 1.45;
}

.credito-item a {
    color: var(--texto);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .12s ease;
}

.credito-item a::after {
    content: "↗";
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
    color: var(--cinza);
    text-decoration: none;
    transition: color .12s ease;
}

.credito-item a:hover {
    color: var(--laranja-escuro);
}

.credito-item a:hover::after {
    color: var(--laranja-escuro);
}


.fundo-historico {
    position: fixed;
    inset: 0;
    z-index: 20;
    visibility: hidden;
    opacity: 0;
    background: #241d1850;
    transition: .18s;
}

.fundo-historico.mostrar {
    visibility: visible;
    opacity: 1;
}

.historico {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: 340px;
    height: 100vh;
    padding: 18px 17px 20px;
    border-right: 1px solid var(--borda);
    background: var(--papel);
    box-shadow: none;
    transform: translateX(calc(-100% - 40px));
    transition: transform .2s ease, box-shadow .2s ease;
}

.historico.aberto {
    transform: translateX(0);
    box-shadow: 12px 0 30px #2d29251c;
}

html.tema-escuro .ajuda.aberta,
html.tema-escuro .creditos.aberta,
html.tema-escuro .historico.aberto {
    box-shadow: 12px 0 30px #00000050;
}

.historico-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 2px 15px;
    border-bottom: 1px solid var(--borda);
}

.historico-topo h2 {
    margin: 0;
    font-size: 21px;
}

.fechar-historico {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #e9dfd2;
    color: var(--texto);
    font-size: 17px;
}

#limparHistorico {
    width: 100%;
    margin: 12px 0 4px;
    padding: 8px 10px;
    border: 1px solid var(--borda);
    border-radius: 8px;
    color: var(--cinza);
    background: transparent;
    font-size: 11px;
    font-weight: bold;
}

.historico-lista {
    height: calc(100vh - 118px);
    overflow-y: auto;
    padding-right: 3px;
}

.historico-item {
    padding: 14px 2px;
    border-bottom: 1px solid #e1d7ca;
}

.historico-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.historico-resultados {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 9px;
}

.historico-resultados span {
    padding: 4px 7px;
    border-radius: 7px;
    background: var(--amarelo);
    font-size: 11px;
    font-weight: bold;
}

.usar-de-novo {
    padding: 0;
    border: 0;
    color: var(--laranja-escuro);
    background: transparent;
    font-size: 11px;
    font-weight: bold;
}

.historico-vazio {
    padding: 23px 2px;
    color: var(--cinza);
    font-size: 12px;
    line-height: 1.5;
}

.puxador {
    position: absolute;
    top: 0;
    right: -5px;
    width: 10px;
    height: 100%;
    cursor: ew-resize;
}

@media (max-width: 720px) {
    .pagina {
        width: min(100% - 22px, 980px);
        padding-top: 32px;
    }

    .cabecalho {
        display: block;
    }

    .entradas {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 22px 20px;
    }

    .mais-area {
        justify-content: flex-start;
        padding-bottom: 0;
    }

    .mais {
        width: 48px;
        height: 48px;
    }

    .menu-operacao {
        left: 0;
        transform: none;
    }

    .barra-acoes {
        padding: 13px 20px;
        flex-wrap: wrap;
    }

    #erro {
        width: 100%;
        margin-left: 0;
    }

    .separacao,
    .lista {
        grid-template-columns: 1fr;
    }

    .separacao {
        padding: 20px;
    }

    .resultados {
        padding: 0 20px 22px;
    }

    .botao-historico {
        top: 82px;
    }

    .botao-ajuda {
        top: 130px;
    }

    .botao-creditos {
        top: 176px;
    }

    .historico {
        width: min(88vw, 350px);
    }

    .ajuda,
    .creditos {
        width: min(88vw, 380px);
    }

    .puxador {
        display: none;
    }
}

.idiomas {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 40;
}

.tema-botao {
    position: fixed;
    top: 18px;
    right: 116px;
    z-index: 40;

    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;

    padding: 0;
    border: 1px solid var(--borda);
    border-radius: 12px;

    color: var(--laranja-escuro);
    background: rgba(255, 250, 242, .96);
    box-shadow: 0 5px 18px #59422c12;

    font-size: 19px;
    line-height: 1;
    transition: transform .15s ease, background .15s ease;
}

.tema-botao:hover {
    background: #f8eee1;
    transform: translateY(-1px);
}

.tema-botao:active {
    transform: translateY(0);
}

.tema-botao:focus-visible {
    outline: 2px solid var(--laranja);
    outline-offset: 2px;
}

html.tema-escuro .tema-botao,
html.tema-escuro .idioma-botao {
    background: rgba(33, 28, 24, .97);
    box-shadow: 0 5px 18px #00000040;
}

html.tema-escuro .tema-botao:hover {
    background: #332a23;
}

.idioma-botao {
    min-width: 88px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 0 12px;
    border: 1px solid var(--borda);
    border-radius: 12px;

    color: var(--texto);
    background: rgba(255, 250, 242, .96);
    box-shadow: 0 5px 18px #59422c12;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.idioma-seta {
    color: var(--laranja-escuro);
    font-size: 11px;
}

.idioma-menu {
    position: absolute;
    top: 44px;
    right: 0;

    width: 150px;
    padding: 6px;

    border: 1px solid var(--borda);
    border-radius: 12px;
    background: var(--papel);
    box-shadow: 0 12px 30px #4d35221f;
}

.idioma-menu.escondido {
    display: none;
}

.idioma-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 9px 10px;
    border: 0;
    border-radius: 8px;

    color: var(--texto);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    text-align: left;
}

.idioma-menu button:hover {
    background: var(--amarelo);
}

.idioma-menu button.ativo {
    color: var(--laranja-escuro);
    background: #fff0df;
    font-weight: 700;
}

html.tema-escuro .idioma-menu button.ativo {
    background: #3c2d20;
}

@media (max-width: 700px) {
    .idiomas {
        top: 10px;
        right: 10px;
    }

    .idioma-botao {
        min-width: 76px;
        height: 34px;
        padding: 0 9px;
    }

    .tema-botao {
        top: 10px;
        right: 93px;
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }
}

/* ===== SKIN (imagens na pasta skin/) ===== */
/* Quando o skin.js encontra uma imagem, ele adiciona .skin-aplicado + .skin-<tipo>
   e define --skin-imagem. Estes estilos aplicam a imagem por cima do padrão. */

.skin-botao {
    background: var(--skin-imagem) center / 100% 100% no-repeat !important;
    color: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.skin-botao > * {
    color: transparent !important;
    text-shadow: none !important;
}

.skin-campo {
    background: var(--skin-imagem) center / 100% 100% no-repeat !important;
    border: 0 !important;
}

.skin-campo input {
    background: transparent !important;
    border-color: transparent !important;
}

.skin-painel {
    background: var(--skin-imagem) center / 100% 100% no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ===== FUNDO PRINCIPAL (Desktop) ===== */
.skin-fundo {
    background: var(--skin-imagem) center / 100% 100% no-repeat fixed !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fundo para o body */
body.skin-fundo {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    background: var(--skin-imagem) center / 100% 100% no-repeat fixed !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* ===== TABLETS (vertical) ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .skin-fundo,
    body.skin-fundo {
        background-size: auto 100% !important;
        background-position: center !important;
        background-attachment: scroll !important;
    }
}

/* ===== SMARTPHONES (vertical) ===== */
@media (max-width: 768px) {
    .skin-fundo,
    body.skin-fundo {
        background-size: auto 100% !important;
        background-position: center !important;
        background-attachment: scroll !important;
        min-height: 100vh !important;
        height: auto !important;
    }
}

/* ===== SMARTPHONES MUITO PEQUENOS ===== */
@media (max-width: 480px) {
    .skin-fundo,
    body.skin-fundo {
        background-size: auto 100% !important;
        background-position: center !important;
        background-attachment: scroll !important;
        min-height: 100vh !important;
    }
}

/* ===== TELAS MUITO GRANDES (Desktop) ===== */
@media (min-width: 2560px) {
    .skin-fundo,
    body.skin-fundo {
        background-size: 100% 100% !important;
        background-position: center !important;
    }
}
