.screen-pix-gen {
    visibility: visible !important;
    display: flex !important;
    margin-top: 0px !important;
    overflow-y: auto !important;
    scrollbar-color: var(--color-verde) transparent;
    scrollbar-width: thin;
    height: 100vh;
}

body {
    display: inline !important;
}


section {
    display: flex !important;
    flex-direction: column;
    max-width: 600px !important;
    margin: 40px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
    padding-inline: 10px;

    /* padding: 0 20px; */
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--color-verde);
}

details {
    /* width: 100%; */
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
    transition: background-color 0.3s ease;
}

details[open] {
    background: #e3f2fd;
    box-shadow: 0 4px 12px rgb(10 116 218 / 0.3);
    /* background-color: rebeccapurple; */
    max-width: 600px !important;
}

summary {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding: 15px 20px 15px 45px;
    cursor: pointer;
    min-width: 400px !important;
}

summary::marker {
    content: '';
}

summary::before {
    content: '▶';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: var(--color-verde);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

details[open] summary::before {
    max-width: 200px !important;
    transform: translateY(-50%) rotate(90deg);
}

details>p {
    padding: 0 20px 15px 20px;
    margin: 0;
    line-height: 1.5;
    color: #444;
    font-size: 0.95rem;
    word-break: break-word;
    /* evita estouro lateral de texto longo */
}


@media (max-width: 400px) {

    section {
        /* background-color: rebeccapurple; */
        padding: 0 !important;
        width: 100vw !important;
        align-items: center;
    }

    summary, details, button {
     
        overflow: auto;
        word-break: break-word;
        max-width: 300px !important;
        min-width: 300px !important;
    }

    details[open] {
        max-width: 300px !important;
    }

}