    .dz-popup-overlay {
        position: fixed;
        opacity: 0;
        transition: opacity .25s ease;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        z-index: 1000;
        min-width: 500px;
        border-radius: 15px;
        background: #1a1a1a;
        box-shadow: 0 0 30px #000;
        pointer-events: none;
    }
    @media (max-width: 420px) {
        .dz-popup-overlay {
            min-width: 350px;
        }
    }
    
    #dz-popup-overlay.visible {
        opacity: 1;
        pointer-events: all;
    }

    .dz-popup-header {
        display: flex;
        justify-content: space-between;
        height: 50px;
        padding: 0 15px;
        border-bottom: 1.5px solid #595959;
    }
    .dz-popup-title {
        line-height: 50px;
    }
    .dz-popup-close-container {
        display: flex;
    }
    .dz-popup-close {
        width: 20px;
        height: 20px;
        background: transparent;
        border: none;
        border-radius: 15px;
        align-self: center;
        transition: opacity .25s ease;
    }
    .dz-popup-close:hover {
        opacity: 0.7;
    }
    .dz-popup-content {
        padding: 15px;
        font-size: 0.85rem;
    }
    .dz-popup-text {
        line-height: 1.5;
        color: #ddd;
        white-space: pre-wrap;
        word-break: break-word;
    }
    .dz-popup-input-wrap {
        margin-top: 12px;
    }
    .dz-popup-input {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 10px;
        border-radius: 6px;
        border: 1px solid #2a2a2a;
        background: #0c0c0c;
        color: #ccc;
        font-size: 0.85rem;
        font-family: inherit;
        outline: none;
        transition: border-color .15s;
        resize: vertical;
    }
    .dz-popup-input:focus {
        border-color: #555;
        background: #131313;
    }
    .dz-popup-footer {
        display: flex;
        gap: 5px;
        padding: 10px;
        float: inline-end;
    }
    .dz-btn {
        padding: 6px 13px;
        border-radius: 8px;
        border: 2.5px solid;
        border-color: #ccc;
        background: #1a1a1a;
        color: #fff;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s, border 0.2s;
    }
    .dz-btn-gray {
        border-top-color: rgb(51, 51, 51);
        border-right-color: rgb(51, 51, 51);
        border-bottom-color: rgb(51, 51, 51);
        border-left-color: rgb(51, 51, 51);
    }
    .dz-btn-danger {
        border-color: indianred;
    }
    .dz-popup-footer > button:hover {
        background: #222;
        border-color: #555;
    }

    /* === CHANGELOG / "WHAT'S NEW" POPUP === */

    .dz-changelog {
        max-height: 60vh;
        overflow-y: auto;
        padding-right: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .dz-changelog-intro {
        margin: 0 0 16px;
        color: #aaa;
        line-height: 1.5;
    }
    .dz-changelog-release {
        padding: 14px 0;
        border-top: 1px solid #2a2a2a;
    }
    .dz-changelog-release:first-of-type {
        padding-top: 0;
        border-top: none;
    }
    .dz-changelog-release:not(.is-current) {
        opacity: 0.6;
    }
    .dz-changelog-relhead {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }
    .dz-changelog-ver {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.25rem;
        letter-spacing: .04em;
        color: #fff;
        line-height: 1;
    }
    .dz-changelog-badge {
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: #6cc070;
        background: rgba(60, 160, 80, .12);
        border: 1px solid rgba(60, 160, 80, .3);
        border-radius: 4px;
        padding: 2px 6px;
    }
    .dz-changelog-codename {
        font-size: 0.78rem;
        font-weight: 600;
        color: #9b8cff;
        letter-spacing: .02em;
    }
    .dz-changelog-date {
        margin-left: auto;
        font-size: 0.7rem;
        color: #555;
        font-variant-numeric: tabular-nums;
    }
    .dz-changelog-sechead {
        margin: 12px 0 6px;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: .8px;
        text-transform: uppercase;
        color: #777;
    }
    .dz-changelog-list {
        margin: 0;
        padding-left: 18px;
        line-height: 1.6;
        color: #ccc;
    }
    .dz-changelog-list li {
        margin-bottom: 4px;
    }
    .dz-changelog-item-desc {
        display: block;
        margin-top: 2px;
        font-size: 0.78rem;
        color: #888;
        line-height: 1.45;
    }

    /* === COVER BG CONTROLS === */

    .cover-size-picker {
        display: flex;
        gap: 6px;
    }

    .cover-size-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .cover-size-btn:hover {
        background: #222;
        border-color: #555;
    }

    .cover-size-btn.active {
        background: #fff;
        color: #000;
        border-color: #fff;
    }

    .cover-opacity-box {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #111;
        border: 1px solid #333;
        border-radius: 8px;
        padding: 9px 12px;
    }

    .cover-opacity-label {
        font-size: 0.82rem;
        color: #888;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .cover-opacity-value {
        min-width: 32px;
        text-align: right;
        font-size: 0.82rem;
        color: #888;
        font-variant-numeric: tabular-nums;
        flex-shrink: 0;
    }

    .cover-slider {
        -webkit-appearance: none;
        appearance: none;
        flex: 1;
        height: 3px;
        background: linear-gradient(to right, #fff var(--fill, 0%), #333 var(--fill, 0%));
        border-radius: 2px;
        outline: none;
        cursor: pointer;
    }

    .cover-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #ffffff;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }

    .cover-slider::-moz-range-thumb {
        width: 13px;
        height: 13px;
        border: none;
        border-radius: 50%;
        background: #ffffff;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }

    .cover-slider::-moz-range-progress {
        background: #fff;
        border-radius: 2px;
        height: 3px;
    }

    .cover-slider::-moz-range-track {
        background: #333;
        border-radius: 2px;
        height: 3px;
    }

    /* -- ROLE MANAGER -- */

    .user-role-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 300px;
        padding: 10px;
        background: #282828;
        color: #fff;
    }

    .user-role-list.drag-over {
        outline: 2px dashed #444;
    }

    .role-pill:active {
        cursor: grabbing;
    }
