.sr-my-ads-launchers {
    margin-top: 24px;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sr-my-ads-launcher {
    min-width: 0;
    min-height: 112px;
    padding: 18px;
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    color: #f8fafc;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, .98),
            rgba(2, 6, 23, .92)
        );
    box-shadow:
        0 16px 38px rgba(0, 0, 0, .24);
    cursor: pointer;
    text-align: left;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.sr-my-ads-launcher:hover {
    transform: translateY(-2px);
    border-color: rgba(134, 239, 172, .42);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, .30);
}

.sr-my-ads-launcher-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 950;
}

.sr-my-ads-launcher.is-active
.sr-my-ads-launcher-icon {
    color: #86efac;
    background: rgba(34, 197, 94, .13);
    border: 1px solid rgba(74, 222, 128, .28);
}

.sr-my-ads-launcher.is-archived
.sr-my-ads-launcher-icon {
    color: #fbbf24;
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(251, 191, 36, .26);
}

.sr-my-ads-launcher-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.sr-my-ads-launcher-copy strong {
    min-width: 0;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sr-my-ads-launcher-copy small {
    min-width: 0;
    overflow: hidden;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sr-my-ads-launcher-count {
    min-width: 44px;
    height: 44px;
    padding-inline: 9px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #f8fafc;
    background: rgba(148, 163, 184, .12);
    border: 1px solid rgba(148, 163, 184, .18);
    font-size: 17px;
    font-weight: 950;
}

.sr-my-ads-dialog {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    padding: 28px;
}

.sr-my-ads-dialog.is-open {
    display: grid;
    place-items: center;
}

.sr-my-ads-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .84);
    backdrop-filter: blur(8px);
}

.sr-my-ads-dialog-panel {
    position: relative;
    width: min(1180px, 100%);
    max-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(74, 222, 128, .28);
    border-radius: 24px;
    outline: none;
    background:
        radial-gradient(
            circle at 90% 0,
            rgba(34, 197, 94, .12),
            transparent 34%
        ),
        #07101f;
    box-shadow:
        0 36px 110px rgba(0, 0, 0, .62);
}

.sr-my-ads-dialog-head {
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom:
        1px solid rgba(148, 163, 184, .14);
    background: rgba(15, 23, 42, .82);
}

.sr-my-ads-dialog-head h2 {
    margin: 5px 0 7px;
    font-size: 28px;
}

.sr-my-ads-dialog-head p {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.5;
}

.sr-my-ads-dialog-count {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    color: #86efac;
    background: rgba(34, 197, 94, .10);
    border: 1px solid rgba(74, 222, 128, .22);
    font-size: 11px;
    font-weight: 900;
}

.sr-my-ads-dialog-close {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #f8fafc;
    background: rgba(148, 163, 184, .11);
    border: 1px solid rgba(148, 163, 184, .18);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.sr-my-ads-dialog-list {
    padding: 18px;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.sr-my-ads-dialog-list
.ad-user-card {
    align-self: start;
}

.sr-my-ads-dialog-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
}

body.sr-my-ads-dialog-lock {
    overflow: hidden;
}

@media (max-width: 760px) {
    .sr-my-ads-launchers {
        margin-top: 10px;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .sr-my-ads-launcher {
        width: 100%;
        min-height: 68px;
        padding: 9px;
        grid-template-columns:
            34px minmax(0, 1fr) 34px;
        gap: 9px;
        border-radius: 11px;
    }

    .sr-my-ads-launcher:hover {
        transform: none;
    }

    .sr-my-ads-launcher-icon {
        width: 34px;
        min-width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 13px;
    }

    .sr-my-ads-launcher-copy {
        gap: 2px;
    }

    .sr-my-ads-launcher-copy strong {
        font-size: 10px;
    }

    .sr-my-ads-launcher-copy small {
        font-size: 6px;
    }

    .sr-my-ads-launcher-count {
        min-width: 34px;
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 9px;
        font-size: 11px;
    }

    .sr-my-ads-dialog {
        padding: 8px;
    }

    .sr-my-ads-dialog-panel {
        width: 100%;
        max-height: calc(100vh - 16px);
        border-radius: 17px;
    }

    .sr-my-ads-dialog-head {
        padding: 12px;
        gap: 10px;
    }

    .sr-my-ads-dialog-head h2 {
        margin: 4px 0;
        font-size: 18px;
    }

    .sr-my-ads-dialog-head p {
        font-size: 8px;
        line-height: 1.4;
    }

    .sr-my-ads-dialog-count {
        padding: 4px 6px;
        font-size: 6px;
    }

    .sr-my-ads-dialog-close {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        border-radius: 10px;
        font-size: 22px;
    }

    .sr-my-ads-dialog-list {
        padding: 8px;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .sr-my-ads-dialog-list
    .ad-user-card {
        min-height: 330px !important;
    }

    .sr-my-ads-dialog-empty {
        min-height: 180px;
        font-size: 9px;
    }
}

@media (max-width: 390px) {
    .sr-my-ads-dialog {
        padding: 5px;
    }

    .sr-my-ads-dialog-panel {
        max-height: calc(100vh - 10px);
        border-radius: 14px;
    }

    .sr-my-ads-dialog-list {
        padding: 6px;
        gap: 5px;
    }
}
