/*
 * "Add to Home Screen" (card 162): the header button and the iOS help box.
 * Only loaded when the install_app switch is on and icons are configured.
 */

.ys-install-app {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	margin-right: 4px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #1c1c1e;
	cursor: pointer;
}

.ys-install-app[hidden] {
	display: none;
}

.ys-install-app:focus-visible {
	outline: 2px solid #2E9E3D;
	outline-offset: 2px;
}

.ys-install-help {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px;
	background: rgba(12, 12, 14, .6);
}

.ys-install-help__box {
	width: 100%;
	max-width: 380px;
	padding: 20px;
	border-radius: 16px;
	background: #fff;
	color: #1c1c1e;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
	text-align: center;
}

.ys-install-help__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
}

.ys-install-help__text {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.5;
}

.ys-install-help__close {
	min-width: 120px;
	padding: 10px 18px;
	border: 0;
	border-radius: 8px;
	background: #1c1c1e;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
}
