.modal_wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;   /* на узких экранах кнопка перенесётся, а не обрежется */
	gap: 0 0px; /* отступ между кнопкой и текстом */
}

.tip-info-btn,
button.tip-info-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	min-height: 18px;
	margin: 0 5px 0 0px !important;
	padding: 0 !important;
	border: 1px solid #c9c9c9 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #666 !important;
	font-size: 12px;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	vertical-align: middle;
	box-sizing: border-box;
	transition: all .2s ease;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	z-index: 1;
}
.tip-info-btn:hover,
.tip-info-btn:focus-visible,
button.tip-info-btn:hover,
button.tip-info-btn:focus-visible {
	border-color: #007bff !important;
	color: #007bff !important;
	background: #fff !important;
	outline: none;
}

/* Модалка */
.compat-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}
.compat-modal.is-open {
	display: block;
}
.compat-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	animation: compatFadeIn .18s ease;
}
.compat-modal__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
	max-width: 520px;
	max-height: 85vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
	padding: 24px 24px 20px;
	animation: compatPop .2s ease;
	-webkit-overflow-scrolling: touch;
}
.compat-modal__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.compat-modal__close:hover,
.compat-modal__close:focus-visible {
	color: #000;
	background: #f2f2f2;
	outline: none;
}
.compat-modal__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 32px 12px 0;
}
.compat-modal__body .text_small {
	font-size: 14px;
	line-height: 1.55;
	color: #444;
}

@keyframes compatFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes compatPop {
	from { opacity: 0; transform: translate(-50%, -46%) scale(.97); }
	to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Мобильная адаптация */
@media (max-width: 600px) {
	.compat-modal__dialog {
		top: auto;
		bottom: 0;
		left: 0;
		transform: none;
		width: 100%;
		max-width: 100%;
		max-height: 80vh;
		border-radius: 14px 14px 0 0;
		padding: 20px 16px 16px;
		animation: compatSlideUp .22s ease;
	}
	@keyframes compatSlideUp {
		from { transform: translateY(100%); }
		to   { transform: translateY(0); }
	}
	.compat-modal__title { font-size: 16px; }
	.compat-modal__body .text_small { font-size: 13px; }
}

/* Блокировка скролла body при открытой модалке */
body.compat-modal-open { overflow: hidden; }