.ass-summary-block {
    --ass-accent: #2f80ed;
    --ass-text: #10213d;
    --ass-muted: #5b6b85;
    display: grid;
    gap: 18px;
    margin: 24px 0 32px;
    padding: 28px;
    background: #ffffff;
    border: 1.5px solid rgba(47, 128, 237, 0.55);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.ass-summary-block::before {
    content: none;
}

.ass-block-title {
    margin: 0;
    color: var(--ass-text);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.ass-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 780px;
    position: relative;
    z-index: 1;
}

.ass-style-btn {
    display: inline-flex;
    flex: 1 1 calc(33.333% - 10px);
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    min-width: 0;
    width: calc(33.333% - 10px);
    padding: 14px 18px;
    background: #ffffff !important;
    color: var(--ass-text);
    border: 1.5px solid rgba(47, 128, 237, 0.9);
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.ass-style-btn:hover,
.ass-style-btn:focus-visible {
    background: #f7fbff !important;
    color: #0c1b34;
    border-color: var(--ass-accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(47, 128, 237, 0.12);
    outline: none;
}

.ass-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    line-height: 1;
    flex: 0 0 22px;
}

.ass-icon-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ass-style-label {
    display: inline-block;
    color: #111111;
}

body.ass-modal-open {
    overflow: hidden;
}

.ass-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(11, 20, 38, 0.58);
    z-index: 999999;
    animation: ass-fade-in 0.16s ease;
}

.ass-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    padding: 28px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    animation: ass-slide-up 0.2s ease;
}

.ass-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ass-modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #0f172a;
    font-size: 20px;
}

.ass-style-tag {
    padding: 4px 10px;
    background: #eef4fb;
    color: #2f6dc6;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ass-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ass-modal-close:hover {
    color: #0f172a;
}

.ass-modal-body {
    min-height: 72px;
}

.ass-summary-text {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-line;
}

.ass-error {
    margin: 0;
    color: #dc2626;
    font-size: 15px;
}

.ass-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 0;
    color: #475569;
}

.ass-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #dbe6f3;
    border-top-color: #2f6dc6;
    border-radius: 50%;
    animation: ass-spin 0.8s linear infinite;
}

@media (max-width: 900px) {
    .ass-btn-row {
        max-width: none;
    }

    .ass-style-btn {
        flex-basis: calc(50% - 7px);
        width: calc(50% - 7px);
    }
}

@media (max-width: 640px) {
    .ass-summary-block {
        gap: 16px;
        padding: 20px;
        border-radius: 22px;
    }

    .ass-block-title {
        font-size: 24px;
    }

    .ass-btn-row {
        gap: 12px;
    }

    .ass-style-btn {
        flex-basis: 100%;
        width: 100%;
        min-height: 54px;
        padding: 13px 16px;
    }

    .ass-modal {
        padding: 22px 18px;
    }

    .ass-modal-header h3 {
        font-size: 18px;
        flex-wrap: wrap;
    }
}

@keyframes ass-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ass-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ass-slide-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




