/* Nature Generator landing (/nature-generator)

   Shared controls live in apps.css */



.nature-generator-landing-app {

    display: grid;

    gap: 1rem;

    align-items: start;

}



.filter-landing-stage.nature-generator-landing-stage {

    position: relative;

    display: block;

    width: 100%;

    min-height: 280px;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #000000;

    box-shadow: none;

    touch-action: none;

}




.filter-landing-stage.nature-generator-landing-stage.is-transparent-bg {

    background-color: var(--component-checker-bg);

    background-image: repeating-conic-gradient(var(--component-checker-square) 0deg 90deg, var(--component-checker-bg) 90deg 180deg);

    background-size: var(--component-square-size) var(--component-square-size);

}


.nature-generator-landing-canvas {

    display: block;

    width: 100%;

    height: 100%;

}



.nature-generator-landing-controls {

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    align-content: start;

    align-self: start;

    gap: 0.9rem;

    margin-top: 0;

    padding-top: 0;

}



body.filter-app-mode .nature-generator-landing-app > .filter-landing-controls {

    align-self: start;

}



.nature-generator-color-pair {

    margin: 0;

    flex: 0 0 auto;

    width: 100%;

}



.nature-generator-dna {

    display: grid;

    gap: 0.7rem;

    flex: 0 0 auto;

    width: 100%;

}



.nature-generator-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 0.65rem 0.85rem;

    flex: 0 0 auto;

}



.nature-generator-pause-btn,

.nature-generator-reset-btn {

    appearance: none;

    border: 1px solid rgba(15, 23, 42, 0.18);

    background: #ffffff;

    color: #0f172a;

    border-radius: 999px;

    padding: 0.28rem 0.85rem;

    font: inherit;

    font-weight: 600;

    cursor: pointer;

}



.nature-generator-pause-btn:hover:not(:disabled),

.nature-generator-reset-btn:hover:not(:disabled) {

    border-color: rgba(15, 23, 42, 0.35);

    background: #f8fafc;

}



.nature-generator-pause-btn[aria-pressed="true"] {

    background: #0f172a;

    border-color: #0f172a;

    color: #ffffff;

}



.dark .nature-generator-pause-btn,

.dark .nature-generator-reset-btn {

    border-color: rgba(255, 255, 255, 0.16);

    background: rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.92);

}



.dark .nature-generator-pause-btn:hover:not(:disabled),

.dark .nature-generator-reset-btn:hover:not(:disabled) {

    border-color: rgba(255, 255, 255, 0.32);

    background: rgba(255, 255, 255, 0.14);

}



.dark .nature-generator-pause-btn[aria-pressed="true"] {

    background: #f8fafc;

    border-color: #f8fafc;

    color: #0f172a;

}



@media (max-width: 960px) {

    body.filter-app-mode .filter-landing-stage.nature-generator-landing-stage {

        max-height: min(48vh, 360px);

        min-height: 180px;

    }



    body.filter-app-mode .nature-generator-landing-app > .filter-landing-controls {

        overflow-x: hidden;

        overflow-y: auto;

        min-height: 0;

        overscroll-behavior: contain;

        align-self: stretch;

        max-height: min(42vh, 300px);

        padding-bottom: max(8px, env(safe-area-inset-bottom));

    }

}



@media (max-width: 600px) {

    .filter-landing-stage.nature-generator-landing-stage {

        min-height: 220px;

    }



    body.filter-app-mode .filter-landing-stage.nature-generator-landing-stage {

        max-height: min(38vh, 280px);

        min-height: 140px;

    }



    body.filter-app-mode .nature-generator-landing-app > .filter-landing-controls {

        overflow-x: hidden;

        overflow-y: auto;

        min-height: 0;

        overscroll-behavior: contain;

        align-self: stretch;

        max-height: min(46vh, 320px);

        padding-bottom: max(8px, env(safe-area-inset-bottom));

    }

}

