/* EFFECT_COLLAPSE_V1: compact controls for the Effects step. */
#step3 .effect-collapse-header {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px;
    min-width: 0;
}

#step3 .effect-collapse-header > label:first-child {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.4;
}

#step3 .effect-collapse-header > .liquid-toggle {
    flex: 0 0 auto;
    margin-left: auto;
}

#step3 .effect-collapse-btn {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    color: var(--text-secondary, #cbd5e1);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#step3 .effect-collapse-btn:hover {
    background: rgba(238,69,64,0.16);
    border-color: rgba(238,69,64,0.65);
    color: #fff;
    transform: translateY(-1px);
}

#step3 .effect-collapse-btn:focus-visible {
    outline: 2px solid var(--accent, #ee4540);
    outline-offset: 2px;
}

#step3 .effect-collapse-btn i {
    font-size: 0.82rem;
    transition: transform 0.2s ease;
}

#step3 .effect-section-collapsed {
    padding-bottom: 12px;
}

#step3 .effect-section-collapsed > .toggle-content,
#step3 .effect-section-collapsed > .toggle-content[hidden] {
    display: none !important;
    margin-top: 0 !important;
}

#step3 .effect-collapse-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 480px) {
    #step3 .effect-collapse-header {
        gap: 8px;
    }

    #step3 .effect-collapse-btn {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #step3 .effect-collapse-btn,
    #step3 .effect-collapse-btn i {
        transition: none;
    }
}
