/* Кнопка «×» окна: 44 px для пальца, в правом верхнем углу; окну-хозяину — position: relative */
.modal-close-host {
    position: relative;
}

.modal-close {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--avt-tap, 44px);
    height: var(--avt-tap, 44px);
    padding: 0;
    border: 0;
    border-radius: var(--avt-radius, 4px);
    background: transparent;
    color: var(--avt-muted, #6B6B6B);
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease;
}

.modal-close:hover {
    color: var(--avt-ink, #333);
    background: var(--avt-bg, #F5F5F5);
}

.modal-close:focus-visible {
    outline: 2px solid var(--avt-orange, #EE6B16);
    outline-offset: 2px;
}
