/* ===== What's New Modal ===== */
.whats-new-modal {
    max-width: 520px;
    padding: 36px;
}

@media (max-width: 600px) {
    .whats-new-modal {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        padding: 24px 20px 32px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Анимация снизу вверх вместо центра */
    .whats-new-modal:not(.active) {
        transform: translateY(100%);
        opacity: 0;
    }
    .whats-new-modal.active {
        transform: translateY(0);
        opacity: 1;
    }

    /* Drag-indicator */
    .whats-new-modal::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        margin: 0 auto 20px;
    }
}
.whats-new-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color .15s;
}
.whats-new-close:hover {
    color: #0f172a;
}
.whats-new-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}
.whats-new-badge {
    display: inline-block;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.whats-new-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}
.whats-new-subtitle {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}
.whats-new-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 4px;
}
.whats-new-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.whats-new-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.whats-new-icon--green  { background: #f0fdf4; color: #16a34a; }
.whats-new-icon--blue   { background: #eff6ff; color: #2563eb; }
.whats-new-icon--orange { background: #fff7ed; color: #ea580c; }
.whats-new-icon--purple { background: #faf5ff; color: #7c3aed; }
.whats-new-item-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 2px;
}
.whats-new-item-text {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .whats-new-header {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .whats-new-title {
        font-size: 19px;
    }
    .whats-new-subtitle {
        font-size: 14px;
    }
    .whats-new-list {
        gap: 14px;
    }
    .whats-new-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 10px;
    }
    .whats-new-item-title {
        font-size: 14px;
    }
    .whats-new-item-text {
        font-size: 13px;
    }
}
